opencode-swarm 7.146.0 → 7.146.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 (61) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +67 -33
  2. package/dist/cli/{config-doctor-vs6hvbew.js → config-doctor-vstrprja.js} +2 -2
  3. package/dist/cli/{core-jvvm935f.js → core-3wzpwe5z.js} +1 -1
  4. package/dist/cli/{curation-policy-xv0j8zyt.js → curation-policy-x19e8bqc.js} +4 -4
  5. package/dist/cli/{curator-5bxh1djq.js → curator-cvy1s7wd.js} +23 -23
  6. package/dist/cli/{curator-llm-factory-pe6skby4.js → curator-llm-factory-6bra0bfd.js} +23 -23
  7. package/dist/cli/{evidence-summary-service-6m9jmzk8.js → evidence-summary-service-yhap2xph.js} +9 -9
  8. package/dist/cli/{gate-evidence-84sfx6g8.js → gate-evidence-vxbyq5sb.js} +4 -4
  9. package/dist/cli/{guardrail-explain-jhbxq8yb.js → guardrail-explain-h8cnwa02.js} +24 -24
  10. package/dist/cli/{guardrail-log-vpbp3rm4.js → guardrail-log-syb7tz2w.js} +3 -3
  11. package/dist/cli/{hive-promoter-mmmfszv8.js → hive-promoter-3tex870c.js} +23 -23
  12. package/dist/cli/{index-5qwmpamg.js → index-01ybcsa5.js} +1 -1
  13. package/dist/cli/{index-kfmee1cr.js → index-42nq97rb.js} +6 -6
  14. package/dist/cli/{index-kwxp0z0n.js → index-46cypnz3.js} +3 -3
  15. package/dist/cli/{index-n6ke10ck.js → index-4vwn66wk.js} +3 -3
  16. package/dist/cli/{index-fyr2wbvz.js → index-a1febb2k.js} +2 -2
  17. package/dist/cli/{index-vk15nbh4.js → index-c9jr4j2q.js} +1 -1
  18. package/dist/cli/{index-zd1mfygt.js → index-cr90rcg3.js} +5 -5
  19. package/dist/cli/{index-zsmsy1dh.js → index-cx67qa9g.js} +1 -1
  20. package/dist/cli/{index-4p3qfb05.js → index-e1hjd15c.js} +1 -1
  21. package/dist/cli/{index-s8qyaqs2.js → index-f3x2gsby.js} +1 -1
  22. package/dist/cli/{index-gxbhp7sx.js → index-jv9xs6mb.js} +2 -2
  23. package/dist/cli/{index-q2mvacjr.js → index-n4k0pt5f.js} +4 -4
  24. package/dist/cli/{index-fzqhn96z.js → index-p0m03xa6.js} +1 -1
  25. package/dist/cli/{index-j20fzn0w.js → index-qbpxrw95.js} +1 -1
  26. package/dist/cli/{index-j43qndgc.js → index-r46q6996.js} +25 -25
  27. package/dist/cli/{index-pz2py5v7.js → index-rfph0nhf.js} +321 -99
  28. package/dist/cli/{index-92cxd0r1.js → index-tj861zhd.js} +3 -3
  29. package/dist/cli/{index-g3xt1d16.js → index-vj9bba5k.js} +4 -4
  30. package/dist/cli/{index-f17j50dx.js → index-vmfaafte.js} +5 -5
  31. package/dist/cli/{index-x8pm918t.js → index-w0cj7zyd.js} +1 -1
  32. package/dist/cli/{index-0a0asz2s.js → index-w5r84rd1.js} +1 -1
  33. package/dist/cli/{index-jfcgnvg6.js → index-y3hmyvt6.js} +2 -2
  34. package/dist/cli/{index-kggqpefz.js → index-ycgm9pzg.js} +1 -1
  35. package/dist/cli/{index-bma2wrqx.js → index-yxhcy5cm.js} +5 -1
  36. package/dist/cli/{index-d4e6wpkg.js → index-z5ppkn8y.js} +8 -5
  37. package/dist/cli/{index-fay8h6v8.js → index-z9ed68jt.js} +18 -3
  38. package/dist/cli/{index-nsr5b69r.js → index-zkaz3fhw.js} +1 -1
  39. package/dist/cli/index.js +23 -23
  40. package/dist/cli/{knowledge-escalator-c9p3w12b.js → knowledge-escalator-mn4sx4qd.js} +9 -9
  41. package/dist/cli/{knowledge-events-d201414m.js → knowledge-events-x975ngy4.js} +7 -7
  42. package/dist/cli/{knowledge-link-82ew2yc4.js → knowledge-link-8pr02pza.js} +3 -3
  43. package/dist/cli/{knowledge-store-ds45k9th.js → knowledge-store-33p762ey.js} +4 -4
  44. package/dist/cli/{knowledge-validator-707vsncy.js → knowledge-validator-q5jc0scs.js} +6 -6
  45. package/dist/cli/{runner-pqsf809k.js → runner-e7z9cf5y.js} +4 -4
  46. package/dist/cli/{scan-cursor-znhqb8xa.js → scan-cursor-p7t5mb4x.js} +5 -5
  47. package/dist/cli/{schema-dnnm0p40.js → schema-t8bmshhj.js} +5 -1
  48. package/dist/cli/{scope-persistence-4n24a1e2.js → scope-persistence-2kyrgsca.js} +5 -5
  49. package/dist/cli/{skill-generator-5s0p3y8k.js → skill-generator-fwvmcv8m.js} +11 -11
  50. package/dist/cli/{worktree-isolation-1v2mythh.js → worktree-isolation-87j70zg1.js} +23 -23
  51. package/dist/commands/registry.d.ts +1 -1
  52. package/dist/config/schema.d.ts +22 -0
  53. package/dist/hooks/guardrails/index.d.ts +35 -0
  54. package/dist/hooks/knowledge-application-gate.d.ts +23 -0
  55. package/dist/hooks/pr-workflow-gate.d.ts +48 -2
  56. package/dist/hooks/pr-workflow-response-gate.d.ts +24 -0
  57. package/dist/index.js +71 -72
  58. package/dist/tools/dispatch-lanes.d.ts +13 -1
  59. package/dist/workflow/coder-settlement.d.ts +13 -0
  60. package/dist/workflow/stage-a-repair.d.ts +41 -0
  61. package/package.json +1 -1
@@ -2,20 +2,20 @@
2
2
  import {
3
3
  computePlanStructureHash,
4
4
  derivePlanId
5
- } from "./index-fzqhn96z.js";
5
+ } from "./index-p0m03xa6.js";
6
6
  import {
7
7
  unsafePathTextReason
8
8
  } from "./index-556ja8an.js";
9
9
  import {
10
10
  PlanSchema
11
- } from "./index-5qwmpamg.js";
11
+ } from "./index-01ybcsa5.js";
12
12
  import {
13
13
  validateSwarmPath
14
14
  } from "./index-w8pgjr75.js";
15
15
  import {
16
16
  atomicWriteSwarmFile,
17
17
  atomicWriteSwarmFileSync
18
- } from "./index-kggqpefz.js";
18
+ } from "./index-ycgm9pzg.js";
19
19
  import {
20
20
  assertProjectRoot
21
21
  } from "./index-bghwrr59.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-jfcgnvg6.js";
5
+ } from "./index-y3hmyvt6.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-5qwmpamg.js";
45
+ } from "./index-01ybcsa5.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-fay8h6v8.js";
67
+ } from "./index-z9ed68jt.js";
68
68
  import {
69
69
  ALL_AGENT_NAMES,
70
70
  ALL_SUBAGENT_NAMES,
@@ -12,14 +12,14 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-pz2py5v7.js";
15
+ } from "./index-rfph0nhf.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
19
19
  isInDeclaredScope,
20
20
  redactPath,
21
21
  redactShellCommand
22
- } from "./index-vk15nbh4.js";
22
+ } from "./index-c9jr4j2q.js";
23
23
 
24
24
  // src/services/guardrail-explain-service.ts
25
25
  import path from "path";
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  init_schema,
13
13
  stripKnownSwarmPrefix
