opencode-orchestrator 1.2.13 → 1.2.15
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/core/agents/manager/task-poller.d.ts +2 -1
- package/dist/core/loop/continuation-lock.d.ts +57 -0
- package/dist/core/loop/verification.d.ts +5 -44
- package/dist/core/session/session-health.d.ts +93 -0
- package/dist/index.js +455 -141
- package/dist/shared/constants/system-messages.d.ts +1 -1
- package/dist/shared/core/constants/memory-hooks.d.ts +4 -0
- package/package.json +1 -1
|
@@ -21,5 +21,5 @@ export declare const MISSION_MESSAGES: {
|
|
|
21
21
|
};
|
|
22
22
|
export declare const COMPACTION_PROMPT: string;
|
|
23
23
|
export declare const CONTINUE_INSTRUCTION: string;
|
|
24
|
-
export declare const STAGNATION_INTERVENTION = "\n<system_intervention type=\"stagnation_detected\">\n\u26A0\uFE0F
|
|
24
|
+
export declare const STAGNATION_INTERVENTION = "\n<system_intervention type=\"stagnation_detected\">\n\u26A0\uFE0F **WARNING: STAGNATION DETECTED**\nNo substantial progress has been detected for several turns. Simply \"monitoring\" or repeating the same actions is prohibited.\n\n**Self-Diagnosis and Resolution Guidelines:**\n1. **Check Live Logs**: Use `check_background_task` or `read_file` to directly check the output logs of running tasks.\n2. **Process Health Diagnosis**: If a task appears to be a zombie or stuck, kill it immediately and restart it with more granular steps.\n3. **Strategy Pivot**: If the same approach keeps failing, use different tools or methods to reach the goal.\n\n**Intervene proactively NOW. Do NOT wait.**\n</system_intervention>";
|
|
25
25
|
export declare const CLEANUP_INSTRUCTION = "\n<system_maintenance type=\"continuous_hygiene\">\n\uD83E\uDDF9 **DOCUMENTATION & STATE HYGIENE (Iteration %ITER%)**\nYou must maintain a pristine workspace. **As part of your move**, perform these checks:\n\n1. **Relevance Assessment**:\n - Review active documents (`.opencode/*.md`). Are they needed for the *current* objective?\n - If a file represents a solved problem or obsolete context, **Archive it** to `.opencode/archive/` or delete it.\n\n2. **Synchronization**:\n - Verify `TODO.md` matches the actual code state. Mark completed items immediately.\n - Check `sync-issues.md`. If issues are resolved, remove them.\n\n3. **Context Optimization**:\n - If `work-log.md` is getting noisy, summarize key decisions into `summary.md` and truncate the log.\n - Keep context lightweight.\n\n**Rule**: A cluttered workspace leads to hallucinations. Clean as you go.\n</system_maintenance>\n";
|
|
@@ -47,6 +47,10 @@ export declare const TODO_CONSTANTS: {
|
|
|
47
47
|
readonly PROGRESS: "progress";
|
|
48
48
|
readonly FAILED: "failed";
|
|
49
49
|
};
|
|
50
|
+
readonly PREFIX: {
|
|
51
|
+
readonly TASK: "task-";
|
|
52
|
+
readonly FILE: "file-task-";
|
|
53
|
+
};
|
|
50
54
|
};
|
|
51
55
|
export declare const TUI_CONSTANTS: {
|
|
52
56
|
readonly BAR_WIDTH: 30;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "opencode-orchestrator",
|
|
3
3
|
"displayName": "OpenCode Orchestrator",
|
|
4
4
|
"description": "Distributed Cognitive Architecture for OpenCode. Turns simple prompts into specialized multi-agent workflows (Planner, Coder, Reviewer).",
|
|
5
|
-
"version": "1.2.
|
|
5
|
+
"version": "1.2.15",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|