opencode-swarm 7.188.9 → 7.188.11

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 (77) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/cli/{auto-checkpoint-8hn7sczv.js → auto-checkpoint-kyb5rw8j.js} +5 -5
  4. package/dist/cli/{checkpoint-zagm80g6.js → checkpoint-9e3f8ers.js} +9 -9
  5. package/dist/cli/{coder-settlement-ea9wk0fa.js → coder-settlement-9j4ejab4.js} +3 -3
  6. package/dist/cli/{config-doctor-482f83pc.js → config-doctor-jd5yckkb.js} +7 -7
  7. package/dist/cli/{core-jev9px23.js → core-eyzqvwpk.js} +1 -1
  8. package/dist/cli/{curator-drift-tzr8cq9d.js → curator-drift-wyt8jf7r.js} +5 -5
  9. package/dist/cli/{curator-llm-factory-vwxengt1.js → curator-llm-factory-3b0jvvkd.js} +27 -27
  10. package/dist/cli/{curator-sw5w1yxn.js → curator-q6f0e79e.js} +27 -27
  11. package/dist/cli/{dispatch-h8m1jntz.js → dispatch-1pbmmj8z.js} +5 -7
  12. package/dist/cli/{doctor-knowledge-receipt-phase-id-78hqh9ds.js → doctor-knowledge-receipt-phase-id-19qdy72k.js} +5 -5
  13. package/dist/cli/{evidence-summary-service-dpx7844s.js → evidence-summary-service-k5ztgaca.js} +10 -10
  14. package/dist/cli/{gate-evidence-v5fbpnfe.js → gate-evidence-6gw4w2e8.js} +2 -2
  15. package/dist/cli/{guardrail-explain-020gkz5c.js → guardrail-explain-ewgj1gyw.js} +28 -28
  16. package/dist/cli/{guardrail-log-z14b98cn.js → guardrail-log-vp628cge.js} +3 -3
  17. package/dist/cli/{guardrail-reset-cg6kfk8r.js → guardrail-reset-qycc0pns.js} +27 -27
  18. package/dist/cli/{hive-promoter-bse7dh34.js → hive-promoter-z8r9xc9r.js} +27 -27
  19. package/dist/cli/{index-bzeegaem.js → index-03syhrv4.js} +2 -2
  20. package/dist/cli/{index-7jtxt3qp.js → index-0r1nrgq3.js} +1 -1
  21. package/dist/cli/{index-64e9z08z.js → index-0rd6br4q.js} +2 -2
  22. package/dist/cli/{index-0dp2ak7d.js → index-0tazb5m3.js} +1 -1
  23. package/dist/cli/{index-4xc838p0.js → index-1dhbk164.js} +1 -1
  24. package/dist/cli/{index-ng5n8tp0.js → index-1yx34x6m.js} +3 -3
  25. package/dist/cli/{index-0whh6em0.js → index-2262zz0m.js} +2 -2
  26. package/dist/cli/{index-byfk6w9a.js → index-3jx1yhqk.js} +3 -3
  27. package/dist/cli/{index-qdp9ny78.js → index-4paxe7hp.js} +1 -1
  28. package/dist/cli/{index-akkskstq.js → index-58pk41rj.js} +4 -4
  29. package/dist/cli/{index-peyrzden.js → index-5kcjrkme.js} +29 -29
  30. package/dist/cli/{index-b2g020d7.js → index-5m77ayzt.js} +1 -1
  31. package/dist/cli/{index-d1z2yrwq.js → index-66e6yba5.js} +2 -2
  32. package/dist/cli/{index-g0we5tpv.js → index-6xppxtfc.js} +4 -4
  33. package/dist/cli/{index-ps6fyxfc.js → index-8ndndvcw.js} +5 -5
  34. package/dist/cli/{index-dhkgby53.js → index-axreszvd.js} +2 -2
  35. package/dist/cli/{index-ddgmj923.js → index-bgv93ngx.js} +27 -27
  36. package/dist/cli/{index-gd602ztc.js → index-c562pan0.js} +1 -1
  37. package/dist/cli/{index-c0tjwb5k.js → index-j2vv0h13.js} +12 -12
  38. package/dist/cli/{index-q6y176gs.js → index-m0e1xjee.js} +6 -6
  39. package/dist/cli/{index-hjyakvcq.js → index-m1v2qd3z.js} +1 -1
  40. package/dist/cli/{index-v71w06rr.js → index-mzyvv3hz.js} +2 -2
  41. package/dist/cli/{index-kjb143pz.js → index-n1pntydp.js} +3 -3
  42. package/dist/cli/{index-kbkk7vnh.js → index-pkhbd2t5.js} +2 -1
  43. package/dist/cli/{index-2mmbzyqb.js → index-pqx85rk1.js} +1 -1
  44. package/dist/cli/{index-sndyex1t.js → index-rbgg2q19.js} +69 -77
  45. package/dist/cli/{index-t6tew3pf.js → index-sgawa007.js} +1 -1
  46. package/dist/cli/{index-804rs273.js → index-wh9h5vj1.js} +1 -1
  47. package/dist/cli/{index-b913b1yc.js → index-xr1bfzee.js} +1 -1
  48. package/dist/cli/{index-6nx6qf7v.js → index-yvp5c2e2.js} +1 -1
  49. package/dist/cli/{index-cxybg712.js → index-z55btbf2.js} +2 -2
  50. package/dist/cli/{index-0e49htcs.js → index-zpsc691s.js} +1 -1
  51. package/dist/cli/index.js +28 -28
  52. package/dist/cli/{knowledge-escalator-wah5yybk.js → knowledge-escalator-1hk1sxaj.js} +8 -8
  53. package/dist/cli/{knowledge-events-akz8013r.js → knowledge-events-12jxfydt.js} +6 -6
  54. package/dist/cli/{knowledge-store-hy12373e.js → knowledge-store-xr64wqmj.js} +1 -1
  55. package/dist/cli/{knowledge-validator-yrqkdt1w.js → knowledge-validator-978b1j5n.js} +2 -2
  56. package/dist/cli/{mcp-0srnsd05.js → mcp-qxwxzchp.js} +1 -1
  57. package/dist/cli/{model-preflight-m3v8hn9k.js → model-preflight-b9mbnymf.js} +27 -27
  58. package/dist/cli/{pending-delegations-40txwk2h.js → pending-delegations-0ej13k7z.js} +2 -2
  59. package/dist/cli/{pr-subscriptions-w6n5s9c7.js → pr-subscriptions-c35gt902.js} +1 -1
  60. package/dist/cli/{pr-workflow-gate-mx9t1p5j.js → pr-workflow-gate-a17sdc22.js} +27 -27
  61. package/dist/cli/{scan-cursor-phbwfaya.js → scan-cursor-a9y3qfj0.js} +2 -2
  62. package/dist/cli/{schema-t1xwd728.js → schema-dn0247wt.js} +1 -1
  63. package/dist/cli/{scope-persistence-m6qrwt3d.js → scope-persistence-v62cew31.js} +5 -5
  64. package/dist/cli/{server-7pt2zhnc.js → server-tna0jzhz.js} +27 -27
  65. package/dist/cli/{skill-generator-pnv8efrw.js → skill-generator-yr4dc37y.js} +9 -9
  66. package/dist/cli/{snapshot-coordination-init-514wtctt.js → snapshot-coordination-init-f2dsrgvy.js} +27 -27
  67. package/dist/cli/{speckit-checkoff-beh1nw7v.js → speckit-checkoff-gwjz28vf.js} +3 -3
  68. package/dist/cli/{worktree-collision-ownership-f5wca0gg.js → worktree-collision-ownership-p7g40dpp.js} +2 -2
  69. package/dist/cli/{worktree-isolation-bd6c5x8h.js → worktree-isolation-f76g3j4v.js} +27 -27
  70. package/dist/config/evidence-schema.d.ts +3 -0
  71. package/dist/index.js +8 -8
  72. package/dist/lang/backend.d.ts +7 -0
  73. package/dist/lang/default-backend.d.ts +25 -0
  74. package/dist/tools/build-check.d.ts +13 -0
  75. package/dist/turbo/lean/phase-ready.d.ts +15 -1
  76. package/dist/utils/windows-batch.d.ts +9 -4
  77. package/package.json +1 -1
