opencode-swarm 7.143.2 → 7.143.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 (49) hide show
  1. package/dist/cli/{config-doctor-xadt4kv5.js → config-doctor-az6nqawx.js} +2 -2
  2. package/dist/cli/{core-vpefadja.js → core-a6rzajem.js} +1 -1
  3. package/dist/cli/{curator-llm-factory-xjw5j2jj.js → curator-llm-factory-j42j5rcr.js} +17 -17
  4. package/dist/cli/{curator-wahbxxw9.js → curator-tbw9przg.js} +17 -17
  5. package/dist/cli/{evidence-summary-service-m0jes2yb.js → evidence-summary-service-3f319cst.js} +6 -6
  6. package/dist/cli/{gate-evidence-sf9hbhm0.js → gate-evidence-k2yycngf.js} +2 -2
  7. package/dist/cli/{guardrail-explain-9vdjkz5x.js → guardrail-explain-tsgsw91f.js} +18 -18
  8. package/dist/cli/{guardrail-log-xr0cv07v.js → guardrail-log-70cxb3va.js} +3 -3
  9. package/dist/cli/{hive-promoter-ften3m3h.js → hive-promoter-nksqxfs4.js} +17 -17
  10. package/dist/cli/{index-6hwedxn7.js → index-19wyta2k.js} +3 -3
  11. package/dist/cli/{index-fq0b44vq.js → index-5qqyvwqw.js} +4 -4
  12. package/dist/cli/{index-8hxbjgyk.js → index-6htwcbxh.js} +1 -1
  13. package/dist/cli/{index-je3jmcc1.js → index-8fq18k02.js} +3 -3
  14. package/dist/cli/{index-kjgma6hg.js → index-8qmnqd6g.js} +1 -1
  15. package/dist/cli/{index-x0ja3n3g.js → index-9m5gz9ea.js} +2 -2
  16. package/dist/cli/{index-xacfcpyn.js → index-bt47jrhx.js} +2 -2
  17. package/dist/cli/{index-jvbqryky.js → index-c9d5y70c.js} +3 -3
  18. package/dist/cli/{index-2pxq133w.js → index-dmtq7tvd.js} +1 -1
  19. package/dist/cli/{index-qswsp6s3.js → index-f39n8pbr.js} +1 -1
  20. package/dist/cli/{index-7e91cs99.js → index-f3xf9dv5.js} +5 -5
  21. package/dist/cli/{index-nvt1152n.js → index-gbr0jbxy.js} +1 -1
  22. package/dist/cli/{index-6f80e8r5.js → index-gz3z9d64.js} +179 -122
  23. package/dist/cli/{index-yr997mhn.js → index-ja15rdzd.js} +1 -1
  24. package/dist/cli/{index-r0j1sh38.js → index-jmgm1npc.js} +1 -1
  25. package/dist/cli/{index-h5fmwg5b.js → index-mewk624g.js} +19 -19
  26. package/dist/cli/{index-kc9tfc7e.js → index-seedt8m3.js} +3 -3
  27. package/dist/cli/{index-700yppfy.js → index-td2ga37v.js} +1 -1
  28. package/dist/cli/{index-4g1bnzma.js → index-v9qmhrj9.js} +2 -2
  29. package/dist/cli/{index-yw4atzww.js → index-z0j133c4.js} +1 -1
  30. package/dist/cli/{index-6q3wx600.js → index-z4g05zbr.js} +1 -1
  31. package/dist/cli/index.js +17 -17
  32. package/dist/cli/{knowledge-escalator-9xesv2xx.js → knowledge-escalator-8akk4n18.js} +6 -6
  33. package/dist/cli/{knowledge-events-s8nvbdyk.js → knowledge-events-51qk8fq2.js} +4 -4
  34. package/dist/cli/{knowledge-store-2zt0b10b.js → knowledge-store-7rsezhav.js} +1 -1
  35. package/dist/cli/{knowledge-validator-nt955tw0.js → knowledge-validator-nq75s9et.js} +2 -2
  36. package/dist/cli/{scan-cursor-emrg35t0.js → scan-cursor-em4vrcw6.js} +2 -2
  37. package/dist/cli/{schema-tpbz8f0x.js → schema-1wmfgtm9.js} +1 -1
  38. package/dist/cli/{scope-persistence-1hf839ys.js → scope-persistence-8ehnjgsg.js} +4 -4
  39. package/dist/cli/{skill-generator-fja22m4q.js → skill-generator-3jstr1sx.js} +7 -7
  40. package/dist/cli/{worktree-isolation-gnqvy10j.js → worktree-isolation-cc3x13ng.js} +17 -17
  41. package/dist/commands/registry.d.ts +2 -2
  42. package/dist/hooks/review-receipt-collector.d.ts +1 -0
  43. package/dist/index.d.ts +6 -1
  44. package/dist/index.js +77 -69
  45. package/dist/session/snapshot-reader.d.ts +11 -0
  46. package/dist/session/snapshot-writer.d.ts +12 -0
  47. package/dist/state.d.ts +4 -3
  48. package/dist/tools/dispatch-lanes.d.ts +1 -0
  49. package/package.json +1 -1
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  stripKnownSwarmPrefix
9
- } from "./index-6q3wx600.js";
9
+ } from "./index-z4g05zbr.js";
10
10
  import {
11
11
  ALL_AGENT_NAMES,
12
12
  init_constants
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  redactPath,
4
4
  redactShellCommand
5
- } from "./index-8hxbjgyk.js";
5
+ } from "./index-6htwcbxh.js";
6
6
 