14
- } from "./index-fay8h6v8.js";
14
+ } from "./index-z9ed68jt.js";
15
15
  import {
16
16
  init_constants
17
17
  } from "./index-cpg98bh1.js";
@@ -1,11 +1,11 @@
1
1
  // @bun
2
2
  import {
3
3
  loadPluginConfigWithMeta
4
- } from "./index-5qwmpamg.js";
4
+ } from "./index-01ybcsa5.js";
5
5
  import {
6
6
  KnowledgeConfigSchema,
7
7
  init_schema
8
- } from "./index-fay8h6v8.js";
8
+ } from "./index-z9ed68jt.js";
9
9
  import {
10
10
  validateSwarmPath
11
11
  } from "./index-w8pgjr75.js";
@@ -14,10 +14,10 @@ import {
14
14
  } from "./index-ae75rja9.js";
15
15
  import {
16
16
  resolveKnowledgeStoreDir
17
- } from "./index-x8pm918t.js";
17
+ } from "./index-w0cj7zyd.js";
18
18
  import {
19
19
  atomicWriteFile
20
- } from "./index-j20fzn0w.js";
20
+ } from "./index-qbpxrw95.js";
21
21
  import {
22
22
  assertProjectRoot
23
23
  } from "./index-bghwrr59.js";
@@ -2693,7 +2693,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2693
2693
  }
2694
2694
  let bumps = 0;
2695
2695
  if (deltas.length > 0) {
2696
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-ds45k9th.js");
2696
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-33p762ey.js");
2697
2697
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2698
2698
  }
2699
2699
  return {
@@ -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-4n24a1e2.js");
95
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-2kyrgsca.js");
96
96
  return realWrite(directory, taskId, files);
97
97
  },
98
98
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -7,7 +7,7 @@ import {
7
7
  readLinkPointer,
8
8
  resolveKnowledgeStoreDir,
9
9
  resolveLinkDir
10
- } from "./index-x8pm918t.js";
10
+ } from "./index-w0cj7zyd.js";
11
11
 
12
12
  // src/knowledge/curation-policy.ts
13
13
  import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  redactPath,
4
4
  redactShellCommand
5
- } from "./index-vk15nbh4.js";
5
+ } from "./index-c9jr4j2q.js";
6
6
 
7
7
  // src/services/guardrail-log-service.ts
8
8
  import * as fs from "fs/promises";
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-kfmee1cr.js";
5
+ } from "./index-42nq97rb.js";
6
6
  import {
7
7
  init_git_executable,
8
8
  resolveGitExecutableAsync
9
9
  } from "./index-9e6fdz2h.js";
10
10
  import {
11
11
  resolveKnowledgeStoreDir
12
- } from "./index-x8pm918t.js";
12
+ } from "./index-w0cj7zyd.js";
13
13
  import {
14
14
  init_knowledge_types,
15
15
  isActiveStatus
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-4p3qfb05.js";
4
+ } from "./index-e1hjd15c.js";
5
5
  import {
6
6
  findNearDuplicate,
7
7
  inferTags,
@@ -9,13 +9,13 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-kfmee1cr.js";
12
+ } from "./index-42nq97rb.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-x8pm918t.js";
15
+ } from "./index-w0cj7zyd.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-j20fzn0w.js";
18
+ } from "./index-qbpxrw95.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";
@@ -4,7 +4,7 @@ import {
4
4
  PlanSchema,
5
5
  TaskStatusSchema,
6
6
  init_loader
7
- } from "./index-5qwmpamg.js";
7
+ } from "./index-01ybcsa5.js";
8
8
  import {
9
9
  assertProjectRoot,
10
10
  withEvidenceLock
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteFileAnyRoot
4
- } from "./index-kggqpefz.js";
4
+ } from "./index-ycgm9pzg.js";
5
5
  import {
6
6
  withEvidenceLock
7
7
  } from "./index-bghwrr59.js";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-fyr2wbvz.js";
4
+ } from "./index-a1febb2k.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-s8qyaqs2.js";
7
+ } from "./index-f3x2gsby.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -85,48 +85,48 @@ import {
85
85
  handleWriteRetroCommand,