@@ -23,52 +23,52 @@ import {
23
23
  resolveFallbackModel,
24
24
  resolvePrimaryAgentNames,
25
25
  stripSwarmPrefix
26
- } from "./index-sndyex1t.js";
27
- import"./index-2mmbzyqb.js";
28
- import"./index-dhkgby53.js";
29
- import"./index-v71w06rr.js";
30
- import"./index-c0tjwb5k.js";
26
+ } from "./index-rbgg2q19.js";
27
+ import"./index-pqx85rk1.js";
28
+ import"./index-axreszvd.js";
29
+ import"./index-mzyvv3hz.js";
30
+ import"./index-j2vv0h13.js";
31
31
  import"./index-k8sarme1.js";
32
32
  import"./index-8xabhfwr.js";
33
33
  import"./index-txdagbh7.js";
34
- import"./index-0e49htcs.js";
34
+ import"./index-zpsc691s.js";
35
35
  import {
36
36
  createExplorerAgent
37
37
  } from "./index-rdec0y3z.js";
38
- import"./index-qdp9ny78.js";
39
- import"./index-kjb143pz.js";
40
- import"./index-byfk6w9a.js";
41
- import"./index-q6y176gs.js";
38
+ import"./index-4paxe7hp.js";
39
+ import"./index-n1pntydp.js";
40
+ import"./index-3jx1yhqk.js";
41
+ import"./index-m0e1xjee.js";
42
42
  import"./index-kaqdzhj3.js";