7
7
  // src/services/guardrail-log-service.ts
8
8
  import * as fs from "fs/promises";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-xacfcpyn.js";
4
+ } from "./index-bt47jrhx.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-r0j1sh38.js";
7
+ } from "./index-jmgm1npc.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -84,44 +84,44 @@ import {
84
84
  handleWriteRetroCommand,
85
85
  normalizeSwarmCommandInput,
86
86
  resolveCommand
87
- } from "./index-6f80e8r5.js";
88
- import"./index-8hxbjgyk.js";
89
- import"./index-yr997mhn.js";
90
- import"./index-jvbqryky.js";
87
+ } from "./index-gz3z9d64.js";
88
+ import"./index-6htwcbxh.js";
89
+ import"./index-ja15rdzd.js";
90
+ import"./index-c9d5y70c.js";
91
91
  import"./index-134d35c1.js";
92
92
  import"./index-b6e016tv.js";
93
93
  import"./index-4q9vfav6.js";
94
94
  import"./index-k92cagmt.js";
95
95
  import"./index-y8552snf.js";
96
- import"./index-2pxq133w.js";
96
+ import"./index-dmtq7tvd.js";
97
97
  import"./index-xmzmeknp.js";
98
98
  import"./index-c8s9a3zh.js";
99
99
  import"./index-9ss2m4rs.js";
100
- import"./index-700yppfy.js";
100
+ import"./index-td2ga37v.js";
101
101
  import"./index-74hpm6sh.js";
102
- import"./index-6hwedxn7.js";
103
- import"./index-7e91cs99.js";
104
- import"./index-4g1bnzma.js";
105
- import"./index-kjgma6hg.js";
102
+ import"./index-19wyta2k.js";
103
+ import"./index-f3xf9dv5.js";
104
+ import"./index-v9qmhrj9.js";
105
+ import"./index-8qmnqd6g.js";
106
106
  import"./index-556ja8an.js";
107
107
  import"./index-gdd4jt6b.js";
108
108
  import"./index-zsrtt42s.js";
109
109
  import"./index-k3cxyk66.js";
110
110
  import"./index-8aabbfhv.js";
111
- import"./index-nvt1152n.js";
111
+ import"./index-gbr0jbxy.js";
112
112
  import"./index-8fwhhayc.js";
113
113
  import"./index-q1exe2b3.js";
114
114
  import"./index-7sy3aa9m.js";
115
115
  import"./index-4905hd2m.js";
116
- import"./index-je3jmcc1.js";
117
- import"./index-x0ja3n3g.js";
116
+ import"./index-8fq18k02.js";
117
+ import"./index-9m5gz9ea.js";
118
118
  import"./index-gprxjmm7.js";
