Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 31 additions & 23 deletions docs/agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -1360,15 +1360,28 @@ tasks unknown.

### Activity updates in the conversation

When no live activity bubble on the triggering message shows an agent, the live
conversation indicator remains visible while it works, even when recorded
activity is collapsed or expanded. While that bubble shows, it is the agent's
working indicator and the conversation adds no second one; the conversation cue
returns once recorded history owns the work. The indicator keeps dots beside
current tool labels; reduced motion leaves the dots static. Activity text may
shimmer too, but does not replace that persistent working cue.
When local request evidence is available, old activity does not inherit the
working/thinking state of a different request in the same thread.
Live agent work has one place: the end of the conversation it happens in, where
its reply will land. The timeline's end and a thread's end each show their own
conversation's work; the channel's reply summary says when an agent works in a
thread. Live work never shows on the triggering message or in recorded history,
whatever is mounted or scrolled into view, so it cannot show twice. That
indicator carries the current step, the transcript link and **Stop**, keeps dots
beside current tool labels, and stacks under the agent's latest reply. Reduced
motion leaves the dots static. When local request evidence is available, old
activity does not inherit the working/thinking state of a different request in
the same thread.

A top-level request is its own conversation until it has replies: its work shows
at the channel's end. Once the request has replies, it is a thread, and its work
is that thread's (its summary in the channel, its end in the thread). Work in a
thread whose root is outside the loaded channel window counts as the channel's.
Turns whose records do not name a thread root use their triggering messages'
thread.

The triggering message shows only what happened to its request: a failure it
can retry or dismiss, a result Buzz couldn't confirm, or a stop. Once the agent
has replied, that note follows the agent's latest reply instead. Outcomes follow
the same conversation rule as live work.

Agent-to-agent coordination messages remain in the conversation as collapsed,
expandable history, including after completion, stopping, steering, or reload.
Expand All @@ -1383,15 +1396,10 @@ not its messages. When lifecycle evidence is missing, a related public reply can
retire the old live treatment without claiming that execution completed. Current
work continues to appear in the conversation indicator.

A public reply alone does not replace the request's live indicator. Mounted
update history can own the current step and request controls while the live
conversation indicator remains available. When public replies
split one request's updates into several runs, only the latest run for each agent
owns its live shimmer and Stop control; earlier runs remain readable history.
Other agents and requests retain their own live presentation.
Codex transfers live activity to an accepted follow-up in the same conversation.
Top-level DM messages share that presentation scope; actual DM threads remain
independent, even when they share a harness session.
A public reply does not end live work: the conversation's end keeps showing it
until its lifecycle finishes. Update history never animates and has no Stop; it
keeps transcript links. Codex transfers live activity to an accepted follow-up
in the same conversation.

The historical-reply fallback requires the reply author to have participated in
the exchange or received the helper’s last update. It never overrides available
Expand All @@ -1408,11 +1416,11 @@ telemetry publication enabled, then give it work. This activity plugin does not
start agents. No records may mean publishing is off, no new traffic, or an
interrupted feed, not that an agent is idle.

Select an active agent above the channel or thread composer, or its bubble under
the triggering message: it opens the agent's profile on its Activity tab. Disable
the **Agent Activity** plugin in **Settings → Plugins → Manage plugins**, give the
agent work, then re-enable: the bubble and working indicator should return for new
work only.
Select an active agent at the end of the channel or thread: it opens the agent's
profile on its Activity tab. The **Agent Activity** plugin shows what happened to
each request on its message (failures, stops); disabling it in **Settings →
Plugins → Manage plugins** hides those notes, while the end-of-conversation
indicator stays.

