opencode-swarm 7.148.3 → 7.148.5

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/dist/background/delegation-health.d.ts +100 -0
  2. package/dist/background/pending-delegations.d.ts +97 -0
  3. package/dist/background/queue.d.ts +45 -7
  4. package/dist/background/worker.d.ts +24 -3
  5. package/dist/cli/{config-doctor-q3fw9744.js → config-doctor-6z7x0jnz.js} +2 -2
  6. package/dist/cli/{core-y72nw57z.js → core-0ph6pb2y.js} +1 -1
  7. package/dist/cli/{curation-policy-hkdghd3a.js → curation-policy-fbvctttr.js} +5 -5
  8. package/dist/cli/{curator-llm-factory-sdxsn88r.js → curator-llm-factory-mbsn281q.js} +26 -26
  9. package/dist/cli/{curator-bsr0xx05.js → curator-pffqw3br.js} +26 -26
  10. package/dist/cli/{evidence-summary-service-rk5exnrk.js → evidence-summary-service-9ajw5tpc.js} +10 -10
  11. package/dist/cli/{gate-evidence-cn0dvw8m.js → gate-evidence-wc8wzwaw.js} +5 -5
  12. package/dist/cli/{guardrail-explain-fnnka0vt.js → guardrail-explain-a8706sq1.js} +27 -27
  13. package/dist/cli/{guardrail-log-gsx9kj51.js → guardrail-log-wx43bj32.js} +3 -3
  14. package/dist/cli/{guardrail-reset-kk1rdmm0.js → guardrail-reset-sy0vztrd.js} +26 -26
  15. package/dist/cli/{hive-promoter-w7cr6qym.js → hive-promoter-jvyzykgx.js} +26 -26
  16. package/dist/cli/{index-4aqnb12y.js → index-0yzt06r5.js} +2 -2
  17. package/dist/cli/{index-3vescfdb.js → index-1w5nnyew.js} +6 -6
  18. package/dist/cli/{index-7a41ca8k.js → index-3aev3a0c.js} +1311 -99
  19. package/dist/cli/{index-b0703hjg.js → index-579qg534.js} +1 -1
  20. package/dist/cli/{index-08d3pb9a.js → index-59wqcatm.js} +1 -1
  21. package/dist/cli/{index-fp9d0e6f.js → index-5r2mcgpa.js} +1 -1
  22. package/dist/cli/{index-y8kppv1z.js → index-5zq3892p.js} +1 -1
  23. package/dist/cli/{index-x4kgn37c.js → index-8djgxw2w.js} +2 -2
  24. package/dist/cli/{index-kn36sxj0.js → index-ag9bv589.js} +28 -28
  25. package/dist/cli/{index-et35gcph.js → index-arjq717j.js} +1 -1
  26. package/dist/cli/{index-dh85aep3.js → index-c6jqkx9d.js} +2 -2
  27. package/dist/cli/{index-2d582j6q.js → index-haf092ak.js} +3 -3
  28. package/dist/cli/{index-ebt47fnp.js → index-j382eh60.js} +1 -1
  29. package/dist/cli/{index-xq8eydnk.js → index-jzz52as5.js} +4 -4
  30. package/dist/cli/{index-m5z2fgs4.js → index-k1s8gxjh.js} +1 -1
  31. package/dist/cli/{index-zpn3wqvp.js → index-kg4knw6r.js} +2 -2
  32. package/dist/cli/{index-8w63kj4x.js → index-kj6m9ry3.js} +4 -4
  33. package/dist/cli/{index-dmbvep3q.js → index-ne45ew6z.js} +6 -6
  34. package/dist/cli/{index-r9g7ymv2.js → index-nq4tkfpc.js} +1 -1
  35. package/dist/cli/{index-harsx832.js → index-q7ke7kwd.js} +4 -4
  36. package/dist/cli/{index-hwfs0ze1.js → index-qbsc2btq.js} +3 -3
  37. package/dist/cli/{index-2n9rwvcc.js → index-qwmrt51t.js} +1 -1
  38. package/dist/cli/{index-092deqxs.js → index-t25evmna.js} +400 -12
  39. package/dist/cli/{index-2zz8b0rb.js → index-vhefvcta.js} +2 -2
  40. package/dist/cli/{index-rsn4jm90.js → index-vrp2zva8.js} +1 -1
  41. package/dist/cli/{index-afwwz4py.js → index-vyg5b8ee.js} +5 -5
  42. package/dist/cli/{index-8sz9t8s2.js → index-x3d9asnz.js} +2 -2
  43. package/dist/cli/{index-65jw48eb.js → index-yezd5ks6.js} +1 -1
  44. package/dist/cli/{index-8y79znpe.js → index-zf2vwa7y.js} +2 -2
  45. package/dist/cli/{index-c9xfy8yj.js → index-zhn0q7nf.js} +5 -5
  46. package/dist/cli/index.js +26 -26
  47. package/dist/cli/{knowledge-escalator-jxpz0mv5.js → knowledge-escalator-bvrtfdyb.js} +10 -10
  48. package/dist/cli/{knowledge-events-kjwmc21q.js → knowledge-events-rpvkevbm.js} +8 -8
  49. package/dist/cli/{knowledge-link-5dctq0ax.js → knowledge-link-spw879rs.js} +4 -4
  50. package/dist/cli/{knowledge-store-j9bzs7zx.js → knowledge-store-wjy2kshh.js} +5 -5
  51. package/dist/cli/{knowledge-validator-56w52rwr.js → knowledge-validator-cq2cgfcx.js} +7 -7
  52. package/dist/cli/{pending-delegations-h4gr264y.js → pending-delegations-f4wvyzbf.js} +10 -2
  53. package/dist/cli/{pr-subscriptions-9mg6mwc0.js → pr-subscriptions-f4xw1rxy.js} +2 -2
  54. package/dist/cli/{runner-9g2pcg10.js → runner-rk26nk58.js} +5 -5
  55. package/dist/cli/{scan-cursor-7xbrxm2c.js → scan-cursor-7n0zs72g.js} +6 -6
  56. package/dist/cli/{schema-gcjdpfr9.js → schema-e59spg93.js} +1 -1
  57. package/dist/cli/{scope-persistence-2n9nk833.js → scope-persistence-d75p900m.js} +6 -6
  58. package/dist/cli/{skill-generator-z70bhhx9.js → skill-generator-c65y1h6a.js} +12 -12
  59. package/dist/cli/{worktree-collision-ownership-e0p490vw.js → worktree-collision-ownership-wqy7mgb3.js} +2 -2
  60. package/dist/cli/{worktree-isolation-vg6g00mq.js → worktree-isolation-ay9d58w4.js} +26 -26
  61. package/dist/hooks/delegation-gate.d.ts +1 -0
  62. package/dist/index.js +23 -19
  63. package/dist/sast/rules/javascript-call-classifier.d.ts +4 -0
  64. package/dist/services/status-service.d.ts +55 -3
  65. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  redactPath,
