opencode-swarm 7.160.1 → 7.160.2

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 (65) hide show
  1. package/.opencode/skills/critic-gate/SKILL.md +8 -1
  2. package/.opencode/skills/execute/SKILL.md +4 -3
  3. package/.opencode/skills/phase-wrap/SKILL.md +2 -0
  4. package/.opencode/skills/running-tests/SKILL.md +6 -0
  5. package/.opencode/skills/swarm-implement/SKILL.md +2 -0
  6. package/.opencode/skills/swarm-pr-review/SKILL.md +1 -0
  7. package/dist/agents/architect.d.ts +1 -1
  8. package/dist/build/command-resolution.d.ts +13 -0
  9. package/dist/build/discovery.d.ts +11 -4
  10. package/dist/cli/{coder-settlement-678ccmnf.js → coder-settlement-gzar5ypz.js} +3 -3
  11. package/dist/cli/{config-doctor-fr8dfrt2.js → config-doctor-ancn1sj7.js} +2 -2
  12. package/dist/cli/{core-4j1hbhey.js → core-bhmqtxev.js} +1 -1
  13. package/dist/cli/{curator-llm-factory-s9s4s0q3.js → curator-llm-factory-6mw01jx1.js} +21 -21
  14. package/dist/cli/{curator-85d97240.js → curator-sgmynbpm.js} +21 -21
  15. package/dist/cli/{dispatch-7r46tfr9.js → dispatch-q4v8x2pk.js} +1 -1
  16. package/dist/cli/{evidence-summary-service-9dyt2kzh.js → evidence-summary-service-1pcfsqhv.js} +7 -7
  17. package/dist/cli/{gate-evidence-a6paafg8.js → gate-evidence-w0kjqmew.js} +2 -2
  18. package/dist/cli/{guardrail-explain-4a2xdtew.js → guardrail-explain-k99eje1y.js} +22 -22
  19. package/dist/cli/{guardrail-log-27nkntrx.js → guardrail-log-md5gcpk7.js} +3 -3
  20. package/dist/cli/{guardrail-reset-xn7k3hn8.js → guardrail-reset-3385eqmq.js} +21 -21
  21. package/dist/cli/{hive-promoter-k57j3kp6.js → hive-promoter-r0ekyn5m.js} +21 -21
  22. package/dist/cli/{index-m84z3aa8.js → index-2123hwbj.js} +1 -1
  23. package/dist/cli/{index-nj6rmyeh.js → index-3146wmgv.js} +352 -149
  24. package/dist/cli/{index-98jmggma.js → index-3a35tt6a.js} +3 -3
  25. package/dist/cli/{index-dq93ar40.js → index-4d8cq6e1.js} +3 -3
  26. package/dist/cli/{index-z0bxbb9g.js → index-4dcz9fpn.js} +1 -1
  27. package/dist/cli/{index-pqjcyj0p.js → index-5th50g17.js} +1 -1
  28. package/dist/cli/{index-ny0g8fdg.js → index-5xfx5sbw.js} +5 -5
  29. package/dist/cli/{index-7npz9n4s.js → index-6scakreq.js} +1 -1
  30. package/dist/cli/{index-bqxffayb.js → index-717pmdce.js} +1 -1
  31. package/dist/cli/{index-7v0ex0jt.js → index-am5bz6mf.js} +1 -1
  32. package/dist/cli/{index-wccdm7jv.js → index-k0qy284k.js} +4 -4
  33. package/dist/cli/{index-61c3d769.js → index-k50kxd3w.js} +1 -1
  34. package/dist/cli/{index-qc53dfzh.js → index-kqzba6ex.js} +1 -1
  35. package/dist/cli/{index-8c9qzpy7.js → index-q8hm27yj.js} +7 -1
  36. package/dist/cli/{index-v8dsmee1.js → index-re338hf1.js} +3 -3
  37. package/dist/cli/{index-zdv914xa.js → index-s7w6ntw6.js} +66 -59
  38. package/dist/cli/{index-e1ygmd4q.js → index-vsy942dt.js} +23 -23
  39. package/dist/cli/{index-zpzvpybn.js → index-vv760pbg.js} +2 -2
  40. package/dist/cli/{index-nnzdayvk.js → index-war2dt6a.js} +4 -4
  41. package/dist/cli/{index-pkz91fwm.js → index-xkmzsfg5.js} +2 -2
  42. package/dist/cli/{index-drqvph47.js → index-xsd7y4hp.js} +2 -2
  43. package/dist/cli/{index-f72612zc.js → index-xtwny1ae.js} +1 -1
  44. package/dist/cli/{index-gjx53y3c.js → index-yd6y4qr7.js} +1 -1
  45. package/dist/cli/{index-jszabr0r.js → index-yp81ebrx.js} +1 -1
  46. package/dist/cli/{index-m1cw9fsh.js → index-zbnf26br.js} +4 -4
  47. package/dist/cli/index.js +21 -21
  48. package/dist/cli/{knowledge-escalator-3q2x34cg.js → knowledge-escalator-saekqp8t.js} +7 -7
  49. package/dist/cli/{knowledge-events-5y34w84b.js → knowledge-events-ej8yz3yq.js} +5 -5
  50. package/dist/cli/{knowledge-store-fqv89q5k.js → knowledge-store-3jamj5n4.js} +1 -1
  51. package/dist/cli/{knowledge-validator-fsdx14tk.js → knowledge-validator-26w2mvqv.js} +2 -2
  52. package/dist/cli/{pending-delegations-6ae7wy5q.js → pending-delegations-7xak7g59.js} +1 -1
  53. package/dist/cli/{pr-review-reentry-authorization-986tk381.js → pr-review-reentry-authorization-v97q63q4.js} +21 -21
  54. package/dist/cli/{scan-cursor-shn926r6.js → scan-cursor-1agr50f8.js} +2 -2
  55. package/dist/cli/{schema-98tdb9h0.js → schema-z0ygrqgy.js} +1 -1
  56. package/dist/cli/{scope-persistence-cn34xnwr.js → scope-persistence-tncg38by.js} +4 -4
  57. package/dist/cli/{skill-generator-kck7087c.js → skill-generator-jq20a09m.js} +8 -8
  58. package/dist/cli/{worktree-collision-ownership-6b3kshcv.js → worktree-collision-ownership-b9cp9zvw.js} +1 -1
  59. package/dist/cli/{worktree-isolation-he01qhss.js → worktree-isolation-dzyxf8hn.js} +21 -21
  60. package/dist/config/evidence-schema.d.ts +18 -0
  61. package/dist/index.js +242 -241
  62. package/dist/lang/default-backend.d.ts +1 -13
  63. package/dist/tools/build-check.d.ts +4 -0
  64. package/dist/tools/test-runner.d.ts +2 -0
  65. package/package.json +1 -1
