Skip to content

connect: panel the live and notice lines, mark one row per block, log /stop in the chat - #88

Merged
hbrooks merged 1 commit into
mainfrom
connect/live-line-panel-and-stop-notice
Jul 28, 2026
Merged

connect: panel the live and notice lines, mark one row per block, log /stop in the chat#88
hbrooks merged 1 commit into
mainfrom
connect/live-line-panel-and-stop-notice

Conversation

@hbrooks

@hbrooks hbrooks commented Jul 28, 2026

Copy link
Copy Markdown
Member

Summary

Three small fixes to the chat surface in agent connect.

The live activity line takes a panel. Working… / Generating… / Running Bash(…)… sat bare on the canvas while every message around them was a lifted, padded block, so a turn in flight read as less substantial than the conversation it belonged to. activityRows now always sets panel: true.

The selection marker lands on one row per block. It replaced the gutter glyph on every row of the highlighted block, so a message with nested tool activity showed it twice — once on the call, once on its result — and read as two separate selections. markerRowId picks the block's first row with a glyph; the whole block still tints.

/stop logs to the transcript. It reported through the notice bar above the composer, which is for transient status and scrolls away leaving nothing to show you asked. It now appends a line: "Stopped the agent (stopping). The conversation is saved. Send a message to pick it back up."

notices in general (Session asleep, Session cancelled) get a panel too, so a conversation event is as legible as a message.

Test plan

  • npm test — 381 tests pass
  • npm run typecheck clean
  • Offline Ink render harness: live line renders tinted and padded, appears on exactly one row of a message with a nested WebFetch call plus result, the /stop note renders as a padded block
  • Not driven against a live session. Worth a manual pass: /stop should show the note in the chat with the notice bar empty.

… log /stop in the chat

The live activity line ("Working…", "Generating…") and ✦ notices sat bare on
the canvas while every message around them was a lifted, padded block, so a
turn in flight read as less substantial than the conversation it belonged to.
Both take a panel now.

The ▶ selection marker replaced the gutter glyph on every row of the
highlighted block, so a message with nested tool activity showed it twice (on
the ● call and on its ⎿ result) and read as two selections. It lands on the
block's first glyph row only.

/stop reported through the notice bar above the composer, which is for
transient status and scrolls away leaving nothing to show you asked. It now
appends a ✦ line to the transcript, where the rest of the conversation's
events live.
@hbrooks
hbrooks merged commit e321a85 into main Jul 28, 2026
1 check passed
@hbrooks
hbrooks deleted the connect/live-line-panel-and-stop-notice branch July 28, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant