Skip to content

Commit 5bd17f5

Browse files
lanmowerclaude
andcommitted
refactor: Remove OpenCode conversation importing
OpenCode does not have persistent conversation storage like Claude Code, so importing from OpenCode is not feasible. Removed: - importOpenCodeSessions() method - OpenCode-related logging in importAll() - Simplified return type to only return Claude Code conversations Claude Code importing remains fully functional (178 conversations). OpenCode can still be used as an agent, but conversations won't be imported from it (which is correct behavior). Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 311bc30 commit 5bd17f5

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

conversation-importer.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,11 @@ export class ConversationImporter {
5252
return imported;
5353
}
5454

55-
static async importOpenCodeSessions() {
56-
// TODO: Implement OpenCode session import once storage location is determined
57-
return [];
58-
}
59-
6055
static async importAll() {
6156
console.log('[Importer] Starting conversation import...');
6257
const claudeCode = await this.importClaudeCodeSessions();
63-
const openCode = await this.importOpenCodeSessions();
6458
console.log(`[Importer] Imported ${claudeCode.length} Claude Code conversations`);
65-
console.log(`[Importer] Imported ${openCode.length} OpenCode conversations`);
66-
return { claudeCode, openCode };
59+
return claudeCode;
6760
}
6861
}
6962

0 commit comments

Comments
 (0)