DO NOT MERGE feat(vscode): add Import Sessions from Roo Code command#11411
Open
markijbema wants to merge 8 commits into
Open
DO NOT MERGE feat(vscode): add Import Sessions from Roo Code command#11411markijbema wants to merge 8 commits into
markijbema wants to merge 8 commits into
Conversation
Adds a new VS Code command 'kilo-code.new.importRooCodeSessions' that discovers and imports conversation history from a Roo Code installation. - Extend migrate() in legacy-migration/sessions/migrate.ts with optional overrides (custom dir + pre-resolved LegacyHistoryItem) so the existing parsing pipeline can be reused without modification for any extension's tasks directory. - Add packages/kilo-vscode/src/roo-import/service.ts which locates Roo Code global storage as a sibling of the current extension's storage, scans the tasks/ directory, and derives session metadata (title from first user message, timestamp from numeric task ID). - Add packages/kilo-vscode/src/roo-import/command.ts with a VS Code quick-pick + progress-notification flow. - Register the command in extension.ts and package.json. Closes #11243
…tadata - command.ts: check migrate() return value, count failures, and surface error count in the completion notification instead of silently ignoring failed session imports (fixes bot WARNING) - service.ts: read history_item.json for accurate title, workspace, and timestamp — falls back to parsing api_conversation_history.json when the file is absent - service.ts: add rooveterinaryinc.roo-code and rooveterinaryinc.roo-code-nightly to the list of Roo Code extension IDs to probe
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds a new VS Code command 'kilo-code.new.importRooCodeSessions' that
discovers and imports conversation history from a Roo Code installation.
overrides (custom dir + pre-resolved LegacyHistoryItem) so the existing
parsing pipeline can be reused without modification for any extension's
tasks directory.
Code global storage as a sibling of the current extension's storage, scans
the tasks/ directory, and derives session metadata (title from first user
message, timestamp from numeric task ID).
Closes #11243