4
4
  redactShellCommand
5
- } from "./index-et35gcph.js";
5
+ } from "./index-arjq717j.js";
6
6
 
7
7
  // src/services/guardrail-log-service.ts
8
8
  import * as fs from "fs/promises";
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  resolveExternalSkillsConfig
9
- } from "./index-65jw48eb.js";
9
+ } from "./index-yezd5ks6.js";
10
10
  import {
11
11
  GIT_BINARY_ENV_VAR,
12
12
  init_git_executable
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  stripKnownSwarmPrefix
9
- } from "./index-65jw48eb.js";
9
+ } from "./index-yezd5ks6.js";
10
10
  import {
11
11
  ALL_AGENT_NAMES,
12
12
  init_constants
@@ -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-2n9nk833.js");
95
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-d75p900m.js");
96
96
  return realWrite(directory, taskId, files);
97
97
  },
98
98
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -9,11 +9,11 @@ import {
9
9
  } from "./index-y8552snf.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-2zz8b0rb.js";
12
+ } from "./index-vhefvcta.js";
13
13
  import {
14
14
  assertProjectRoot,
15
15
  withEvidenceLock
16
- } from "./index-rsn4jm90.js";
16
+ } from "./index-vrp2zva8.js";
17
17
  import {
18
18
  exports_external,
19
19
  init_zod
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-4aqnb12y.js";
4
+ } from "./index-0yzt06r5.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-b0703hjg.js";
7
+ } from "./index-579qg534.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-7a41ca8k.js";
89
- import"./index-ebt47fnp.js";
90
- import"./index-et35gcph.js";
91
- import"./index-fp9d0e6f.js";
92
- import"./index-c9xfy8yj.js";
93
- import"./index-x4kgn37c.js";
88
+ } from "./index-3aev3a0c.js";
89
+ import"./index-j382eh60.js";
90
+ import"./index-arjq717j.js";
91
+ import"./index-5r2mcgpa.js";
92
+ import"./index-zhn0q7nf.js";
93
+ import"./index-8djgxw2w.js";
94
94
  import"./index-134d35c1.js";