43
43
  import"./index-9czp2dcg.js";
44
44
  import"./index-cjapb4hy.js";
45
45
  import"./index-f6exny9m.js";
46
46
  import"./index-pt7h91zc.js";
47
47
  import"./index-q7sjgr1y.js";
48
- import"./index-ng5n8tp0.js";
49
- import"./index-ps6fyxfc.js";
48
+ import"./index-1yx34x6m.js";
49
+ import"./index-8ndndvcw.js";
50
50
  import"./index-6b295cas.js";
51
51
  import"./index-9nyqt3kb.js";
52
- import"./index-7jtxt3qp.js";
52
+ import"./index-0r1nrgq3.js";
53
53
  import"./index-zsrtt42s.js";
54
- import"./index-b2g020d7.js";
55
- import"./index-t6tew3pf.js";
56
- import"./index-b913b1yc.js";
54
+ import"./index-5m77ayzt.js";
55
+ import"./index-sgawa007.js";
56
+ import"./index-xr1bfzee.js";
57
57
  import"./index-g4fs6z4e.js";
58
- import"./index-0dp2ak7d.js";
59
- import"./index-cxybg712.js";
60
- import"./index-0whh6em0.js";
58
+ import"./index-0tazb5m3.js";
59
+ import"./index-z55btbf2.js";
60
+ import"./index-2262zz0m.js";
61
61
  import"./index-m9zzj4ee.js";
62
62
  import"./index-7hr5m7yp.js";
63
63
  import"./index-2s7dvzff.js";
64
- import"./index-804rs273.js";
64
+ import"./index-wh9h5vj1.js";
65
65
  import"./index-q9kefh33.js";
66
66
  import"./index-rtry5xyf.js";
67
- import"./index-64e9z08z.js";
68
- import"./index-kbkk7vnh.js";
67
+ import"./index-0rd6br4q.js";
68
+ import"./index-pkhbd2t5.js";
69
69
  import"./index-0725jpp7.js";
