opencode-queue 0.6.4 → 0.6.6
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/index.ts +0 -2
- package/package.json +7 -4
package/index.ts
CHANGED
|
@@ -135,7 +135,6 @@ export const QueuePlugin: Plugin = async ({ client }) => {
|
|
|
135
135
|
if (item.kind === "shell") return shell(sid, item.shell, item.info)
|
|
136
136
|
|
|
137
137
|
if (item.kind === "command") {
|
|
138
|
-
await prompt(sid, item.info, [{ type: "text", text: item.text }, ...item.files], true)
|
|
139
138
|
await client.session.command({
|
|
140
139
|
path: { id: sid },
|
|
141
140
|
body: {
|
|
@@ -226,7 +225,6 @@ export const QueuePlugin: Plugin = async ({ client }) => {
|
|
|
226
225
|
}
|
|
227
226
|
|
|
228
227
|
if (op.kind === "command") {
|
|
229
|
-
await client.session.prompt({ path: { id: sid }, body: { noReply: true, parts: [{ type: "text", text: op.text }, ...parts] } })
|
|
230
228
|
await client.session.command({ path: { id: sid }, body: { command: op.cmd, arguments: op.args, parts } as any })
|
|
231
229
|
throw new Error(HANDLED)
|
|
232
230
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "opencode-queue",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Queue OpenCode prompts and slash commands until the agent is idle",
|
|
7
7
|
"main": "./index.ts",
|
|
@@ -35,8 +35,11 @@
|
|
|
35
35
|
"typecheck": "tsc --noEmit"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@opencode-ai/plugin": "
|
|
39
|
-
"@opencode-ai/sdk": "
|
|
40
|
-
"typescript": "^
|
|
38
|
+
"@opencode-ai/plugin": "^1.14.37",
|
|
39
|
+
"@opencode-ai/sdk": "^1.14.37",
|
|
40
|
+
"typescript": "^6.0.3"
|
|
41
|
+
},
|
|
42
|
+
"overrides": {
|
|
43
|
+
"uuid": "^14.0.0"
|
|
41
44
|
}
|
|
42
45
|
}
|