Activity panel
The right sidebar's Activity covers one conversation. What a run waits on is never a group: it is a red count on the glyph of the agent it concerns. The one exception is Waiting for you, the reports left for the reader across conversations. Messages are never rows.
Overview
Two parts: a few groups, then the chart, where the agents are. Each group, header included, is shown only when it has something in it, in this order. Only Waiting for you carries a count in its header. Hovering a group shows its SectionHeader chevron; clicking the header folds it (per-browser, lib/prefs/activity-view.ts).
| Group | Rows | Status line |
|---|---|---|
| Waiting for you | Reports from every always-on conversation still waiting for the reader (lib/agents/pending-inbox). Each opens its conversation. | "Finding · <Agent> · <time>" |
| Sent messages | A message sent to another conversation and not answered yet, "→ Name". Clicking opens that conversation. | Waiting, until the other side starts on it; then Running |
| Programs and commands | Background programs running now; one that ended leaves, failed or not. Newest first; 20 at a time. A command the agent waits on is not listed. | "Command · Running · 12 s"; "45 / 100 samples · 3.4/s" |
| Open work | Open items, one row each; done items leave | "Open · <time>" |
| Scheduled tasks | What is scheduled from this conversation (the task's session_id or its signed spec's), newest first. A reminder or a command is a row with its schedule; a task that runs a prompt is one row with its runs in short. | "Reminder · Nov 20, 9:00 AM"; "Recurring · 0 9 * * 1-5 · when its check changes"; "178 runs · 9 didn't finish · last 23:00" over a strip of its last 24 runs |
Before the conversation's first run there is no chart, and the main agent is one row in its place: its name, what it is doing or when it was last active ("Always-on · next wake 02:31" while the Agent is always on), a red count for what waits on the reader, and a click to its page.
Statuses: Running, Completed, Failed, Cancelled, Interrupted, Waiting for your answer, Waiting for approval. A row at rest shows only its time. Calls and programs are placed only after executions are read, so they never flash as unowned; unlisted ones count as the main agent's.
The work chart
Under the groups, the conversation's work as one time chart: Topics, Messages, Steps, Inside a step. Rows are topics; reading right goes from a topic to each message in it, and each call. Every agent of the conversation is on it, each drawn once, and listed nowhere else.
While a chart is drawn the groups take at most half the panel's height and scroll among themselves; the chart has the rest and scrolls on its own.
| Aspect | Behaviour |
|---|---|
| Topics | One block per topic, the newest on top: its name and "4 messages · 3 tasks". This column never shows an agent. |
| Messages | The messages of every branch's main agent in the topic, in one column by time, one block per run. Up to three lines: the title of the task it worked on last, what the reader asked, then what it is doing or how it went ("Thinking · 3m 12s", "2m 42s · 4 commands"). A message with no task yet has no title line. |
| Colour | In Topics, which topic, in the topic's own order. From Messages on, which agent: a main agent's bars are its branch's lane colour (the folder colour when the conversation has one branch), a sub-agent's a lane colour of its own. What an agent did inside a message is its colour at 60%. Failure and running are in the words. |
| Glyph | Each agent's glyph is drawn once, in its colour: a main agent's beside the title of its newest message, a sub-agent's on the step that started it. So the newest work of each agent is where the eye finds it, and everything else of it is told by colour. |
| Sub-agents | A sub-agent is a step of the message that started it: one line in Steps with its glyph, its name and how it went ("Scout · 53s", "Scout · Failed · 4s", "Scout · Never started"). What it did is one column on, in its colour. |
| A sub-agent still going | Its glyph breathes and its time so far is in the bright colour; the message that waits for it says "Running 1 sub-agent". In a narrow column the name gives way before the time. |
| Deeper sub-agents | A sub-agent started by a sub-agent is a step in that column, and what it did is a column further. The chart has four columns and one more for each such level, named Inside a step like the fourth. |
| A sub-agent's colour | One of ten lane colours: the one its job id points at, or the next one that no main agent, its starter or an earlier sub-agent of the same starter wears. A main agent is one starter over all its messages. Nothing started later changes it, and a new branch moves only a sub-agent that wore the branch's colour. With more sub-agents than colours they repeat, and the glyph and the name tell them apart. |
| What links them | Nothing is guessed. The runtime stamps every block of a reply with the task it was done for, and the server passes the stamp on with each step and sub-agent of a run (task). A sub-agent started inside a program's call takes that call's task. A call with no stamp belongs to no task. |
| A run on two tasks | One message, titled by the task it was on last. Its steps say which task each call was for. |
| Next wake | An always-on conversation's next wake is the chart's first row, with a dashed bar; it opens the main agent's page. Its line says first what holds the agent back, an interrupted check-in (in the bright colour) or a budget used up, then quiet hours and the cadence. |
| Going back | No page is around this chart, so the column the view starts on, when it is not Topics, shows its name as a button with a left chevron: one column back. Esc on a block does the same; on the first column Esc is left to whatever is around the panel. |
| Keyboard | The blocks share one Tab stop, always on a block that is drawn; Up, Down, Home and End move among them. A glyph is a button of its own, the next Tab stop after its block. |
| Everything else | Widths, columns in view, clicks, swipes and opened blocks are the Agent chart's |
| How much | The checked-out branch and the five others active most recently; the newest 50 runs of each. A run two branches share is drawn once, as the checked-out branch's. |
| Reading | One read of each branch's runs on entry, on op:execution-update and op:job-status, and when the Worker signals the conversation's runs changed; never two at once. The panel holds the runs by branch: a branch keeps what it had while it is read again, when the branches change order, and when its read fails. |
| Under a page | The overview leaves the document while a page rests over it. The runs, the column the reader went to, how far down and the opened blocks are kept, and the chart comes back as it was. |
| Source | buildWorkChart in running/agent-chart/agent-chart-model.ts builds the rows; WorkChart in agent-chart.tsx draws them with the Agent chart's view, and chartMarks in running-panel.tsx says what each glyph knows; running/runs/use-work-runs.ts reads; _task_owners in runtime/execution/projections/activity_runs.py stamps |
What a message says in each state, and the one button it may carry: Messages on the work chart.
Why topics first. The chart used to start from tasks, and an agent declares a task for most things it does: Tasks had about as many blocks as Messages and said the same twice.
A topic gathers what the reader and the agent did about one thing; the task names each message in it.
Why the agents are only here. The overview used to open with an Agents group, a row per main agent with its sub-agents under it, and the chart had an Agents column before Messages. The same agents were on screen three times. What was tried instead:
| Way to say who did it | Outcome |
|---|---|
| A column of agent blocks | Dropped: every row repeats every agent, and a column is spent on names |
| A lane per agent | Dropped: with a few branches the chart turns into the conversation graph, which the Graph panel already is |
| A name tag on every message | Dropped: a line of every block for something that seldom changes from one block to the next |
| Colour, and one glyph per agent | Kept. The cost: with one agent and no sub-agent, everything right of Topics is one colour. |
What a glyph knows
| Aspect | Behaviour |
|---|---|
| Pointed at | A main agent: its name, "Current" on the checked-out branch, "2 waiting for you", "sub-agents $0.14" (what the sub-agents it started cost together, known prices only) and, in its own worktree, "3 files in worktree". A sub-agent: its name, its state unless it is at rest ("Running", "Needs approval", "Needs input", "Stalled", "Failed"), the cost of its subtree, its tokens and tool calls. |
| Red count | What waits on the reader: a main agent's own questions and approvals and its sub-agents', a sub-agent's own and those under it. It comes from the executions and the chat's open cards at once, and from the server's word that a running sub-agent waits for an approval or an answer. A stalled one is not counted: there is nothing to answer. |
| Click | A main agent: its page. A sub-agent: its conversation in the chat, as its card's Switch does. The block around the glyph keeps its own click. |
| Stop sub-agents | On the block that wears a main agent's glyph, while a sub-agent it started is going: it cancels each topmost one, and the stop reaches what they started. The block is one line taller for it. |
| A scheduled run's helper | Its task's, listed on the task's page. One that needs the reader is counted on the main agent's glyph, since the reader acts on it from this conversation. |
| Read | Cost and usage: GET /api/session/{id}/activity/roster while the panel shows, on entry, on op:execution-update and op:job-status, and on runs and roster change frames, at most once a second |
Branches as main agents
| Branch | On the chart |
|---|---|
| Checked out | A main agent; its glyph says "Current" when there are several |
| Another branch the reader made | A main agent, with its glyph on its newest message. One with no message of its own (every run it has is the checked-out branch's too) has nothing to draw, and no glyph. |
Opened by the runtime (runtime_started) | Not an agent: it is not a branch the reader made. Its runs count as the checked-out branch's. With no other branch left, the conversation is the one "Main agent". Reports an always-on Agent or a task posted where the head stood, and left behind when the reader moved on, are such a part too: no prompt, only report_… messages. |
Written by a schedule (scheduled_task) | Not an agent: its runs are its task's. A task's branch record says so, and so does a line whose own part holds only prompts the scheduler wrote, which covers the tips older runs left behind when they were cut off. Never the checked-out branch. |
A Goal's turns in a conversation saved with one branch record per runtime turn would draw as a crowd of same-named agents; the chart is for the agents the reader made.
Programs in the list
| Aspect | Behaviour |
|---|---|
| Title | The bash call's description, else the script or module it runs, past setup steps such as cd and mkdir. The command sits under it in monospace. |
| Listed | Only background programs that are going. One leaves the moment it ends, whether it completed, failed, was stopped or lost its supervisor; its outcome is read in the chat step that ran it, and the agent is told the exit on its own. No "N finished" row and no failed rows. With nothing listed the group is not shown. |
| Waited-on commands | A command the agent runs and waits for is not listed: the chat step reads "Running a command…" and the main agent row and the chart's message name it ("Running sleep 25 · 8s"). |
| Motion | A row opens by height and fades in when a program starts, and closes the same way when it ends; the group, header included, opens with its first row and closes with its last, so what sits below glides instead of jumping. 0.24 s, as a project's rows in the sidebar; none under reduced motion. |
| Why ended ones leave | Kept for the day its record lives, a failed program left a column of stale "Exited · exit 1" rows after an agent retried a build, read as work left undone. |
| Peers | Follows Claude Code: a background task goes once it has ended and the agent was told (evictTerminalTask). Codex and OpenCode drop it on exit; Oh My Pi and Hermes keep it 30–60 s; Copilot CLI, Grok Build and Kimi hide ended ones by default. |
| Running, amount known | Progress over a thin bar, time left at its end ("16s left") |
| Running, no amount | How long it has run and its last output line, over a sweeping bar |
| Retention | Record and output stay for a day after it ends (RETENTION_SECONDS, openprogram/host/processes/store.py), or a day after its supervisor ended without saying how for "Status unknown". The worker's process sweep then deletes it and any exit notice still due. |
What a branch holds
| Aspect | Behaviour |
|---|---|
| Source | Forks and edits the reader made in the DAG; status and sub-agent line from the runs on that branch (branches[].execution_ids). A sub-agent belongs to the branch of its top-level run. |
| Unowned | Unlisted calls and programs, and calls that started no sub-agent, count as the checked-out branch's |
| Page | The Agent page for that branch, with Switch to this branch (the Branches panel's checkout) when not current |
| Excluded | An older session's inline sub-agent turns: their tip, whose chain starts at a spawn root, comes marked sub_agent from build_branches_payload and is left out. A run a schedule started (scheduled_task_id on its execution) and everything under it are its task's, whichever branch holds them. |
Reading always-on, open work and scheduled tasks
One read, GET /api/sessions/{id}/work, when the panel opens, on always_on_update, always_on_report and open_work_update frames, on a work change frame (a Scheduler task or its run record changed), on reconnect and on focus. Each task carries its summary: runs, unfinished, notified, when the last began, and the last 24 outcomes.
Scheduled tasks that run a prompt
| Part | Behaviour |
|---|---|
| Row | The calendar glyph, the task's title, "178 runs · 9 didn't finish · last 23:00" (the clock within the last day, else the day; "· Paused" when it is), and under it a strip of its last 24 runs, oldest on the left, one cell each. One chevron, on the right; the row opens the task's page. |
| Strip | Green when it worked (nothing new, or the reader was told), red when it failed, yellow when it was stopped, cut off or could not check, blue while it runs. The theme's accent colours, nothing else. |
| Page | Back and the title on one line over a hairline; "Every hour · 178 runs · $26.31"; a filter, All, Unfinished · 7 and Notified (the kit's Tabs). Under the runs, Open in Scheduler and the task itself (prompt, notes, created, id). |
| Runs | By day ("Yesterday · Nov 15", "Nov 10"), one line each: a dot, when it began, how long it took, and on the right its outcome. 30 at first, "Show 50 earlier" for more. |
| An opened run | A run that failed, was stopped, was cut off or could not check opens in place to one sentence of why ("The agent runner stopped with an error after 3 h 28 min.") and the helpers it started, each opening its conversation. A run that could not check gives its own reason, in the task's language. |
| A run's name | Never an id: a run is its task's title and when it began |
| Outcome | When |
|---|---|
Nothing new (quiet) | It finished and had nothing to say; nobody was told |
| Notified | It finished with something new, and the reader got it as a message |
Couldn't check (unable) | It finished but answered [could not check] and why. It counts toward the failure notice, not toward unfinished. |
| Failed | Its execution failed |
| Stopped | Cancelled: by the reader, or at its time limit |
| Interrupted | Cut off by a restart and could not go on |
| Running, Waiting for you | Still going, or paused on the reader |
| Fact | Where it comes from |
|---|---|
| Which task | A run's stored turn names its task (scheduled_task, source scheduler). A turn saved before turns named it takes the task of its line: a task's runs follow each other on one line, so its later runs, its branch record and its branch entry name the task for the older ones (task_activity.run_tasks). GET /api/session/{id}/executions sends it as scheduled_task_id on each top-level run. |
| Outcome | The task's record (task_runs, its last 20) where it has the run; else the execution's status and its reply, judged the way run_finish judges a run as it ends. A run that ended is judged once and kept. |
| Why | From the run's reason_code and how long it ran, in English and Chinese: agent_runner_error, time_limit, owner_lost_before_checkpoint, unfinished_before_session_logs, scheduled_run_start_failed, else a plain "failed", "stopped" or "cut off after …" |
| Cost | The provider calls charged to the run's execution and to its helpers' Jobs. Calls saved before calls carried their execution go to the run that was going in the conversation when they were made. |
| Page read | GET /api/session/{id}/activity/tasks/{task}?filter=all|unfinished|notified&offset=&limit=: the counts, the last 24, the cost and one page. On a conversation with 177 runs it answers in about 26 ms once the conversation is in memory; the first read of a conversation not yet loaded takes about 0.6 s. It is read on entry, on op:execution-update and op:job-status, and on runs and work change frames; a refresh replaces the newest rows by id. |
Why one row: a task that runs every hour has hundreds of runs, and a row per run, or per line its runs left, buries the agents the reader works with. Peers, as the always-on design compares them, list a task once and keep its history on its own page:
- Claude Code lists routines.
- Codex lists its automations.
- DeepSeek Harness has a tasks page with each task's delivery records.
The row here adds how the last day went, as one strip; the history stays on the task's page, paged and filtered to what did not finish.
It is listed in Scheduled tasks with the reminders and commands: all three are what the Scheduler does for this conversation, and a task is in one place only. Its row differs because its runs are an agent's.
Reading the overview
The overview draws what it last read of the conversation at once and reads again behind it; a new read replaces rows in place and says nothing.
| Case | What happens |
|---|---|
| First open | The groups draw from what was last read. Of the agents nothing is drawn until the chart's runs are read: then the chart, or the main agent's row when the conversation has no run. |
| Coming back | Each of the four reads (executions, programs and calls, roster, work) is kept per conversation for the life of the page (lib/execution/activity-reads.ts) and drawn in the first frame, on the tab or after switching conversations. Executions and roster are not read again while fresh: the socket open throughout, and no op:execution-update, op:job-status or processes change since the read began. Their age does not matter. Work is always read again. |
| While shown | Executions are read on those events, on reconnect, on focus and when the window shows again, at most once a second, never on a timer. A failed read is tried again after 2, 4, 8 … seconds, up to 30. |
| Failure | Nothing is said. What was read stays; runs never read leave their place empty while the read is tried again (waiting without words). |
| Server | GET /api/session/{id}/executions reads each session's Jobs once per request (jobs.store.session_jobs_reader) and looks every row's Job up in it, the helpers' usage included; a foreground turn, which has no Job, costs no lookup. The conversation's folder comes from the location index, parsed again only when its file changes. A conversation with 203 runs answers in about 0.2 seconds instead of 4 to 6, and three at once no longer queue on the conversation's lock for 18 seconds. |
Branches, runs and waits
| Term | Meaning |
|---|---|
| Sub-agent | An execution with display kind job_agent; hangs under the nearest sub-agent above it, or the main agent |
| Branch | Each execution belongs to one: a sub-agent's, covering everything under it that no deeper sub-agent owns; otherwise the main agent's |
| Run | One message and all done for it, normally one top-level execution holding child executions, unreturned function calls and managed programs in its tree. Older runs exist only as messages. A row in its Agent page, never in the overview. |
| Waits for the reader | Only a run paused on a question or approval (the model's issues filtered to paused executions) |
| Interrupted | A call or run cut short by a restart. History, nothing to do: not listed in the overview. |
| Status unknown | A program whose supervisor is gone. History, nothing to do: not listed in the overview, and its agent does not read Running because of it. |
| Ended | An execution whose only missing records are model responses (provider_response_incomplete) |
Pairing an agent call with its sub-agent
The server reads calls from transcripts, not effects, whose metadata carries whole provider payloads. A Job records the reply that spawned it (spawn_caller) and its prompt.
- A call with the same caller and prompt started it; calls that did not fail pair first, since a failed call may share its prompt with the retry.
- If prompts do not line up, a caller left with one Job and one non-failed call pairs those.
- No Job: the call failed to start (result
[agent error] …or outcomefailed) or did not start.
The caller names the branch: a j_… reply is a sub-agent's, anything else the main agent's.
Pages
A row in the overview opens one page. Pages do not lead to other pages: what belongs to a row opens under it, in place, and stays open until it is closed. Activity at the top, Esc with focus in the panel, or Activity in the rail goes back, restoring the overview's scroll and focus.
Pages move as on a phone, on the Launchpad's spring; with reduced motion they change at once.
| Move | What happens |
|---|---|
| Open | The page slides in over the overview from the right |
| Back | The page slides off; the overview comes up from a quarter of its width to the left, half dimmed |
| Swipe towards the overview | Once the page's own track is at its left end, the page follows the fingers. Lifting them a third of the way across, or with a flick, finishes the way back; anything less lets the page spring home. |
| Under the page | The overview is in the document only while the page moves |
On an Agent page, Back and Esc go one step: one column of the chart back while it is past its first column, then the overview.
| Page | Top to bottom |
|---|---|
| Agent or branch | The name on the top line. Switch to this branch when it is not checked out. Then the time chart, described below. |
| Call | Title from its description, state, task or command, its output once it returned. Cut short: Interrupted. |
| Program | Titled like its row, with a bar and its progress in words, or when it ran, how long and its exit code. Stop program while running, then against a time axis Progress, Command, Output (open by itself) and Technical details. Read every second while open. |
| Open work | Item, state, Mark done (Reopen once done), Remove (which returns to the overview), what the list is for, note, created date. No time axis. |
| Scheduled task | A task that runs a prompt: its runs page. A reminder or command: title and schedule, Open in Scheduler, a Task row holding its prompt, command, notes, created date, id, a webhook's address and key behind Copy (the key is never shown) and the watched command, then its recent runs from the task's record as in an Agent page |
| Always-on | Opened from the Next wake block on top of the chart. Open: Wake now, what always-on means, Agent, standing goal, Goal, wake schedule, check-in model, last wake and its cost, today's spending, next wake; reports that never reached the chat; what it was told about reports, each opening to Delete. |
| Report | A run whose message id starts report_, ticked rather than barred. While the always-on record holds it: body, kind, links, delivery results, Don't report things like this. Older ones show the message. |
A page whose item has gone says No longer here and stays until the reader leaves.
The Agent time chart
One vertical time chart, newest on top, with a column for each level: Topics, Messages, Steps, Inside a step. The sidebar's width decides how many columns show, and every column in view is whole.
| Sidebar width | Columns |
|---|---|
| 288 (the default, first snap) | One, 256 pixels wide |
| 544 (second snap) | Two, 256 each |
| 800 (third snap, the maximum) | Three, 256 each |
| Between two snaps | The smaller count, stretched to fill the width |
The count is the chart's width over 256, rounded down, at least one and at most three (columnsFor). It is applied in the frame the width changes, so a drag of the handle shows the columns it lands on while it moves.
Every block is a card on hover and can be clicked; a title or line cut short shows in full on hover. A block with more under it leads one column right. A block that is one call, one failure or a message with no steps opens in place, in the run list's words.
An opened block grows, the blocks below move down, and its bars in the columns to the left grow with it. A second click closes it. It grows and closes in one 240 ms move on the standard curve, and its details stay until it has closed over them. A call still running has nothing to open.
The view ends on the deepest column the reader went to, or starts at Topics when that fits. Opening a block whose next column is already in view moves nothing. With fewer columns than levels, the view moves one column at a time:
| Move | What happens |
|---|---|
| Click on a block | Its next column slides in; the block keeps its place on screen |
| Back, Esc, Left on a block | One column back; on the first column, back to the overview |
| Sideways swipe | The chart follows the fingers, one column at most. A new swipe takes it over wherever it is. |
| Lifting the fingers | After 48 pixels or a flick it goes on to the column they were heading for; otherwise it returns. One move either way, and the momentum after the lift moves nothing. |
| Past the last column | The chart gives up to 44 pixels and comes back with the settle |
| Past the first column | The page itself follows: the way back |
| Mouse wheel turned sideways | One step moves one column |
| Keyboard focus on a block out of view | Its column comes into view |
A move is one slide of the columns' track by its transform, and nothing else:
- 240 ms for a whole column, less for the rest of one (never under 120 ms), on
--ease-standard; a cut with reduced motion. - The blocks are laid out for where the move ends before it starts, once. A column coming in is already at its final size; the clicked block, or the block at the top, holds its place on screen.
- A block on screen whose place or height changed glides there with the slide, in its time and on its curve: the block by its transform, its bar scaled from its top, and words stuck at the top of the view on their own path. These run off the main thread, so nothing is laid out again while they play.
- A block too far off to be drawn before the move comes in from where the old layout had it, and one that leaves reach rides away before it goes: no block appears or disappears in place while the blocks next to it still move.
- A column deeper than the one the move ends on is not drawn, even while it slides out.
- Nothing grows, fades in or settles after the slide.
- Measured on a conversation of 3 topics and about 40 messages: every frame of a move between columns took about 9 ms, before the glide and with it. Slowed four times, the first move after opening has one frame of about 45 ms either way; the moves after it keep 9 ms.
- The box never scrolls sideways, only up and down. Blocks more than a screen above or two below the view are not in the layout.
- The blocks of a column out of view are not in the layout either: only the columns showing, and one on each side while a move is under way, have theirs. A column a move brings in gets its blocks before it shows.
- The column of the row that has the focus stays in the layout, so the focus and the keys are never dropped; the arrows move among the rows that are in the layout.
- Measured on a conversation of 8 tasks and about 440 rows, processor slowed four times, moving between columns at three columns wide: the slowest task of a frame went from 252 ms to 45 ms, and a style pass from 2,545 elements (52 ms) to 313 (7 ms).
- A block's place is written when it changed, and a block is drawn again only when what it says changed, so a chart rebuilt every few seconds while something runs redraws a handful of blocks.
Why: the chart used to scroll sideways, with each block's height interpolated from the scroll position. Three things made a move feel wrong:
- Two motions: the heights finished within the first 64 pixels of a 256-pixel column, while an overdamped spring kept sliding on its long tail and the arriving column faded in on its own curve.
- Stutter: each frame wrote the top and height of every block, reset the vertical scroll and changed what was drawn, a full layout per frame.
- Part columns: columns were 256 pixels at any width, and a sideways scroll that was not a swipe settled on a column edge 160 ms after it stopped.
| Rule | What it does |
|---|---|
| Height | Set by the deepest column in view. A parent spans its children, so the same height is the same time in every column. |
| Time | A block's top carries its latest moment: minutes for topics and messages, seconds for steps. Long silences and new days are a dashed row across the columns: a new day shows its date in the time column of every column, and a long silence says how long beside the first one. |
| Colour | Colour says which topic a block belongs to, never how it went. Each topic takes a main colour by when it first appeared, so one that comes back keeps it. Messages are shades of it, and steps and their insides go on from there. Runs nobody asked for are grey. Failure and running are in the words. |
| Steps | Calls of one function in a row share a line, each call in the last column. A failure stands alone with its error under it. A sub-agent's own steps are in the last column. A step whose rows have nothing under them (a group of calls, a sub-agent's steps) is at most four rows tall, and its rows scroll inside its cell. |
| Buttons | At most one, on a message that waits for the reader or is paused: Answer or Continue. |
| Data | activity/runs?chart=true returns the page with a short form of every event (input clipped, a result kept only when the step failed) and each run's topic. Finished runs are cached by revision. |
Topics
Each message the user sent has one topic, kept in topics.json beside the session's messages: topics in the order they first appeared, and which topic each message has. Nothing is written to the messages.
- After each turn a background pass sorts what has no topic, on the same background model as chat titles. It sees the user's words only.
- A short reply such as "continue" stays with the message before it and costs no call.
- The first time an older chat's chart is opened, the same pass sorts its messages, 40 to a call. Until then their topic block is room with nothing drawn.
- When a call fails or no model is available, messages stay unsorted and draw with the message before them. The next message tries again; opening the chart tries again no sooner than 10 minutes after the last pass, so a pass's own change notice never starts another.
Inside a run
| Part | Behaviour |
|---|---|
| Run row | First line of its reply, else what was asked, over "Failed · 02:00 · 1m 44s". A bar from start to end; a retry is its own run. |
| Opens by itself | The newest run, once per page, if it failed, could not check, waits or runs. A close sticks. |
| Events | In time order: Asked or Check-in, steps in the chat's words (presentTool) with Input and Result, Paused or Failed · Attempt N with the stored failure text or else its reason code, sub-agents, Replied |
| Sub-agent | Nested in the run that started it, 16 further per level. Asked, the error or reply, what it started, Open its conversation, its controls, Technical details. One that never started reads Failed · never started. |
| Waiting | The last event: the question, then Answer in chat or Review in chat, which goes to the composer's card (data-decision-output) |
| Actions | Pause, Continue, Add instruction, Cancel, as the run allows. A run that ended has stopped: these pages offer no Retry. Not connected: disabled, and the status line says so. |
| Technical details | Step, Create branch, code policy on resume, guidance, ids, wait forms the chat cannot show, checkpoint inspector, resource wait, effects, last 50 raw events |
Reading
| Read | When |
|---|---|
GET /api/session/{id}/activity/runs | On entry, on op:execution-update and op:job-status, and on runs change frames, for as many runs as are shown. Rows are replaced by id, so a refresh closes nothing and moves nothing. A run keeps its row when its reply arrives. |
…/activity/runs/{run}/events | When a row opens, and again when its revision moves or it is live. An unopened row reads nothing. |
| Debugger and last 50 events | Per open run that has an execution, when its version moves |
The two halves and the time axis
| Aspect | Behaviour |
|---|---|
| Track | One scroller holds both halves. With card width C: V = C − 16, L = min(V, 256), R = min(416, max(L, V − L − 16)), track = L + 16 + R, plot = R − 88. Both show at once when V ≥ track. |
| Timeline | Snaps sideways between halves; the button hides when there is under 48 to scroll and turns at the halfway point |
| Width | A ResizeObserver writes CSS variables; marks are percents of the plot, so widening never re-renders |
| Axis | Covers the longest finished run listed and the events of open runs: 60, 180, 300, 600, 1800 or 3600 seconds. Longer runs fill the width. A flat right end means no end was saved or it is still running. |
| Opened rows | As wide as the left half when narrow, the whole width when both halves fit. Long values stop at 8 lines with their own Show all. |
| Panel width | The right rail's width is kept in this browser (useResizableRail with a storageKey), restored before the first paint and written when a drag ends. Left and Right on the handle change it by 24; a double-click or Enter returns it to the default. A drag rests on 288, 544 and 800 as it passes them, where one, two or three chart columns fit whole. The left rail works the same way, with its default as its only snap. |
| Program and task axes | A program's axis is its own length, rounded up to a multiple of 3 up to 60 seconds and then the list above. Open work and calls have no axis and no right half. |
Keyboard
| Key | Result |
|---|---|
| Tab | One stop among the rows (roving tabindex, kept in the DOM so a refresh cannot move it) |
| Up, Down, Home, End | Between rows. Focus never changes the sideways scroll. |
| Right, Left | Open and close the row; with Shift, go between the halves |
| Enter, Space | Same as a click |
| Esc | Only with focus in the panel: leaves a dialog or text box first, then goes back, one step at a time on an Agent page |
Program page and progress parsing
| Part | Shows |
|---|---|
| Head | The bar and the progress in words |
| Progress row, running | Opens to elapsed, speed and time left |
| Progress row, ended | Opens to duration, end time and exit code |
| Output | As a terminal shows it: a line redrawn with carriage returns keeps its last frame, colours stay, and the view follows new lines while the reader is at the end (marked Live) |
openprogram/host/processes/progress.py reads progress from output, most trusted first:
##progress 45/100 sampleslines (the bash tool asks the model to print them for long loops)- the OSC 9;4 terminal progress sequence
- tqdm and pip bars
- counters such as
Epoch 3/10,step 120 of 1000,[45/100]
Once a more trusted source speaks, less trusted ones are ignored, so an inner per-batch bar never overwrites a sample count. Speed and time left are the bar's own, or measured since the count began. A redrawn bar takes one line of the 2,000-line limit, and the agent reading a background command gets each redraw once.
Look
| Element | Style |
|---|---|
| Row at rest | No frame: bare glyph in its kind's colour, name over a one-line status coloured by tone (no dot), chevron |
| Hover | Raised card: the file cards' shadow over a solid fill 4% toward the text colour, since the panel is the input surface and a same-colour card shows no edge. Corners are the list-row radius, the same as the left sidebar's rows |
| Second level | The same row, with one size pair (14 and 13, 11 for monospace and the Current tag) and weight 400. Ink is bright for titles, secondary otherwise; red only for failure. Motion is a 160 ms fade on what newly appears, the chevron turning, the spring that pages travel on, and the 240 ms slide between chart columns; none with reduced motion. |
| Bars and ticks | A bar is one run or sub-agent, a tick one step. Muted at rest, red on failure, amber on a failed check or a wait, blue while running. |
Code
apps/web/components/right-sidebar/running/running-panel.tsx, apps/web/components/right-sidebar/running/agent-roster.tsx, apps/web/components/right-sidebar/running/use-agent-roster.ts, apps/web/lib/execution/agent-roster.ts, apps/web/components/right-sidebar/running/pages/activity-page.tsx, apps/web/components/right-sidebar/running/use-page-slide.ts, apps/web/components/right-sidebar/running/sideways.ts, apps/web/components/right-sidebar/running/pages/activity-page-row.tsx, apps/web/components/right-sidebar/running/pages/activity-page-geometry.ts, apps/web/components/right-sidebar/running/pages/activity-run-wording.ts, apps/web/components/right-sidebar/running/runs/run-list.tsx, apps/web/components/right-sidebar/running/runs/run-insides.tsx, apps/web/components/right-sidebar/running/runs/sub-agent-row.tsx, apps/web/components/right-sidebar/running/runs/execution-controls.tsx, apps/web/components/right-sidebar/running/pages/program-page.tsx, apps/web/components/right-sidebar/running/pages/command-page.tsx, apps/web/components/right-sidebar/running/pages/scheduled-task-page.tsx, apps/web/components/right-sidebar/running/task-row.tsx, apps/web/components/right-sidebar/running/pages/task-runs-page.tsx, apps/web/components/right-sidebar/running/runs/use-task-runs.ts, apps/web/lib/net/execution/task-runs-client.ts, apps/web/components/right-sidebar/running/pages/open-work-page.tsx, apps/web/components/right-sidebar/running/pages/always-on-row.tsx, apps/web/lib/net/execution/activity-runs-client.ts, apps/web/lib/execution/activity-model.ts, apps/web/lib/prefs/activity-view.ts, apps/web/lib/chat/conversation-work.ts, apps/web/lib/execution/activity-reads.ts, apps/web/lib/execution/use-execution-debugger.ts, apps/web/lib/execution/use-managed-processes.ts, openprogram/interfaces/server/routes/execution/lifecycle.py, openprogram/runtime/jobs/store.py, openprogram/runtime/execution/projections/activity_calls.py, openprogram/runtime/execution/projections/activity_runs.py, openprogram/interfaces/server/routes/execution/activity_runs.py, openprogram/interfaces/server/routes/execution/conversation_work.py, openprogram/runtime/scheduler/task_activity.py, openprogram/state/store/session/graph/branches.py
Status dots · A sub-agent's own conversation