95
95
  import"./index-nj6rmyeh.js";
96
96
  import"./index-y8552snf.js";
97
- import"./index-afwwz4py.js";
98
- import"./index-8y79znpe.js";
97
+ import"./index-vyg5b8ee.js";
98
+ import"./index-zf2vwa7y.js";
99
99
  import"./index-70ha9e09.js";
100
100
  import"./index-c8s9a3zh.js";
101
101
  import"./index-9ss2m4rs.js";
102
102
  import"./index-g8wwj0sz.js";
103
- import"./index-2n9rwvcc.js";
104
- import"./index-xq8eydnk.js";
105
- import"./index-8w63kj4x.js";
106
- import"./index-r9g7ymv2.js";
103
+ import"./index-qwmrt51t.js";
104
+ import"./index-jzz52as5.js";
105
+ import"./index-kj6m9ry3.js";
106
+ import"./index-nq4tkfpc.js";
107
107
  import"./index-rtry5xyf.js";
108
108
  import"./index-zsrtt42s.js";
109
- import"./index-092deqxs.js";
109
+ import"./index-t25evmna.js";
110
110
  import"./index-fxvgaeq4.js";
111
- import"./index-2d582j6q.js";
112
- import"./index-y8kppv1z.js";
113
- import"./index-harsx832.js";
114
- import"./index-8sz9t8s2.js";
111
+ import"./index-haf092ak.js";
112
+ import"./index-5zq3892p.js";
113
+ import"./index-q7ke7kwd.js";
114
+ import"./index-x3d9asnz.js";
115
115
  import"./index-556ja8an.js";
116
116
  import"./index-b43rt5ph.js";
117
117
  import"./index-q7sjgr1y.js";
118
118
  import"./index-3g0xk6tk.js";
119
119
  import"./index-85gkedsf.js";
120
- import"./index-3vescfdb.js";
121
- import"./index-dmbvep3q.js";
122
- import"./index-dh85aep3.js";
120
+ import"./index-1w5nnyew.js";
121
+ import"./index-ne45ew6z.js";
122
+ import"./index-c6jqkx9d.js";
123
123
  import"./index-gprxjmm7.js";
124
124
  import"./index-n832052r.js";
