opencode-swarm 7.176.2 → 7.177.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.
Files changed (92) hide show
  1. package/.opencode/skills/writing-tests/SKILL.md +1 -1
  2. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  3. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  4. package/dist/background/delegation-lifecycle.d.ts +1 -0
  5. package/dist/cli/{coder-settlement-q81p8cdw.js → coder-settlement-pm07553t.js} +11 -11
  6. package/dist/cli/{config-doctor-g8yj2ax5.js → config-doctor-3mwx2rwq.js} +2 -2
  7. package/dist/cli/{core-qhsd6kh4.js → core-ty985ae1.js} +3 -3
  8. package/dist/cli/{curation-policy-62k3tfy2.js → curation-policy-d8s9w1z8.js} +5 -5
  9. package/dist/cli/{curator-drift-j1ggdamr.js → curator-drift-4m984tvy.js} +4 -4
  10. package/dist/cli/curator-llm-factory-zbs6hm60.js +72 -0
  11. package/dist/cli/{curator-33h6tpkm.js → curator-pch7ww87.js} +36 -36
  12. package/dist/cli/{evidence-summary-service-h58msp28.js → evidence-summary-service-cxed89n3.js} +15 -15
  13. package/dist/cli/{gate-evidence-2mzqng35.js → gate-evidence-ymye7yew.js} +6 -6
  14. package/dist/cli/guardrail-explain-1zy8c3vn.js +73 -0
  15. package/dist/cli/{guardrail-log-8pm5hfaf.js → guardrail-log-pgggycf9.js} +7 -7
  16. package/dist/cli/{guardrail-reset-qygfp430.js → guardrail-reset-aghymhr5.js} +36 -36
  17. package/dist/cli/{hive-promoter-1921z8af.js → hive-promoter-3dp8qbqc.js} +36 -36
  18. package/dist/cli/{index-ytg10jza.js → index-0z5s71kn.js} +38 -38
  19. package/dist/cli/{index-p2r8cejw.js → index-1bq6hkw5.js} +1 -1
  20. package/dist/cli/{index-68nc7zev.js → index-2jtmevrr.js} +68 -47
  21. package/dist/cli/{index-ycb3h9gp.js → index-4chr4gbq.js} +8 -8
  22. package/dist/cli/{index-yss54mb9.js → index-5d2avnj9.js} +2 -2
  23. package/dist/cli/{index-hc00tn5a.js → index-5w51tawb.js} +7 -7
  24. package/dist/cli/{index-1d28c88a.js → index-73arkdgf.js} +2 -1
  25. package/dist/cli/{index-bsw3v6fa.js → index-7bvzssz0.js} +3 -3
  26. package/dist/cli/{index-b6xgqf81.js → index-7nsvszwn.js} +2 -2
  27. package/dist/cli/{index-d3mzw88v.js → index-8dy3qf4q.js} +5 -5
  28. package/dist/cli/{index-psvgm17t.js → index-9ftc8saz.js} +1 -1
  29. package/dist/cli/{index-vqhpemaw.js → index-by7xpk8f.js} +3 -3
  30. package/dist/cli/{index-kc9jbsxh.js → index-ebmep9me.js} +890 -783
  31. package/dist/cli/{index-fsrfamds.js → index-eefz8ghz.js} +1 -1
  32. package/dist/cli/{index-pgtrsc2t.js → index-ef2fa774.js} +7 -7
  33. package/dist/cli/{index-bh07vpsw.js → index-en0p0hqp.js} +1 -1
  34. package/dist/cli/{index-gaa1h7rv.js → index-exhm2ztr.js} +1 -1
  35. package/dist/cli/{index-yj8hn89a.js → index-eya03h5m.js} +7 -7
  36. package/dist/cli/{index-mezy2tc7.js → index-fnmt1ema.js} +3 -3
  37. package/dist/cli/{index-z7f3z7t0.js → index-gwnbprzk.js} +4 -4
  38. package/dist/cli/{index-gq1qbzsw.js → index-hxdswvtv.js} +7 -7
  39. package/dist/cli/{index-36gm5wzh.js → index-k6bjkqw8.js} +1 -1
  40. package/dist/cli/{index-7yms2y29.js → index-mcq6xs4k.js} +4 -4
  41. package/dist/cli/{index-nmrcgs2v.js → index-nzz58tbs.js} +2 -2
  42. package/dist/cli/{index-dp0zm7mj.js → index-q1jterxw.js} +2 -2
  43. package/dist/cli/{index-g364gm8a.js → index-r18n5f17.js} +4 -4
  44. package/dist/cli/{index-30dx8h76.js → index-rgapg88w.js} +1 -1
  45. package/dist/cli/{index-3gmfzg4w.js → index-rz4gpt3n.js} +2 -2
  46. package/dist/cli/{index-swhxs3n7.js → index-tbswvz8s.js} +2 -2
  47. package/dist/cli/{index-25aq56s9.js → index-tj0sdxg9.js} +2 -2
  48. package/dist/cli/{index-pa9gk6qe.js → index-tzxk6ct7.js} +36 -36
  49. package/dist/cli/{index-mw5k6s43.js → index-v2he8xfj.js} +2 -2
  50. package/dist/cli/{index-02sbqp2j.js → index-vfp9hjgv.js} +1 -1
  51. package/dist/cli/{index-yg3aqync.js → index-w7aedfce.js} +8 -8
  52. package/dist/cli/{index-agwajtws.js → index-wemtrnch.js} +1 -1
  53. package/dist/cli/{index-nxgbfgmc.js → index-xnednxvm.js} +1 -1
  54. package/dist/cli/{index-g4m0t1y4.js → index-yhaxn5r7.js} +1 -1
  55. package/dist/cli/{index-fwjenx4w.js → index-z8j7jqxt.js} +2 -2
  56. package/dist/cli/{index-tfvtf8z5.js → index-zbq9091c.js} +11 -11
  57. package/dist/cli/{index-6kn88mce.js → index-zwam9stk.js} +6 -6
  58. package/dist/cli/{index-pedvpj59.js → index-zzr7f594.js} +1 -1
  59. package/dist/cli/index.js +37 -37
  60. package/dist/cli/{knowledge-escalator-m88njezt.js → knowledge-escalator-praedffr.js} +12 -12
  61. package/dist/cli/{knowledge-events-ncwzpmne.js → knowledge-events-sn5gs5q9.js} +10 -10
  62. package/dist/cli/{knowledge-link-1n4kjc0c.js → knowledge-link-9z3fha35.js} +4 -4
  63. package/dist/cli/{knowledge-store-qsebf29s.js → knowledge-store-838sgd97.js} +5 -5
  64. package/dist/cli/{knowledge-validator-c345kv1x.js → knowledge-validator-bsxgarqv.js} +7 -7
  65. package/dist/cli/{mcp-0wqnyca5.js → mcp-skh29erk.js} +1 -1
  66. package/dist/cli/{pending-delegations-fry2r78r.js → pending-delegations-6zr5es4b.js} +11 -11
  67. package/dist/cli/{pr-subscriptions-sd3fyt8p.js → pr-subscriptions-x2rr3gva.js} +11 -11
  68. package/dist/cli/{pr-workflow-gate-c84n5x8x.js → pr-workflow-gate-jx30c9vz.js} +36 -36
  69. package/dist/cli/{runner-91q995mh.js → runner-yhfmejzb.js} +5 -5
  70. package/dist/cli/{scan-cursor-ptg9wsmv.js → scan-cursor-6h85e2g0.js} +6 -6
  71. package/dist/cli/{schema-dwxscxbv.js → schema-8h1b602y.js} +1 -1
  72. package/dist/cli/{scope-persistence-effvw96s.js → scope-persistence-rb99xjr0.js} +14 -14
  73. package/dist/cli/{server-91c44cv8.js → server-kdjc5aw8.js} +36 -36
  74. package/dist/cli/{skill-generator-kv7b5ync.js → skill-generator-nz7wjabh.js} +14 -14
  75. package/dist/cli/{snapshot-coordination-init-1kxmhy02.js → snapshot-coordination-init-hexx2msp.js} +36 -36
  76. package/dist/cli/{telemetry-1cfatyt0.js → telemetry-w774xb8g.js} +1 -1
  77. package/dist/cli/{workspace-snapshot-f81xc1vd.js → workspace-snapshot-9gqna7gq.js} +3 -3
  78. package/dist/cli/{worktree-collision-ownership-esshj9p9.js → worktree-collision-ownership-ecwj3ehp.js} +12 -12
  79. package/dist/cli/{worktree-isolation-gvy7b6nq.js → worktree-isolation-0x9fx30v.js} +36 -36
  80. package/dist/full-auto/state.d.ts +37 -2
  81. package/dist/index.js +259 -260
  82. package/dist/observability/catalog.d.ts +2 -2
  83. package/dist/prm/escalation.d.ts +42 -1
  84. package/dist/prm/index.d.ts +4 -0
  85. package/dist/prm/types.d.ts +36 -0
  86. package/dist/state.d.ts +8 -1
  87. package/dist/telemetry.d.ts +17 -0
  88. package/dist/tools/repo-map.d.ts +1 -0
  89. package/dist/types/events.d.ts +15 -1
  90. package/package.json +2 -1
  91. package/dist/cli/curator-llm-factory-bvck3388.js +0 -72
  92. package/dist/cli/guardrail-explain-vs575z3y.js +0 -73
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  captureWorkspaceSnapshotAsync,
4
4
  changedFilesSinceSnapshotAsync
