@ycodium-ai/agent-opencode 0.2.2126 → 0.2.2130
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/dist/index.js +6 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1133,6 +1133,11 @@ function makeOpenCodeEnvironment(homePath, baseEnv) {
|
|
|
1133
1133
|
XDG_CONFIG_HOME: xdgPaths.configHome
|
|
1134
1134
|
};
|
|
1135
1135
|
}
|
|
1136
|
+
function makeOpenCodeContinuationGroupKey(input) {
|
|
1137
|
+
const serverUrl = input.serverUrl.trim();
|
|
1138
|
+
if (serverUrl.length > 0) return `opencode:server:${serverUrl}`;
|
|
1139
|
+
return `opencode:home:${resolveOpenCodeHomePath(input.homePath)}`;
|
|
1140
|
+
}
|
|
1136
1141
|
async function isSameOpenCodeDirectory(left, right) {
|
|
1137
1142
|
const lexicalLeft = NodePath3.resolve(left);
|
|
1138
1143
|
const lexicalRight = NodePath3.resolve(right);
|
|
@@ -9143,6 +9148,7 @@ function createOpenCodeInstance(config, host, attachments) {
|
|
|
9143
9148
|
return { threadId, turns };
|
|
9144
9149
|
},
|
|
9145
9150
|
events,
|
|
9151
|
+
continuationKey: makeOpenCodeContinuationGroupKey(recipe),
|
|
9146
9152
|
dispose: async () => {
|
|
9147
9153
|
if (disposed) return;
|
|
9148
9154
|
disposed = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/agent-opencode",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2130",
|
|
4
4
|
"description": "OpenCode executor: OpenCode CLI via @opencode-ai/sdk/v2.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ycodium",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@types/node": "24.12.4",
|
|
24
24
|
"esbuild": "0.28.1",
|
|
25
25
|
"vite-plus": "0.2.2",
|
|
26
|
-
"@ycodium-ai/plugin-api": "0.2.
|
|
26
|
+
"@ycodium-ai/plugin-api": "0.2.2130"
|
|
27
27
|
},
|
|
28
28
|
"ycodium": {
|
|
29
29
|
"plugin": "./dist/index.js",
|