70
- import"./index-4xc838p0.js";
71
- import"./index-bzeegaem.js";
70
+ import"./index-1dhbk164.js";
71
+ import"./index-03syhrv4.js";
72
72
  import"./index-wrdktgpy.js";
73
73
  import"./index-x1eh2636.js";
74
74
  import"./index-ntda6tje.js";
@@ -77,7 +77,7 @@ import"./index-ry16d01s.js";
77
77
  import"./index-rdm3px0g.js";
78
78
  import"./index-7pmbnjvj.js";
79
79
  import"./index-1xa8wq76.js";
80
- import"./index-akkskstq.js";
80
+ import"./index-58pk41rj.js";
81
81
  import"./index-vzm6zre7.js";
82
82
  import"./index-ae75rja9.js";
83
83
  import"./index-8q8783g0.js";
@@ -90,9 +90,9 @@ import"./index-ejhxgyvm.js";
90
90
  import"./index-7g4c7s5r.js";
91
91
  import"./index-p2tqzwh6.js";
92
92
  import"./index-gx2vp8gx.js";
93
- import"./index-hjyakvcq.js";
93
+ import"./index-m1v2qd3z.js";
94
94
  import"./index-zxdawwc7.js";
95
- import"./index-gd602ztc.js";
95
+ import"./index-c562pan0.js";
96
96
  import"./index-zfbxfm2m.js";
97
97
  import"./index-bk5tah7q.js";
98
98
  import"./index-gknz3bv1.js";
