opencode-swarm 6.13.2 → 6.14.0
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 +86 -33
- package/dist/cli/index.js +8 -5
- package/dist/config/evidence-schema.d.ts +75 -3
- package/dist/hooks/system-enhancer.d.ts +7 -0
- package/dist/index.js +591 -289
- package/dist/tools/phase-complete.d.ts +16 -0
- package/package.json +3 -4
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
* Core implementation - gathers data, enforces policy, writes event, resets state.
|
|
4
4
|
*/
|
|
5
5
|
import { type ToolDefinition } from '@opencode-ai/plugin/tool';
|
|
6
|
+
/**
|
|
7
|
+
* Arguments for the phase_complete tool
|
|
8
|
+
*/
|
|
9
|
+
export interface PhaseCompleteArgs {
|
|
10
|
+
/** The phase number being completed */
|
|
11
|
+
phase: number;
|
|
12
|
+
/** Optional summary of the phase */
|
|
13
|
+
summary?: string;
|
|
14
|
+
/** Session ID to track state (optional, defaults to current session context) */
|
|
15
|
+
sessionID?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Execute the phase_complete tool
|
|
19
|
+
* Gathers data, enforces policy, writes event, resets state
|
|
20
|
+
*/
|
|
21
|
+
export declare function executePhaseComplete(args: PhaseCompleteArgs, workingDirectory?: string): Promise<string>;
|
|
6
22
|
/**
|
|
7
23
|
* Tool definition for phase_complete
|
|
8
24
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.14.0",
|
|
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",
|
|
@@ -34,9 +34,8 @@
|
|
|
34
34
|
"LICENSE"
|
|
35
35
|
],
|
|
36
36
|
"scripts": {
|
|
37
|
-
"clean": "
|
|
38
|
-
"
|
|
39
|
-
"build": "rm -rf dist && bun run copy-grammars && bun build src/index.ts --outdir dist --target bun --format esm && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm && bun run scripts/copy-grammars.ts --to-dist && tsc --emitDeclarationOnly",
|
|
37
|
+
"clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
38
|
+
"build": "bun run clean && bun run scripts/copy-grammars.ts && bun build src/index.ts --outdir dist --target bun --format esm && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm && bun run scripts/copy-grammars.ts --to-dist && tsc --emitDeclarationOnly",
|
|
40
39
|
"typecheck": "tsc --noEmit",
|
|
41
40
|
"test": "bun test",
|
|
42
41
|
"lint": "biome lint .",
|