119
119
  import"./index-n832052r.js";
120
- import"./index-qswsp6s3.js";
120
+ import"./index-f39n8pbr.js";
121
121
  import {
122
122
  init_schema,
123
123
  stripKnownSwarmPrefix
124
- } from "./index-6q3wx600.js";
124
+ } from "./index-z4g05zbr.js";
125
125
  import"./index-rn0eq85g.js";
126
126
  import"./index-4rhhvd1a.js";
127
127
  import {
@@ -131,10 +131,10 @@ import {
131
131
  } from "./index-jqsfsqbx.js";
132
132
  import"./index-z6xqpmqg.js";
133
133
  import"./index-zjygnfay.js";
134
- import"./index-yw4atzww.js";
134
+ import"./index-z0j133c4.js";
135
135
  import"./index-tq5s07ta.js";
136
136
  import"./index-rtry5xyf.js";
137
- import"./index-fq0b44vq.js";
137
+ import"./index-5qqyvwqw.js";
138
138
  import"./index-ae75rja9.js";
139
139
  import"./index-w7x7qxz2.js";
140
140
  import"./index-erfnw81g.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-x0ja3n3g.js";
5
+ } from "./index-9m5gz9ea.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-qswsp6s3.js";
45
+ } from "./index-f39n8pbr.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-6q3wx600.js";
67
+ } from "./index-z4g05zbr.js";
68
68
  import"./index-4rhhvd1a.js";
69
69
  import {
70
70
  ALL_AGENT_NAMES,
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  autoCommitDirty,
8
8
  cleanUntrackedFiles
9
- } from "./index-nvt1152n.js";
9
+ } from "./index-gbr0jbxy.js";
10
10
  import {
11
11
  validateSwarmPath
12
12
  } from "./index-rn0eq85g.js";
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  computePlanStructureHash,
4
4
  derivePlanId
5
- } from "./index-kjgma6hg.js";
5
+ } from "./index-8qmnqd6g.js";
6
6
  import {
7
7
  unsafePathTextReason
8
8
  } from "./index-556ja8an.js";
9
9
  import {
10
10
  PlanSchema
11
- } from "./index-qswsp6s3.js";
11
+ } from "./index-f39n8pbr.js";
12
12
  import {
13
13
  assertProjectRoot
14
14
  } from "./index-k31en0ja.js";
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-fq0b44vq.js";
12
+ } from "./index-5qqyvwqw.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-w7x7qxz2.js";
@@ -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.143.2",
24
+ version: "7.143.4",
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",
package/dist/cli/index.js CHANGED
@@ -7,44 +7,44 @@ import {
7
7
  getPluginConfigDir,
8
8
  getPluginLockFilePaths,
9
9
  resolveCommand
10
- } from "./index-6f80e8r5.js";
11
- import"./index-8hxbjgyk.js";
12
- import"./index-yr997mhn.js";
13
- import"./index-jvbqryky.js";
10
+ } from "./index-gz3z9d64.js";
11
+ import"./index-6htwcbxh.js";
12
+ import"./index-ja15rdzd.js";
13
+ import"./index-c9d5y70c.js";
14
14
  import"./index-134d35c1.js";
15
15
  import"./index-b6e016tv.js";
16
16
  import"./index-4q9vfav6.js";
17
17
  import"./index-k92cagmt.js";
18
18
  import"./index-y8552snf.js";
19
- import"./index-2pxq133w.js";
19
+ import"./index-dmtq7tvd.js";
20
20
  import"./index-xmzmeknp.js";
21
21
  import"./index-c8s9a3zh.js";
22
22
  import"./index-9ss2m4rs.js";
23
- import"./index-700yppfy.js";
23
+ import"./index-td2ga37v.js";
24
24
  import"./index-74hpm6sh.js";
25
- import"./index-6hwedxn7.js";
26
- import"./index-7e91cs99.js";
27
- import"./index-4g1bnzma.js";
28
- import"./index-kjgma6hg.js";
25
+ import"./index-19wyta2k.js";
26
+ import"./index-f3xf9dv5.js";
27
+ import"./index-v9qmhrj9.js";
28
+ import"./index-8qmnqd6g.js";
29
29
  import"./index-556ja8an.js";