@@ -21,7 +21,7 @@ var package_default;
21
21
  var init_package = __esm(() => {
22
22
  package_default = {
23
23
  name: "opencode-swarm",
24
- version: "7.188.9",
24
+ version: "7.188.11",
25
25
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
26
26
  main: "dist/index.js",
27
27
  types: "dist/index.d.ts",
@@ -1957,6 +1957,15 @@ function buildGradleTestCommand(dir, targets) {
1957
1957
  const hasGradlew = fs4.existsSync(path4.join(dir, "gradlew"));
1958
1958
  return hasGradlew ? ["./gradlew", ...args] : ["gradle", ...args];
1959
1959
  }
1960
+ function buildPhpVendorCommand(dir, name, args = []) {
1961
+ const proxy = path4.join("vendor", "bin", name);
1962
+ if (process.platform !== "win32")
1963
+ return [proxy, ...args];
1964
+ const interpreterFallback = () => fs4.existsSync(path4.join(dir, proxy)) ? ["php", proxy, ...args] : [proxy, ...args];
1965
+ if (args.some((arg) => arg.endsWith("\\")))
1966
+ return interpreterFallback();
1967
+ return resolveContainedWindowsBatchCommand(dir, path4.join("vendor", "bin", `${name}.bat`), args) ?? interpreterFallback();
1968
+ }
1960
1969
  function defaultBuildTestCommand(profile, framework, files, dir = ".", opts = {}) {
1961
1970
  const scope = opts.scope ?? "all";
1962
1971
  const coverage = opts.coverage ?? false;
@@ -2119,16 +2128,10 @@ function defaultBuildTestCommand(profile, framework, files, dir = ".", opts = {}
2119
2128
  'Dir.glob("test/**/*_test.rb").sort.each { |f| require_relative f }'
2120
2129
  ];
2121
2130
  case "pest": {
2122
- const args = [phpVendorBin("pest")];
2123
- if (scope !== "all" && files.length > 0)
2124
- args.push(...files);
2125
- return args;
2131
+ return buildPhpVendorCommand(dir, "pest", scope !== "all" && files.length > 0 ? files : []);
2126
2132
  }
2127
2133
  case "phpunit": {
2128
- const args = [phpVendorBin("phpunit")];
2129
- if (scope !== "all" && files.length > 0)
2130
- args.push(...files);
2131
- return args;
2134
+ return buildPhpVendorCommand(dir, "phpunit", scope !== "all" && files.length > 0 ? files : []);
2132
2135
  }
2133
2136
  case "php-artisan": {
2134
2137
  const args = ["php", "artisan", "test"];
@@ -2166,9 +2169,6 @@ function buildNativeTargetCommand(target) {
2166
2169
  const packagePath = target.path === "." ? "." : target.path.startsWith("./") ? target.path : `./${target.path.replace(/\\/g, "/")}`;
2167
2170
  return ["go", "test", "-v", "-run", selector, packagePath];
2168
2171
  }
2169
- function phpVendorBin(name) {
2170
- return path4.join("vendor", "bin", process.platform === "win32" ? `${name}.bat` : name);
2171
- }
2172
2172
  function defaultParseTestOutput(framework, stdout, stderr, exitCode) {
2173
2173
  const output = stdout && stderr ? `${stdout}
2174
2174
  ${stderr}` : stdout || stderr || "";
@@ -3108,4 +3108,4 @@ function buildPythonBackend() {
3108
3108
  }
3109
3109
  var _internals5 = { extractImports: extractImports3 };
3110
3110
 
3111
- export { LANGUAGE_REGISTRY, getProfileForFile, detectProjectLanguages, tokenizeCommand, resolveLocalNodeTool, isCommandAvailable, parseJavaImports, maskCommentsAndLiterals, JAVA_SYMBOL_GRAMMAR, WINDOWS_BATCH_WRAPPER_EXTENSIONS, buildWindowsBatchCommand, resolveContainedWindowsBatchCommand, isWindowsCommandInterpreterLaunch, defaultSelectTestFramework, buildGradleTestCommand, defaultBuildTestCommand, buildNativeTargetCommand, defaultParseTestOutput, defaultSelectBuildCommand, defaultTestFilesFor, defaultBackendFor, resolveMavenWrapperCommand, buildMavenTestCommand, buildJavaBackend, buildGoBackend, _internals4 as _internals, buildPythonBackend, _internals5 as _internals1 };
3111
+ export { LANGUAGE_REGISTRY, getProfileForFile, detectProjectLanguages, tokenizeCommand, resolveLocalNodeTool, isCommandAvailable, parseJavaImports, maskCommentsAndLiterals, JAVA_SYMBOL_GRAMMAR, WINDOWS_BATCH_WRAPPER_EXTENSIONS, buildWindowsBatchCommand, resolveContainedWindowsBatchCommand, isWindowsCommandInterpreterLaunch, defaultSelectTestFramework, buildGradleTestCommand, buildPhpVendorCommand, defaultBuildTestCommand, buildNativeTargetCommand, defaultParseTestOutput, defaultSelectBuildCommand, defaultTestFilesFor, defaultBackendFor, resolveMavenWrapperCommand, buildMavenTestCommand, buildJavaBackend, buildGoBackend, _internals4 as _internals, buildPythonBackend, _internals5 as _internals1 };
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  readKnowledgeEvents,
4
4
  recordKnowledgeEvent
5
- } from "./index-cxybg712.js";
5
+ } from "./index-z55btbf2.js";
6
6
  import {
7
7
  queryHistoricalOutcomes
8
- } from "./index-0whh6em0.js";
8
+ } from "./index-2262zz0m.js";
9
9
  import {
10
10
  jaccardBigram,
11
11
  readKnowledge,
@@ -13,7 +13,7 @@ import {
13
13
  resolveSwarmKnowledgePath,
14
14
  transactKnowledge,
15
15
  wordBigrams
16
- } from "./index-akkskstq.js";
16
+ } from "./index-58pk41rj.js";
17
17
  import {
18
18
  init_knowledge_types,
19
19
  isActiveStatus
@@ -226,11 +226,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
226
226
  alreadyInactive: true
227
227
  };
228
228
  }
229
- const { quarantineEntry } = await import("./knowledge-validator-yrqkdt1w.js");
229
+ const { quarantineEntry } = await import("./knowledge-validator-978b1j5n.js");
230
230
  let policyConfig;
231
231
  try {
232
- const { KnowledgeConfigSchema } = await import("./schema-t1xwd728.js");
233
- const { loadPluginConfigWithMeta } = await import("./index-g0we5tpv.js");
232
+ const { KnowledgeConfigSchema } = await import("./schema-dn0247wt.js");
233
+ const { loadPluginConfigWithMeta } = await import("./index-6xppxtfc.js");
234
234
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
235
235
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
236
236
  } catch {
@@ -13,7 +13,7 @@ import {
13
13
  PluginConfigSchema,
14
14
  init_schema,
15
15
  resolveExternalSkillsConfig
16
- } from "./index-gd602ztc.js";
16
+ } from "./index-c562pan0.js";
17
17
  import {
18
18
  DangerousMergeKeyError,
19
19
  MAX_MERGE_DEPTH,
@@ -12,7 +12,7 @@ import {
12
12
  readTaskEvidence,
13
13
  readTaskEvidenceRaw,
14
14
  sanitizeTaskId
15
- } from "./index-t6tew3pf.js";
15
+ } from "./index-sgawa007.js";
16
16
  import {
17
17
  readSwarmFileAsync,
18
18
  validateSwarmPath
@@ -24,7 +24,7 @@ import {
24
24
  EVIDENCE_MAX_JSON_BYTES,
25
25
  EvidenceBundleSchema,
26
26
  EvidenceSchema
27
- } from "./index-kbkk7vnh.js";
27
+ } from "./index-pkhbd2t5.js";
28
28
  import {
29
29
  withEvidenceLock
30
30
  } from "./index-twb3f4tk.js";
@@ -14,7 +14,7 @@ import {
14
14
  reconcileLandedMerge,
15
15
  withTaskEvidenceTransaction,
16
16
  writeWorkflowWalFile
17
- } from "./index-t6tew3pf.js";
17
+ } from "./index-sgawa007.js";
18
18
  import {
19
19
  validateSwarmPath
20
20
  } from "./index-7hr5m7yp.js";
@@ -512,7 +512,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
512
512
  awaitingMergeByCallID,
513
513
  cleanupStandardWorktreeForCallId,
514
514
  standardWorktreeByCallID
515
- } = await import("./worktree-isolation-bd6c5x8h.js");
515
+ } = await import("./worktree-isolation-f76g3j4v.js");
516
516
  standardWorktreeByCallID.delete(descriptor.callID);
