Skip to content

feat(tasks): a task's Session tab gets every session control (v0.440.0) - #815

Merged
vikasprogrammer merged 1 commit into
mainfrom
feat/task-session-parity
Sep 11, 2026
Merged

feat(tasks): a task's Session tab gets every session control (v0.440.0)#815
vikasprogrammer merged 1 commit into
mainfrom
feat/task-session-parity

Conversation

@vikasprogrammer

Copy link
Copy Markdown
Owner

What

The task room's Session tab rendered a bare TerminalFrame (no ops), so compared to the Sessions page it was missing:

  • the Operations menu (Activity, Reload, Reload on another account, Fork, Stop, Delete, Transfer)
  • the progress line
  • the hand-off chain rail
  • the session title + facts header
  • clearing the waiting bell on interaction
  • a link to the full session page

How (DRY)

  • SessionDetailPane: one open-session view (progress strip + terminal/Operations + chain rail + Activity panel). The Sessions page and the task room both render it; each page supplies only its own bar through a bar(chainToggle) render prop.
  • ChainToggle: pulled out of the Sessions tab strip, with dark and light variants.
  • SessionHeading: the title-over-facts header, used by the console header and the task room.
  • SessionActions: App's stop/delete/transfer/rename/attend handlers, passed into TasksPage. It wraps them so that after each action it re-reads its own rows and the run history.

Verified

  • npm run build, web build (tsc -b), npm run test:governance all green.
  • Playwright against a scrubbed copy of a tenant DB: the task room shows the heading, Open in Sessions, Chain 4 toggle and rail. The Sessions page open view looks the same as before, with no page errors.
  • Not exercised: the Operations menu on a live pane, because the scratch tenant has no tmux. It uses the same TerminalFrame code path as the Sessions page.

🤖 Generated with Claude Code

https://claude.ai/code/session_011qxpZQPCLTggnAKjcoQEoR

The task room rendered a bare TerminalFrame, so from a task you could watch a
run but not stop, reload, fork, transfer or inspect it, and it showed no
progress line, hand-off chain, title or facts.

Both the Sessions page and the task room now render one shared
SessionDetailPane (progress strip + terminal with Operations menu + chain
rail + Activity panel), and the title-over-facts header is one
SessionHeading. The task room wraps App's session handlers to re-read its
own rows afterwards, and gains an "Open in Sessions" link.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011qxpZQPCLTggnAKjcoQEoR
@vikasprogrammer
vikasprogrammer merged commit 7b9371e into main Sep 11, 2026
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