Skip to content

DO NOT MERGE feat(vscode): add Import Sessions from Roo Code command#11411

Open
markijbema wants to merge 8 commits into
mainfrom
mark/review-test
Open

DO NOT MERGE feat(vscode): add Import Sessions from Roo Code command#11411
markijbema wants to merge 8 commits into
mainfrom
mark/review-test

Conversation

@markijbema

Copy link
Copy Markdown
Contributor

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

kilo-code-bot Bot and others added 8 commits June 15, 2026 14:55
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
@markijbema markijbema changed the title feat(vscode): add Import Sessions from Roo Code command DO NOT MERGE feat(vscode): add Import Sessions from Roo Code command Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support migrating Roo Code task history to Kilo Code

1 participant