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.
Files changed (77) hide show
  1. package/README.md +59 -108
  2. package/dist/agents/definitions.d.ts +1 -2
  3. package/dist/agents/prompts/index.d.ts +0 -1
  4. package/dist/agents/prompts/mission/completion-conditions.d.ts +1 -0
  5. package/dist/agents/prompts/mission/index.d.ts +1 -1
  6. package/dist/agents/prompts/philosophy/execution-assurance.d.ts +2 -1
  7. package/dist/agents/prompts/planning/decomposition.d.ts +1 -1
  8. package/dist/agents/prompts/planning/todo-format.d.ts +1 -1
  9. package/dist/agents/prompts/roles/reviewer/forbidden.d.ts +1 -2
  10. package/dist/agents/prompts/roles/reviewer/identity.d.ts +1 -2
  11. package/dist/agents/prompts/verification/integration.d.ts +1 -1
  12. package/dist/agents/prompts/verification/sync-check.d.ts +0 -1
  13. package/dist/core/agents/agent-registry.d.ts +29 -0
  14. package/dist/core/agents/interfaces/session-pool.interface.d.ts +79 -0
  15. package/dist/core/agents/manager/task-cleaner.d.ts +3 -1
  16. package/dist/core/agents/manager/task-launcher.d.ts +4 -2
  17. package/dist/core/agents/manager.d.ts +2 -0
  18. package/dist/core/agents/session-pool.d.ts +58 -0
  19. package/dist/core/loop/mission-loop-handler.d.ts +25 -0
  20. package/dist/core/loop/{mission-seal.d.ts → mission-loop.d.ts} +6 -32
  21. package/dist/core/loop/todo-continuation.d.ts +1 -1
  22. package/dist/core/loop/todo-manager.d.ts +18 -0
  23. package/dist/core/loop/verification.d.ts +6 -2
  24. package/dist/core/memory/interfaces.d.ts +33 -0
  25. package/dist/core/memory/memory-manager.d.ts +40 -0
  26. package/dist/core/metrics/collector.d.ts +27 -0
  27. package/dist/core/notification/task-toast-manager.d.ts +2 -2
  28. package/dist/core/orchestrator/session-manager.d.ts +0 -1
  29. package/dist/core/plugins/interfaces.d.ts +30 -0
  30. package/dist/core/plugins/plugin-manager.d.ts +21 -0
  31. package/dist/core/progress/progress-notifier.d.ts +14 -0
  32. package/dist/core/progress/state-broadcaster.d.ts +29 -0
  33. package/dist/core/progress/terminal-monitor.d.ts +13 -0
  34. package/dist/core/recovery/interfaces/recovery-action.d.ts +1 -0
  35. package/dist/hooks/constants.d.ts +4 -1
  36. package/dist/hooks/custom/memory-gate.d.ts +21 -0
  37. package/dist/hooks/custom/metrics.d.ts +14 -0
  38. package/dist/hooks/features/mission-loop.d.ts +5 -4
  39. package/dist/index.js +5271 -5763
  40. package/dist/shared/agent/constants/names.d.ts +0 -1
  41. package/dist/shared/constants/system-messages.d.ts +4 -4
  42. package/dist/shared/core/constants/index.d.ts +1 -0
  43. package/dist/shared/core/constants/limits.d.ts +2 -2
  44. package/dist/shared/core/constants/memory-hooks.d.ts +66 -0
  45. package/dist/shared/core/constants/paths.d.ts +2 -0
  46. package/dist/shared/core/constants/phases.d.ts +1 -1
  47. package/dist/shared/loop/constants/index.d.ts +2 -1
  48. package/dist/shared/loop/constants/labels.d.ts +33 -0
  49. package/dist/shared/loop/constants/{mission-seal.d.ts → mission-control.d.ts} +5 -9
  50. package/dist/shared/notification/constants/tui.const.d.ts +3 -3
  51. package/dist/shared/prompt/constants/index.d.ts +1 -1
  52. package/dist/shared/prompt/constants/mandates.d.ts +6 -11
  53. package/dist/shared/prompt/constants/status.d.ts +1 -1
  54. package/dist/shared/prompt/constants/tags.d.ts +59 -23
  55. package/dist/shared/task/constants/index.d.ts +1 -0
  56. package/dist/shared/task/constants/metadata-keys.d.ts +10 -0
  57. package/dist/shared/task/constants/parallel-task.d.ts +1 -1
  58. package/dist/shared/tool/constants/parallel/index.d.ts +1 -0
  59. package/dist/shared/tool/constants/parallel/parameters.d.ts +19 -0
  60. package/dist/shared/tool/constants/tool-names.d.ts +3 -0
  61. package/dist/shared/verification/constants/index.d.ts +1 -0
  62. package/dist/shared/verification/constants/signals.d.ts +10 -0
  63. package/dist/tools/callAgent.d.ts +1 -2
  64. package/dist/tools/lsp/diagnostics-cache.d.ts +14 -0
  65. package/dist/tools/parallel/list-agents.d.ts +10 -0
  66. package/dist/tools/parallel/show-metrics.d.ts +10 -0
  67. package/dist/tools/parallel/update-todo.d.ts +28 -0
  68. package/package.json +3 -2
  69. package/dist/agents/prompts/mission/seal-conditions.d.ts +0 -1
  70. package/dist/agents/prompts/roles/master-reviewer/capabilities.d.ts +0 -7
  71. package/dist/agents/prompts/roles/master-reviewer/forbidden.d.ts +0 -7
  72. package/dist/agents/prompts/roles/master-reviewer/identity.d.ts +0 -7
  73. package/dist/agents/prompts/roles/master-reviewer/index.d.ts +0 -8
  74. package/dist/agents/prompts/roles/master-reviewer/seal-authority.d.ts +0 -7
  75. package/dist/agents/prompts/roles/master-reviewer/verification-process.d.ts +0 -8
  76. package/dist/agents/subagents/master-reviewer.d.ts +0 -14
  77. 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 {};