opencode-auto-resume 1.1.16 → 1.1.17

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/dist/index.js +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14461,8 +14461,12 @@ var AutoResumePlugin = async (ctx, options) => {
14461
14461
  const openTodos = (w.todos || []).filter((t) => t.status === "pending" || t.status === "in_progress");
14462
14462
  if (openTodos.length > 0 && w.taskCompleteOverrides < maxRetries) {
14463
14463
  w.taskCompleteOverrides++;
14464
+ const reminder = buildOpenTodosReminder(w.todos);
14465
+ const blockMsg = `Mark any finished todos complete and do not redo completed work.
14466
+ ${reminder}`;
14464
14467
  await log("info", `${short(ctx.sessionID)} - task_complete blocked: ${openTodos.length} open todos remain (override ${w.taskCompleteOverrides}/${maxRetries})`);
14465
- return `You have ${openTodos.length} unfinished task(s). Please complete all remaining work before signaling completion.`;
14468
+ await sendContinuePrompt(ctx.sessionID, blockMsg, w);
14469
+ return blockMsg;
14466
14470
  }
14467
14471
  }
14468
14472
  w.toolTextRecovered = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-auto-resume",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "OpenCode plugin that automatically resumes stalled LLM sessions when thinking/streaming freezes mid-generation.",
5
5
  "keywords": [
6
6
  "opencode",