The feed is best-effort telemetry: producers coalesce/batch and may elide oversized
content. It is not a complete ACP transcript.
Expand Down
33 changes: 14 additions & 19 deletions docs/buzz-help.md
Original file line number Diff line number Diff line change
Expand Up @@ -789,27 +789,22 @@ available rather than silently discarding it.
transcripts in the agent's profile. An open transcript updates by itself
while the agent works; **Refresh transcript** stays at the top as you scroll.
A turn's **Thread** or **Channel** label
opens that conversation. Choosing an agent in the activity under a message,
or a Working now agent whose conversation is known, opens that
conversation's transcript. Working indicators describe current work,
not a guarantee that an agent is available or that a message was delivered.
Expand grouped work updates to read each message; the collapsed excerpt names
its speaker. Thread work appears inside its thread; the channel’s reply summary
still shows when an agent is working there. While the activity under your
message shows an agent working, it is that agent's only working indicator.
Otherwise dots remain at the end of the conversation while agents work,
alongside current step details when available. With Reduce Motion enabled,
the dots stay still. Open the live indicator or expand recorded work to view
the agent’s activity or **Stop** the running request. The live indicator
keeps its controls while recorded updates are visible. Stop availability
depends on the agent type.
opens that conversation. Choosing a Working now agent whose conversation is
known opens that conversation's transcript. Working indicators describe
current work, not a guarantee that an agent is available or that a message
was delivered.
An agent's current work shows in one place: at the end of the conversation,
where its reply will land, with dots and its current step when available.
Thread work appears at the end of its thread; the channel's reply summary
shows when an agent is working there. A message you sent shows only what
happened to it: **Couldn’t finish** (with **Retry** or dismiss), an
unconfirmed result, or **Stopped**. With Reduce Motion enabled, the dots stay
still. Open the indicator at the end to view the agent's activity or **Stop**
the running request. Stop availability depends on the agent type.
- Agent-to-agent messages stay in the conversation as collapsed history after
work finishes or you reopen a thread. Expand them to read dispatches, handoffs,
and results. The working indicator shows current activity separately.
If more updates arrive after a reply, the newest update group carries that
agent’s live activity and Stop control; earlier groups remain readable history.
In Codex DMs, an accepted follow-up takes over the live indicator; separate
threads keep their own.
and results, or open a transcript. Current work shows at the conversation's
end, not in this history.
- A Goose agent's Activity lists the sessions Buzz recorded on this device for
each conversation. A conversation with no recorded session, such as one from
an earlier version of Buzz or another computer, offers **Search older
Expand Down
3 changes: 0 additions & 3 deletions scripts/flake-check-costs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3362,8 +3362,6 @@
"src/app/shortcuts.test.tsx": 0.7,
"src/bundled/admin-access.test.ts": 0.8,
"src/bundled/agent-activity/ActivityAccessory.test.tsx": 3.6,
"src/bundled/agent-activity/activity-presentation.test.ts": 0,
"src/bundled/agent-activity/current-activity.test.ts": 0,
"src/bundled/agent-activity/message-activity.test.ts": 0,
"src/bundled/agent-activity/request-activity.test.ts": 0,
"src/bundled/agents/AgentBrowse.test.tsx": 2,
Expand Down Expand Up @@ -3815,7 +3813,6 @@
"src/features/conversation/message-preview-text.test.ts": 0,
"src/features/conversation/opener.test.tsx": 0.2,
"src/features/conversation/service.test.tsx": 1.1,
"src/features/conversation/typing-presentation.test.tsx": 0,
"src/features/decisions/agent-tool.test.ts": 0.1,
"src/features/decisions/service.test.ts": 0.1,
"src/features/developer/client-metrics.test.ts": 0,
Expand Down
9 changes: 3 additions & 6 deletions src/app/pages.integration.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -341,15 +341,12 @@ test("the app runtime exposes ready bundled pages and removes them on disable",
.snapshot()
.some((panel) => panel.pluginId === "buzz.agent-activity"),
);
assert.equal(services.conversation.accessories.snapshot().length, 2);
assert.equal(services.conversation.accessories.snapshot().length, 1);
assert.deepEqual(
services.conversation.accessories
.snapshot()
.map(({ id, placement }) => [id, placement]),
[
["activity", "response"],
["typing-presentation", undefined],
],
[["activity", "response"]],
);
assert.equal(
services.conversation.accessories.snapshot()[0].pluginId,
Expand All @@ -359,7 +356,7 @@ test("the app runtime exposes ready bundled pages and removes them on disable",
assert.equal(services.conversation.accessories.snapshot().length, 0);
await services.plugins.change("enable", "buzz.agent-activity");
await vi.waitFor(() =>
assert.equal(services.conversation.accessories.snapshot().length, 2),
assert.equal(services.conversation.accessories.snapshot().length, 1),
);

await services.plugins.change("enable", "buzz.bestie");
Expand Down
8 changes: 0 additions & 8 deletions src/bundled/agent-activity/ActivityAccessory.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
text-overflow: ellipsis;
white-space: nowrap;
}
.detail {
color: var(--text-subtle);
}

.summaryActivity {
color: var(--text-subtle);
Expand All @@ -51,11 +48,6 @@
color: var(--text-danger);
}

/* Tabler’s point-up octagon becomes the flat-top stop-sign orientation. */
.stopIcon {
transform: rotate(22.5deg);
}

.action {
align-self: center;
flex-shrink: 0;
Expand Down
Loading
Loading