@openviking/opencode-plugin 2026.10.16 → 2026.10.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/memory-session.mjs +4 -1
- package/package.json +2 -2
package/lib/memory-session.mjs
CHANGED
|
@@ -350,7 +350,10 @@ export function createMemorySessionManager({ config, pluginRoot }) {
|
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
function createSessionState(opencodeSessionId, event = {}) {
|
|
353
|
-
const
|
|
353
|
+
const isSessionEvent = typeof event?.type === "string" && event.type.startsWith("session.")
|
|
354
|
+
const parentId = isSessionEvent
|
|
355
|
+
? (event?.properties?.info?.parentID ?? event?.properties?.parentID ?? event?.parentID ?? "")
|
|
356
|
+
: ""
|
|
354
357
|
const ovSessionId = parentId
|
|
355
358
|
? deriveHarnessSessionId("oc-", parentId, `subagent-${opencodeSessionId}`)
|
|
356
359
|
: deriveHarnessSessionId("oc-", opencodeSessionId)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openviking/opencode-plugin",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.19",
|
|
4
4
|
"author": "@openviking",
|
|
5
5
|
"description": "Unified OpenCode plugin for OpenViking repository retrieval and long-term memory",
|
|
6
6
|
"type": "module",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"code-search"
|
|
47
47
|
],
|
|
48
48
|
"license": "Apache-2.0",
|
|
49
|
-
"openvikingSourceCommit": "
|
|
49
|
+
"openvikingSourceCommit": "66f528de3ce20770c24335535137e6a1cecfe29f"
|
|
50
50
|
}
|