Repository navigation
feat(server): import Claude Code and Codex history automatically #11453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
atmikshetty
wants to merge
23
commits into
pingdotgg:main
from
atmikshetty:feat/agent-session-auto-import
Closed
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
ce6331f
feat(contracts): add agent history import window and auto-import sett…
atmikshetty 587601b
feat(server): honor the import window and drop the message cap
atmikshetty 38d694d
feat(web): add agent history import settings
atmikshetty cbb5328
docs: describe the configurable agent history import
atmikshetty 2fd3e86
feat(contracts): add auto-import status and its RPCs
atmikshetty 3081dfa
feat(server): import agent history in the background
atmikshetty 9ed1212
feat(server): start the auto-importer and expose its status
atmikshetty 27aca28
feat(web): run the history import from settings
atmikshetty 80d190b
feat(web): import agent history from the command palette
atmikshetty 356fab2
feat(mobile): manage agent history import from settings
atmikshetty 0944a12
Merge upstream/main into feat/agent-session-auto-import
atmikshetty 54cf9f7
fix(server): stop over-reporting imported conversation counts
atmikshetty 5eaf2fa
fix(web): drop the zero-project phrasing from import status
atmikshetty 40aa264
Merge branch 'main' into feat/agent-session-auto-import
atmikshetty ac5a275
fix(server): keep the auto-import drain loop terminating
atmikshetty e5e83a4
fix(server): report a refundable record allowance as remaining work
atmikshetty 63e5408
fix(web): scope the import row and correct its claims
atmikshetty 6caf97e
fix(mobile): tell the user when an import request fails
atmikshetty d1bb5ba
Merge remote-tracking branch 'origin/feat/agent-session-auto-import' …
atmikshetty f25ccc1
fix(server): keep an auth change from being buried by a stale snapshot
atmikshetty 40f8969
fix(web): offer the manual import only for a single computer
atmikshetty 518e86b
docs: tie the import triggers to the automatic setting
atmikshetty 1c92660
Merge branch 'main' into feat/agent-session-auto-import
atmikshetty File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| import { WS_METHODS } from "@t3tools/contracts"; | ||
| import { createEnvironmentRpcCommand } from "@t3tools/client-runtime/state/runtime"; | ||
|
|
||
| import { connectionAtomRuntime } from "../connection/runtime"; | ||
|
|
||
| /** | ||
| * Manual trigger for an environment's background agent session importer | ||
| * (Claude Code / Codex history). Resolves with the importer's status at the | ||
| * moment the run was requested; the run itself continues server-side. | ||
| */ | ||
| export const agentSessionImportAll = createEnvironmentRpcCommand(connectionAtomRuntime, { | ||
| label: "environment-data:agent-sessions:import-all", | ||
| tag: WS_METHODS.agentSessionsImportAll, | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.