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
@@ -4,11 +4,11 @@ import {
4
4
  } from "./index-dtn0pne5.js";
5
5
  import {
6
6
  loadPluginConfigWithMeta
7
- } from "./index-bqxffayb.js";
7
+ } from "./index-717pmdce.js";
8
8
  import {
9
9
  KnowledgeConfigSchema,
10
10
  init_schema
11
- } from "./index-7npz9n4s.js";
11
+ } from "./index-6scakreq.js";
12
12
  import {
13
13
  observeReceiptTransition
14
14
  } from "./index-mmr96pwr.js";
@@ -2810,7 +2810,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2810
2810
  }
2811
2811
  let bumps = 0;
2812
2812
  if (deltas.length > 0) {
2813
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-fqv89q5k.js");
2813
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-3jamj5n4.js");
2814
2814
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2815
2815
  }
2816
2816
  return {
@@ -13,7 +13,7 @@ import {
13
13
  reconcileLandedMerge,
14
14
  withTaskEvidenceTransaction,
15
15
  writeWorkflowWalFile
16
- } from "./index-z0bxbb9g.js";
16
+ } from "./index-4dcz9fpn.js";
17
17
  import {
18
18
  canonicalRootKeyFresh
19
19
  } from "./index-ddszzne4.js";
@@ -478,7 +478,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
478
478
  awaitingMergeByCallID,
479
479
  cleanupStandardWorktreeForCallId,
480
480
  standardWorktreeByCallID
481
- } = await import("./worktree-isolation-he01qhss.js");
481
+ } = await import("./worktree-isolation-dzyxf8hn.js");
482
482
  standardWorktreeByCallID.delete(descriptor.callID);
483
483
  if (hasResidue)
484
484
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -602,7 +602,7 @@ async function recoverCoderSettlement(directory, taskId) {
602
602
  awaitingMergeByCallID,
603
603
  finishStandardWorktreeDispatch,
604
604
  standardWorktreeByCallID
605
- } = await import("./worktree-isolation-he01qhss.js");
605
+ } = await import("./worktree-isolation-dzyxf8hn.js");
606
606
  const descriptor = wal.worktree;
607
607
  const reconstructedDispatch = {
608
608
  callID: descriptor.callID,
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  autoCommitDirty,
4
4
  cleanUntrackedFiles
5
- } from "./index-qc53dfzh.js";
5
+ } from "./index-kqzba6ex.js";
6
6
  import {
7
7
  isPathWithinDeclaredScope,
8
8
  unsafePathTextReason
@@ -4,7 +4,7 @@ import {
4
4
  PlanSchema,
5
5
  TaskStatusSchema,
6
6
  init_loader
7
- } from "./index-bqxffayb.js";
7
+ } from "./index-717pmdce.js";
8
8
  import {
9
9
  assertProjectRoot,
10
10
  withEvidenceLock
@@ -6,12 +6,12 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-nnzdayvk.js";
9
+ } from "./index-war2dt6a.js";
10
10
  import {
11
11
  queryHistoricalOutcomes,
12
12
  readKnowledgeEvents,
13
13
  recordKnowledgeEvent
14
- } from "./index-98jmggma.js";
14
+ } from "./index-3a35tt6a.js";
15
15
  import {
16
16
  init_knowledge_types,
17
17
  isActiveStatus
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
224
224
  alreadyInactive: true
225
225
  };
226
226
  }
227
- const { quarantineEntry } = await import("./knowledge-validator-fsdx14tk.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-26w2mvqv.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-98tdb9h0.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-wccdm7jv.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-z0ygrqgy.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-k0qy284k.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -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.160.1",
24
+ version: "7.160.2",
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",
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  resolveExternalSkillsConfig
9
- } from "./index-7npz9n4s.js";
9
+ } from "./index-6scakreq.js";
10
10
  import {
11
11
  GIT_BINARY_ENV_VAR,
12
12
  init_git_executable
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-nnzdayvk.js";
5
+ } from "./index-war2dt6a.js";
6
6
  import {
7
7
  init_git_executable,
8
8
  resolveGitExecutableAsync
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-pkz91fwm.js";
5
+ } from "./index-xkmzsfg5.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -17,7 +17,7 @@ import {
17
17
  NoteEvidenceSchema,
