Skip to content

feat(session): render streamed file mentions as cards#1266

Open
benjaminshafii wants to merge 1 commit intodevfrom
task/session-rich-file-blocks
Open

feat(session): render streamed file mentions as cards#1266
benjaminshafii wants to merge 1 commit intodevfrom
task/session-rich-file-blocks

Conversation

@benjaminshafii
Copy link
Copy Markdown
Member

Summary

  • move session transcript rendering onto a block-based path so streamed assistant text updates smaller, stable content units instead of reparsing one large markdown blob every time
  • promote file mentions into rich transcript cards from explicit file parts, tool artifacts, and inline file-path mentions, with desktop-aware open/reveal affordances and macOS default-app lookup
  • keep file resolution logic colocated in the session domain and attach verification evidence at apps/app/pr/session-rich-file-card.png

Testing

  • pnpm typecheck
  • pnpm --filter @openwork/app build
  • pnpm --filter @openwork/app test:local-file-path
  • pnpm --filter @openwork/app test:health
  • cargo check --manifest-path apps/desktop/src-tauri/Cargo.toml
  • packaging/docker/dev-up.sh
  • Chrome DevTools verification against the Docker web session flow, including a file-creation prompt that rendered the new transcript file card

Notes

  • I captured UI evidence in apps/app/pr/session-rich-file-card.png.
  • The Docker gate validates the web session surface. The desktop-specific default-app label path was compile-checked and backed by a live macOS osascript probe, but not exercised through a Tauri runtime in this environment.

Break assistant text into stable blocks so streaming stays responsive and tool-created files surface as openable transcript cards instead of getting buried in prose.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-app Ready Ready Preview, Comment Apr 1, 2026 0:46am
openwork-den Ready Ready Preview, Comment Apr 1, 2026 0:46am
openwork-den-worker-proxy Ready Ready Preview, Comment Apr 1, 2026 0:46am
openwork-landing Ready Ready Preview, Comment, Open in v0 Apr 1, 2026 0:46am
openwork-share Ready Ready Preview, Comment Apr 1, 2026 0:46am

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

The following comment was made by an LLM, it may be inaccurate:

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