opencode-swarm 7.25.1 → 7.26.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.
@@ -43,9 +43,10 @@
43
43
  * leaves `scope-{id}.json.tmp.{ts}.{rand}` files. No sweeper runs today;
44
44
  * accumulation is bounded by `/swarm close` (which rm -rf's .swarm/scopes/).
45
45
  *
46
- * NOT a security boundary. Bash remains unguarded at the write-authority layer.
47
- * The durable fix lives at the syscall layer (#520). This module closes the
48
- * cross-process gap and the plan-as-scope gap, both of which are mitigations.
46
+ * NOT a standalone security boundary. Tool-layer write interception is now
47
+ * implemented in shell-write-detect.ts (Phases 1-2). This module closes the
48
+ * cross-process gap and the plan-as-scope gap. The syscall-layer fix (#520)
49
+ * remains the durable long-term boundary.
49
50
  */
50
51
  declare const SCOPE_SCHEMA_VERSION: 1;
51
52
  export interface PersistedScope {
@@ -32,14 +32,6 @@ export interface TestTotals {
32
32
  skipped: number;
33
33
  total: number;
34
34
  }
35
- export interface ParsedTestCaseResult {
36
- testFile: string;
37
- testName: string;
38
- result: 'pass' | 'fail' | 'skip';
39
- durationMs: number;
40
- errorMessage?: string;
41
- stackPrefix?: string;
42
- }
43
35
  export interface TestSuccessResult {
44
36
  success: true;
45
37
  framework: TestFramework;
@@ -50,7 +42,6 @@ export interface TestSuccessResult {
50
42
  totals: TestTotals;
51
43
  coveragePercent?: number;
52
44
  rawOutput?: string;
53
- testCases?: ParsedTestCaseResult[];
54
45
  message?: string;
55
46
  outcome?: RegressionOutcome;
56
47
  }
@@ -65,7 +56,6 @@ export interface TestErrorResult {
65
56
  coveragePercent?: number;
66
57
  error: string;
67
58
  rawOutput?: string;
68
- testCases?: ParsedTestCaseResult[];
69
59
  message?: string;
70
60
  outcome?: RegressionOutcome;
71
61
  attempted_scope?: 'graph';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.25.1",
3
+ "version": "7.26.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",
@@ -38,7 +38,7 @@
38
38
  ],
39
39
  "scripts": {
40
40
  "clean": "bun -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
41
- "build": "bun run clean && bun run scripts/copy-grammars.ts && bun build src/index.ts --outdir dist --target node --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",
41
+ "build": "bun run clean && bun run scripts/copy-grammars.ts && bun build src/index.ts --outdir dist --target node --format esm --external bash-parser && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm --external bash-parser && bun run scripts/copy-grammars.ts --to-dist && tsc --emitDeclarationOnly",
42
42
  "typecheck": "tsc --noEmit",
43
43
  "test": "bun test",
44
44
  "lint": "biome lint .",
@@ -52,6 +52,7 @@
52
52
  "@opencode-ai/plugin": "^1.1.53",
53
53
  "@opencode-ai/sdk": "^1.1.53",
54
54
  "@vscode/tree-sitter-wasm": "^0.3.0",
55
+ "bash-parser": "^0.5.0",
55
56
  "p-limit": "^7.3.0",
56
57
  "picomatch": "^4.0.4",
57
58
  "proper-lockfile": "^4.1.2",