Cowork C: activity timeline replaces tool pills #64
Reference in New Issue
Block a user
Delete Branch "feat/cowork-timeline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task C from
docs/cowork-ui-plan.md.What
ActivityTimelinereplacesToolBubble. Consecutive tool calls in a turn render as one block:month: 2026-10 · group_by: category), a spinner/✓/✗ and the duration.onOpenArtifactprop; a no-op until #D wires the panel).useChat:run_id, so parallel calls pair correctly.TOOL_MESSAGESdeleted; labels come from the server.{tool}.tool,label,artifact); old saved messages read the tool name from the[<tool> result]header.src/api/artifactTypes.ts: sharedArtifactKind/ArtifactRef/Artifacttypes.test-fixtures/cowork/mock-server.mjs: dependency-free mock/api(SSE scenarios) for Playwright checks.Test plan
yarn build;tsc --noEmitshows only the existingMessageInput.tsxerror🤖 Generated with Claude Code
Tool calls in a turn now render as one ActivityTimeline block: expanded with "Simba is working…" while running (icon, label, input summary, spinner/✓/✗, duration, Open chip for artifacts), collapsing to "Simba worked · N steps · 4.2 s" when the turn finishes. useChat keys tool rows by run_id (parallel calls), synthesises ids for legacy servers that send only {tool}, and restores rows from the conversation payload. Adds src/api/artifactTypes.ts (shared with the artifact panel) and a dependency-free mock API server under test-fixtures/cowork/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>