30
30
  import"./index-gdd4jt6b.js";
31
31
  import"./index-zsrtt42s.js";
32
32
  import"./index-k3cxyk66.js";
33
33
  import"./index-8aabbfhv.js";
34
- import"./index-nvt1152n.js";
34
+ import"./index-gbr0jbxy.js";
35
35
  import"./index-8fwhhayc.js";
36
36
  import"./index-q1exe2b3.js";
37
37
  import"./index-7sy3aa9m.js";
38
38
  import"./index-4905hd2m.js";
39
- import"./index-je3jmcc1.js";
40
- import"./index-x0ja3n3g.js";
39
+ import"./index-8fq18k02.js";
40
+ import"./index-9m5gz9ea.js";
41
41
  import"./index-gprxjmm7.js";
42
42
  import"./index-n832052r.js";
43
- import"./index-qswsp6s3.js";
43
+ import"./index-f39n8pbr.js";
44
44
  import {
45
45
  init_package,
46
46
  package_default
47
- } from "./index-6q3wx600.js";
47
+ } from "./index-z4g05zbr.js";
48
48
  import"./index-rn0eq85g.js";
49
49
  import"./index-4rhhvd1a.js";
50
50
  import {
@@ -53,10 +53,10 @@ import {
53
53
  } from "./index-jqsfsqbx.js";
54
54
  import"./index-z6xqpmqg.js";
55
55
  import"./index-zjygnfay.js";
56
- import"./index-yw4atzww.js";
56
+ import"./index-z0j133c4.js";
57
57
  import"./index-tq5s07ta.js";
58
58
  import"./index-rtry5xyf.js";
59
- import"./index-fq0b44vq.js";
59
+ import"./index-5qqyvwqw.js";
60
60
  import"./index-ae75rja9.js";
61
61
  import"./index-w7x7qxz2.js";
62
62
  import"./index-erfnw81g.js";
@@ -9,19 +9,19 @@ import {
9
9
  maybeEscalateOnViolation,
10
10
  maybeQuarantineOnContradiction,
11
11
  readRecentEscalations
12
- } from "./index-7e91cs99.js";
13
- import"./index-je3jmcc1.js";
14
- import"./index-x0ja3n3g.js";
12
+ } from "./index-f3xf9dv5.js";
13
+ import"./index-8fq18k02.js";
14
+ import"./index-9m5gz9ea.js";
15
15
  import"./index-gprxjmm7.js";
16
16
  import"./index-n832052r.js";
17
- import"./index-qswsp6s3.js";
18
- import"./index-6q3wx600.js";
17
+ import"./index-f39n8pbr.js";
18
+ import"./index-z4g05zbr.js";
19
19
  import"./index-rn0eq85g.js";
20
20
  import"./index-4rhhvd1a.js";
21
21
  import"./index-jqsfsqbx.js";
22
22
  import"./index-z6xqpmqg.js";
23
23
  import"./index-zjygnfay.js";
24
- import"./index-fq0b44vq.js";
24
+ import"./index-5qqyvwqw.js";
25
25
  import"./index-ae75rja9.js";
26
26
  import"./index-w7x7qxz2.js";
27
27
  import"./index-erfnw81g.js";
@@ -29,12 +29,12 @@ import {
29
29
  resolveKnowledgeCounterBaselinePath,
30
30
  resolveKnowledgeEventsPath,
31
31
  resolveLegacyApplicationLogPath
32
- } from "./index-je3jmcc1.js";
33
- import"./index-x0ja3n3g.js";
32
+ } from "./index-8fq18k02.js";
33
+ import"./index-9m5gz9ea.js";
34
34
  import"./index-gprxjmm7.js";
35
35
  import"./index-n832052r.js";
36
- import"./index-qswsp6s3.js";
37
- import"./index-6q3wx600.js";
36
+ import"./index-f39n8pbr.js";
37
+ import"./index-z4g05zbr.js";
38
38
  import"./index-rn0eq85g.js";