5
- } from "./index-yss54mb9.js";
5
+ } from "./index-5d2avnj9.js";
6
6
  import {
7
7
  removeWorktreeProvisioningOwner
8
- } from "./index-b6xgqf81.js";
8
+ } from "./index-7nsvszwn.js";
9
9
  import {
10
10
  SOURCE_WORKTREE_GONE_STAGE,
11
11
  ensureTaskGateRequirementsReceiptForSettledTransition,
@@ -14,16 +14,16 @@ import {
14
14
  reconcileLandedMerge,
15
15
  withTaskEvidenceTransaction,
16
16
  writeWorkflowWalFile
17
- } from "./index-g364gm8a.js";
17
+ } from "./index-r18n5f17.js";
18
18
  import {
19
19
  validateSwarmPath
20
- } from "./index-gaa1h7rv.js";
20
+ } from "./index-exhm2ztr.js";
21
21
  import {
22
22
  appendCoreEventSync
23
- } from "./index-fwjenx4w.js";
23
+ } from "./index-z8j7jqxt.js";
24
24
  import {
25
25
  tryAcquireLock
26
- } from "./index-25aq56s9.js";
26
+ } from "./index-tj0sdxg9.js";
27
27
  import {
28
28
  canonicalRootKeyFresh
29
29
  } from "./index-1xnse449.js";
