opencode-swarm 7.148.2 → 7.148.4

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 (64) 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-6danhdcy.js → config-doctor-ycf9ws4p.js} +2 -2
  6. package/dist/cli/{core-0ghwny8q.js → core-a1bhs3xa.js} +1 -1
  7. package/dist/cli/{curation-policy-hkdghd3a.js → curation-policy-fbvctttr.js} +5 -5
  8. package/dist/cli/{curator-wvm7qbkk.js → curator-8y57gq1g.js} +26 -26
  9. package/dist/cli/{curator-llm-factory-6n47j5qn.js → curator-llm-factory-rj4vw5fd.js} +26 -26
  10. package/dist/cli/{evidence-summary-service-0xwrkmf9.js → evidence-summary-service-wkp0gfpd.js} +10 -10
  11. package/dist/cli/{gate-evidence-6e5yhcy6.js → gate-evidence-qty15skw.js} +5 -5
  12. package/dist/cli/{guardrail-explain-tgv7rvap.js → guardrail-explain-2n3ahs0m.js} +27 -27
  13. package/dist/cli/{guardrail-log-k0zk6rbs.js → guardrail-log-bmxrb3r2.js} +3 -3
  14. package/dist/cli/{guardrail-reset-4fw16xmb.js → guardrail-reset-be3sx0am.js} +26 -26
  15. package/dist/cli/{hive-promoter-zemwxxw1.js → hive-promoter-te5d78yt.js} +26 -26
  16. package/dist/cli/{index-x9q0b3a8.js → index-0045n7qe.js} +2 -2
  17. package/dist/cli/{index-7jaq84cg.js → index-1vbmra32.js} +1 -1
  18. package/dist/cli/{index-q6kscnts.js → index-622phhp5.js} +3 -3
  19. package/dist/cli/{index-84ytts36.js → index-6kw1a3bk.js} +4 -4
  20. package/dist/cli/{index-nqwn8sf0.js → index-7rerkeg8.js} +1 -1
  21. package/dist/cli/{index-x4kgn37c.js → index-8djgxw2w.js} +2 -2
  22. package/dist/cli/{index-ndqhtgrc.js → index-8kzrgjt6.js} +1 -1
  23. package/dist/cli/{index-x9jppg8b.js → index-9m8jy3av.js} +2 -2
  24. package/dist/cli/{index-xn7h24x4.js → index-9qzkcmry.js} +3 -3
  25. package/dist/cli/{index-5vyej8pc.js → index-b1c83zf9.js} +5 -5
  26. package/dist/cli/{index-s0nss8c4.js → index-b94487xm.js} +1 -1
  27. package/dist/cli/{index-pzt7ed53.js → index-bccfz7br.js} +4 -4
  28. package/dist/cli/{index-mbcyz77e.js → index-gswx08pr.js} +4 -4
  29. package/dist/cli/{index-hsq8nyen.js → index-hj1xd3pg.js} +265 -83
  30. package/dist/cli/{index-ebt47fnp.js → index-j382eh60.js} +1 -1
  31. package/dist/cli/{index-m5z2fgs4.js → index-k1s8gxjh.js} +1 -1
  32. package/dist/cli/{index-zpn3wqvp.js → index-kg4knw6r.js} +2 -2
  33. package/dist/cli/{index-r9g7ymv2.js → index-nq4tkfpc.js} +1 -1
  34. package/dist/cli/{index-k2ad2vtb.js → index-qbvq3xt2.js} +1 -1
  35. package/dist/cli/{index-3pbvdde0.js → index-qpewzk0q.js} +2 -2
  36. package/dist/cli/{index-2n9rwvcc.js → index-qwmrt51t.js} +1 -1
  37. package/dist/cli/{index-03wz9h63.js → index-rzzwem6x.js} +28 -28
  38. package/dist/cli/{index-s0s1e5jp.js → index-skgeytf6.js} +6 -6
  39. package/dist/cli/{index-wgrvq2bc.js → index-sxtz2d26.js} +6 -6
  40. package/dist/cli/{index-092deqxs.js → index-t25evmna.js} +400 -12
  41. package/dist/cli/{index-2zz8b0rb.js → index-vhefvcta.js} +2 -2
  42. package/dist/cli/{index-rsn4jm90.js → index-vrp2zva8.js} +1 -1
  43. package/dist/cli/{index-nxydm56k.js → index-w00hn0dd.js} +2 -2
  44. package/dist/cli/{index-crpkb5x6.js → index-ye7kpzrk.js} +5 -5
  45. package/dist/cli/{index-mgcffsk0.js → index-yq89bgnz.js} +1 -1
  46. package/dist/cli/index.js +26 -26
  47. package/dist/cli/{knowledge-escalator-rfw35yt1.js → knowledge-escalator-9w53tx55.js} +10 -10
  48. package/dist/cli/{knowledge-events-wmjm5wn6.js → knowledge-events-my31zepa.js} +8 -8
  49. package/dist/cli/{knowledge-link-5dctq0ax.js → knowledge-link-spw879rs.js} +4 -4
  50. package/dist/cli/{knowledge-store-f2ev6s5p.js → knowledge-store-yf59mxp5.js} +5 -5
  51. package/dist/cli/{knowledge-validator-6cmwpx9e.js → knowledge-validator-8n569fp4.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-x1ma7edk.js → scan-cursor-www6dbn8.js} +6 -6
  56. package/dist/cli/{schema-g5ggmb47.js → schema-vyg0k7rh.js} +1 -1
  57. package/dist/cli/{scope-persistence-gt0zpp6a.js → scope-persistence-3qbr019s.js} +6 -6
  58. package/dist/cli/{skill-generator-q6m110d5.js → skill-generator-fh8emssb.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-akwwt8n5.js → worktree-isolation-sbsdx1yj.js} +26 -26
  61. package/dist/hooks/delegation-gate.d.ts +1 -0
  62. package/dist/index.js +16 -15
  63. package/dist/services/status-service.d.ts +55 -3
  64. package/package.json +1 -1