125
- import"./index-08d3pb9a.js";
125
+ import"./index-59wqcatm.js";
126
126
  import {
127
127
  init_schema,
128
128
  stripKnownSwarmPrefix
129
- } from "./index-65jw48eb.js";
129
+ } from "./index-yezd5ks6.js";
130
130
  import {
131
131
  AGENT_TOOL_MAP,
132
132
  ORCHESTRATOR_NAME,
@@ -139,11 +139,11 @@ import"./index-z6xqpmqg.js";
139
139
  import"./index-r3mvsbtq.js";
140
140
  import"./index-zjygnfay.js";
141
141
  import"./index-ae75rja9.js";
142
- import"./index-m5z2fgs4.js";
143
- import"./index-2zz8b0rb.js";
142
+ import"./index-k1s8gxjh.js";
143
+ import"./index-vhefvcta.js";
144
144
  import"./index-bk5tah7q.js";
145
- import"./index-zpn3wqvp.js";
146
- import"./index-rsn4jm90.js";
145
+ import"./index-kg4knw6r.js";
146
+ import"./index-vrp2zva8.js";
147
147
  import"./index-ghbkknjz.js";
148
148
  import"./index-7g4c7s5r.js";
149
149
  import"./index-bpmtbmy9.js";
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  init_schema,
13
13
  stripKnownSwarmPrefix
14
- } from "./index-65jw48eb.js";
14
+ } from "./index-yezd5ks6.js";
15
15
  import {
16
16
  init_constants
17
17
  } from "./index-cpg98bh1.js";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-08d3pb9a.js";
5
+ } from "./index-59wqcatm.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-65jw48eb.js";
8
+ } from "./index-yezd5ks6.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  autoCommitDirty,
4
4
  cleanUntrackedFiles
5
- } from "./index-y8kppv1z.js";
5
+ } from "./index-5zq3892p.js";
6
6
  import {
7
7
  isPathWithinDeclaredScope,
8
8
  unsafePathTextReason
@@ -26,10 +26,10 @@ import {
26
26
  atomicWriteFile,
27
27
  taskEvidencePath,
28
28
  withTaskEvidenceLock
29
- } from "./index-2zz8b0rb.js";
29
+ } from "./index-vhefvcta.js";
30
30
  import {
31
31
  assertProjectRoot
32
- } from "./index-rsn4jm90.js";
32
+ } from "./index-vrp2zva8.js";
33
33
  import {
34
34
  telemetry
35
35
  } from "./index-ghbkknjz.js";
@@ -9,7 +9,7 @@ import {
9
9
  readEvaluationRun,
10
10
  saveEvaluationRun,
11
11
  saveTaskSetSnapshot
12
- } from "./index-x4kgn37c.js";
12
+ } from "./index-8djgxw2w.js";
13
13
  import {
14
14
  canonicalHash,
15
15
  computeCandidateInputContentHash,
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-8w63kj4x.js";
5
+ } from "./index-kj6m9ry3.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-3vescfdb.js";
15
+ } from "./index-1w5nnyew.js";
16
16
  import {
17
17
  effectiveRetrievalOutcomes,
18
18
  readAuthoritativeKnowledgeCounterRollups
19
- } from "./index-dmbvep3q.js";
19
+ } from "./index-ne45ew6z.js";
20
20
  import {
21
21
  advisoryWarn,
22
22
  init_warning_buffer
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  atomicWriteFileAnyRoot,
30
30
  atomicWriteSwarmFile
31
- } from "./index-zpn3wqvp.js";
31
+ } from "./index-kg4knw6r.js";
32
32
  import {
33
33
  init_logger,
34
34
  log,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteFile
4
- } from "./index-2zz8b0rb.js";
4
+ } from "./index-vhefvcta.js";
5
5
  import {
6
6
  init_logger,
7
7
  warn
@@ -123,8 +123,8 @@ var SWARM_TEMP_GRAMMARS = [
123
123
  "src/tools/spec-write.ts:98",
124
124
  "src/sdd/effective-spec.ts:1149",
125
125
  "src/background/lane-output-store.ts:353",
126
- "src/background/pending-delegations.ts:924",
127
- "src/background/delegation-health.ts:300",
126
+ "src/background/pending-delegations.ts:982",
127
+ "src/background/delegation-health.ts:390",
128
128
  "src/hooks/delegation-gate/worktree-provisioning-owner.ts:100",
129
129
  "src/tools/submit-phase-council-verdicts.ts:458",
130
130
  "src/summaries/store.ts:46 (pre-#2035)"
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-r9g7ymv2.js";
4
+ } from "./index-nq4tkfpc.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-3vescfdb.js";
12
+ } from "./index-1w5nnyew.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-m5z2fgs4.js";
15
+ } from "./index-k1s8gxjh.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-2zz8b0rb.js";
18
+ } from "./index-vhefvcta.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";
@@ -1,11 +1,11 @@
1
1
  // @bun
