Repository navigation
[Feature]: Transfer a provider-native session between T3 Connect environments #6874
Replies: 2 comments
|
I would also like to see this feature implemented. I notice you could do this with the Kilo extension on VS Code in the same thread. I can change model providers seamlessly and it picks up where it left off. I'm assuming there's some kind of caching of the context window history to a reasonable number of messages and then that context is just passed off into the next model via the header file so the next agent gains all of that insight and assumes the response. If the header file contained the previous conversation, it probably follows up with "Pretend we had this conversation and pick up where you left off" or something akin to that. I wouldn't imagine it would be so difficult to implement. |
|
I would like maintainer approval for a narrower Bring to local workflow related to this proposal. The immediate use case is starting agent work on a remote machine, then bringing the project and conversation onto a laptop/desktop to continue editing and run development tools and the Browser locally. The requested behavior is a one-time handoff into a new local thread, using portable conversation context. It does not require moving the provider-native session identity described in the original proposal. Proposed scope for one PR:
Existing portable handoffs supply conversation-selection logic, but they do not copy project files between environments. Related discussions: #16570 concerns moving a worktree to its checkout on the same environment; #16568 concerns where Browser URLs open. Planned verification for the eventual PR: two isolated environments; real Git repositories and worktrees; binary/untracked/ignored files; staged edits and deletions; long conversation context retrieval; destination provider mismatch; source changes during transfer; cancelled/failed import; failure to stop the source after a successful import; old-server capability gating. UI evidence would cover the complete remote-to-local flow. No implementation or verification results are being claimed here. Would you approve this direction and scope for a contribution, or prefer it to remain part of the broader native-session migration proposal? Prepared with gpt-6.1-sol in the Codex harness through T3 Code. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
T3 Connect / remote environments,
apps/server, andapps/webProblem or use case
T3 Code lets me configure and access multiple environments through T3 Connect, but a session remains tied to the machine where it started.
For example, I may start a long-running Claude Code or Codex session on Computer A, then need to shut that computer down and continue from Computer B. Both environments may already have the same provider CLI installed and be configured in T3 Code, but there is no one-click way to move the existing session to the other environment.
Starting a new thread or giving the destination model a summary is not equivalent. The destination CLI should recognize the conversation as the same provider-native session, with the same history and continuation state it would have had on Computer A.
Proposed solution
Add a Transfer Session action that moves an active or paused T3 thread from one configured environment to another.
From the user's perspective:
The destination CLI should behave as though the conversation had been running on that machine all along. This should not create a fresh provider session with only a transcript or summary injected into it.
Required behavior
Provider scope
This should be a provider-neutral T3 capability with provider-specific migration implementations.
An initial version could support Claude Code and Codex when the same provider and a compatible CLI version are installed on both environments. Other providers could be added through the same abstraction later.
Credentials and secrets should not need to be copied if the destination is already authenticated. T3 should validate that the destination provider is usable before beginning the transfer.
Project state
Native conversation history is only useful if the destination sees the expected project state. The transfer flow should therefore either:
It should never silently resume against a materially different checkout without warning the user.
Smallest useful scope
A reasonable MVP could support:
Live subprocess migration, cross-provider migration, and automatic transfer of every machine-level dependency can remain out of scope initially.
Why this matters
Users often move between a laptop, desktop, workstation, server, or cloud VM. Today, the safest approach is to predict which machine will need to stay online and start the session there from the beginning.
A real session-transfer flow would make long-running agent work portable. The user could close one machine without abandoning the thread, manually copying hidden session files, or forcing the model to reconstruct context it believes it already has.
Alternatives considered
Related but distinct issues
Risks or tradeoffs
All reactions