@@ -11,19 +11,7 @@
11
11
  */
12
12
  import type { BuildCommandSelection, BuildTestCommandOpts, FrameworkSelection, LanguageBackend, NativeTestTarget, TestFrameworkSelection, TestRunSummary } from './backend';
13
13
  import type { LanguageProfile } from './profiles';
14
- /**
15
- * Tokenize a string command into an array. Splits on whitespace; respects
16
- * single and double quotes for argument grouping. Used to convert profile
17
- * `cmd` strings (which today are written as "npx tsc --noEmit" etc.) into
18
- * the array form `bunSpawn` expects.
19
- *
20
- * This deliberately does NOT support shell metacharacters (`;`, `&`, `|`,
21
- * `>`, `<`, backticks, `$()`) — backends with non-trivial commands must
22
- * override `buildTestCommand`/`selectBuildCommand` to return a custom
23
- * `cmd: string[]`. Splitting a profile string into words is a 90% case;
24
- * the 10% override their backend.
25
- */
26
- export declare function tokenizeCommand(cmd: string): string[];
14
+ export { tokenizeCommand } from '../build/command-resolution';
27
15
  /**
28
16
  * Default selectTestFramework: highest-priority framework whose detect
29
17
  * file exists AND whose binary is on PATH. Returns null if none.
@@ -4,6 +4,7 @@
4
4
  * Discovers and runs build commands for various ecosystems in a project directory.
5
5
  */
6
6
  import type { tool } from '@opencode-ai/plugin';
7
+ import { type BuildDiscoverySkip } from '../build/discovery';
7
8
  import type { EvidenceVerdict } from '../config/evidence-schema';
8
9
  export declare const DEFAULT_TIMEOUT_MS = 300000;
9
10
  export declare const MAX_OUTPUT_BYTES: number;
@@ -33,6 +34,9 @@ export interface BuildCheckResult {
33
34
  runs_count: number;
34
35
  failed_count: number;
35
36
  skipped_reason?: string;
37
+ environment_unavailable?: Array<BuildDiscoverySkip & {
38
+ code: 'environment_unavailable';
39
+ }>;
36
40
  };
37
41
  }
38
42
  /**
@@ -1,5 +1,6 @@
1
1
  import * as fs from 'node:fs';
2
2
  import type { tool } from '@opencode-ai/plugin';
3
+ import { resolveLocalNodeTool } from '../build/command-resolution';
3
4
  import { isCommandAvailable } from '../build/discovery';
4
5
  import type { NativeTestTarget, TestScope } from '../lang/backend';
5
6
  import { buildNativeTargetCommand } from '../lang/default-backend';
@@ -163,6 +164,7 @@ export declare const _internals: {
163
164
  existsSync: typeof fs.existsSync;
164
165
  readdirSync: typeof fs.readdirSync;
165
166
  readFileSync: typeof fs.readFileSync;
167
+ resolveLocalNodeTool: typeof resolveLocalNodeTool;
166
168
  bunSpawn: typeof bunSpawn;
167
169
  buildNativeTargetCommand: typeof buildNativeTargetCommand;
168
170
  formatNativeHistoryTestFile: typeof formatNativeHistoryTestFile;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.160.1",
3
+ "version": "7.160.2",
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",