Skip to content

feat: browse and resume provider agent sessions from History - #30607

Draft
nadimk1 wants to merge 1 commit into
pingdotgg:mainfrom
nadimk1:feat/agent-session-history
Draft

nadimk1 wants to merge 1 commit into
pingdotgg:mainfrom
nadimk1:feat/agent-session-history

Conversation

@nadimk1

@nadimk1 nadimk1 commented Nov 4, 2026

Copy link
Copy Markdown

Problem
Sessions you start in a provider's own command-line tool (Claude Code, Codex, and others) are invisible in T3 Code. To continue one, you have to find the transcript by hand and start over.

Fix

  • Server: scans each provider's local session folders and builds a preview index, with one page of history at a time. Importing a session opens it as a T3 thread that resumes where the transcript ended.
  • Contracts: new history RPC methods, behind the existing client permission guards.
  • Web: new History page, reachable from the sidebar and the command palette.
  • Mobile: an Agent history screen under Settings.
  • Shared client code: session-history state lives in the code that web and mobile share.
  • Recaps: short generated summaries for each session, with an eval in evals/session-recaps.

Tests

  • Server tests for scanning, discovery, history and import. They cover folder discovery, previews, transcripts that are too big, blocked folders, and older pages.
  • A provider-switch integration test, RPC permission tests, and the recap eval tests.
  • Web browser tests for the route modal, the command palette and connection storage.
  • vp run check:changed: lint, format, unused-code check and typecheck are clean. 490 of 491 tests pass. The one failure ("still reads the git identity of repositories next to a blocked one") also fails on main, about 5 of 6 local runs.

Notes

Screenshots: History page (web), Agent history (mobile) - to be added

🤖 Generated with Claude Code

Sessions started in a provider's own CLI were invisible in T3 Code.
Add server-side discovery and a paged preview index for provider
session folders, history RPCs in contracts, a web History page
(sidebar and command palette), a mobile Agent history screen, and
session recap generation with an eval.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:XXL 1,000+ changed lines (additions + deletions). labels Nov 4, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 1,000+ changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants