{% extends "base.html" %}
{% set page = 'overview' %}
{% block title %}{{ 'Waiting for you' if tab == 'waiting' else '' }}{% endblock %}
{% block body_attrs %} data-pulse-url="{{ url_for('overview_pulse') }}" data-pulse="{{ pulse }}"{% if turn_at %} data-turn-at="{{ turn_at }}"{% endif %}{% endblock %}
{% macro project_head(project) %}{{ project.name or project.repo.key }}{% if project.worktree %}worktree {{ project.worktree }}{% endif %}{% if project.branch %}{{ project.branch }}{% endif %}{{ project.place }}{{ project.views|length }} loop{{ 's' if project.views|length != 1 }}{% if project.waiting %}{{ project.waiting }} wait{{ 's' if project.waiting == 1 }} for you{% endif %}{% endmacro %}
{% macro loop_row(view) %}
{{ note }}
{% endif %} {% if error %}{{ error }}
{% endif %} {% if unreadable %}Not shown, because the board could not look into {{ 'it' if unreadable|length == 1 else 'them' }}:
{{ folder.path|place }} {{ folder.message }}Nothing waits for you. A loop that needs you shows here with its question.
{% endif %}{% if view.state.question.needs_person %}A step needs you. {% endif %}{{ view.state.question.text }}
{% if view.state.question.options %} {% endif %}No loop matches{% if hidden %}; {{ hidden }} finished loop{{ 's' if hidden != 1 }} folded away{% endif %}.
{% else %}| Project {{ project.repo.key }} · {{ project.place }} · {{ project.views|length }} loop{{ 's' if project.views|length != 1 }} |
|---|
{% if not config.source %}No loop to show yet, and no list of repositories to watch: the board found no loopcaptain.local.yaml in the folder it was started in and no ~/.config/loopcaptain/config.yaml.{% else %}The board reads {{ config.source|place }}{% if not config.roots and not config.repos %}, which lists no folder yet{% else %}, and none of the {{ config.roots|length + config.repos|length }} folder{{ 's' if config.roots|length + config.repos|length != 1 }} it lists has a .loops/ folder with a loop yet{% endif %}.{% endif %} Copy one of these into your coding agent:
Build a loop
{{ prompts['build-a-loop'] }}
Copied.
Watch the loops on this machine
{{ prompts['watch-my-loops'] }}
Copied.
Or see it first with an invented loop that costs nothing: loopcaptain demo, then reload. To watch your own repositories, list them under roots: or repos: in ~/.config/loopcaptain/config.yaml, or run loopcaptain watch <folder>. How a loop connects.