86
86
  normalizeSwarmCommandInput,
87
87
  resolveCommand
88
- } from "./index-pz2py5v7.js";
89
- import"./index-0a0asz2s.js";
90
- import"./index-vk15nbh4.js";
91
- import"./index-bma2wrqx.js";
92
- import"./index-d4e6wpkg.js";
93
- import"./index-nsr5b69r.js";
88
+ } from "./index-rfph0nhf.js";
89
+ import"./index-w5r84rd1.js";
90
+ import"./index-c9jr4j2q.js";
91
+ import"./index-yxhcy5cm.js";
92
+ import"./index-z5ppkn8y.js";
93
+ import"./index-zkaz3fhw.js";
94
94
  import"./index-134d35c1.js";
95
95
  import"./index-abtrcs16.js";
96
96
  import"./index-y8552snf.js";
97
- import"./index-f17j50dx.js";
98
- import"./index-gxbhp7sx.js";
97
+ import"./index-vmfaafte.js";
98
+ import"./index-jv9xs6mb.js";
99
99
  import"./index-70ha9e09.js";
100
100
  import"./index-c8s9a3zh.js";
101
101
  import"./index-9ss2m4rs.js";
102
102
  import"./index-z9yhhk6q.js";
103
103
  import"./index-5e5a1y2r.js";
104
- import"./index-g3xt1d16.js";
105
- import"./index-q2mvacjr.js";
106
- import"./index-4p3qfb05.js";
104
+ import"./index-vj9bba5k.js";
105
+ import"./index-n4k0pt5f.js";
106
+ import"./index-e1hjd15c.js";
107
107
  import"./index-rtry5xyf.js";
108
108
  import"./index-zsrtt42s.js";
109
109
  import"./index-97psh79d.js";
110
110
  import"./index-e1pxav9g.js";
111
- import"./index-92cxd0r1.js";
112
- import"./index-zsmsy1dh.js";
113
- import"./index-kwxp0z0n.js";
114
- import"./index-fzqhn96z.js";
111
+ import"./index-tj861zhd.js";
112
+ import"./index-cx67qa9g.js";
113
+ import"./index-46cypnz3.js";
114
+ import"./index-p0m03xa6.js";
115
115
  import"./index-556ja8an.js";
116
116
  import"./index-7sy3aa9m.js";
117
117
  import"./index-wx8zdh4a.js";
118
118
  import"./index-3g0xk6tk.js";
119
119
  import"./index-85gkedsf.js";
120
- import"./index-kfmee1cr.js";
121
- import"./index-zd1mfygt.js";
122
- import"./index-jfcgnvg6.js";
120
+ import"./index-42nq97rb.js";
121
+ import"./index-cr90rcg3.js";
122
+ import"./index-y3hmyvt6.js";
123
123
  import"./index-gprxjmm7.js";
124
124
  import"./index-n832052r.js";
125
- import"./index-5qwmpamg.js";
125
+ import"./index-01ybcsa5.js";
126
126
  import {
127
127
  init_schema,
128
128
  stripKnownSwarmPrefix
129
- } from "./index-fay8h6v8.js";
129
+ } from "./index-z9ed68jt.js";
130
130
  import {
131
131
  AGENT_TOOL_MAP,
132
132
  ORCHESTRATOR_NAME,
@@ -139,10 +139,10 @@ import"./index-z6xqpmqg.js";
139
139
  import"./index-zj6t9zgx.js";
140
140
  import"./index-zjygnfay.js";
141
141
  import"./index-ae75rja9.js";
142
- import"./index-x8pm918t.js";
143
- import"./index-j20fzn0w.js";
142
+ import"./index-w0cj7zyd.js";
143
+ import"./index-qbpxrw95.js";
144
144
  import"./index-bk5tah7q.js";
145
- import"./index-kggqpefz.js";
145
+ import"./index-ycgm9pzg.js";
146
146
  import"./index-bghwrr59.js";
147
147
  import"./index-qyvjp0bq.js";
148
148
  import"./index-7g4c7s5r.js";