@@ -501,7 +501,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
501
501
  awaitingMergeByCallID,
502
502
  cleanupStandardWorktreeForCallId,
503
503
  standardWorktreeByCallID
504
- } = await import("./worktree-isolation-gvy7b6nq.js");
504
+ } = await import("./worktree-isolation-0x9fx30v.js");
505
505
  standardWorktreeByCallID.delete(descriptor.callID);
506
506
  if (hasResidue)
507
507
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -633,7 +633,7 @@ async function recoverCoderSettlement(directory, taskId) {
633
633
  awaitingMergeByCallID,
634
634
  finishStandardWorktreeDispatch,
635
635
  standardWorktreeByCallID
636
- } = await import("./worktree-isolation-gvy7b6nq.js");
636
+ } = await import("./worktree-isolation-0x9fx30v.js");
637
637
  const descriptor = wal.worktree;
638
638
  const reconstructedDispatch = {
639
639
  callID: descriptor.callID,
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-gaa1h7rv.js";
4
+ } from "./index-exhm2ztr.js";
5
5
  import {
6
6
  bunSpawn
7
7
  } from "./index-2s7dvzff.js";
8
8
  import {
9
9
  atomicWriteSwarmFile
10
- } from "./index-g4m0t1y4.js";
10
+ } from "./index-yhaxn5r7.js";
11
11
  import {
12
12
  canonicalRootKey,
13
13
  sameProjectRoot
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  computePlanStructureHash
4
- } from "./index-6kn88mce.js";
4
+ } from "./index-zwam9stk.js";
5
5
  import {
6
6
  appendCoreEventSync
7
- } from "./index-fwjenx4w.js";
7
+ } from "./index-z8j7jqxt.js";
8
8
  import {
9
9
  deleteCoordinationState,
10
10
  derivePlanId,
@@ -13,27 +13,27 @@ import {
13
13
  transitionCoordinationState,
14
14
  transitionCoordinationStateWithinTransaction,
15
15
  withCoordinationTransaction
16
- } from "./index-p2r8cejw.js";
16
+ } from "./index-1bq6hkw5.js";
17
17
  import {
18
18
  getProjectDb
19
- } from "./index-nxgbfgmc.js";
19
+ } from "./index-xnednxvm.js";
20
20
  import {
21
21
  canonicalExistingFilesystemPath,
22
22
  legacyCanonicalExistingFilesystemPath
23
23
  } from "./index-ry16d01s.js";
