@ycodium-ai/agent-opencode 0.2.2920 → 0.2.2924
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 +5 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -9894,7 +9894,11 @@ function createOpenCodeInstance(config, host, attachments) {
|
|
|
9894
9894
|
sendTurn: async (input) => {
|
|
9895
9895
|
const context = requireSession(input.threadId);
|
|
9896
9896
|
if (input.expectedTurnId !== void 0 && context.session.activeTurnId !== input.expectedTurnId) {
|
|
9897
|
-
|
|
9897
|
+
const rejected = Object.assign(
|
|
9898
|
+
new Error("The target turn has ended. The message was not sent."),
|
|
9899
|
+
{ code: "provider-rejected" }
|
|
9900
|
+
);
|
|
9901
|
+
throw rejected;
|
|
9898
9902
|
}
|
|
9899
9903
|
const selectedInstanceId = boundInstanceIdFromSelection(input.modelSelection);
|
|
9900
9904
|
if (selectedInstanceId !== void 0 && selectedInstanceId !== boundInstanceId) {
|
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.2924",
|
|
4
4
|
"description": "OpenCode executor: OpenCode CLI via @opencode-ai/sdk/v2.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ycodium",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@types/node": "24.12.4",
|
|
25
25
|
"esbuild": "0.28.1",
|
|
26
26
|
"vite-plus": "0.2.2",
|
|
27
|
-
"ycodium-
|
|
27
|
+
"@ycodium-ai/plugin-api": "0.2.2924",
|
|
28
28
|
"ycodium-executor-testing": "0.0.0",
|
|
29
|
-
"
|
|
29
|
+
"ycodium-fetch-ports": "0.0.0"
|
|
30
30
|
},
|
|
31
31
|
"ycodium": {
|
|
32
32
|
"plugin": "./dist/index.js",
|