2
2
  import {
3
3
  loadPluginConfigWithMeta
4
- } from "./index-08d3pb9a.js";
4
+ } from "./index-59wqcatm.js";
5
5
  import {
6
6
  KnowledgeConfigSchema,
7
7
  init_schema
8
- } from "./index-65jw48eb.js";
8
+ } from "./index-yezd5ks6.js";
9
9
  import {
10
10
  validateSwarmPath
11
11
  } from "./index-4cgee5vh.js";
@@ -14,13 +14,13 @@ import {
14
14
  } from "./index-ae75rja9.js";
15
15
  import {
16
16
  resolveKnowledgeStoreDir
17
- } from "./index-m5z2fgs4.js";
17
+ } from "./index-k1s8gxjh.js";
18
18
  import {
19
19
  atomicWriteFile
20
- } from "./index-2zz8b0rb.js";
20
+ } from "./index-vhefvcta.js";
21
21
  import {
22
22
  assertProjectRoot
23
- } from "./index-rsn4jm90.js";
23
+ } from "./index-vrp2zva8.js";
24
24
  import {
25
25
  emit
26
26
  } from "./index-ghbkknjz.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-j9bzs7zx.js");
2696
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-wjy2kshh.js");
2697
2697
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2698
2698
  }
2699
2699
  return {
@@ -7,7 +7,7 @@ import {
7
7
  readLinkPointer,
8
8
  resolveKnowledgeStoreDir,
9
9
  resolveLinkDir
10
- } from "./index-m5z2fgs4.js";
10
+ } from "./index-k1s8gxjh.js";
11
11
 
12
12
  // src/knowledge/curation-policy.ts
13
13
  import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
@@ -2,23 +2,23 @@
2
2
  import {
3
3
  computePlanStructureHash,
4
4
  derivePlanId
5
- } from "./index-8sz9t8s2.js";
5
+ } from "./index-x3d9asnz.js";
6
6
  import {
7
7
  unsafePathTextReason
8
8
  } from "./index-556ja8an.js";
9
9
  import {
10
10
  PlanSchema
11
- } from "./index-08d3pb9a.js";
11
+ } from "./index-59wqcatm.js";
12
12
  import {
13
13
  validateSwarmPath
14
14
  } from "./index-4cgee5vh.js";
15
15
  import {
16
16
  atomicWriteSwarmFile,
17
17
  atomicWriteSwarmFileSync
18
- } from "./index-zpn3wqvp.js";
18
+ } from "./index-kg4knw6r.js";
19
19
  import {
20
20
  assertProjectRoot
21
- } from "./index-rsn4jm90.js";
21
+ } from "./index-vrp2zva8.js";
22
22
  import {
23
23
  require_proper_lockfile
24
24
  } from "./index-7g4c7s5r.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-dh85aep3.js";
5
+ } from "./index-c6jqkx9d.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-08d3pb9a.js";
45
+ } from "./index-59wqcatm.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-65jw48eb.js";
67
+ } from "./index-yezd5ks6.js";
68
68
  import {
69
69
  ALL_AGENT_NAMES,
70
70
  ALL_SUBAGENT_NAMES,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-4cgee5vh.js";
5
5
  import {
6
6
  withEvidenceLock
7
- } from "./index-rsn4jm90.js";
7
+ } from "./index-vrp2zva8.js";
8
8
  import {
9
9
  exports_external,
10
10
  init_zod