fix(opencode): read V2 session exports directly from authenticated API

This commit is contained in:
2026-10-20 20:40:57 +01:00
parent 074b5bb087
commit 1b8d0f2a75
7 changed files with 339 additions and 37 deletions
+1
View File
@@ -1411,6 +1411,7 @@ func stepIndex(data chatEvent) int {
// "role", model as "modelID", timing as "created") with the parts under
// "parts".
type nativeChatMessage struct {
Raw json.RawMessage `json:"-"`
ID string `json:"id"`
Type string `json:"type"`
Agent string `json:"agent"`