opencode-pair-autonomy 1.0.4 → 1.0.5
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 +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16972,7 +16972,8 @@ function createPreToolUseHook(config2, runtime, profile) {
|
|
|
16972
16972
|
});
|
|
16973
16973
|
if (blocked) {
|
|
16974
16974
|
const count = runtime.incrementPlanModeBlock(sessionID);
|
|
16975
|
-
const
|
|
16975
|
+
const isTaskBlocked = tool === "task" || tool.startsWith("task_");
|
|
16976
|
+
const msg = isTaskBlocked ? `[PlanMode] task tool is blocked in planning mode. For read-only workers (rajdhani, ginko, kaiki, odokawa), use delegate instead of task. The user will /go to start execution.` : count >= 3 ? "[PlanMode] STILL in planning mode. You have attempted execution tools multiple times. STOP trying. Complete your plan with TodoWrite. The user will /go to start execution." : "[PlanMode] You are in planning mode. Cannot use execution tools. Use Read/Glob/Grep/TodoWrite to continue planning. The user will /go to start execution.";
|
|
16976
16977
|
throw new BlockingHookError(msg);
|
|
16977
16978
|
}
|
|
16978
16979
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-pair-autonomy",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "OpenCode harness with opinionated agent orchestration. One coordinator, eight specialized workers, automatic verify+review pipeline.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|