517
517
  if (hasResidue)
518
518
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -648,7 +648,7 @@ async function recoverCoderSettlement(directory, taskId) {
648
648
  awaitingMergeByCallID,
649
649
  finishStandardWorktreeDispatch,
650
650
  standardWorktreeByCallID
651
- } = await import("./worktree-isolation-bd6c5x8h.js");
651
+ } = await import("./worktree-isolation-f76g3j4v.js");
652
652
  const descriptor = wal.worktree;
653
653
  const reconstructedDispatch = {
654
654
  callID: descriptor.callID,
@@ -207,7 +207,8 @@ var BuildEvidenceSchema = BaseEvidenceSchema.extend({
207
207
  exit_code: exports_external.number().int(),
208
208
  duration_ms: exports_external.number().int(),
209
209
  stdout_tail: exports_external.string(),
210
- stderr_tail: exports_external.string()
210
+ stderr_tail: exports_external.string(),
211
+ spawn_error: exports_external.string().optional()
211
212
  })).default([]),
212
213
  files_scanned: exports_external.number().int(),
213
214
  runs_count: exports_external.number().int(),
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-gd602ztc.js";
11
+ } from "./index-c562pan0.js";
12
12
  import {
13
13
  init_constants
14
14
  } from "./index-zfbxfm2m.js";