@openclaw/opencode-provider 2026.10.2 → 2026.10.5-beta.2
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.
|
@@ -105,7 +105,7 @@ async function createAdoptedOpenCodeSession(params) {
|
|
|
105
105
|
await importSessionCatalogHistory({
|
|
106
106
|
catalogId: "opencode",
|
|
107
107
|
threadId: params.threadId,
|
|
108
|
-
read:
|
|
108
|
+
read: ({ cursor, limit }) => readLocalOpenCodeTranscriptPage({
|
|
109
109
|
threadId: params.threadId,
|
|
110
110
|
limit,
|
|
111
111
|
...cursor ? { cursor } : {}
|
|
@@ -134,7 +134,7 @@ function createOpenCodeNodeHostBindings(api) {
|
|
|
134
134
|
listAvailable: available,
|
|
135
135
|
terminalAvailable: available,
|
|
136
136
|
parseParams: parseNodeParams,
|
|
137
|
-
list:
|
|
137
|
+
list: (params) => listLocalOpenCodeSessionPage(params, { configIdentity: currentOpenCodeCatalogConfig(api) }),
|
|
138
138
|
read: readLocalOpenCodeTranscriptPage,
|
|
139
139
|
requireSession: requireLocalOpenCodeSession,
|
|
140
140
|
terminalIoRequiredMessage: "OpenCode terminal command requires duplex transport",
|
|
@@ -154,12 +154,12 @@ function registerOpenCodeSessionCatalog(api) {
|
|
|
154
154
|
pathEnv: process.env.PATH ?? "",
|
|
155
155
|
strategy: "fallback"
|
|
156
156
|
}) !== void 0,
|
|
157
|
-
list:
|
|
157
|
+
list: (query) => listLocalOpenCodeSessionPage({
|
|
158
158
|
limit: query.limitPerHost,
|
|
159
159
|
...query.search ? { searchTerm: query.search } : {},
|
|
160
160
|
cursor: query.cursors?.[OPENCODE_LOCAL_SESSION_HOST_ID]
|
|
161
161
|
}, { configIdentity: currentOpenCodeCatalogConfig(api) }),
|
|
162
|
-
read:
|
|
162
|
+
read: (request) => readLocalOpenCodeTranscriptPage({
|
|
163
163
|
threadId: request.threadId,
|
|
164
164
|
...request.limit ? { limit: request.limit } : {},
|
|
165
165
|
...request.cursor !== void 0 ? { cursor: request.cursor } : {}
|
|
@@ -217,13 +217,13 @@ function registerOpenCodeSessionCatalog(api) {
|
|
|
217
217
|
agentId: OPENCODE_ACP_AGENT_ID
|
|
218
218
|
}),
|
|
219
219
|
listAdopted: (agentId, sessionEntries) => listAdoptedOpenCodeSessions(api, agentId, sessionEntries),
|
|
220
|
-
loadSession:
|
|
220
|
+
loadSession: (threadId) => loadContinuableOpenCodeSession(api, threadId),
|
|
221
221
|
validateSession: () => void 0,
|
|
222
|
-
create:
|
|
222
|
+
create: (params) => createAdoptedOpenCodeSession({
|
|
223
223
|
api,
|
|
224
224
|
...params
|
|
225
225
|
}),
|
|
226
|
-
complete:
|
|
226
|
+
complete: (continued, threadId) => linkContinuedOpenCodeSession(continued.sessionKey, threadId),
|
|
227
227
|
nodeReadOnlyMessage: "paired-node OpenCode session rows are view-only"
|
|
228
228
|
},
|
|
229
229
|
terminal: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/opencode-provider",
|
|
3
|
-
"version": "2026.10.2",
|
|
3
|
+
"version": "2026.10.5-beta.2",
|
|
4
4
|
"description": "OpenClaw OpenCode Zen provider plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.7.2"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.10.2"
|
|
21
|
+
"pluginApi": ">=2026.10.5-beta.2"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.10.2",
|
|
24
|
+
"openclawVersion": "2026.10.5-beta.2",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"assets/activity.svg"
|
|
41
41
|
],
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"openclaw": ">=2026.10.2"
|
|
43
|
+
"openclaw": ">=2026.10.5-beta.2"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|