39
39
  import"./index-4rhhvd1a.js";
40
40
  import"./index-jqsfsqbx.js";
@@ -41,7 +41,7 @@ import {
41
41
  transactKnowledge,
42
42
  transactKnowledgeWithCas,
43
43
  wordBigrams
44
- } from "./index-fq0b44vq.js";
44
+ } from "./index-5qqyvwqw.js";
45
45
  import {
46
46
  resolveHiveDataDir
47
47
  } from "./index-ae75rja9.js";
@@ -23,10 +23,10 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-yw4atzww.js";
26
+ } from "./index-z0j133c4.js";
27
27
  import"./index-tq5s07ta.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-fq0b44vq.js";
29
+ import"./index-5qqyvwqw.js";
30
30
  import"./index-ae75rja9.js";
31
31
  import"./index-w7x7qxz2.js";
32
32
  import"./index-erfnw81g.js";
@@ -4,8 +4,8 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-2pxq133w.js";
8
- import"./index-fq0b44vq.js";
7
+ } from "./index-dmtq7tvd.js";
8
+ import"./index-5qqyvwqw.js";
9
9
  import"./index-ae75rja9.js";
10
10
  import"./index-w7x7qxz2.js";
11
11
  import"./index-erfnw81g.js";
@@ -96,7 +96,7 @@ import {
96
96
  resolveGeneratedAgentRole,
97
97
  resolveGuardrailsConfig,
98
98
  stripKnownSwarmPrefix
99
- } from "./index-6q3wx600.js";
99
+ } from "./index-z4g05zbr.js";
100
100
  import"./index-jqsfsqbx.js";
101
101
  import"./index-zjygnfay.js";
102
102
  import"./index-bk5tah7q.js";
@@ -23,11 +23,11 @@ import {
23
23
  tombstoneScopeBinding,
24
24
  writeScopeBindingToDisk,
25
25
  writeScopeToDisk
26
- } from "./index-4g1bnzma.js";
27
- import"./index-kjgma6hg.js";
26
+ } from "./index-v9qmhrj9.js";
27
+ import"./index-8qmnqd6g.js";
28
28
  import"./index-556ja8an.js";
29
- import"./index-qswsp6s3.js";
30
- import"./index-6q3wx600.js";
29
+ import"./index-f39n8pbr.js";
30
+ import"./index-z4g05zbr.js";
31
31
  import"./index-4rhhvd1a.js";
32
32
  import"./index-jqsfsqbx.js";
33
33
  import"./index-zjygnfay.js";
@@ -33,22 +33,22 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-6hwedxn7.js";
37
- import"./index-je3jmcc1.js";
38
- import"./index-x0ja3n3g.js";
36
+ } from "./index-19wyta2k.js";
37
+ import"./index-8fq18k02.js";
38
+ import"./index-9m5gz9ea.js";
39
39
  import"./index-gprxjmm7.js";
40
40
  import"./index-n832052r.js";
41
- import"./index-qswsp6s3.js";
42
- import"./index-6q3wx600.js";
41
+ import"./index-f39n8pbr.js";
42
+ import"./index-z4g05zbr.js";
43
43
  import"./index-rn0eq85g.js";
44
44
  import"./index-4rhhvd1a.js";
45
45
  import"./index-jqsfsqbx.js";
46
46
  import"./index-z6xqpmqg.js";
47
47
  import"./index-zjygnfay.js";
48
- import"./index-yw4atzww.js";
48
+ import"./index-z0j133c4.js";
49
49
  import"./index-tq5s07ta.js";
50
50
  import"./index-rtry5xyf.js";
51
- import"./index-fq0b44vq.js";
51
+ import"./index-5qqyvwqw.js";
52
52
  import"./index-ae75rja9.js";
53
53
  import"./index-w7x7qxz2.js";
54
54
  import"./index-erfnw81g.js";