24
24
  import {
25
25
  assertProjectRoot
26
- } from "./index-25aq56s9.js";
26
+ } from "./index-tj0sdxg9.js";
27
27
  import {
28
28
  require_proper_lockfile
29
29
  } from "./index-7g4c7s5r.js";
30
30
  import {
31
31
  atomicWriteSwarmFile,
32
32
  atomicWriteSwarmFileSync
33
- } from "./index-g4m0t1y4.js";
33
+ } from "./index-yhaxn5r7.js";
34
34
  import {
35
35
  PlanSchema
36
- } from "./index-pedvpj59.js";
36
+ } from "./index-zzr7f594.js";
37
37
  import {
38
38
  init_path_identity,
39
39
  unsafePathTextReason
@@ -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.176.2",
24
+ version: "7.177.0",
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",
@@ -119,6 +119,7 @@ var init_package = __esm(() => {
119
119
  lint: "biome lint .",
120
120
  "lint:ci": "biome ci .",
121
121
  "test:unit:ci": "bun scripts/ci/run-unit-tests-local.ts",
122
+ "validate:repo": "bun scripts/ci/repository-validation.ts",
122
123
  "drift:check": "bun run scripts/drift-check.ts",
123
124
  "check:pre-push": "bun run scripts/drift-check.ts --enforce --no-report && bun run check:registry-citations",
124
125
  "schema:generate": "bun run scripts/generate-config-schema.ts",
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-3gmfzg4w.js";
5
+ } from "./index-rz4gpt3n.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -44,7 +44,7 @@ import {
44
44
  loadPluginConfigWithMeta,
45
45
  loadPluginConfigWithMetaAsync,
46
46
  resetConfigAdvisoryDedup
47
- } from "./index-pedvpj59.js";
47
+ } from "./index-zzr7f594.js";
48
48
  import"./index-zz7gzw57.js";
49
49
  import"./index-4ddpvd5c.js";
50
50
  import {
@@ -71,7 +71,7 @@ import {
71
71
  TurboConfigSchema,
72
72
  WorktreeIsolationConfigSchema,
73
73
  resolveAutoReviewConfig
74
- } from "./index-1d28c88a.js";
74
+ } from "./index-73arkdgf.js";
75
75
  import {
76
76
  ALL_AGENT_NAMES,
77
77
  ALL_SUBAGENT_NAMES,
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-gaa1h7rv.js";
4
+ } from "./index-exhm2ztr.js";
5
5
  import {
6
6
  atomicWriteSwarmFileSync
7
- } from "./index-g4m0t1y4.js";
7
+ } from "./index-yhaxn5r7.js";
8
8
 
9
9
  // src/hooks/delegation-gate/worktree-provisioning-owner.ts
10
10
  import { createHash } from "crypto";
@@ -3,7 +3,7 @@ import {
3
3
  queryHistoricalOutcomes,
4
4
  readKnowledgeEvents,
5
5
  recordKnowledgeEvent
6
- } from "./index-yg3aqync.js";
6
+ } from "./index-w7aedfce.js";
7
7
  import {
8
8
  jaccardBigram,
9
9
  readKnowledge,
@@ -11,7 +11,7 @@ import {
11
11
  resolveSwarmKnowledgePath,
12
12
  transactKnowledge,
13
13
  wordBigrams
14
- } from "./index-gq1qbzsw.js";
14
+ } from "./index-hxdswvtv.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-c345kv1x.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-bsxgarqv.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-dwxscxbv.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-bsw3v6fa.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-8h1b602y.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-7bvzssz0.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -4,7 +4,7 @@ import {
4
4
  readShellAuditTail,
5
5
  redactPath,
6
6
  redactShellCommand
7
- } from "./index-vqhpemaw.js";
7
+ } from "./index-by7xpk8f.js";
8
8
 
9
9
  // src/services/guardrail-log-service.ts
10
10
  var BLOCK_TYPES = new Set([
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  observeStoreHealth
4
- } from "./index-swhxs3n7.js";
4
+ } from "./index-tbswvz8s.js";
5
5
  import {
6
6
  telemetry
7
- } from "./index-68nc7zev.js";
7
+ } from "./index-2jtmevrr.js";
8
8
  import {
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-1d28c88a.js";
11
+ } from "./index-73arkdgf.js";
12
12
  import {
13
13
  init_constants
14
14
  } from "./index-5frh43fj.js";