18
18
  ReviewEvidenceSchema,
19
19
  TestEvidenceSchema
20
- } from "./index-8c9qzpy7.js";
20
+ } from "./index-q8hm27yj.js";
21
21
  import {
22
22
  DeltaSpecSchema,
23
23
  ObligationSchema,
@@ -42,7 +42,7 @@ import {
42
42
  loadPluginConfig,
43
43
  loadPluginConfigWithMeta,
44
44
  loadPluginConfigWithMetaAsync
45
- } from "./index-bqxffayb.js";
45
+ } from "./index-717pmdce.js";
46
46
  import {
47
47
  AUTO_REVIEW_V8_BURN_IN_DECISION,
48
48
  AgentOverrideConfigSchema,
@@ -64,7 +64,7 @@ import {
64
64
  TurboConfigSchema,
65
65
  WorktreeIsolationConfigSchema,
66
66
  resolveAutoReviewConfig
67
- } from "./index-7npz9n4s.js";
67
+ } from "./index-6scakreq.js";
68
68
  import"./index-9e6fdz2h.js";
69
69
  import"./index-4rhhvd1a.js";
70
70
  import {
@@ -3934,7 +3934,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
3934
3934
  const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
3935
3935
  if (candidates.length === 0)
3936
3936
  return 0;
3937
- const { transferCoderSettlementToBackground } = await import("./coder-settlement-678ccmnf.js");
3937
+ const { transferCoderSettlementToBackground } = await import("./coder-settlement-gzar5ypz.js");
3938
3938
  let transferred = 0;
3939
3939
  for (const record of candidates) {
3940
3940
  try {
@@ -92,7 +92,7 @@ var _internals = {
92
92
  symlinkSync: fs.symlinkSync
93
93
  },
94
94
  writeScopeToDisk: async (directory, taskId, files) => {
95
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-cn34xnwr.js");
95
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-tncg38by.js");
96
96
  return realWrite(directory, taskId, files);
97
97
  },
98
98
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -209,7 +209,13 @@ var BuildEvidenceSchema = BaseEvidenceSchema.extend({
209
209
  files_scanned: exports_external.number().int(),
210
210
  runs_count: exports_external.number().int(),
211
211
  failed_count: exports_external.number().int(),
212
- skipped_reason: exports_external.string().optional()
212
+ skipped_reason: exports_external.string().optional(),
213
+ environment_unavailable: exports_external.array(exports_external.object({
214
+ ecosystem: exports_external.string(),
215
+ reason: exports_external.string(),
216
+ code: exports_external.literal("environment_unavailable"),
217
+ required_commands: exports_external.array(exports_external.string()).optional()
218
+ })).optional()
213
219
  });
214
220
  var QualityBudgetEvidenceSchema = BaseEvidenceSchema.extend({
215
221
  type: exports_external.literal("quality_budget"),
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-jszabr0r.js";
5
+ } from "./index-yp81ebrx.js";
6
6
  import {
7
7
  withTimeoutSignal
8
8
  } from "./index-q7sjgr1y.js";
@@ -12,11 +12,11 @@ import {
12
12
  resolveHiveKnowledgePath,
13
13
  resolveSwarmKnowledgePath,
14
14
  transactKnowledge
15
- } from "./index-nnzdayvk.js";
15
+ } from "./index-war2dt6a.js";
16
16
  import {
17
17
  effectiveRetrievalOutcomes,
18
18
  readAuthoritativeKnowledgeCounterRollups
19
- } from "./index-98jmggma.js";
19
+ } from "./index-3a35tt6a.js";
20
20
  import {
21
21
  advisoryWarn,
22
22
  init_warning_buffer