opencode-queue 0.6.1 → 0.6.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.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -141,7 +141,7 @@ export const QueuePlugin: Plugin = async ({ client }) => {
141
141
 
142
142
  flushing.add(sid)
143
143
  try {
144
- while (list.length) await replay(sid, list.shift()!)
144
+ await replay(sid, list.shift()!)
145
145
  } catch (error) {
146
146
  console.error("QueuePlugin failed to flush queued input", error)
147
147
  await toast(`Queue failed: ${error instanceof Error ? error.message : String(error)}`, "error")
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.1",
4
+ "version": "0.6.2",
5
5
  "type": "module",
6
6
  "description": "Queue OpenCode prompts and slash commands until the agent is idle",
7
7
  "main": "./index.ts",