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.
@@ -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.13.2",
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": "rm -rf dist",
38
- "copy-grammars": "bun run scripts/copy-grammars.ts",
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 .",