Skip to content

Add OpenCode source parsing support#10

Merged
peteromallet merged 3 commits intomainfrom
opencode-support
Feb 26, 2026
Merged

Add OpenCode source parsing support#10
peteromallet merged 3 commits intomainfrom
opencode-support

Conversation

@peteromallet
Copy link
Owner

Summary

  • Adds OpenCode as a source, parsing its SQLite database (~/.local/share/opencode/opencode.db)
  • Discovers sessions, extracts messages/parts with model info, token stats, and tool calls
  • Updates CLI source options to include opencode
  • All 258 tests pass

Based on PR #9 by @KNN-07, with conflict resolution against Gemini (#8) and subagent (#6) support.

Test plan

  • All 258 tests pass (including 2 new OpenCode-specific tests)
  • Conflict resolution verified against current main

🤖 Generated with Claude Code

KNN-07 and others added 3 commits February 26, 2026 08:27
Adds OpenCode as a source, parsing its SQLite database for sessions,
messages, and parts. Includes discovery, project naming, token stats,
and tool call extraction. Updates CLI source options and tests.

Based on PR #9 by KNN-07, with conflict resolution against Gemini
and subagent support on main.

Co-Authored-By: Nguyen Khac Trung Kien <KNN-07@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants