Skip to content

feat(server): adopt existing Claude Code sessions into T3 threads - #6

Draft
wSedlacek wants to merge 4 commits into
mainfrom
agent/openrig-adopt-sessions
Draft

wSedlacek wants to merge 4 commits into
mainfrom
agent/openrig-adopt-sessions

Conversation

@wSedlacek

Copy link
Copy Markdown

Reopened from closed upstream PR pingdotgg#34589 as a draft for t3.1code.
Idea rank: 5 of 108. Branch is as it was upstream; it likely needs a rebase (modernize) before review.

Summary

  • Claude Code sessions that already exist on disk can be discovered and imported into a T3-managed thread without starting a cold conversation.
  • Adds agentSessions.list / agentSessions.adopt plus a project-first Import shortcut (project settings, sidebar menu, command palette). Import opens the thread; the Claude provider card still has the same controls.
  • Inspired by OpenRig's discover/adopt for unmanaged Claude/Codex sessions. Distinct from MCP onboarding (feat(web): agent-driven MCP connect for Claude Code and Codex pingdotgg/t3code#34579).

Test plan

  • Project settings / sidebar Import Claude sessions / palette: Discover → Import opens the thread
  • Settings → Providers → Claude: Discover still works and lists projects
  • Import the same session again opens the existing thread
  • Confirm onboarding bulk import still works for a project
  • Confirm this stays separate from Use T3 Code in another app (MCP)

Reviewed with sol-loop: 2 rounds with gpt-6.1-sol. Sol verdict: approved

🤖 Generated with Claude Code

wSedlacek and others added 4 commits November 11, 2026 16:23
Discover Claude transcripts for a project and adopt one into a managed
thread that resumes the native session, inspired by OpenRig discover/adopt.
Discover/Adopt bypass the permanent scanner candidate cache so sessions
created after the first discovery show up without a server restart.
Prefer project settings / sidebar / palette for Claude session import,
open the thread after import, and fix provider-card project listing plus
macOS worktree realPath exclusion.
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XL labels Nov 14, 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:XL vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants