opencode-swarm 7.163.0 → 7.164.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 (87) hide show
  1. package/README.md +1 -1
  2. package/dist/cli/{coder-settlement-g2g5kkv5.js → coder-settlement-84je6bza.js} +8 -8
  3. package/dist/cli/{config-doctor-p16xr78z.js → config-doctor-vfze38e1.js} +2 -2
  4. package/dist/cli/{core-g088v0zt.js → core-q5hv8e2w.js} +1 -1
  5. package/dist/cli/{curation-policy-j12j2gvc.js → curation-policy-a2zty4br.js} +5 -5
  6. package/dist/cli/{curator-3m8a8qsn.js → curator-4pckmmyf.js} +32 -32
  7. package/dist/cli/{curator-drift-g6w4ga1q.js → curator-drift-wy7ejcvw.js} +105 -37
  8. package/dist/cli/{curator-llm-factory-p00hks4v.js → curator-llm-factory-msbj3hpn.js} +32 -32
  9. package/dist/cli/{evidence-summary-service-4ghqakhx.js → evidence-summary-service-b15yes21.js} +14 -14
  10. package/dist/cli/{gate-evidence-4v8apasx.js → gate-evidence-70h0w4tb.js} +5 -5
  11. package/dist/cli/{guardrail-explain-smqenqtm.js → guardrail-explain-kksdy032.js} +33 -33
  12. package/dist/cli/{guardrail-log-mmh4b4k4.js → guardrail-log-7rxbd20p.js} +6 -6
  13. package/dist/cli/{guardrail-reset-zge5hg4p.js → guardrail-reset-3b4gs357.js} +32 -32
  14. package/dist/cli/{hive-promoter-vxez5s7m.js → hive-promoter-s80g1gwb.js} +32 -32
  15. package/dist/cli/index-0515j0cz.js +403 -0
  16. package/dist/cli/{index-t4hs3qk6.js → index-12f1tsn2.js} +3 -3
  17. package/dist/cli/{index-2zgjcmmc.js → index-1b1h770t.js} +3 -3
  18. package/dist/cli/{index-9ss2m4rs.js → index-1hpjwz3s.js} +410 -1
  19. package/dist/cli/{index-4t68xs0p.js → index-1z4jzwja.js} +3 -3
  20. package/dist/cli/{index-0103w5pf.js → index-2s4s9n82.js} +2 -2
  21. package/dist/cli/{index-9crtmnqg.js → index-36nt17m8.js} +1 -1
  22. package/dist/cli/{index-qy2rm1f6.js → index-4afh2cz7.js} +5 -5
  23. package/dist/cli/{index-pykfqsk0.js → index-4jersar8.js} +4 -4
  24. package/dist/cli/{index-n67vx5zw.js → index-70bfj3v1.js} +1 -1
  25. package/dist/cli/{index-eqkdjfqa.js → index-7r9vpkwa.js} +4 -4
  26. package/dist/cli/{index-8ada7ag7.js → index-93sepnc9.js} +2 -2
  27. package/dist/cli/{index-s8c6f9rr.js → index-9sy65e94.js} +3 -3
  28. package/dist/cli/{index-ptsmms01.js → index-bm73pych.js} +6 -6
  29. package/dist/cli/{index-xyhmt813.js → index-c4pynht5.js} +1 -1
  30. package/dist/cli/{index-w1mc7gcm.js → index-c69jbpex.js} +2 -2
  31. package/dist/cli/{index-axx3t3k7.js → index-e3hwzcjv.js} +2 -2
  32. package/dist/cli/{index-453tzvkg.js → index-g64154pd.js} +1 -1
  33. package/dist/cli/{index-f7t5fn4z.js → index-gxd8fwyt.js} +4 -4
  34. package/dist/cli/{index-5hgn302x.js → index-hyq20s2v.js} +118 -296
  35. package/dist/cli/{index-7n9jznv0.js → index-ma8w6pfp.js} +3 -3
  36. package/dist/cli/{index-rqh25ns3.js → index-nhxaa9j5.js} +1 -1
  37. package/dist/cli/{index-zgz81a8x.js → index-nzrhw31r.js} +1 -1
  38. package/dist/cli/{index-4xggfhge.js → index-pvgcex0d.js} +3 -3
  39. package/dist/cli/{index-nwa7ctyf.js → index-qkk2skff.js} +34 -34
  40. package/dist/cli/{index-g4bvsapf.js → index-t5t82jy8.js} +5 -5
  41. package/dist/cli/{index-m4nhy4fp.js → index-t90gjc0k.js} +1 -1
  42. package/dist/cli/{index-3rjxbe1p.js → index-t9rhtvy9.js} +2 -2
  43. package/dist/cli/{index-hm239n1p.js → index-tb1k8jya.js} +1 -1
  44. package/dist/cli/{index-m7yt3xmk.js → index-td6n935w.js} +3 -2
  45. package/dist/cli/{index-w0yn4rmh.js → index-v3a9rmyh.js} +3 -3
  46. package/dist/cli/{index-cqgpvx2d.js → index-wdtckfnf.js} +1 -1
  47. package/dist/cli/{index-7wb2v7jg.js → index-xk0kc1py.js} +522 -358
  48. package/dist/cli/{index-n2mhyect.js → index-ynqp3jb6.js} +1 -1
  49. package/dist/cli/{index-n249fbw7.js → index-zaab1wz9.js} +5 -0
  50. package/dist/cli/{index-3ab9tczn.js → index-zbpcpsk0.js} +8 -8
  51. package/dist/cli/index.js +32 -32
  52. package/dist/cli/{knowledge-escalator-91d1n291.js → knowledge-escalator-sttdnwf8.js} +11 -11
  53. package/dist/cli/{knowledge-events-xrd9es3p.js → knowledge-events-4h88stj7.js} +9 -9
  54. package/dist/cli/{knowledge-link-vmdj5e5d.js → knowledge-link-yykmxdyw.js} +4 -4
  55. package/dist/cli/{knowledge-store-2brg88cx.js → knowledge-store-j832fxpx.js} +5 -5
  56. package/dist/cli/{knowledge-validator-s1v7kry2.js → knowledge-validator-edbg761g.js} +7 -7
  57. package/dist/cli/{pending-delegations-b341397j.js → pending-delegations-sphntrs0.js} +4 -4
  58. package/dist/cli/{pr-subscriptions-2mkdt0ak.js → pr-subscriptions-1a4gcnzv.js} +4 -4
  59. package/dist/cli/{runner-3gw2njnx.js → runner-d294h1by.js} +5 -5
  60. package/dist/cli/{scan-cursor-jm7j3w1c.js → scan-cursor-5frvp7nb.js} +6 -6
  61. package/dist/cli/{schema-6cpgnq4s.js → schema-9xkt5hvd.js} +1 -1
  62. package/dist/cli/{scope-persistence-q713ck5n.js → scope-persistence-gk55h3sp.js} +8 -8
  63. package/dist/cli/{skill-generator-z9bs6vdt.js → skill-generator-sxxf7jbb.js} +13 -13
  64. package/dist/cli/{sqlite-loader-c92413n7.js → sqlite-loader-8zefc142.js} +1 -1
  65. package/dist/cli/{telemetry-x4zggfd7.js → telemetry-q51s6tyt.js} +1 -1
  66. package/dist/cli/{worktree-collision-ownership-drtv7jjp.js → worktree-collision-ownership-7kj2ryt1.js} +4 -4
  67. package/dist/cli/{worktree-isolation-534h3c2f.js → worktree-isolation-67fs6rz9.js} +32 -32
  68. package/dist/db/canonical-project.d.ts +31 -0
  69. package/dist/db/db-errors.d.ts +24 -0
  70. package/dist/db/driver-parity.d.ts +31 -0
  71. package/dist/db/durability.d.ts +40 -0
  72. package/dist/db/group-commit-writer.d.ts +117 -0
  73. package/dist/db/health.d.ts +35 -0
  74. package/dist/db/insight-candidate-store.d.ts +61 -0
  75. package/dist/db/legacy-import.d.ts +77 -0
  76. package/dist/db/phase-report-store.d.ts +45 -0
  77. package/dist/db/project-db.d.ts +35 -8
  78. package/dist/db/qa-gate-profile.d.ts +2 -0
  79. package/dist/hooks/curator-drift.d.ts +9 -5
  80. package/dist/hooks/curator-types.d.ts +1 -0
  81. package/dist/hooks/knowledge-curator.d.ts +5 -3
  82. package/dist/hooks/micro-reflector.d.ts +12 -7
  83. package/dist/index.js +619 -567
  84. package/dist/memory/schema.d.ts +4 -4
  85. package/dist/prm/index.d.ts +3 -1
  86. package/package.json +3 -2
  87. package/dist/cli/index-c8s9a3zh.js +0 -73
@@ -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-q713ck5n.js");
95
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-gk55h3sp.js");
96
96
  return realWrite(directory, taskId, files);
97
97
  },
98
98
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-f7t5fn4z.js";
5
+ } from "./index-gxd8fwyt.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-ptsmms01.js";
15
+ } from "./index-bm73pych.js";
16
16
  import {
17
17
  effectiveRetrievalOutcomes,
18
18
  readAuthoritativeKnowledgeCounterRollups
19
- } from "./index-3ab9tczn.js";
19
+ } from "./index-zbpcpsk0.js";
20
20
  import {
21
21
  advisoryWarn,
22
22
  init_warning_buffer
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-w1mc7gcm.js";
4
+ } from "./index-c69jbpex.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-m4nhy4fp.js";
7
+ } from "./index-t90gjc0k.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -94,58 +94,58 @@ import {
94
94
  handleWriteRetroCommand,
95
95
  normalizeSwarmCommandInput,
96
96
  resolveCommand
97
- } from "./index-7wb2v7jg.js";
98
- import"./index-xyhmt813.js";
99
- import"./index-s8c6f9rr.js";
100
- import"./index-453tzvkg.js";
101
- import"./index-5hgn302x.js";
102
- import"./index-0103w5pf.js";
97
+ } from "./index-xk0kc1py.js";
98
+ import"./index-c4pynht5.js";
99
+ import"./index-9sy65e94.js";
100
+ import"./index-g64154pd.js";
101
+ import"./index-hyq20s2v.js";
102
+ import"./index-2s4s9n82.js";
103
103
  import"./index-txdagbh7.js";
104
- import"./index-n249fbw7.js";
105
104
  import"./index-3146wmgv.js";
106
- import"./index-4xggfhge.js";
107
- import"./index-g4bvsapf.js";
108
- import"./index-axx3t3k7.js";
105
+ import"./index-pvgcex0d.js";
106
+ import"./index-t5t82jy8.js";
107
+ import"./index-e3hwzcjv.js";
109
108
  import"./index-70ha9e09.js";
110
- import"./index-c8s9a3zh.js";
111
- import"./index-9ss2m4rs.js";
112
- import"./index-7n9jznv0.js";
109
+ import"./index-0515j0cz.js";
110
+ import"./index-1hpjwz3s.js";
111
+ import"./index-zaab1wz9.js";
112
+ import"./index-ma8w6pfp.js";
113
113
  import"./index-zsrtt42s.js";
114
- import"./index-qy2rm1f6.js";
114
+ import"./index-4afh2cz7.js";
115
115
  import"./index-3f7hqtgg.js";
116
116
  import"./index-fckfgptr.js";
117
- import"./index-f7t5fn4z.js";
118
- import"./index-hm239n1p.js";
117
+ import"./index-gxd8fwyt.js";
118
+ import"./index-tb1k8jya.js";
119
119
  import"./index-rtry5xyf.js";
120
- import"./index-eqkdjfqa.js";
121
- import"./index-zgz81a8x.js";
122
- import"./index-t4hs3qk6.js";
120
+ import"./index-7r9vpkwa.js";
121
+ import"./index-nzrhw31r.js";
122
+ import"./index-12f1tsn2.js";
123
123
  import"./index-ddszzne4.js";
124
124
  import"./index-mmngnxev.js";
125
125
  import"./index-w7ekntej.js";
126
- import"./index-pykfqsk0.js";
127
- import"./index-4t68xs0p.js";
128
- import"./index-8ada7ag7.js";
126
+ import"./index-4jersar8.js";
127
+ import"./index-1z4jzwja.js";
128
+ import"./index-93sepnc9.js";
129
129
  import"./index-556ja8an.js";
130
130
  import"./index-4fwbbad3.js";
131
131
  import"./index-b43rt5ph.js";
132
132
  import"./index-q7sjgr1y.js";
133
- import"./index-ptsmms01.js";
134
- import"./index-3ab9tczn.js";
135
- import"./index-3rjxbe1p.js";
133
+ import"./index-bm73pych.js";
134
+ import"./index-zbpcpsk0.js";
135
+ import"./index-t9rhtvy9.js";
136
136
  import"./index-zg9d392c.js";
