Commit Graph
4 Commits
Author SHA1 Message Date
bowenliang123 ac5b36b784 feat(client): unfold task cards into boxed brief, agent, and reply sections
- A task card opens on a pick (or Enter/Space on the row): the task brief, the
  owning agent, and the final report-back each box up in the context tab's own
  section chrome, with the raw/Markdown switch on every box head — Markdown the
  default, the report-back stamped with its time
- Closed rows keep the compact read, the description clamped to two lines and
  rendered through the shared Markdown renderer (memoized per text, so board
  hover re-renders never re-parse)
- The row pick no longer pins: pinning stays with the owner chips, the band
  heads, and the agent box inside an opened card; Enter on a nested control
  keeps activating that control instead of folding the card
- zh/en gains the box labels (task brief / agent / final reply)
2026-10-12 02:05:11 +08:00
bowenliang123 a4c737b354 feat(client): rebuild the task board as the family's work board
- Plain subagents join the board: each delegation reads as a task of its own
  (the prompt as the subject, the session state as the status) with the run's
  live figures on the row — tokens · duration · steps and the pressure-tinted
  occupancy; the row itself is the agent (family-hue icon, session id on hover)
- One vertical, owner-grouped layout replaces the status/owner switch: roster
  members first (the lead in brand hue, teammates by stable roster hue), stray
  owners the roster never served, then headless delegation rows in spawn order,
  the unowned pool last; status lives on the rows
- The toolbar gains search (subject/owner/id) and status filter chips with
  counts; the completion bar now counts every row on the board
- A pick anywhere narrows the board to that agent — graph nodes and member
  cards included, subagents by their own session id (the pick chip names the
  label, never a raw id); the members board reports picks raw and the view owns
  the toggle, so a release lets go of the paired narrowing wherever it came from
- Renamed to Tasks (team tasks and subagent delegations); zh/en updated, the
  dead view-switch keys removed
2026-10-12 01:29:48 +08:00
bowenliang123 928abdac97 feat(client): rebuild the Fleet tab around one stable three-shape layout
- Overview strip: family stats (agents/running/done/tokens/est. cost) with an
  adaptive progress bar — shared tasks when a team serves any, else subagent
  completion, and no bar for a solo session
- Agent network: taller link channel (level pitch 144→168), node cap 25→40,
  and a card click now selects (ring + the task board's owner filter) instead
  of jumping sessions; the jump moves to a corner button on each card
- The graph's cursor-following inspector leaves the Fleet tab (the boards
  carry that detail); the sidebar mount keeps it
- Members board absorbs the roster: team cards section plus a compact
  other-agents section, one search/status/sort toolbar steering both; the
  standalone FleetList card is gone
- Task board: completion bar, status/owner grouping switch, owner pinning and
  hover lineage from task rows, transitive prerequisite-chain highlighting,
  and a guidance empty state without a team
- Both boards stay mounted with guidance notes in team-less and solo
  sessions, so the page never reshapes between session kinds
- Hoist displayCurrencyOf into cost.ts (was duplicated per mount)
2026-10-11 23:35:29 +08:00
bowenliang123 f0ee3195ac feat: rebuild the Fleet tab as the agent fleet cockpit
Split the Agent network card into graph + cursor-following inspector
(delegation prompt, latest reply, descriptor, owned tasks, comms), add
the members board and the status-grouped task board off the agentTeam
projection with inline dependency chains, a filterable/sortable roster,
and an on-demand comms timeline over relay/mailbox/settled records.

Data rides a new /api/dsh-context/fleet route (one observeSession read
per session through the shared cold-read gate); hover, pin, owner
filter, and task focus are lifted to the view so every panel steers the
same inspector.
2026-10-11 07:52:58 +08:00