opencode-orchestrator 0.8.19 → 0.8.20
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/agents/commander.d.ts +1 -1
- package/dist/agents/definitions.d.ts +1 -1
- package/dist/agents/subagents/planner.d.ts +1 -1
- package/dist/agents/subagents/reviewer.d.ts +1 -1
- package/dist/agents/subagents/worker.d.ts +1 -1
- package/dist/core/agents/config.d.ts +1 -1
- package/dist/core/cache/constants.d.ts +2 -0
- package/dist/core/orchestrator/state.d.ts +2 -2
- package/dist/core/orchestrator/types/task-status.d.ts +2 -1
- package/dist/core/recovery/constants.d.ts +6 -3
- package/dist/core/task/interfaces/index.d.ts +1 -1
- package/dist/core/task/interfaces/task-node.d.ts +1 -1
- package/dist/index.js +317 -173
- package/dist/shared/agent/constants/agent-tokens.d.ts +11 -0
- package/dist/shared/agent/constants/index.d.ts +7 -0
- package/dist/shared/agent/{names.d.ts → constants/names.d.ts} +1 -2
- package/dist/shared/agent/index.d.ts +4 -4
- package/dist/shared/agent/{definition.d.ts → interfaces/agent-definition.d.ts} +1 -1
- package/dist/shared/agent/interfaces/concurrency-config.d.ts +9 -0
- package/dist/shared/agent/interfaces/index.d.ts +5 -0
- package/dist/shared/agent/types/agent-name.d.ts +5 -0
- package/dist/shared/agent/types/index.d.ts +4 -0
- package/dist/shared/cache/constants/cache.d.ts +11 -0
- package/dist/shared/cache/constants/index.d.ts +8 -0
- package/dist/shared/cache/index.d.ts +4 -0
- package/dist/shared/command/index.d.ts +5 -0
- package/dist/shared/command/interfaces/background-task.d.ts +20 -0
- package/dist/shared/command/interfaces/index.d.ts +5 -0
- package/dist/shared/command/interfaces/run-background-options.d.ts +9 -0
- package/dist/shared/command/types/background-task-status.d.ts +4 -0
- package/dist/shared/command/types/index.d.ts +4 -0
- package/dist/shared/core/constants/index.d.ts +7 -0
- package/dist/shared/core/index.d.ts +4 -0
- package/dist/shared/errors/index.d.ts +1 -1
- package/dist/shared/errors/patterns.d.ts +13 -0
- package/dist/shared/errors/retry.d.ts +1 -1
- package/dist/shared/index.d.ts +30 -0
- package/dist/shared/loop/constants/index.d.ts +5 -0
- package/dist/shared/loop/constants/loop.d.ts +17 -0
- package/dist/shared/loop/index.d.ts +6 -0
- package/dist/shared/loop/interfaces/index.d.ts +5 -0
- package/dist/shared/loop/interfaces/todo-stats.d.ts +11 -0
- package/dist/shared/loop/interfaces/todo.d.ts +13 -0
- package/dist/shared/loop/types/index.d.ts +5 -0
- package/dist/shared/loop/types/todo-priority.d.ts +4 -0
- package/dist/shared/loop/types/todo-status.d.ts +4 -0
- package/dist/shared/message/constants/index.d.ts +6 -0
- package/dist/shared/message/index.d.ts +4 -0
- package/dist/shared/notification/constants/index.d.ts +5 -0
- package/dist/shared/notification/constants/toast-duration.d.ts +19 -0
- package/dist/shared/notification/index.d.ts +6 -0
- package/dist/shared/notification/interfaces/index.d.ts +5 -0
- package/dist/shared/notification/interfaces/toast-message.d.ts +13 -0
- package/dist/shared/notification/interfaces/toast-options.d.ts +10 -0
- package/dist/shared/notification/types/index.d.ts +4 -0
- package/dist/shared/notification/types/toast-variant.d.ts +4 -0
- package/dist/shared/recovery/constants/history.d.ts +11 -0
- package/dist/shared/recovery/constants/index.d.ts +5 -0
- package/dist/shared/recovery/constants/recovery.d.ts +13 -0
- package/dist/shared/recovery/index.d.ts +6 -0
- package/dist/shared/recovery/interfaces/error-context.d.ts +11 -0
- package/dist/shared/recovery/interfaces/index.d.ts +5 -0
- package/dist/shared/recovery/interfaces/recovery-record.d.ts +10 -0
- package/dist/shared/recovery/types/index.d.ts +4 -0
- package/dist/shared/recovery/types/recovery-action.d.ts +4 -0
- package/dist/shared/session/constants/index.d.ts +7 -0
- package/dist/shared/session/constants/session-events.d.ts +10 -0
- package/dist/shared/session/index.d.ts +4 -0
- package/dist/shared/{constants → task/constants}/background-task.d.ts +3 -0
- package/dist/shared/task/constants/index.d.ts +7 -0
- package/dist/shared/{constants → task/constants}/parallel-task.d.ts +7 -4
- package/dist/shared/task/index.d.ts +6 -0
- package/dist/shared/task/interfaces/index.d.ts +7 -0
- package/dist/shared/task/interfaces/launch-input.d.ts +11 -0
- package/dist/shared/task/interfaces/parallel-task.d.ts +26 -0
- package/dist/shared/task/interfaces/resume-input.d.ts +16 -0
- package/dist/shared/task/interfaces/task-progress.d.ts +9 -0
- package/dist/shared/task/types/index.d.ts +4 -0
- package/dist/shared/task/types/parallel-task-status.d.ts +4 -0
- package/dist/shared/tool/constants/index.d.ts +5 -0
- package/dist/shared/tool/constants/tool-output.d.ts +9 -0
- package/dist/shared/tool/index.d.ts +4 -0
- package/package.json +1 -1
- package/dist/shared/agent.d.ts +0 -6
- package/dist/shared/constants/index.d.ts +0 -28
- package/dist/shared/constants.d.ts +0 -7
- package/dist/shared/error-patterns.d.ts +0 -6
- /package/dist/shared/{constants → agent/constants}/status.d.ts +0 -0
- /package/dist/shared/{constants → cache/constants}/cache-actions.d.ts +0 -0
- /package/dist/shared/{constants → cache/constants}/filter-status.d.ts +0 -0
- /package/dist/shared/{constants → core/constants}/id-prefix.d.ts +0 -0
- /package/dist/shared/{constants → core/constants}/memory-limits.d.ts +0 -0
- /package/dist/shared/{constants → core/constants}/paths.d.ts +0 -0
- /package/dist/shared/{constants → core/constants}/time.d.ts +0 -0
- /package/dist/shared/{constants → loop/constants}/mission-seal.d.ts +0 -0
- /package/dist/shared/{constants → message/constants}/part-types.d.ts +0 -0
- /package/dist/shared/{constants → message/constants}/prompts.d.ts +0 -0
- /package/dist/shared/{constants → message/constants}/slash-commands.d.ts +0 -0
- /package/dist/shared/{constants → notification/constants}/toast-variants.d.ts +0 -0
- /package/dist/shared/{event-types.d.ts → session/constants/event-types.d.ts} +0 -0
- /package/dist/shared/{constants → task/constants}/background-status.d.ts +0 -0
- /package/dist/shared/{constants → tool/constants}/tool-names.d.ts +0 -0
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* Master orchestrator with parallel execution capabilities.
|
|
5
5
|
* Uses modular prompt fragments for flexible composition.
|
|
6
6
|
*/
|
|
7
|
-
import { AgentDefinition } from "../shared/agent.js";
|
|
7
|
+
import type { AgentDefinition } from "../shared/agent/interfaces/index.js";
|
|
8
8
|
export declare const commander: AgentDefinition;
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
* - Worker: Implementation + Documentation
|
|
8
8
|
* - Reviewer: Verification + Context Management
|
|
9
9
|
*/
|
|
10
|
-
import { AgentDefinition } from "../shared/agent.js";
|
|
10
|
+
import type { AgentDefinition } from "../shared/agent/interfaces/index.js";
|
|
11
11
|
export declare const AGENTS: Record<string, AgentDefinition>;
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* Strategic planning and research specialist.
|
|
5
5
|
* Uses modular prompt fragments for flexible composition.
|
|
6
6
|
*/
|
|
7
|
-
import { AgentDefinition } from "../../shared/agent.js";
|
|
7
|
+
import type { AgentDefinition } from "../../shared/agent/interfaces/index.js";
|
|
8
8
|
export declare const planner: AgentDefinition;
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* ONLY agent authorized to mark [x] in TODO after verification.
|
|
6
6
|
* Uses modular prompt fragments for flexible composition.
|
|
7
7
|
*/
|
|
8
|
-
import { AgentDefinition } from "../../shared/agent.js";
|
|
8
|
+
import type { AgentDefinition } from "../../shared/agent/interfaces/index.js";
|
|
9
9
|
export declare const reviewer: AgentDefinition;
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* Implementation and documentation specialist.
|
|
5
5
|
* Uses modular prompt fragments for flexible composition.
|
|
6
6
|
*/
|
|
7
|
-
import { AgentDefinition } from "../../shared/agent.js";
|
|
7
|
+
import type { AgentDefinition } from "../../shared/agent/interfaces/index.js";
|
|
8
8
|
export declare const worker: AgentDefinition;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Task Status - Re-export from central location
|
|
3
3
|
*/
|
|
4
|
-
export { TASK_STATUS
|
|
4
|
+
export { TASK_STATUS } from "../../../shared/index.js";
|
|
5
|
+
export type { ParallelTaskStatus as TaskStatus } from "../../../shared/task/types/index.js";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Recovery Constants
|
|
3
|
+
*
|
|
4
|
+
* @deprecated Use RECOVERY and HISTORY from shared/constants instead
|
|
5
|
+
* This file is kept for backward compatibility only.
|
|
3
6
|
*/
|
|
4
|
-
export declare const MAX_RETRIES
|
|
5
|
-
export declare const BASE_DELAY
|
|
6
|
-
export declare const MAX_HISTORY
|
|
7
|
+
export declare const MAX_RETRIES: 3;
|
|
8
|
+
export declare const BASE_DELAY: number;
|
|
9
|
+
export declare const MAX_HISTORY: 100;
|
|
@@ -5,4 +5,4 @@ export type { TaskNode, TaskStatus } from "./task-node.js";
|
|
|
5
5
|
export type { TaskHierarchy } from "./task-hierarchy.js";
|
|
6
6
|
export type { TaskProgress } from "./task-progress.js";
|
|
7
7
|
export type { TaskInput } from "./task-input.js";
|
|
8
|
-
export { TASK_STATUS } from "../../../shared/
|
|
8
|
+
export { TASK_STATUS } from "../../../shared/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Task Node Interface
|
|
3
3
|
*/
|
|
4
|
-
import type { ParallelTaskStatus } from "../../../shared/
|
|
4
|
+
import type { ParallelTaskStatus } from "../../../shared/task/types/index.js";
|
|
5
5
|
export type TaskStatus = ParallelTaskStatus;
|
|
6
6
|
export interface TaskNode {
|
|
7
7
|
id: string;
|