opencode-swarm 6.19.4 → 6.19.6
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 +35 -0
- package/dist/cli/index.js +6796 -6785
- package/dist/index.js +3071 -1383
- package/dist/tools/pre-check-batch.d.ts +3 -1
- package/dist/tools/save-plan.d.ts +8 -0
- package/package.json +1 -4
|
@@ -45,8 +45,10 @@ export interface PreCheckBatchResult {
|
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Run all 4 pre-check tools in parallel with concurrency limit
|
|
48
|
+
* @param input - The pre-check batch input
|
|
49
|
+
* @param workspaceDir - Optional workspace directory for traversal validation (defaults to directory param or process.cwd())
|
|
48
50
|
*/
|
|
49
|
-
export declare function runPreCheckBatch(input: PreCheckBatchInput): Promise<PreCheckBatchResult>;
|
|
51
|
+
export declare function runPreCheckBatch(input: PreCheckBatchInput, workspaceDir?: string): Promise<PreCheckBatchResult>;
|
|
50
52
|
/**
|
|
51
53
|
* Pre-check batch tool - runs 4 verification tools in parallel
|
|
52
54
|
* Returns unified result with gates_passed status
|
|
@@ -41,6 +41,14 @@ export interface SavePlanResult {
|
|
|
41
41
|
* @returns Array of issue strings describing found placeholders
|
|
42
42
|
*/
|
|
43
43
|
export declare function detectPlaceholderContent(args: SavePlanArgs): string[];
|
|
44
|
+
/**
|
|
45
|
+
* Validate target workspace path.
|
|
46
|
+
* Rejects missing, empty, whitespace-only, and traversal-style paths.
|
|
47
|
+
* @param target - The target workspace path to validate
|
|
48
|
+
* @param source - Description of the source (for error messages)
|
|
49
|
+
* @returns Error message if invalid, undefined if valid
|
|
50
|
+
*/
|
|
51
|
+
export declare function validateTargetWorkspace(target: string | undefined, source: string): string | undefined;
|
|
44
52
|
/**
|
|
45
53
|
* Execute the save_plan tool.
|
|
46
54
|
* Validates for placeholder content, builds a Plan object, and saves to disk.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "6.19.
|
|
3
|
+
"version": "6.19.6",
|
|
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",
|
|
@@ -57,9 +57,6 @@
|
|
|
57
57
|
"@biomejs/biome": "2.3.14",
|
|
58
58
|
"bun-types": "latest",
|
|
59
59
|
"js-yaml": "^4.1.1",
|
|
60
|
-
"tree-sitter-dart": "1.0.0",
|
|
61
|
-
"tree-sitter-kotlin": "0.3.8",
|
|
62
|
-
"tree-sitter-swift": "0.7.1",
|
|
63
60
|
"typescript": "^5.7.3"
|
|
64
61
|
}
|
|
65
62
|
}
|