Repository navigation
feat: add OpenCode V2 session parsing and subagent curiosity detection - #319
Open
Jarno Peltoniemi (jarnopeltoniemi) wants to merge 1 commit into
Open
Jarno Peltoniemi (jarnopeltoniemi) wants to merge 1 commit into
Jarno Peltoniemi (jarnopeltoniemi) wants to merge 1 commit into
Conversation
github-actions
Bot
requested review from
TamasBoncz,
Aymen (aymenfurter) and
Sanjay Singh (san360)
October 31, 2026 11:06
Author
|
@microsoft-github-policy-service agree |
Contributor
|
Thanks for adding OpenCode V2 support! A heads-up on overlap with token work in flight on
|
Jarno Peltoniemi (jarnopeltoniemi)
force-pushed
the
feat/opencode-v2
branch
from
November 2, 2026 12:47
1f2093e to
8a6bacb
Compare
Author
|
Rebased on main. Dropped tokenSource merge, now using addOpenCodeTokens(). OpenCode V2 changes preserved. |
Jarno Peltoniemi (jarnopeltoniemi)
force-pushed
the
feat/opencode-v2
branch
2 times, most recently
from
November 3, 2026 14:22
243b901 to
d1e8428
Compare
Jarno Peltoniemi (jarnopeltoniemi)
force-pushed
the
feat/opencode-v2
branch
from
November 30, 2026 13:27
d1e8428 to
a910e77
Compare
Author
|
Rebased onto main; V2 subagent sessions are now recognized, and session titles from the DB show on the Timeline. |
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.
Summary
Add support for parsing OpenCode V2 session logs stored in SQLite databases with the new
session_v2andsession_messagetables, and extend curiosity activity detection to recognize V2-stylesubagenttool calls.Changes
session_v2/session_messagewith inlinetext/files/contentfields. Migrated sessions appearing in both formats are counted once (V2 wins).agentandvariantare read from assistant model data.fileDiffsarray on V1 parts captures replace-all/overwrite behavior that input fields alone cannot.subagenttool added to investigation tools;data.agentfallback for V2-style role detection.Testing
image-datafailures unrelated to these changes).