opencode-orchestrator 1.0.57 → 1.0.59
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 +37 -15
- package/dist/agents/definitions.d.ts +1 -0
- package/dist/agents/prompts/discovery/index.d.ts +3 -0
- package/dist/agents/prompts/execution/delegation.d.ts +1 -0
- package/dist/agents/prompts/execution/index.d.ts +9 -0
- package/dist/agents/prompts/index.d.ts +13 -7
- package/dist/agents/prompts/mission/index.d.ts +4 -0
- package/dist/agents/prompts/mission/seal-conditions.d.ts +1 -0
- package/dist/agents/prompts/mission/status-tracking.d.ts +1 -0
- package/dist/agents/prompts/philosophy/execution-assurance.d.ts +1 -0
- package/dist/agents/prompts/philosophy/index.d.ts +4 -0
- package/dist/agents/prompts/planning/decomposition.d.ts +1 -0
- package/dist/agents/prompts/planning/index.d.ts +8 -0
- package/dist/agents/prompts/roles/commander/index.d.ts +4 -0
- package/dist/agents/prompts/roles/master-reviewer/capabilities.d.ts +7 -0
- package/dist/agents/prompts/roles/master-reviewer/forbidden.d.ts +7 -0
- package/dist/agents/prompts/roles/master-reviewer/identity.d.ts +7 -0
- package/dist/agents/prompts/roles/master-reviewer/index.d.ts +8 -0
- package/dist/agents/prompts/roles/master-reviewer/seal-authority.d.ts +7 -0
- package/dist/agents/prompts/roles/master-reviewer/verification-process.d.ts +8 -0
- package/dist/agents/prompts/roles/planner/index.d.ts +3 -0
- package/dist/agents/prompts/roles/reviewer/forbidden.d.ts +7 -0
- package/dist/agents/prompts/roles/reviewer/identity.d.ts +7 -0
- package/dist/agents/prompts/roles/reviewer/index.d.ts +3 -0
- package/dist/agents/prompts/roles/worker/index.d.ts +3 -0
- package/dist/agents/prompts/tools/index.d.ts +5 -0
- package/dist/agents/prompts/tools/search.d.ts +1 -0
- package/dist/agents/prompts/verification/evidence.d.ts +1 -0
- package/dist/agents/prompts/verification/index.d.ts +7 -0
- package/dist/agents/prompts/verification/integration.d.ts +7 -0
- package/dist/agents/prompts/{reviewer/sync-verification.d.ts → verification/sync-check.d.ts} +2 -0
- package/dist/agents/subagents/master-reviewer.d.ts +14 -0
- package/dist/core/loop/verification.d.ts +62 -0
- package/dist/index.js +2698 -1905
- package/dist/shared/agent/constants/names.d.ts +1 -0
- package/dist/shared/constants/system-messages.d.ts +1 -1
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/prompt/constants/tags.d.ts +20 -0
- package/dist/shared/verification/constants/categories.d.ts +95 -0
- package/dist/shared/verification/constants/checklist.d.ts +16 -0
- package/dist/shared/verification/constants/index.d.ts +6 -0
- package/dist/shared/verification/constants/patterns.d.ts +19 -0
- package/dist/shared/verification/index.d.ts +8 -0
- package/dist/shared/verification/interfaces/checklist-item.d.ts +21 -0
- package/dist/shared/verification/interfaces/checklist-verification-result.d.ts +24 -0
- package/dist/shared/verification/interfaces/index.d.ts +7 -0
- package/dist/shared/verification/interfaces/verification-checklist.d.ts +19 -0
- package/dist/shared/verification/interfaces/verification-result.d.ts +29 -0
- package/dist/shared/verification/types/checklist-category.d.ts +18 -0
- package/dist/shared/verification/types/index.d.ts +4 -0
- package/dist/tools/callAgent.d.ts +2 -1
- package/package.json +1 -1
- package/dist/agents/prompts/commander/agents.d.ts +0 -4
- package/dist/agents/prompts/commander/index.d.ts +0 -15
- package/dist/agents/prompts/commander/tools.d.ts +0 -4
- package/dist/agents/prompts/common/index.d.ts +0 -17
- package/dist/agents/prompts/common/mission-seal.d.ts +0 -6
- package/dist/agents/prompts/planner/index.d.ts +0 -10
- package/dist/agents/prompts/reviewer/forbidden.d.ts +0 -7
- package/dist/agents/prompts/reviewer/index.d.ts +0 -13
- package/dist/agents/prompts/reviewer/integration-testing.d.ts +0 -7
- package/dist/agents/prompts/reviewer/output.d.ts +0 -4
- package/dist/agents/prompts/reviewer/role.d.ts +0 -6
- package/dist/agents/prompts/worker/index.d.ts +0 -12
- /package/dist/agents/prompts/{common/environment-discovery.d.ts → discovery/environment.d.ts} +0 -0
- /package/dist/agents/prompts/{common → discovery}/skills.d.ts +0 -0
- /package/dist/agents/prompts/{common/shared-workspace.d.ts → discovery/workspace.d.ts} +0 -0
- /package/dist/agents/prompts/{worker → execution}/file-assignment.d.ts +0 -0
- /package/dist/agents/prompts/{common → execution}/hyper-parallel.d.ts +0 -0
- /package/dist/agents/prompts/{worker/isolation-testing.d.ts → execution/isolation.d.ts} +0 -0
- /package/dist/agents/prompts/{commander → execution}/parallel.d.ts +0 -0
- /package/dist/agents/prompts/{worker → execution}/quality.d.ts +0 -0
- /package/dist/agents/prompts/{commander/execution.d.ts → execution/strategy.d.ts} +0 -0
- /package/dist/agents/prompts/{worker/tdd-workflow.d.ts → execution/tdd.d.ts} +0 -0
- /package/dist/agents/prompts/{worker → execution}/workflow.d.ts +0 -0
- /package/dist/agents/prompts/{commander → mission}/loop-continuation.d.ts +0 -0
- /package/dist/agents/prompts/{commander → mission}/recovery.d.ts +0 -0
- /package/dist/agents/prompts/{common → philosophy}/anti-hallucination.d.ts +0 -0
- /package/dist/agents/prompts/{common/core-philosophy.d.ts → philosophy/core.d.ts} +0 -0
- /package/dist/agents/prompts/{common → philosophy}/modularity.d.ts +0 -0
- /package/dist/agents/prompts/{planner → planning}/file-planning.d.ts +0 -0
- /package/dist/agents/prompts/{planner/todo-format.d.ts → planning/planner-todo.d.ts} +0 -0
- /package/dist/agents/prompts/{planner → planning}/research.d.ts +0 -0
- /package/dist/agents/prompts/{reviewer/todo-update.d.ts → planning/reviewer-todo-update.d.ts} +0 -0
- /package/dist/agents/prompts/{commander → planning}/todo-format.d.ts +0 -0
- /package/dist/agents/prompts/{common → planning}/todo-rules.d.ts +0 -0
- /package/dist/agents/prompts/{planner → planning}/todo-sync.d.ts +0 -0
- /package/dist/agents/prompts/{commander → roles/commander}/forbidden.d.ts +0 -0
- /package/dist/agents/prompts/{commander → roles/commander}/identity.d.ts +0 -0
- /package/dist/agents/prompts/{commander → roles/commander}/required.d.ts +0 -0
- /package/dist/agents/prompts/{commander → roles/commander}/role.d.ts +0 -0
- /package/dist/agents/prompts/{planner → roles/planner}/forbidden.d.ts +0 -0
- /package/dist/agents/prompts/{planner/role.d.ts → roles/planner/identity.d.ts} +0 -0
- /package/dist/agents/prompts/{planner → roles/planner}/required.d.ts +0 -0
- /package/dist/agents/prompts/{reviewer → roles/reviewer}/required.d.ts +0 -0
- /package/dist/agents/prompts/{worker → roles/worker}/forbidden.d.ts +0 -0
- /package/dist/agents/prompts/{worker/role.d.ts → roles/worker/identity.d.ts} +0 -0
- /package/dist/agents/prompts/{worker → roles/worker}/required.d.ts +0 -0
- /package/dist/agents/prompts/{common → tools}/ast.d.ts +0 -0
- /package/dist/agents/prompts/{common → tools}/lsp.d.ts +0 -0
- /package/dist/agents/prompts/{reviewer/lsp-tools.d.ts → tools/reviewer-lsp.d.ts} +0 -0
- /package/dist/agents/prompts/{worker/lsp-tools.d.ts → tools/worker-lsp.d.ts} +0 -0
- /package/dist/agents/prompts/{reviewer → verification}/async-monitoring.d.ts +0 -0
- /package/dist/agents/prompts/{common/verification.d.ts → verification/process.d.ts} +0 -0
- /package/dist/agents/prompts/{reviewer/verification.d.ts → verification/reviewer-process.d.ts} +0 -0
- /package/dist/agents/prompts/{commander → verification}/sync-handling.d.ts +0 -0
|
@@ -19,5 +19,5 @@ export declare const MISSION_MESSAGES: {
|
|
|
19
19
|
readonly ANOMALY_DETECTED_BODY: (reason: string, count: number, recoveryText: string) => string;
|
|
20
20
|
readonly ANOMALY_INJECT_MSG: (count: number, reason: string, recoveryText: string) => string;
|
|
21
21
|
};
|
|
22
|
-
export declare const COMPACTION_PROMPT
|
|
22
|
+
export declare const COMPACTION_PROMPT: string;
|
|
23
23
|
export declare const CONTINUE_INSTRUCTION: string;
|
package/dist/shared/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from "./command/index.js";
|
|
|
13
13
|
export * from "./tool/index.js";
|
|
14
14
|
export * from "./message/index.js";
|
|
15
15
|
export * from "./os/index.js";
|
|
16
|
+
export * from "./verification/index.js";
|
|
16
17
|
export * from "./errors/index.js";
|
|
17
18
|
export * from "./prompt/index.js";
|
|
18
19
|
export { TASK_STATUS, TODO_STATUS } from "../core/agents/consts/task-status.const.js";
|
|
@@ -141,6 +141,26 @@ export declare const PROMPT_TAGS: {
|
|
|
141
141
|
readonly open: "<output_format>";
|
|
142
142
|
readonly close: "</output_format>";
|
|
143
143
|
};
|
|
144
|
+
readonly SEAL_AUTHORITY: {
|
|
145
|
+
readonly open: "<seal_authority>";
|
|
146
|
+
readonly close: "</seal_authority>";
|
|
147
|
+
};
|
|
148
|
+
readonly FORBIDDEN: {
|
|
149
|
+
readonly open: "<forbidden>";
|
|
150
|
+
readonly close: "</forbidden>";
|
|
151
|
+
};
|
|
152
|
+
readonly CAPABILITIES: {
|
|
153
|
+
readonly open: "<capabilities>";
|
|
154
|
+
readonly close: "</capabilities>";
|
|
155
|
+
};
|
|
156
|
+
readonly VERIFICATION_COMPLETE: {
|
|
157
|
+
readonly open: "<verification_complete>";
|
|
158
|
+
readonly close: "</verification_complete>";
|
|
159
|
+
};
|
|
160
|
+
readonly VERIFICATION_FAILED: {
|
|
161
|
+
readonly open: "<verification_failed>";
|
|
162
|
+
readonly close: "</verification_failed>";
|
|
163
|
+
};
|
|
144
164
|
readonly MISSION_LOOP: {
|
|
145
165
|
readonly open: "<mission_loop>";
|
|
146
166
|
readonly close: "</mission_loop>";
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checklist Category Constants
|
|
3
|
+
*
|
|
4
|
+
* Category definitions for verification checklist items.
|
|
5
|
+
* Categories are used to group and organize verification steps.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Category IDs - Used as keys for category identification
|
|
9
|
+
*/
|
|
10
|
+
export declare const CATEGORY_ID: {
|
|
11
|
+
readonly CODE_QUALITY: "code-quality";
|
|
12
|
+
readonly UNIT_TESTS: "unit-tests";
|
|
13
|
+
readonly INTEGRATION_TESTS: "integration-tests";
|
|
14
|
+
readonly BUILD: "build";
|
|
15
|
+
readonly RUNTIME: "runtime";
|
|
16
|
+
readonly INFRASTRUCTURE: "infrastructure";
|
|
17
|
+
readonly CUSTOM: "custom";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Category Display Labels - Human-readable names for each category
|
|
21
|
+
*/
|
|
22
|
+
export declare const CATEGORY_LABEL: {
|
|
23
|
+
readonly "code-quality": "Code Quality";
|
|
24
|
+
readonly "unit-tests": "Unit Tests";
|
|
25
|
+
readonly "integration-tests": "Integration Tests";
|
|
26
|
+
readonly build: "Build Verification";
|
|
27
|
+
readonly runtime: "Runtime Verification";
|
|
28
|
+
readonly infrastructure: "Infrastructure & Environment";
|
|
29
|
+
readonly custom: "Project-Specific Checks";
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Category Descriptions - Detailed descriptions for each category
|
|
33
|
+
*/
|
|
34
|
+
export declare const CATEGORY_DESCRIPTION: {
|
|
35
|
+
readonly "code-quality": "Lint, type check, static analysis";
|
|
36
|
+
readonly "unit-tests": "Unit tests execution";
|
|
37
|
+
readonly "integration-tests": "E2E and integration tests";
|
|
38
|
+
readonly build: "Build verification";
|
|
39
|
+
readonly runtime: "Runtime verification (starts, runs)";
|
|
40
|
+
readonly infrastructure: "Docker, compose, CI/CD, etc.";
|
|
41
|
+
readonly custom: "Project-specific custom checks";
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Category Icons - Visual indicators for each category
|
|
45
|
+
*/
|
|
46
|
+
export declare const CATEGORY_ICON: {
|
|
47
|
+
readonly "code-quality": "🔍";
|
|
48
|
+
readonly "unit-tests": "🧪";
|
|
49
|
+
readonly "integration-tests": "🔗";
|
|
50
|
+
readonly build: "🔨";
|
|
51
|
+
readonly runtime: "▶️";
|
|
52
|
+
readonly infrastructure: "🏗️";
|
|
53
|
+
readonly custom: "⚙️";
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Combined category information object
|
|
57
|
+
*/
|
|
58
|
+
export declare const CHECKLIST_CATEGORIES: {
|
|
59
|
+
readonly IDS: {
|
|
60
|
+
readonly CODE_QUALITY: "code-quality";
|
|
61
|
+
readonly UNIT_TESTS: "unit-tests";
|
|
62
|
+
readonly INTEGRATION_TESTS: "integration-tests";
|
|
63
|
+
readonly BUILD: "build";
|
|
64
|
+
readonly RUNTIME: "runtime";
|
|
65
|
+
readonly INFRASTRUCTURE: "infrastructure";
|
|
66
|
+
readonly CUSTOM: "custom";
|
|
67
|
+
};
|
|
68
|
+
readonly LABELS: {
|
|
69
|
+
readonly "code-quality": "Code Quality";
|
|
70
|
+
readonly "unit-tests": "Unit Tests";
|
|
71
|
+
readonly "integration-tests": "Integration Tests";
|
|
72
|
+
readonly build: "Build Verification";
|
|
73
|
+
readonly runtime: "Runtime Verification";
|
|
74
|
+
readonly infrastructure: "Infrastructure & Environment";
|
|
75
|
+
readonly custom: "Project-Specific Checks";
|
|
76
|
+
};
|
|
77
|
+
readonly DESCRIPTIONS: {
|
|
78
|
+
readonly "code-quality": "Lint, type check, static analysis";
|
|
79
|
+
readonly "unit-tests": "Unit tests execution";
|
|
80
|
+
readonly "integration-tests": "E2E and integration tests";
|
|
81
|
+
readonly build: "Build verification";
|
|
82
|
+
readonly runtime: "Runtime verification (starts, runs)";
|
|
83
|
+
readonly infrastructure: "Docker, compose, CI/CD, etc.";
|
|
84
|
+
readonly custom: "Project-specific custom checks";
|
|
85
|
+
};
|
|
86
|
+
readonly ICONS: {
|
|
87
|
+
readonly "code-quality": "🔍";
|
|
88
|
+
readonly "unit-tests": "🧪";
|
|
89
|
+
readonly "integration-tests": "🔗";
|
|
90
|
+
readonly build: "🔨";
|
|
91
|
+
readonly runtime: "▶️";
|
|
92
|
+
readonly infrastructure: "🏗️";
|
|
93
|
+
readonly custom: "⚙️";
|
|
94
|
+
};
|
|
95
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verification Checklist Constants
|
|
3
|
+
*
|
|
4
|
+
* File paths and configuration for the verification checklist system.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Checklist file and configuration constants
|
|
8
|
+
*/
|
|
9
|
+
export declare const CHECKLIST: {
|
|
10
|
+
/** Path to the verification checklist file */
|
|
11
|
+
readonly FILE: ".opencode/verification-checklist.md";
|
|
12
|
+
/** Minimum required items for valid checklist */
|
|
13
|
+
readonly MIN_ITEMS: 1;
|
|
14
|
+
/** Maximum items to show in error messages */
|
|
15
|
+
readonly MAX_ERROR_ITEMS: 5;
|
|
16
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checklist Parsing Patterns
|
|
3
|
+
*
|
|
4
|
+
* Regular expressions for parsing verification checklist markdown.
|
|
5
|
+
*/
|
|
6
|
+
export declare const CHECKLIST_PATTERNS: {
|
|
7
|
+
/** Incomplete item: - [ ] */
|
|
8
|
+
readonly INCOMPLETE: RegExp;
|
|
9
|
+
/** Complete item: - [x] or - [X] */
|
|
10
|
+
readonly COMPLETE: RegExp;
|
|
11
|
+
/** Category header: ## Category */
|
|
12
|
+
readonly CATEGORY: RegExp;
|
|
13
|
+
/** Item with ID format: - [ ] **ID**: Description */
|
|
14
|
+
readonly ITEM_WITH_ID: RegExp;
|
|
15
|
+
/** Simple item format: - [ ] Description */
|
|
16
|
+
readonly SIMPLE_ITEM: RegExp;
|
|
17
|
+
/** Mark as complete indicator (x or X) */
|
|
18
|
+
readonly COMPLETE_MARK: RegExp;
|
|
19
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checklist Item Interface
|
|
3
|
+
*
|
|
4
|
+
* Represents a single verification checklist item.
|
|
5
|
+
*/
|
|
6
|
+
import type { ChecklistCategory } from "../types/index.js";
|
|
7
|
+
/**
|
|
8
|
+
* A single item in the verification checklist
|
|
9
|
+
*/
|
|
10
|
+
export interface ChecklistItem {
|
|
11
|
+
/** Unique ID for the item (e.g., "unit-tests", "build", "docker") */
|
|
12
|
+
id: string;
|
|
13
|
+
/** Category of the check */
|
|
14
|
+
category: ChecklistCategory;
|
|
15
|
+
/** Description of what to verify */
|
|
16
|
+
description: string;
|
|
17
|
+
/** Whether this item is completed */
|
|
18
|
+
completed: boolean;
|
|
19
|
+
/** Optional: Evidence or notes about verification */
|
|
20
|
+
evidence?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checklist Verification Result Interface
|
|
3
|
+
*
|
|
4
|
+
* Result of verifying a checklist's completion status.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Result of verifying a checklist
|
|
8
|
+
*/
|
|
9
|
+
export interface ChecklistVerificationResult {
|
|
10
|
+
/** Whether all items are complete */
|
|
11
|
+
passed: boolean;
|
|
12
|
+
/** Total number of items */
|
|
13
|
+
totalItems: number;
|
|
14
|
+
/** Number of completed items */
|
|
15
|
+
completedItems: number;
|
|
16
|
+
/** Number of incomplete items */
|
|
17
|
+
incompleteItems: number;
|
|
18
|
+
/** Progress string e.g., "8/10" */
|
|
19
|
+
progress: string;
|
|
20
|
+
/** List of incomplete item descriptions */
|
|
21
|
+
incompleteList: string[];
|
|
22
|
+
/** List of verification failures */
|
|
23
|
+
errors: string[];
|
|
24
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verification Interfaces Index
|
|
3
|
+
*/
|
|
4
|
+
export type { ChecklistItem } from "./checklist-item.js";
|
|
5
|
+
export type { VerificationChecklist } from "./verification-checklist.js";
|
|
6
|
+
export type { ChecklistVerificationResult } from "./checklist-verification-result.js";
|
|
7
|
+
export type { VerificationResult } from "./verification-result.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verification Checklist Interface
|
|
3
|
+
*
|
|
4
|
+
* Represents the complete verification checklist with metadata.
|
|
5
|
+
*/
|
|
6
|
+
import type { ChecklistItem } from "./checklist-item.js";
|
|
7
|
+
/**
|
|
8
|
+
* Complete verification checklist with metadata
|
|
9
|
+
*/
|
|
10
|
+
export interface VerificationChecklist {
|
|
11
|
+
/** Unique mission ID or timestamp */
|
|
12
|
+
missionId: string;
|
|
13
|
+
/** When the checklist was created */
|
|
14
|
+
createdAt: string;
|
|
15
|
+
/** Last update time */
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
/** All checklist items */
|
|
18
|
+
items: ChecklistItem[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verification Result Interface
|
|
3
|
+
*
|
|
4
|
+
* Unified result for mission completion verification.
|
|
5
|
+
* Combines TODO, sync issues, and checklist verification.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Unified verification result for mission completion
|
|
9
|
+
*/
|
|
10
|
+
export interface VerificationResult {
|
|
11
|
+
/** Whether all verification checks passed */
|
|
12
|
+
passed: boolean;
|
|
13
|
+
/** Whether all TODO items are complete */
|
|
14
|
+
todoComplete: boolean;
|
|
15
|
+
/** Progress string e.g., "8/10" */
|
|
16
|
+
todoProgress: string;
|
|
17
|
+
/** Number of incomplete tasks */
|
|
18
|
+
todoIncomplete: number;
|
|
19
|
+
/** Whether sync-issues.md is empty or has no issues */
|
|
20
|
+
syncIssuesEmpty: boolean;
|
|
21
|
+
/** Count of sync issues found */
|
|
22
|
+
syncIssuesCount: number;
|
|
23
|
+
/** Whether verification checklist is complete */
|
|
24
|
+
checklistComplete: boolean;
|
|
25
|
+
/** Checklist progress string */
|
|
26
|
+
checklistProgress: string;
|
|
27
|
+
/** List of verification failures */
|
|
28
|
+
errors: string[];
|
|
29
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checklist Category Type
|
|
3
|
+
*
|
|
4
|
+
* Type definition for verification checklist categories.
|
|
5
|
+
* Derived from CATEGORY_ID constant for single source of truth.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Available checklist category identifiers
|
|
9
|
+
*
|
|
10
|
+
* - code-quality: Lint, type check, static analysis
|
|
11
|
+
* - unit-tests: Unit tests execution
|
|
12
|
+
* - integration-tests: E2E and integration tests
|
|
13
|
+
* - build: Build verification
|
|
14
|
+
* - runtime: Runtime verification (starts, runs)
|
|
15
|
+
* - infrastructure: Docker, compose, CI/CD, etc.
|
|
16
|
+
* - custom: Project-specific custom checks
|
|
17
|
+
*/
|
|
18
|
+
export type ChecklistCategory = "code-quality" | "unit-tests" | "integration-tests" | "build" | "runtime" | "infrastructure" | "custom";
|
|
@@ -5,12 +5,13 @@ export declare const callAgentTool: {
|
|
|
5
5
|
Planner: "Planner";
|
|
6
6
|
Worker: "Worker";
|
|
7
7
|
Reviewer: "Reviewer";
|
|
8
|
+
MasterReviewer: "MasterReviewer";
|
|
8
9
|
}>;
|
|
9
10
|
task: import("zod").ZodString;
|
|
10
11
|
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11
12
|
};
|
|
12
13
|
execute(args: {
|
|
13
|
-
agent: "Planner" | "Worker" | "Reviewer";
|
|
14
|
+
agent: "Planner" | "Worker" | "Reviewer" | "MasterReviewer";
|
|
14
15
|
task: string;
|
|
15
16
|
context?: string | undefined;
|
|
16
17
|
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
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.0.
|
|
5
|
+
"version": "1.0.59",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Commander Prompts - Index
|
|
3
|
-
*/
|
|
4
|
-
export { COMMANDER_ROLE } from "./role.js";
|
|
5
|
-
export { COMMANDER_IDENTITY } from "./identity.js";
|
|
6
|
-
export { COMMANDER_FORBIDDEN } from "./forbidden.js";
|
|
7
|
-
export { COMMANDER_REQUIRED } from "./required.js";
|
|
8
|
-
export { COMMANDER_TOOLS } from "./tools.js";
|
|
9
|
-
export { COMMANDER_EXECUTION } from "./execution.js";
|
|
10
|
-
export { COMMANDER_PARALLEL } from "./parallel.js";
|
|
11
|
-
export { COMMANDER_AGENTS } from "./agents.js";
|
|
12
|
-
export { COMMANDER_TODO_FORMAT } from "./todo-format.js";
|
|
13
|
-
export { COMMANDER_LOOP_CONTINUATION } from "./loop-continuation.js";
|
|
14
|
-
export { COMMANDER_SYNC_HANDLING } from "./sync-handling.js";
|
|
15
|
-
export { COMMANDER_RECOVERY } from "./recovery.js";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Common Prompts - Index
|
|
3
|
-
*
|
|
4
|
-
* Re-exports all common prompt fragments.
|
|
5
|
-
*/
|
|
6
|
-
export { ENVIRONMENT_DISCOVERY } from "./environment-discovery.js";
|
|
7
|
-
export { ANTI_HALLUCINATION_CORE } from "./anti-hallucination.js";
|
|
8
|
-
export { TODO_RULES } from "./todo-rules.js";
|
|
9
|
-
export { SHARED_WORKSPACE } from "./shared-workspace.js";
|
|
10
|
-
export { MISSION_SEAL_RULES } from "./mission-seal.js";
|
|
11
|
-
export { VERIFICATION_REQUIREMENTS } from "./verification.js";
|
|
12
|
-
export { CORE_PHILOSOPHY } from "./core-philosophy.js";
|
|
13
|
-
export { SHARED_LSP_TOOLS } from "./lsp.js";
|
|
14
|
-
export { SHARED_AST_TOOLS } from "./ast.js";
|
|
15
|
-
export { MODULARITY_ENFORCEMENT } from "./modularity.js";
|
|
16
|
-
export { HYPER_PARALLEL_ENFORCEMENT } from "./hyper-parallel.js";
|
|
17
|
-
export { SKILLS_CAPABILITIES } from "./skills.js";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Planner Prompts - Index
|
|
3
|
-
*/
|
|
4
|
-
export { PLANNER_ROLE } from "./role.js";
|
|
5
|
-
export { PLANNER_FORBIDDEN } from "./forbidden.js";
|
|
6
|
-
export { PLANNER_REQUIRED } from "./required.js";
|
|
7
|
-
export { PLANNER_TODO_FORMAT } from "./todo-format.js";
|
|
8
|
-
export { PLANNER_RESEARCH } from "./research.js";
|
|
9
|
-
export { PLANNER_FILE_PLANNING } from "./file-planning.js";
|
|
10
|
-
export { PLANNER_TODO_SYNC } from "./todo-sync.js";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Reviewer Prompts - Index
|
|
3
|
-
*/
|
|
4
|
-
export { REVIEWER_ROLE } from "./role.js";
|
|
5
|
-
export { REVIEWER_FORBIDDEN } from "./forbidden.js";
|
|
6
|
-
export { REVIEWER_REQUIRED } from "./required.js";
|
|
7
|
-
export { REVIEWER_VERIFICATION } from "./verification.js";
|
|
8
|
-
export { REVIEWER_TODO_UPDATE } from "./todo-update.js";
|
|
9
|
-
export { REVIEWER_OUTPUT } from "./output.js";
|
|
10
|
-
export { REVIEWER_ASYNC_MONITORING } from "./async-monitoring.js";
|
|
11
|
-
export { REVIEWER_INTEGRATION_TESTING } from "./integration-testing.js";
|
|
12
|
-
export { REVIEWER_SYNC_VERIFICATION } from "./sync-verification.js";
|
|
13
|
-
export { REVIEWER_LSP_TOOLS } from "./lsp-tools.js";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Worker Prompts - Index
|
|
3
|
-
*/
|
|
4
|
-
export { WORKER_ROLE } from "./role.js";
|
|
5
|
-
export { WORKER_FORBIDDEN } from "./forbidden.js";
|
|
6
|
-
export { WORKER_REQUIRED } from "./required.js";
|
|
7
|
-
export { WORKER_WORKFLOW } from "./workflow.js";
|
|
8
|
-
export { WORKER_QUALITY } from "./quality.js";
|
|
9
|
-
export { WORKER_TDD_WORKFLOW } from "./tdd-workflow.js";
|
|
10
|
-
export { WORKER_ISOLATION_TESTING } from "./isolation-testing.js";
|
|
11
|
-
export { WORKER_FILE_ASSIGNMENT } from "./file-assignment.js";
|
|
12
|
-
export { WORKER_LSP_TOOLS } from "./lsp-tools.js";
|
/package/dist/agents/prompts/{common/environment-discovery.d.ts → discovery/environment.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/agents/prompts/{reviewer/todo-update.d.ts → planning/reviewer-todo-update.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/agents/prompts/{reviewer/verification.d.ts → verification/reviewer-process.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|