opencode-swarm 7.126.3 → 7.126.4

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.
Files changed (37) hide show
  1. package/.opencode/skills/issue-tracer/scripts/trace-init.sh +20 -0
  2. package/dist/cli/{config-doctor-mfx27331.js → config-doctor-2admdwc2.js} +2 -2
  3. package/dist/cli/{curation-policy-n944aq62.js → curation-policy-s2wydhda.js} +2 -2
  4. package/dist/cli/{curator-jm9ehfkg.js → curator-4tp297kp.js} +12 -12
  5. package/dist/cli/{curator-llm-factory-3cy0h9yw.js → curator-llm-factory-caf8jqyb.js} +12 -12
  6. package/dist/cli/{guardrail-explain-va0kj05m.js → guardrail-explain-yjzbs0fq.js} +13 -13
  7. package/dist/cli/{guardrail-log-61gya05m.js → guardrail-log-7cychbgs.js} +3 -3
  8. package/dist/cli/{hive-promoter-h9c4kyv0.js → hive-promoter-er83aqka.js} +12 -12
  9. package/dist/cli/{index-nqp13m5a.js → index-360anpk0.js} +1 -1
  10. package/dist/cli/{index-b16153py.js → index-46xgqgd5.js} +14 -14
  11. package/dist/cli/{index-gwss5btk.js → index-4scxzpbz.js} +1 -1
  12. package/dist/cli/{index-c48dvb6j.js → index-6mfcg9ws.js} +2 -2
  13. package/dist/cli/{index-vcqwhe9d.js → index-7ttstfv6.js} +25 -3
  14. package/dist/cli/{index-bf76q8q7.js → index-8etcyr9r.js} +1 -1
  15. package/dist/cli/{index-3xd9a2g7.js → index-cpssctv1.js} +1 -1
  16. package/dist/cli/{index-6t5sa6v0.js → index-cxtnbjwn.js} +2 -2
  17. package/dist/cli/{index-pb8ag9vg.js → index-mgdcrhkg.js} +4 -4
  18. package/dist/cli/{index-pf3xae4s.js → index-r3f1z043.js} +1 -1
  19. package/dist/cli/{index-88dt7c9z.js → index-swgsq1ds.js} +2 -2
  20. package/dist/cli/{index-gf9cxvp0.js → index-v3gw3sc5.js} +1 -1
  21. package/dist/cli/{index-gxw20m1d.js → index-v4n224r1.js} +1 -1
  22. package/dist/cli/{index-f97dm6tz.js → index-vbk29hmf.js} +5 -5
  23. package/dist/cli/{index-7bxw3v5w.js → index-ypy3dhbg.js} +3 -3
  24. package/dist/cli/{index-5n868tw8.js → index-yvgmsepb.js} +136 -124
  25. package/dist/cli/index.js +12 -12
  26. package/dist/cli/{knowledge-escalator-nna0zec3.js → knowledge-escalator-9sd533p6.js} +3 -3
  27. package/dist/cli/{knowledge-events-7k82xk36.js → knowledge-events-v0cp1a8d.js} +1 -1
  28. package/dist/cli/{knowledge-store-efvtng9t.js → knowledge-store-mv7qjf4s.js} +1 -1
  29. package/dist/cli/{knowledge-validator-jh93eagj.js → knowledge-validator-g05g6qrt.js} +4 -4
  30. package/dist/cli/{scan-cursor-cydz8d9q.js → scan-cursor-jp2zz6y1.js} +2 -2
  31. package/dist/cli/{schema-fa033pqw.js → schema-2x7wsb0n.js} +1 -1
  32. package/dist/cli/{skill-generator-8v463kj7.js → skill-generator-497vvped.js} +5 -5
  33. package/dist/config/schema.d.ts +4 -4
  34. package/dist/index.js +252 -252
  35. package/dist/tools/test-runner.d.ts +12 -2
  36. package/dist/utils/path-security.d.ts +2 -0
  37. package/package.json +1 -1
@@ -1,4 +1,7 @@
1
+ import * as fs from 'node:fs';
1
2
  import type { tool } from '@opencode-ai/plugin';
3
+ import { isCommandAvailable } from '../build/discovery';
4
+ import { analyzeImpact, loadImpactMap } from '../test-impact/analyzer.js';
2
5
  import { getAllHistory, type TestRunRecord } from '../test-impact/history-store.js';
3
6
  export declare const MAX_OUTPUT_BYTES = 512000;
4
7
  export declare const MAX_COMMAND_LENGTH = 500;
@@ -41,6 +44,7 @@ export interface ParsedTestCaseResult {
41
44
  errorMessage?: string;
42
45
  stackPrefix?: string;
43
46
  }
47
+ declare const AGGREGATE_TEST_NAME = "(aggregate)";
44
48
  export interface TestSuccessResult {
45
49
  success: true;
46
50
  framework: TestFramework;
@@ -147,7 +151,13 @@ export declare function runTests(framework: TestFramework, scope: 'all' | 'conve
147
151
  declare function selectHistoryForAnalysis(history: ReturnType<typeof getAllHistory>): TestRunRecord[];
148
152
  export declare const test_runner: ReturnType<typeof tool>;
149
153
  export declare const _internals: {
150
- readonly selectHistoryForAnalysis: typeof selectHistoryForAnalysis;
151
- readonly AGGREGATE_TEST_NAME: "(aggregate)";
154
+ analyzeImpact: typeof analyzeImpact;
155
+ loadImpactMap: typeof loadImpactMap;
156
+ isCommandAvailable: typeof isCommandAvailable;
157
+ existsSync: typeof fs.existsSync;
158
+ readdirSync: typeof fs.readdirSync;
159
+ readFileSync: typeof fs.readFileSync;
160
+ selectHistoryForAnalysis: typeof selectHistoryForAnalysis;
161
+ AGGREGATE_TEST_NAME: typeof AGGREGATE_TEST_NAME;
152
162
  };
153
163
  export {};
@@ -1,3 +1,4 @@
1
+ import * as fs from 'node:fs';
1
2
  /**
2
3
  * Canonical path security utilities.
3
4
  * Consolidated from 6+ local implementations across the codebase.
@@ -78,6 +79,7 @@ export declare function validateTargetWithinRoot(filePath: string, root: string)
78
79
  * Internal calls should use _internals.fn() instead of fn() directly.
79
80
  */
80
81
  export declare const _internals: {
82
+ realpathSync: typeof fs.realpathSync;
81
83
  containsPathTraversal: typeof containsPathTraversal;
82
84
  containsControlChars: typeof containsControlChars;
83
85
  validateDirectory: typeof validateDirectory;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.126.3",
3
+ "version": "7.126.4",
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",