Skip to content
Back to home

Expandable activity boxes

Makes command output and file edits inspectable directly in the conversation. Expand a command to see its output, exit status, and duration, or expand a file change to review its diff. Activity stays boring while collapsed, and updates from a running command merge into the same entry.

PR
…
Status
Abandoned
Reason
I was not really using this, so I left the work behind.

Comments

This fork

The missing output came from the projection pruning superseded command rows before their completion carried every chunk. I made the merge keep the longer snapshot and covered it with tests.

Ran command - pnpm vitest run src/lib/workLogActivity.test.ts

Original

The missing output came from the projection pruning superseded command rows before their completion carried every chunk. I made the merge keep the longer snapshot and covered it with tests.

pnpm vitest run src/lib/workLogActivity.test.ts

/bin/zsh -lc "pnpm vitest run src/lib/workLogActivity.test.ts"

 RUN  v4.1.11 /Users/quicksaver/Projects/t3code/apps/web

 ✓ src/lib/workLogActivity.test.ts (12 tests) 96ms

 Test Files  1 passed (1)
      Tests  12 passed (12)
   Duration  2.31s
Mock activity. Click the summary to fold the group, click any row to expand it, and click a long output to see all of it.