opencode-swarm 6.22.7 → 6.22.8
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 +2 -0
- package/dist/agents/architect.d.ts +5 -1
- package/dist/cli/index.js +13358 -13339
- package/dist/commands/curate.d.ts +21 -0
- package/dist/commands/curate.test.d.ts +1 -0
- package/dist/commands/index.d.ts +1 -0
- package/dist/config/schema.d.ts +18 -0
- package/dist/hooks/hive-promoter.d.ts +10 -1
- package/dist/hooks/knowledge-types.d.ts +16 -0
- package/dist/index.js +2331 -1983
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/knowledge-query.d.ts +5 -0
- package/dist/tools/tool-names.d.ts +1 -1
- package/dist/tools/update-task-status.d.ts +2 -1
- package/package.json +1 -1
package/dist/tools/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { evidence_check } from './evidence-check';
|
|
|
8
8
|
export { extract_code_blocks } from './file-extractor';
|
|
9
9
|
export { fetchGitingest, type GitingestArgs, gitingest } from './gitingest';
|
|
10
10
|
export { imports } from './imports';
|
|
11
|
+
export { knowledge_query } from './knowledge-query';
|
|
11
12
|
export { lint } from './lint';
|
|
12
13
|
export { phase_complete } from './phase-complete';
|
|
13
14
|
export { pkg_audit } from './pkg-audit';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Used for constants and agent setup references.
|
|
4
4
|
*/
|
|
5
5
|
/** Union type of all valid tool names */
|
|
6
|
-
export type ToolName = 'diff' | 'syntax_check' | 'placeholder_scan' | 'imports' | 'lint' | 'secretscan' | 'sast_scan' | 'build_check' | 'pre_check_batch' | 'quality_budget' | 'symbols' | 'complexity_hotspots' | 'schema_drift' | 'todo_extract' | 'evidence_check' | 'sbom_generate' | 'checkpoint' | 'pkg_audit' | 'test_runner' | 'detect_domains' | 'gitingest' | 'retrieve_summary' | 'extract_code_blocks' | 'phase_complete' | 'save_plan' | 'update_task_status' | 'write_retro' | 'declare_scope';
|
|
6
|
+
export type ToolName = 'diff' | 'syntax_check' | 'placeholder_scan' | 'imports' | 'lint' | 'secretscan' | 'sast_scan' | 'build_check' | 'pre_check_batch' | 'quality_budget' | 'symbols' | 'complexity_hotspots' | 'schema_drift' | 'todo_extract' | 'evidence_check' | 'sbom_generate' | 'checkpoint' | 'pkg_audit' | 'test_runner' | 'detect_domains' | 'gitingest' | 'retrieve_summary' | 'extract_code_blocks' | 'phase_complete' | 'save_plan' | 'update_task_status' | 'write_retro' | 'declare_scope' | 'knowledge_query';
|
|
7
7
|
/** Readonly array of all tool names */
|
|
8
8
|
export declare const TOOL_NAMES: readonly ToolName[];
|
|
9
9
|
/** Set for O(1) tool name validation */
|
|
@@ -46,9 +46,10 @@ export interface ReviewerGateResult {
|
|
|
46
46
|
* Requires the task to be in 'tests_run' or 'complete' state, which means
|
|
47
47
|
* both reviewer delegation and test_engineer runs have been recorded.
|
|
48
48
|
* @param taskId - The task ID to check gate state for
|
|
49
|
+
* @param workingDirectory - Optional working directory for plan.json fallback
|
|
49
50
|
* @returns ReviewerGateResult indicating whether the gate is blocked
|
|
50
51
|
*/
|
|
51
|
-
export declare function checkReviewerGate(taskId: string): ReviewerGateResult;
|
|
52
|
+
export declare function checkReviewerGate(taskId: string, workingDirectory?: string): ReviewerGateResult;
|
|
52
53
|
/**
|
|
53
54
|
* Execute the update_task_status tool.
|
|
54
55
|
* Validates the task_id and status, then updates the task status in the plan.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "6.22.
|
|
3
|
+
"version": "6.22.8",
|
|
4
4
|
"description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|