137
137
  import"./index-n832052r.js";
138
138
  import"./index-dtn0pne5.js";
139
139
  import"./index-z6xqpmqg.js";
140
140
  import"./index-r3mvsbtq.js";
141
- import"./index-rqh25ns3.js";
141
+ import"./index-nhxaa9j5.js";
142
142
  import {
143
143
  init_schema,
144
144
  stripKnownSwarmPrefix
145
- } from "./index-m7yt3xmk.js";
145
+ } from "./index-td6n935w.js";
146
146
  import"./index-9e6fdz2h.js";
147
147
  import"./index-4rhhvd1a.js";
148
- import"./index-cqgpvx2d.js";
148
+ import"./index-wdtckfnf.js";
149
149
  import {
150
150
  AGENT_TOOL_MAP,
151
151
  ORCHESTRATOR_NAME,
@@ -153,12 +153,12 @@ import {
153
153
  } from "./index-9xd073d4.js";
154
154
  import"./index-zjygnfay.js";
155
155
  import"./index-ae75rja9.js";
156
- import"./index-n2mhyect.js";
157
- import"./index-n67vx5zw.js";
156
+ import"./index-ynqp3jb6.js";
157
+ import"./index-70bfj3v1.js";
158
158
  import"./index-bk5tah7q.js";
159
- import"./index-9crtmnqg.js";
159
+ import"./index-36nt17m8.js";
160
160
  import"./index-3b762978.js";
161
- import"./index-2zgjcmmc.js";
161
+ import"./index-1b1h770t.js";
162
162
  import"./index-ed5ykebp.js";
163
163
  import"./index-7g4c7s5r.js";
164
164
  import"./index-bpmtbmy9.js";
@@ -6,12 +6,12 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-ptsmms01.js";
9
+ } from "./index-bm73pych.js";
10
10
  import {
11
11
  queryHistoricalOutcomes,
12
12
  readKnowledgeEvents,
13
13
  recordKnowledgeEvent
14
- } from "./index-3ab9tczn.js";
14
+ } from "./index-zbpcpsk0.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-s1v7kry2.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-edbg761g.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-6cpgnq4s.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-w0yn4rmh.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-9xkt5hvd.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-v3a9rmyh.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-s8c6f9rr.js";
7
+ } from "./index-9sy65e94.js";
8
8
 
9
9
  // src/services/guardrail-log-service.ts
10
10
  var BLOCK_TYPES = new Set([
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-rqh25ns3.js";
5
+ } from "./index-nhxaa9j5.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-m7yt3xmk.js";
8
+ } from "./index-td6n935w.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
@@ -7,7 +7,7 @@ import {
7
7
  readLinkPointer,
8
8
  resolveKnowledgeStoreDir,
9
9
  resolveLinkDir
10
- } from "./index-n2mhyect.js";
10
+ } from "./index-ynqp3jb6.js";
11
11
 
12
12
  // src/knowledge/curation-policy.ts
13
13
  import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
@@ -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.163.0",
24
+ version: "7.164.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",
@@ -37,7 +37,8 @@ var init_package = __esm(() => {
37
37
  },
38
38
  type: "module",
39
39
  engines: {
40
- bun: ">=1.3.13"
40
+ bun: ">=1.3.13",
41
+ node: ">=22.13"
41
42
  },
42
43
  license: "MIT",
43
44
  repository: {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-3rjxbe1p.js";
5
+ } from "./index-t9rhtvy9.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -42,7 +42,7 @@ import {
42
42
  loadPluginConfig,
43
43
  loadPluginConfigWithMeta,
44
44
  loadPluginConfigWithMetaAsync
45
- } from "./index-rqh25ns3.js";
45
+ } from "./index-nhxaa9j5.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-m7yt3xmk.js";
67
+ } from "./index-td6n935w.js";
68
68
  import"./index-9e6fdz2h.js";
69
69
  import"./index-4rhhvd1a.js";
70
70
  import {
@@ -6,7 +6,7 @@ import {
6
6
  pseudonymousRef,
7
7
  resolveLineageSalt,
8
8
  telemetry
9
- } from "./index-2zgjcmmc.js";
9
+ } from "./index-1b1h770t.js";
10
10
 
11
11
  // src/health/learning-health.ts
12
12
  import { promises as fs } from "fs";