@@ -20,52 +20,52 @@ import {
20
20
  sanitizeWorktreeTaskId,
21
21
  standardWorktreeByCallID,
22
22
  standardWorktreeSerializationSessions
23
- } from "./index-6f80e8r5.js";
24
- import"./index-8hxbjgyk.js";
25
- import"./index-yr997mhn.js";
26
- import"./index-jvbqryky.js";
23
+ } from "./index-gz3z9d64.js";
24
+ import"./index-6htwcbxh.js";
25
+ import"./index-ja15rdzd.js";
26
+ import"./index-c9d5y70c.js";
27
27
  import"./index-134d35c1.js";
28
28
  import"./index-b6e016tv.js";
29
29
  import"./index-4q9vfav6.js";
30
30
  import"./index-k92cagmt.js";
31
31
  import"./index-y8552snf.js";
32
- import"./index-2pxq133w.js";
32
+ import"./index-dmtq7tvd.js";
33
33
  import"./index-xmzmeknp.js";
34
34
  import"./index-c8s9a3zh.js";
35
35
  import"./index-9ss2m4rs.js";
36
- import"./index-700yppfy.js";
36
+ import"./index-td2ga37v.js";
37
37
  import"./index-74hpm6sh.js";
38
- import"./index-6hwedxn7.js";
39
- import"./index-7e91cs99.js";
40
- import"./index-4g1bnzma.js";
41
- import"./index-kjgma6hg.js";
38
+ import"./index-19wyta2k.js";
39
+ import"./index-f3xf9dv5.js";
40
+ import"./index-v9qmhrj9.js";
41
+ import"./index-8qmnqd6g.js";
42
42
  import"./index-556ja8an.js";
43
43
  import"./index-gdd4jt6b.js";
44
44
  import"./index-zsrtt42s.js";
45
45
  import"./index-k3cxyk66.js";
46
46
  import"./index-8aabbfhv.js";
47
- import"./index-nvt1152n.js";
47
+ import"./index-gbr0jbxy.js";
48
48
  import"./index-8fwhhayc.js";
49
49
  import"./index-q1exe2b3.js";
50
50
  import"./index-7sy3aa9m.js";
51
51
  import"./index-4905hd2m.js";
52
- import"./index-je3jmcc1.js";
52
+ import"./index-8fq18k02.js";
53
53
  import {
54
54
  resolveWorktreeIsolationConfig
55
- } from "./index-x0ja3n3g.js";
55
+ } from "./index-9m5gz9ea.js";
56
56
  import"./index-gprxjmm7.js";
57
57
  import"./index-n832052r.js";
58
- import"./index-qswsp6s3.js";
59
- import"./index-6q3wx600.js";
58
+ import"./index-f39n8pbr.js";
59
+ import"./index-z4g05zbr.js";
60
60
  import"./index-rn0eq85g.js";
61
61
  import"./index-4rhhvd1a.js";
62
62
  import"./index-jqsfsqbx.js";
63
63
  import"./index-z6xqpmqg.js";
64
64
  import"./index-zjygnfay.js";
65
- import"./index-yw4atzww.js";
65
+ import"./index-z0j133c4.js";
66
66
  import"./index-tq5s07ta.js";
67
67
  import"./index-rtry5xyf.js";
68
- import"./index-fq0b44vq.js";
68
+ import"./index-5qqyvwqw.js";
69
69
  import"./index-ae75rja9.js";
70
70
  import"./index-w7x7qxz2.js";
71
71
  import"./index-erfnw81g.js";