@@ -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,
@@ -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)"
@@ -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,7 +2,7 @@
2
2
  import {
3
3
  redactPath,
4
4
  redactShellCommand
5
- } from "./index-s0nss8c4.js";
5
+ } from "./index-b94487xm.js";
6
6
 
7
7
  // src/services/guardrail-log-service.ts
8
8
  import * as fs from "fs/promises";
@@ -12,14 +12,14 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-hsq8nyen.js";
15
+ } from "./index-hj1xd3pg.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
19
19
  isInDeclaredScope,
20
20
  redactPath,
21
21
  redactShellCommand
22
- } from "./index-s0nss8c4.js";
22
+ } from "./index-b94487xm.js";
23
23
 
24
24
  // src/services/guardrail-explain-service.ts
25
25
  import path from "path";
@@ -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
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-3pbvdde0.js";
4
+ } from "./index-qpewzk0q.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-k2ad2vtb.js";
7
+ } from "./index-qbvq3xt2.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-hsq8nyen.js";
89
- import"./index-ebt47fnp.js";
90
- import"./index-s0nss8c4.js";
91
- import"./index-7jaq84cg.js";
92
- import"./index-5vyej8pc.js";
93
- import"./index-x4kgn37c.js";
88
+ } from "./index-hj1xd3pg.js";
89
+ import"./index-j382eh60.js";
90
+ import"./index-b94487xm.js";
91
+ import"./index-1vbmra32.js";
92
+ import"./index-b1c83zf9.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-crpkb5x6.js";
98
- import"./index-nxydm56k.js";
97
+ import"./index-ye7kpzrk.js";
98
+ import"./index-w00hn0dd.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-pzt7ed53.js";
105
- import"./index-mbcyz77e.js";
106
- import"./index-r9g7ymv2.js";
103
+ import"./index-qwmrt51t.js";
104
+ import"./index-bccfz7br.js";
105
+ import"./index-gswx08pr.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-q6kscnts.js";
112
- import"./index-ndqhtgrc.js";
113
- import"./index-84ytts36.js";
114
- import"./index-x9jppg8b.js";
111
+ import"./index-622phhp5.js";
112
+ import"./index-8kzrgjt6.js";
113
+ import"./index-6kw1a3bk.js";
114
+ import"./index-9m8jy3av.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-wgrvq2bc.js";
121
- import"./index-s0s1e5jp.js";
122
- import"./index-x9q0b3a8.js";
120
+ import"./index-sxtz2d26.js";
121
+ import"./index-skgeytf6.js";
122
+ import"./index-0045n7qe.js";
123
123
  import"./index-gprxjmm7.js";
124
124
  import"./index-n832052r.js";
125
- import"./index-nqwn8sf0.js";
125
+ import"./index-7rerkeg8.js";
126
126
  import {
127
127
  init_schema,
128
128
  stripKnownSwarmPrefix
129
- } from "./index-mgcffsk0.js";
129
+ } from "./index-yq89bgnz.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";
@@ -1,11 +1,11 @@
1
1
  // @bun
2
2
  import {
3
3
  loadPluginConfigWithMeta
4
- } from "./index-nqwn8sf0.js";
4
+ } from "./index-7rerkeg8.js";
5
5
  import {
6
6
  KnowledgeConfigSchema,
7
7
  init_schema
8
- } from "./index-mgcffsk0.js";
8
+ } from "./index-yq89bgnz.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-f2ev6s5p.js");
2696
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-yf59mxp5.js");
2697
2697
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2698
2698
  }
2699
2699
  return {
@@ -6,10 +6,10 @@ import {
6
6
  } from "./index-ae75rja9.js";
7
7
  import {
8
8
  resolveKnowledgeStoreDir
9
- } from "./index-m5z2fgs4.js";
9
+ } from "./index-k1s8gxjh.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-2zz8b0rb.js";
12
+ } from "./index-vhefvcta.js";
13
13
  import {
14
14
  init_knowledge_types,
15
15
  isActiveStatus
@@ -713,7 +713,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
713
713
  const {
714
714
  readAuthoritativeKnowledgeCounterRollups,
715
715
  effectiveRetrievalOutcomes
716
- } = await import("./knowledge-events-wmjm5wn6.js");
716
+ } = await import("./knowledge-events-my31zepa.js");
717
717
  const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
718
718
  const flagIds = new Set;
719
719
  for (const e of atFloor) {
@@ -780,11 +780,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
780
780
  });
781
781
  }
782
782
  if (action === "quarantine" && toQuarantine.length > 0) {
783
- const { quarantineEntry } = await import("./knowledge-validator-6cmwpx9e.js");
784
- const { KnowledgeConfigSchema } = await import("./schema-g5ggmb47.js");
783
+ const { quarantineEntry } = await import("./knowledge-validator-8n569fp4.js");
784
+ const { KnowledgeConfigSchema } = await import("./schema-vyg0k7rh.js");
785
785
  let config;
786
786
  try {
787
- const { loadPluginConfigWithMeta } = await import("./index-xn7h24x4.js");
787
+ const { loadPluginConfigWithMeta } = await import("./index-9qzkcmry.js");
788
788
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
789
789
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
790
790
  } catch {