opencode-orchestrator 1.0.61 → 1.0.71
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/README.md +59 -108
- package/dist/agents/definitions.d.ts +1 -2
- package/dist/agents/prompts/index.d.ts +0 -1
- package/dist/agents/prompts/mission/completion-conditions.d.ts +1 -0
- package/dist/agents/prompts/mission/index.d.ts +1 -1
- package/dist/agents/prompts/philosophy/execution-assurance.d.ts +2 -1
- package/dist/agents/prompts/planning/decomposition.d.ts +1 -1
- package/dist/agents/prompts/planning/todo-format.d.ts +1 -1
- package/dist/agents/prompts/roles/reviewer/forbidden.d.ts +1 -2
- package/dist/agents/prompts/roles/reviewer/identity.d.ts +1 -2
- package/dist/agents/prompts/verification/integration.d.ts +1 -1
- package/dist/agents/prompts/verification/sync-check.d.ts +0 -1
- package/dist/core/agents/agent-registry.d.ts +29 -0
- package/dist/core/agents/interfaces/session-pool.interface.d.ts +79 -0
- package/dist/core/agents/manager/task-cleaner.d.ts +3 -1
- package/dist/core/agents/manager/task-launcher.d.ts +4 -2
- package/dist/core/agents/manager.d.ts +2 -0
- package/dist/core/agents/session-pool.d.ts +58 -0
- package/dist/core/loop/mission-loop-handler.d.ts +25 -0
- package/dist/core/loop/{mission-seal.d.ts → mission-loop.d.ts} +6 -32
- package/dist/core/loop/todo-continuation.d.ts +1 -1
- package/dist/core/loop/todo-manager.d.ts +18 -0
- package/dist/core/loop/verification.d.ts +6 -2
- package/dist/core/memory/interfaces.d.ts +33 -0
- package/dist/core/memory/memory-manager.d.ts +40 -0
- package/dist/core/metrics/collector.d.ts +27 -0
- package/dist/core/notification/task-toast-manager.d.ts +2 -2
- package/dist/core/orchestrator/session-manager.d.ts +0 -1
- package/dist/core/plugins/interfaces.d.ts +30 -0
- package/dist/core/plugins/plugin-manager.d.ts +21 -0
- package/dist/core/progress/progress-notifier.d.ts +14 -0
- package/dist/core/progress/state-broadcaster.d.ts +29 -0
- package/dist/core/progress/terminal-monitor.d.ts +13 -0
- package/dist/core/recovery/interfaces/recovery-action.d.ts +1 -0
- package/dist/hooks/constants.d.ts +4 -1
- package/dist/hooks/custom/memory-gate.d.ts +21 -0
- package/dist/hooks/custom/metrics.d.ts +14 -0
- package/dist/hooks/features/mission-loop.d.ts +5 -4
- package/dist/index.js +5271 -5763
- package/dist/shared/agent/constants/names.d.ts +0 -1
- package/dist/shared/constants/system-messages.d.ts +4 -4
- package/dist/shared/core/constants/index.d.ts +1 -0
- package/dist/shared/core/constants/limits.d.ts +2 -2
- package/dist/shared/core/constants/memory-hooks.d.ts +66 -0
- package/dist/shared/core/constants/paths.d.ts +2 -0
- package/dist/shared/core/constants/phases.d.ts +1 -1
- package/dist/shared/loop/constants/index.d.ts +2 -1
- package/dist/shared/loop/constants/labels.d.ts +33 -0
- package/dist/shared/loop/constants/{mission-seal.d.ts → mission-control.d.ts} +5 -9
- package/dist/shared/notification/constants/tui.const.d.ts +3 -3
- package/dist/shared/prompt/constants/index.d.ts +1 -1
- package/dist/shared/prompt/constants/mandates.d.ts +6 -11
- package/dist/shared/prompt/constants/status.d.ts +1 -1
- package/dist/shared/prompt/constants/tags.d.ts +59 -23
- package/dist/shared/task/constants/index.d.ts +1 -0
- package/dist/shared/task/constants/metadata-keys.d.ts +10 -0
- package/dist/shared/task/constants/parallel-task.d.ts +1 -1
- package/dist/shared/tool/constants/parallel/index.d.ts +1 -0
- package/dist/shared/tool/constants/parallel/parameters.d.ts +19 -0
- package/dist/shared/tool/constants/tool-names.d.ts +3 -0
- package/dist/shared/verification/constants/index.d.ts +1 -0
- package/dist/shared/verification/constants/signals.d.ts +10 -0
- package/dist/tools/callAgent.d.ts +1 -2
- package/dist/tools/lsp/diagnostics-cache.d.ts +14 -0
- package/dist/tools/parallel/list-agents.d.ts +10 -0
- package/dist/tools/parallel/show-metrics.d.ts +10 -0
- package/dist/tools/parallel/update-todo.d.ts +28 -0
- package/package.json +3 -2
- package/dist/agents/prompts/mission/seal-conditions.d.ts +0 -1
- package/dist/agents/prompts/roles/master-reviewer/capabilities.d.ts +0 -7
- package/dist/agents/prompts/roles/master-reviewer/forbidden.d.ts +0 -7
- package/dist/agents/prompts/roles/master-reviewer/identity.d.ts +0 -7
- package/dist/agents/prompts/roles/master-reviewer/index.d.ts +0 -8
- package/dist/agents/prompts/roles/master-reviewer/seal-authority.d.ts +0 -7
- package/dist/agents/prompts/roles/master-reviewer/verification-process.d.ts +0 -8
- package/dist/agents/subagents/master-reviewer.d.ts +0 -14
- package/dist/core/loop/mission-seal-handler.d.ts +0 -34
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Master Reviewer Agent (Subagent)
|
|
3
|
-
*
|
|
4
|
-
* FINAL VERIFICATION AUTHORITY - Only agent that can authorize SEAL.
|
|
5
|
-
* Runs comprehensive verification before mission completion.
|
|
6
|
-
*
|
|
7
|
-
* Responsibilities:
|
|
8
|
-
* - Create and execute verification checklist
|
|
9
|
-
* - Run all verification checks (build, test, e2e, environment)
|
|
10
|
-
* - Mark checklist items with evidence
|
|
11
|
-
* - Output SEAL or return failure summary to Commander
|
|
12
|
-
*/
|
|
13
|
-
import type { AgentDefinition } from "../../shared/agent/interfaces/index.js";
|
|
14
|
-
export declare const masterReviewer: AgentDefinition;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mission Seal Handler
|
|
3
|
-
*
|
|
4
|
-
* Integrates Mission Seal detection with session events.
|
|
5
|
-
* When session goes idle, checks for seal and either:
|
|
6
|
-
* - Completes loop if seal detected
|
|
7
|
-
* - Continues with next iteration if seal not detected
|
|
8
|
-
*/
|
|
9
|
-
import type { PluginInput } from "@opencode-ai/plugin";
|
|
10
|
-
type OpencodeClient = PluginInput["client"];
|
|
11
|
-
/**
|
|
12
|
-
* Handle session.idle event for mission seal loop
|
|
13
|
-
*/
|
|
14
|
-
export declare function handleMissionSealIdle(client: OpencodeClient, directory: string, sessionID: string, mainSessionID?: string): Promise<void>;
|
|
15
|
-
/**
|
|
16
|
-
* Handle user message - cancel countdown
|
|
17
|
-
*/
|
|
18
|
-
export declare function handleUserMessage(sessionID: string): void;
|
|
19
|
-
/**
|
|
20
|
-
* Handle abort - prevent continuation
|
|
21
|
-
*/
|
|
22
|
-
export declare function handleAbort(sessionID: string): void;
|
|
23
|
-
/**
|
|
24
|
-
* Clean up session state
|
|
25
|
-
*/
|
|
26
|
-
export declare function cleanupSession(sessionID: string): void;
|
|
27
|
-
/**
|
|
28
|
-
* Check if there's a pending countdown
|
|
29
|
-
*
|
|
30
|
-
* Utility function for debugging and testing continuation state.
|
|
31
|
-
* Can be used to verify countdown status before injecting prompts.
|
|
32
|
-
*/
|
|
33
|
-
export declare function hasPendingContinuation(sessionID: string): boolean;
|
|
34
|
-
export {};
|