@@ -483,7 +483,7 @@ export declare const COMMAND_REGISTRY: {
483
483
  readonly finalize: {
484
484
  readonly handler: (ctx: CommandContext) => Promise<string>;
485
485
  readonly description: "Use /swarm finalize to finalize the swarm project and archive evidence";
486
- readonly details: "Idempotent 4-stage terminal finalization: (1) finalize writes retrospectives for in-progress phases, (2) archive creates timestamped bundle of swarm artifacts and evidence, (3) clean removes active-state files for a clean slate, (4) align performs aggressive git reset --hard to the default remote branch, discarding uncommitted changes and gitignored build artifacts (user-created untracked files are preserved); falls back to a cautious reset that preserves uncommitted changes when the aggressive path cannot proceed. WARNING: alignment discards local changes and gitignored files. Resets agent sessions and delegation chains. Reads .swarm/close-lessons.md for explicit lessons and runs curation. Use --skill-review to run the quota-bounded skill_improver in proposal mode. Use --dry-run to preview what finalize would archive, clean, and align without taking the lock or changing anything.";
486
+ readonly details: "Idempotent 4-stage terminal finalization: (1) finalize writes retrospectives for in-progress phases, (2) archive creates timestamped bundle of swarm artifacts and evidence, (3) clean removes active-state files for a clean slate, (4) align performs aggressive git reset --hard to the default remote branch, discarding uncommitted changes and gitignored build artifacts (user-created untracked files are preserved); falls back to a cautious reset that preserves uncommitted changes when the aggressive path cannot proceed. WARNING: alignment discards local changes and gitignored files. Resets agent sessions, delegation chains, and active-agent mappings. Reads .swarm/close-lessons.md for explicit lessons and runs curation. Use --skill-review to run the quota-bounded skill_improver in proposal mode. Use --dry-run to preview what finalize would archive, clean, and align without taking the lock or changing anything.";
487
487
  readonly args: "--prune-branches, --skill-review, --dry-run";
488
488
  readonly category: "core";
489
489
  readonly toolPolicy: "none";
@@ -825,7 +825,7 @@ export declare const COMMAND_REGISTRY: {
825
825
  readonly 'reset-session': {
826
826
  readonly handler: (ctx: CommandContext) => Promise<string>;
827
827
  readonly description: "Clear session state while preserving plan, evidence, and knowledge";
828
- readonly details: "Deletes only .swarm/session/state.json and any other session files. Clears in-memory agent sessions and delegation chains. Preserves plan, evidence, and knowledge for cross-session continuity. Before deleting, auto-backs up the session files it removes to .swarm/reset-backups/<timestamp>/ (newest 5 kept).";
828
+ readonly details: "Deletes only .swarm/session/state.json and any other session files. Clears in-memory agent sessions, delegation chains, and active-agent mappings. Preserves plan, evidence, and knowledge for cross-session continuity. Before deleting, auto-backs up the session files it removes to .swarm/reset-backups/<timestamp>/ (newest 5 kept).";
829
829
  readonly args: "";
830
830
  readonly category: "utility";
831
831
  readonly toolPolicy: "restricted";
@@ -92,6 +92,7 @@ export interface ReviewerReceiptValidationOptions {
92
92
  }
93
93
  /** Test seam for the otherwise process-global telemetry sink. */
94
94
  export declare const _internals: {
95
+ delegationBegin: (sessionId: string, agentName: string, taskId: string) => void;
95
96
  delegationEnd: (sessionId: string, agentName: string, taskId: string, result: string, costFields?: Partial<import("../services/cost-accounting.js").DelegationCostFields>) => void;
96
97
  resolveReviewerTaskScope: typeof resolveReviewerTaskScope;
97
98
  buildReviewerTaskScope: typeof buildReviewerTaskScope;
package/dist/index.d.ts CHANGED
@@ -8,9 +8,14 @@ import { ensureSwarmGitExcluded } from './utils/gitignore-warning';
8
8
  * FIFO-cap a session-keyed Map to at most `max` entries, evicting oldest first.
9
9
  * Values tracked by these maps are plain data (timestamps/usage snapshots), never
10
10
  * timer handles, so eviction requires no clearInterval/clearTimeout. Exported for
11
- * unit testing of the cap invariant; used by the heartbeat throttle path below.
11
+ * unit testing of the cap invariant; used by the heartbeat throttle and
12
+ * delegation-telemetry pairing paths below.
12
13
  */
13
14
  export declare function capSessionMap<K, V>(map: Map<K, V>, max: number): void;
15
+ /** @internal — test-only: clears delegation-telemetry pairing state so one
16
+ * test's unconsumed entries (e.g. a before with no matching after) cannot
17
+ * leak into the next. Mirrors resetTelemetryForTesting / resetSwarmState. */
18
+ export declare function _resetDelegationTelemetryPairingForTesting(): void;
14
19
  type PostResolutionTask = () => void | Promise<void>;
15
20
  /**
16
21
  * Start detached initialization work only after the plugin manifest promise can