opencode-swarm 7.135.0 → 7.135.1

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 (43) hide show
  1. package/dist/cli/{config-doctor-j1x63x87.js → config-doctor-6398t3a6.js} +2 -2
  2. package/dist/cli/{core-fvqp2gnn.js → core-9876t6cs.js} +1 -1
  3. package/dist/cli/{curation-policy-xg9zw0ep.js → curation-policy-f7qz4tez.js} +2 -2
  4. package/dist/cli/{curator-yc06cmnz.js → curator-fjhyezyx.js} +14 -14
  5. package/dist/cli/{curator-llm-factory-4mat6cq5.js → curator-llm-factory-wr3zmy2c.js} +14 -14
  6. package/dist/cli/{guardrail-explain-zmbxwh3s.js → guardrail-explain-g1s89b3e.js} +15 -15
  7. package/dist/cli/{guardrail-log-7egxrxap.js → guardrail-log-bd45kw0x.js} +3 -3
  8. package/dist/cli/{hive-promoter-7s3gzajy.js → hive-promoter-f2yh22m1.js} +14 -14
  9. package/dist/cli/{index-a4972t0f.js → index-247b1c1m.js} +3 -3
  10. package/dist/cli/{index-997d6p42.js → index-2nqsr1dx.js} +2 -2
  11. package/dist/cli/{index-6kmmdtdp.js → index-4pdrmemy.js} +2 -2
  12. package/dist/cli/{index-ctvnb76s.js → index-5vp9gka3.js} +1 -1
  13. package/dist/cli/{index-86wdrskb.js → index-5wx8wdxg.js} +5 -5
  14. package/dist/cli/{index-crw4n55v.js → index-aky90eqz.js} +36 -36
  15. package/dist/cli/{index-vf6e8ame.js → index-bjrkg4tc.js} +1 -1
  16. package/dist/cli/{index-337r9pkr.js → index-dzaarxhg.js} +1 -1
  17. package/dist/cli/{index-44zgqvqh.js → index-fwkqq9mq.js} +1 -1
  18. package/dist/cli/{index-x88w0cp5.js → index-g1drmgxe.js} +1 -1
  19. package/dist/cli/{index-nrvs08pr.js → index-j89zmcpx.js} +4 -4
  20. package/dist/cli/{index-grxkbbc5.js → index-jtshf1pd.js} +1 -1
  21. package/dist/cli/{index-e8w62fgs.js → index-jxchddjk.js} +1 -1
  22. package/dist/cli/{index-4yv2rn8q.js → index-nbnqf4fj.js} +1 -1
  23. package/dist/cli/{index-96b78s7p.js → index-w80r3axq.js} +16 -16
  24. package/dist/cli/{index-q9mq5tv3.js → index-wdkkf3xg.js} +2 -2
  25. package/dist/cli/{index-g0raqavt.js → index-xhpmagdm.js} +1 -1
  26. package/dist/cli/index.js +14 -14
  27. package/dist/cli/{knowledge-escalator-d76a090n.js → knowledge-escalator-4tp3yy7e.js} +3 -3
  28. package/dist/cli/{knowledge-events-3mcg1a0e.js → knowledge-events-7854gb3p.js} +1 -1
  29. package/dist/cli/{knowledge-store-xtt4sede.js → knowledge-store-cxnr6v01.js} +1 -1
  30. package/dist/cli/{knowledge-validator-h1k7ymtd.js → knowledge-validator-3n5t55qy.js} +4 -4
  31. package/dist/cli/{scan-cursor-stztfv7d.js → scan-cursor-0cexjh3b.js} +2 -2
  32. package/dist/cli/{schema-tbq2srrh.js → schema-rs5a7ywx.js} +1 -1
  33. package/dist/cli/{scope-persistence-7wydjzx8.js → scope-persistence-1vsnkmm4.js} +1 -1
  34. package/dist/cli/{skill-generator-02q1qdf0.js → skill-generator-n0h9n0zd.js} +5 -5
  35. package/dist/hooks/scope-guard.d.ts +11 -4
  36. package/dist/index.js +10 -10
  37. package/dist/scope/scope-binding.d.ts +68 -0
  38. package/dist/session/snapshot-reader.d.ts +6 -0
  39. package/dist/state.d.ts +118 -0
  40. package/dist/turbo/lean/lane-scope.d.ts +120 -0
  41. package/dist/turbo/lean/runner.d.ts +66 -4
  42. package/package.json +1 -1
  43. /package/dist/cli/{index-ny93srnd.js → index-fpkb3mw1.js} +0 -0
@@ -12,8 +12,8 @@ import {
12
12
  shouldRunOnStartup,
13
13
  writeBackupArtifact,
14
14
  writeDoctorArtifact
15
- } from "./index-ctvnb76s.js";
16
- import"./index-337r9pkr.js";
15
+ } from "./index-5vp9gka3.js";
16
+ import"./index-dzaarxhg.js";
17
17
  import"./index-bk5tah7q.js";
18
18
  import"./index-bpmtbmy9.js";
19
19
  import"./index-z6xqpmqg.js";
@@ -14,7 +14,7 @@ import {
14
14
  resolveWorktreeBaseDir,
15
15
  shortenWorktreePath,
16
16
  writeLaneProfileToDiskReal
17
- } from "./index-44zgqvqh.js";
17
+ } from "./index-fwkqq9mq.js";
18
18
  import"./index-4rhhvd1a.js";
19
19
  import"./index-z6xqpmqg.js";
20
20
  import"./index-zjygnfay.js";
@@ -4,9 +4,9 @@ import {
4
4
  authorizeCuration,
5
5
  buildConfigFingerprintInput,
6
6
  readCohortConfigFingerprint
7
- } from "./index-g0raqavt.js";
7
+ } from "./index-xhpmagdm.js";
8
8
  import"./index-rtry5xyf.js";
9
- import"./index-x88w0cp5.js";
9
+ import"./index-g1drmgxe.js";
10
10
  import"./index-ae75rja9.js";
11
11
  import"./index-yhba8swx.js";
12
12
  import"./index-xg9repnx.js";
@@ -14,42 +14,42 @@ import {
14
14
  runCuratorInit,
15
15
  runCuratorPhase,
16
16
  writeCuratorSummary
17
- } from "./index-crw4n55v.js";
17
+ } from "./index-aky90eqz.js";
18
18
  import"./index-13xxjfhn.js";
19
- import"./index-grxkbbc5.js";
20
- import"./index-ctvnb76s.js";
19
+ import"./index-jtshf1pd.js";
20
+ import"./index-5vp9gka3.js";
21
21
  import"./index-ens0gt38.js";
22
22
  import"./index-4905hd2m.js";
23
23
  import"./index-134d35c1.js";
24
- import"./index-a4972t0f.js";
25
- import"./index-86wdrskb.js";
26
- import"./index-vf6e8ame.js";
24
+ import"./index-247b1c1m.js";
25
+ import"./index-5wx8wdxg.js";
26
+ import"./index-bjrkg4tc.js";
27
27
  import"./index-vxv732ex.js";
28
28
  import"./index-c8s9a3zh.js";
29
29
  import"./index-9ss2m4rs.js";
30
30
  import"./index-b7p0mp2q.js";
31
31
  import"./index-z085b4ka.js";
32
- import"./index-997d6p42.js";
33
- import"./index-g0raqavt.js";
32
+ import"./index-2nqsr1dx.js";
33
+ import"./index-xhpmagdm.js";
34
34
  import"./index-rtry5xyf.js";
35
- import"./index-nrvs08pr.js";
36
- import"./index-x88w0cp5.js";
35
+ import"./index-j89zmcpx.js";
36
+ import"./index-g1drmgxe.js";
37
37
  import"./index-ae75rja9.js";
38
38
  import"./index-yhba8swx.js";
39
39
  import"./index-xg9repnx.js";
40
- import"./index-e8w62fgs.js";
40
+ import"./index-jxchddjk.js";
41
41
  import"./index-k5jrywpr.js";
42
42
  import"./index-n832052r.js";
43
- import"./index-337r9pkr.js";
43
+ import"./index-dzaarxhg.js";
44
44
  import"./index-bk5tah7q.js";
45
45
  import"./index-8fwhhayc.js";
46
46
  import"./index-q1exe2b3.js";
47
- import"./index-ny93srnd.js";
47
+ import"./index-fpkb3mw1.js";
48
48
  import"./index-wxyxf0bd.js";
49
49
  import"./index-1kz6da87.js";
50
50
  import"./index-b4z7s917.js";
51
51
  import"./index-b8zgtz81.js";
52
- import"./index-44zgqvqh.js";
52
+ import"./index-fwkqq9mq.js";
53
53
  import"./index-4rhhvd1a.js";
54
54
  import"./index-7an2qn0s.js";
55
55
  import"./index-2ghkk9ve.js";
@@ -1,42 +1,42 @@
1
1
  // @bun
2
2
  import {
3
3
  createCuratorLLMDelegate
4
- } from "./index-crw4n55v.js";
4
+ } from "./index-aky90eqz.js";
5
5
  import"./index-13xxjfhn.js";
6
- import"./index-grxkbbc5.js";
7
- import"./index-ctvnb76s.js";
6
+ import"./index-jtshf1pd.js";
7
+ import"./index-5vp9gka3.js";
8
8
  import"./index-ens0gt38.js";
9
9
  import"./index-4905hd2m.js";
10
10
  import"./index-134d35c1.js";
11
- import"./index-a4972t0f.js";
12
- import"./index-86wdrskb.js";
13
- import"./index-vf6e8ame.js";
11
+ import"./index-247b1c1m.js";
12
+ import"./index-5wx8wdxg.js";
13
+ import"./index-bjrkg4tc.js";
14
14
  import"./index-vxv732ex.js";
15
15
  import"./index-c8s9a3zh.js";
16
16
  import"./index-9ss2m4rs.js";
17
17
  import"./index-b7p0mp2q.js";
18
18
  import"./index-z085b4ka.js";
19
- import"./index-997d6p42.js";
20
- import"./index-g0raqavt.js";
19
+ import"./index-2nqsr1dx.js";
20
+ import"./index-xhpmagdm.js";
21
21
  import"./index-rtry5xyf.js";
22
- import"./index-nrvs08pr.js";
23
- import"./index-x88w0cp5.js";
22
+ import"./index-j89zmcpx.js";
23
+ import"./index-g1drmgxe.js";
24
24
  import"./index-ae75rja9.js";
25
25
  import"./index-yhba8swx.js";
26
26
  import"./index-xg9repnx.js";
27
- import"./index-e8w62fgs.js";
27
+ import"./index-jxchddjk.js";
28
28
  import"./index-k5jrywpr.js";
29
29
  import"./index-n832052r.js";
30
- import"./index-337r9pkr.js";
30
+ import"./index-dzaarxhg.js";
31
31
  import"./index-bk5tah7q.js";
32
32
  import"./index-8fwhhayc.js";
33
33
  import"./index-q1exe2b3.js";
34
- import"./index-ny93srnd.js";
34
+ import"./index-fpkb3mw1.js";
35
35
  import"./index-wxyxf0bd.js";
36
36
  import"./index-1kz6da87.js";
37
37
  import"./index-b4z7s917.js";
38
38
  import"./index-b8zgtz81.js";
39
- import"./index-44zgqvqh.js";
39
+ import"./index-fwkqq9mq.js";
40
40
  import"./index-4rhhvd1a.js";
41
41
  import"./index-7an2qn0s.js";
42
42
  import"./index-2ghkk9ve.js";
@@ -1,43 +1,43 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-6kmmdtdp.js";
5
- import"./index-crw4n55v.js";
4
+ } from "./index-4pdrmemy.js";
5
+ import"./index-aky90eqz.js";
6
6
  import"./index-13xxjfhn.js";
7
- import"./index-grxkbbc5.js";
8
- import"./index-ctvnb76s.js";
7
+ import"./index-jtshf1pd.js";
8
+ import"./index-5vp9gka3.js";
9
9
  import"./index-ens0gt38.js";
10
10
  import"./index-4905hd2m.js";
11
11
  import"./index-134d35c1.js";
12
- import"./index-a4972t0f.js";
13
- import"./index-86wdrskb.js";
14
- import"./index-vf6e8ame.js";
12
+ import"./index-247b1c1m.js";
13
+ import"./index-5wx8wdxg.js";
14
+ import"./index-bjrkg4tc.js";
15
15
  import"./index-vxv732ex.js";
16
16
  import"./index-c8s9a3zh.js";
17
17
  import"./index-9ss2m4rs.js";
18
18
  import"./index-b7p0mp2q.js";
19
19
  import"./index-z085b4ka.js";
20
- import"./index-997d6p42.js";
21
- import"./index-g0raqavt.js";
20
+ import"./index-2nqsr1dx.js";
21
+ import"./index-xhpmagdm.js";
22
22
  import"./index-rtry5xyf.js";
23
- import"./index-nrvs08pr.js";
24
- import"./index-x88w0cp5.js";
23
+ import"./index-j89zmcpx.js";
24
+ import"./index-g1drmgxe.js";
25
25
  import"./index-ae75rja9.js";
26
26
  import"./index-yhba8swx.js";
27
27
  import"./index-xg9repnx.js";
28
- import"./index-e8w62fgs.js";
28
+ import"./index-jxchddjk.js";
29
29
  import"./index-k5jrywpr.js";
30
30
  import"./index-n832052r.js";
31
- import"./index-337r9pkr.js";
31
+ import"./index-dzaarxhg.js";
32
32
  import"./index-bk5tah7q.js";
33
33
  import"./index-8fwhhayc.js";
34
34
  import"./index-q1exe2b3.js";
35
- import"./index-ny93srnd.js";
35
+ import"./index-fpkb3mw1.js";
36
36
  import"./index-wxyxf0bd.js";
37
37
  import"./index-1kz6da87.js";
38
38
  import"./index-b4z7s917.js";
39
39
  import"./index-b8zgtz81.js";
40
- import"./index-44zgqvqh.js";
40
+ import"./index-fwkqq9mq.js";
41
41
  import"./index-4rhhvd1a.js";
42
42
  import"./index-7an2qn0s.js";
43
43
  import"./index-2ghkk9ve.js";
@@ -1,9 +1,9 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailLog
4
- } from "./index-4yv2rn8q.js";
5
- import"./index-grxkbbc5.js";
6
- import"./index-337r9pkr.js";
4
+ } from "./index-nbnqf4fj.js";
5
+ import"./index-jtshf1pd.js";
6
+ import"./index-dzaarxhg.js";
7
7
  import"./index-bk5tah7q.js";
8
8
  import"./index-bpmtbmy9.js";
9
9
  import"./index-z6xqpmqg.js";
@@ -7,44 +7,44 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-crw4n55v.js";
10
+ } from "./index-aky90eqz.js";
11
11
  import"./index-13xxjfhn.js";
12
- import"./index-grxkbbc5.js";
13
- import"./index-ctvnb76s.js";
12
+ import"./index-jtshf1pd.js";
13
+ import"./index-5vp9gka3.js";
14
14
  import"./index-ens0gt38.js";
15
15
  import"./index-4905hd2m.js";
16
16
  import"./index-134d35c1.js";
17
- import"./index-a4972t0f.js";
18
- import"./index-86wdrskb.js";
19
- import"./index-vf6e8ame.js";
17
+ import"./index-247b1c1m.js";
18
+ import"./index-5wx8wdxg.js";
19
+ import"./index-bjrkg4tc.js";
20
20
  import"./index-vxv732ex.js";
21
21
  import"./index-c8s9a3zh.js";
22
22
  import"./index-9ss2m4rs.js";
23
23
  import"./index-b7p0mp2q.js";
24
24
  import"./index-z085b4ka.js";
25
- import"./index-997d6p42.js";
26
- import"./index-g0raqavt.js";
25
+ import"./index-2nqsr1dx.js";
26
+ import"./index-xhpmagdm.js";
27
27
  import"./index-rtry5xyf.js";
28
28
  import {
29
29
  resolveHiveKnowledgePath
30
- } from "./index-nrvs08pr.js";
31
- import"./index-x88w0cp5.js";
30
+ } from "./index-j89zmcpx.js";
31
+ import"./index-g1drmgxe.js";
32
32
  import"./index-ae75rja9.js";
33
33
  import"./index-yhba8swx.js";
34
34
  import"./index-xg9repnx.js";
35
- import"./index-e8w62fgs.js";
35
+ import"./index-jxchddjk.js";
36
36
  import"./index-k5jrywpr.js";
37
37
  import"./index-n832052r.js";
38
- import"./index-337r9pkr.js";
38
+ import"./index-dzaarxhg.js";
39
39
  import"./index-bk5tah7q.js";
40
40
  import"./index-8fwhhayc.js";
41
41
  import"./index-q1exe2b3.js";
42
- import"./index-ny93srnd.js";
42
+ import"./index-fpkb3mw1.js";
43
43
  import"./index-wxyxf0bd.js";
44
44
  import"./index-1kz6da87.js";
45
45
  import"./index-b4z7s917.js";
46
46
  import"./index-b8zgtz81.js";
47
- import"./index-44zgqvqh.js";
47
+ import"./index-fwkqq9mq.js";
48
48
  import"./index-4rhhvd1a.js";
49
49
  import"./index-7an2qn0s.js";
50
50
  import"./index-2ghkk9ve.js";
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-997d6p42.js";
5
+ } from "./index-2nqsr1dx.js";
6
6
  import {
7
7
  computeOutcomeSignal,
8
8
  readKnowledge,
9
9
  resolveHiveKnowledgePath,
10
10
  resolveSwarmKnowledgePath,
11
11
  transactKnowledge
12
- } from "./index-nrvs08pr.js";
12
+ } from "./index-j89zmcpx.js";
13
13
  import {
14
14
  effectiveRetrievalOutcomes,
15
15
  readKnowledgeCounterRollups
16
- } from "./index-x88w0cp5.js";
16
+ } from "./index-g1drmgxe.js";
17
17
  import {
18
18
  init_knowledge_types,
19
19
  isActiveStatus
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-g0raqavt.js";
4
+ } from "./index-xhpmagdm.js";
5
5
  import {
6
6
  findNearDuplicate,
7
7
  inferTags,
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-nrvs08pr.js";
12
+ } from "./index-j89zmcpx.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-yhba8swx.js";
@@ -12,14 +12,14 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-crw4n55v.js";
15
+ } from "./index-aky90eqz.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
19
19
  isInDeclaredScope,
20
20
  redactPath,
21
21
  redactShellCommand
22
- } from "./index-grxkbbc5.js";
22
+ } from "./index-jtshf1pd.js";
23
23
 
24
24
  // src/services/guardrail-explain-service.ts
25
25
  import path from "path";
@@ -8,7 +8,7 @@ import {
8
8
  init_constants,
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-337r9pkr.js";
11
+ } from "./index-dzaarxhg.js";
12
12
  import {
13
13
  log
14
14
  } from "./index-zgwm4ryv.js";
@@ -6,13 +6,13 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-nrvs08pr.js";
9
+ } from "./index-j89zmcpx.js";
10
10
  import {
11
11
  countEntryContradictionsInWindow,
12
12
  countEntryViolationsInWindow,
13
13
  readKnowledgeEvents,
14
14
  recordKnowledgeEvent
15
- } from "./index-x88w0cp5.js";
15
+ } from "./index-g1drmgxe.js";
16
16
  import {
17
17
  init_knowledge_types,
18
18
  isActiveStatus
@@ -190,11 +190,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
190
190
  alreadyInactive: true
191
191
  };
192
192
  }
193
- const { quarantineEntry } = await import("./knowledge-validator-h1k7ymtd.js");
193
+ const { quarantineEntry } = await import("./knowledge-validator-3n5t55qy.js");
194
194
  let policyConfig;
195
195
  try {
196
- const { KnowledgeConfigSchema } = await import("./schema-tbq2srrh.js");
197
- const { loadPluginConfigWithMeta } = await import("./index-q9mq5tv3.js");
196
+ const { KnowledgeConfigSchema } = await import("./schema-rs5a7ywx.js");
197
+ const { loadPluginConfigWithMeta } = await import("./index-wdkkf3xg.js");
198
198
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
199
199
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
200
200
  } catch {
@@ -11,7 +11,7 @@ import {
11
11
  readDoctorArtifact,
12
12
  removeStraySwarmDir,
13
13
  runConfigDoctor
14
- } from "./index-ctvnb76s.js";
14
+ } from "./index-5vp9gka3.js";
15
15
  import {
16
16
  EvaluationTaskV1Schema,
17
17
  GateAuditManifestV1Schema,
@@ -92,15 +92,15 @@ import {
92
92
  retireSkill,
93
93
  selectCandidateEntries,
94
94
  syncBundledProjectSkillsIfMissingAsync
95
- } from "./index-a4972t0f.js";
95
+ } from "./index-247b1c1m.js";
96
96
  import {
97
97
  readRecentEscalations
98
- } from "./index-86wdrskb.js";
98
+ } from "./index-5wx8wdxg.js";
99
99
  import {
100
100
  alreadyCuratedThisGeneration,
101
101
  claimNextScanBatch,
102
102
  resolveCohortId
103
- } from "./index-vf6e8ame.js";
103
+ } from "./index-bjrkg4tc.js";
104
104
  import {
105
105
  CURATOR_INIT_PROMPT,
106
106
  CURATOR_PHASE_PROMPT,
@@ -133,11 +133,11 @@ import {
133
133
  validateActionability,
134
134
  validateActionableFields,
135
135
  validateLesson
136
- } from "./index-997d6p42.js";
136
+ } from "./index-2nqsr1dx.js";
137
137
  import {
138
138
  authorizeCuration,
139
139
  buildConfigFingerprintInput
140
- } from "./index-g0raqavt.js";
140
+ } from "./index-xhpmagdm.js";
141
141
  import {
142
142
  cohortConfigFingerprint
143
143
  } from "./index-rtry5xyf.js";
@@ -170,7 +170,7 @@ import {
170
170
  transactFile,
171
171
  transactKnowledge,
172
172
  wordBigrams
173
- } from "./index-nrvs08pr.js";
173
+ } from "./index-j89zmcpx.js";
174
174
  import {
175
175
  MAX_EVENT_LOG_ENTRIES,
176
176
  _internals,
@@ -180,7 +180,7 @@ import {
180
180
  recordHiveKnowledgeEvent,
181
181
  recordKnowledgeEvent,
182
182
  resolveKnowledgeEventsPath
183
- } from "./index-x88w0cp5.js";
183
+ } from "./index-g1drmgxe.js";
184
184
  import {
185
185
  resolveHiveDataDir,
186
186
  resolveHiveEventsPath,
@@ -205,7 +205,7 @@ import {
205
205
  init_loader,
206
206
  loadPluginConfig,
207
207
  loadPluginConfigWithMeta
208
- } from "./index-e8w62fgs.js";
208
+ } from "./index-jxchddjk.js";
209
209
  import {
210
210
  RetrospectiveEvidenceSchema
211
211
  } from "./index-k5jrywpr.js";
@@ -228,7 +228,7 @@ import {
228
228
  package_default,
229
229
  resolveAutoReviewConfig,
230
230
  stripKnownSwarmPrefix
231
- } from "./index-337r9pkr.js";
231
+ } from "./index-dzaarxhg.js";
232
232
  import {
233
233
  KNOWLEDGE_SCHEMA_VERSION,
234
234
  OUTCOME_BLOCK_THRESHOLD,
@@ -244,7 +244,7 @@ import {
244
244
  clearAllScopes,
245
245
  clearScopeBindingFromDisk,
246
246
  clearScopeBindings
247
- } from "./index-ny93srnd.js";
247
+ } from "./index-fpkb3mw1.js";
248
248
  import {
249
249
  appendLedgerEvent,
250
250
  computePlanHash,
@@ -15958,7 +15958,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
15958
15958
  };
15959
15959
  }
15960
15960
  async function sweepActiveNearDuplicates(directory, options = {}) {
15961
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-q9mq5tv3.js");
15961
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-wdkkf3xg.js");
15962
15962
  const { config } = loadPluginConfigWithMeta2(directory);
15963
15963
  const sweepConfig = config.learning?.dedup_sweep;
15964
15964
  if (sweepConfig?.enabled === false)
@@ -17551,7 +17551,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
17551
17551
  }
17552
17552
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
17553
17553
  try {
17554
- const skillModule = await import("./skill-generator-02q1qdf0.js");
17554
+ const skillModule = await import("./skill-generator-n0h9n0zd.js");
17555
17555
  for (const cand of skillCandidates) {
17556
17556
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
17557
17557
  continue;
@@ -17952,7 +17952,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
17952
17952
  } catch {}
17953
17953
  }
17954
17954
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
17955
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-d76a090n.js");
17955
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-4tp3yy7e.js");
17956
17956
  for (const { id } of contradictedEntries) {
17957
17957
  try {
17958
17958
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -18760,7 +18760,7 @@ async function runCuratorPostMortem(directory, options = {}) {
18760
18760
  warnings.push("Failed to collect knowledge summary.");
18761
18761
  }
18762
18762
  try {
18763
- const { getScanStatus } = await import("./scan-cursor-stztfv7d.js");
18763
+ const { getScanStatus } = await import("./scan-cursor-0cexjh3b.js");
18764
18764
  const scanStatus = await getScanStatus(directory);
18765
18765
  if (scanStatus.remaining_estimate > 0) {
18766
18766
  warnings.push(`Fair scan: reviewed ${knowledgeSummary.length} entries this sweep (generation ${scanStatus.generation}); ${scanStatus.remaining_estimate} more eligible entries will be visited in future curation sweeps.`);
@@ -18932,9 +18932,9 @@ var _internals24 = {
18932
18932
  verifyPostMortemKnowledgeActions,
18933
18933
  repairPostMortemActions,
18934
18934
  loadDefaultKnowledgeConfig: async (directory) => {
18935
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-tbq2srrh.js");
18935
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-rs5a7ywx.js");
18936
18936
  try {
18937
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-q9mq5tv3.js");
18937
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-wdkkf3xg.js");
18938
18938
  const loaded = loadPluginConfigWithMeta2(directory);
18939
18939
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
18940
18940
  } catch {
@@ -18942,11 +18942,11 @@ var _internals24 = {
18942
18942
  }
18943
18943
  },
18944
18944
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
18945
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-yc06cmnz.js");
18945
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-fjhyezyx.js");
18946
18946
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
18947
18947
  },
18948
18948
  checkHivePromotions: async (entries, knowledgeConfig, directory) => {
18949
- const { checkHivePromotions } = await import("./hive-promoter-7s3gzajy.js");
18949
+ const { checkHivePromotions } = await import("./hive-promoter-f2yh22m1.js");
18950
18950
  return checkHivePromotions(entries, knowledgeConfig, directory);
18951
18951
  },
18952
18952
  applyProposalTriage: async (directory, triage) => {
@@ -18955,7 +18955,7 @@ var _internals24 = {
18955
18955
  activateProposal,
18956
18956
  listSkills: listSkills2,
18957
18957
  sanitizeSlug
18958
- } = await import("./skill-generator-02q1qdf0.js");
18958
+ } = await import("./skill-generator-n0h9n0zd.js");
18959
18959
  const result = {
18960
18960
  approved: [],
18961
18961
  rejected: [],
@@ -21582,9 +21582,9 @@ function hashContent(content) {
21582
21582
  return createHash9("sha1").update(content).digest("hex");
21583
21583
  }
21584
21584
  async function loadConfigForPolicyCurator(directory) {
21585
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-tbq2srrh.js");
21585
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-rs5a7ywx.js");
21586
21586
  try {
21587
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-q9mq5tv3.js");
21587
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-wdkkf3xg.js");
21588
21588
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
21589
21589
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
21590
21590
  } catch {
@@ -24929,7 +24929,7 @@ async function runFinalizeStage(ctx) {
24929
24929
  }
24930
24930
  }
24931
24931
  try {
24932
- const { CuratorConfigSchema: CCS } = await import("./schema-tbq2srrh.js");
24932
+ const { CuratorConfigSchema: CCS } = await import("./schema-rs5a7ywx.js");
24933
24933
  const { config: pmLoadedConfig } = _internals34.loadPluginConfigWithMeta(ctx.directory);
24934
24934
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
24935
24935
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -27159,9 +27159,9 @@ var _internals39 = {
27159
27159
  loadPluginConfigWithMeta,
27160
27160
  loadCuratorDeps: async () => {
27161
27161
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
27162
- import("./schema-tbq2srrh.js"),
27163
- import("./curator-yc06cmnz.js"),
27164
- import("./curator-llm-factory-4mat6cq5.js")
27162
+ import("./schema-rs5a7ywx.js"),
27163
+ import("./curator-fjhyezyx.js"),
27164
+ import("./curator-llm-factory-wr3zmy2c.js")
27165
27165
  ]);
27166
27166
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
27167
27167
  }
@@ -28062,7 +28062,7 @@ async function computeCurationDiagnostics(directory, entries) {
28062
28062
  let scanCompleted = false;
28063
28063
  let scanRemaining = 0;
28064
28064
  try {
28065
- const { getScanStatus } = await import("./scan-cursor-stztfv7d.js");
28065
+ const { getScanStatus } = await import("./scan-cursor-0cexjh3b.js");
28066
28066
  const status = await getScanStatus(directory);
28067
28067
  scanGeneration = status.generation;
28068
28068
  scanCompleted = status.completed;
@@ -28072,17 +28072,17 @@ async function computeCurationDiagnostics(directory, entries) {
28072
28072
  try {
28073
28073
  const { isLinked: isLinked2 } = await import("./knowledge-link-etrfntkd.js");
28074
28074
  if (isLinked2(directory)) {
28075
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-tbq2srrh.js");
28075
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-rs5a7ywx.js");
28076
28076
  let config;
28077
28077
  try {
28078
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-q9mq5tv3.js");
28078
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-wdkkf3xg.js");
28079
28079
  const loaded = loadPluginConfigWithMeta2(directory);
28080
28080
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
28081
28081
  } catch {
28082
28082
  config = KnowledgeConfigSchema2.parse({});
28083
28083
  }
28084
28084
  const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
28085
- const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-xg9zw0ep.js");
28085
+ const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-f7qz4tez.js");
28086
28086
  const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
28087
28087
  const cohortFp = await readCohortConfigFingerprint(directory);
28088
28088
  configMatch = cohortFp === null ? null : currentFp === cohortFp;
@@ -29293,7 +29293,7 @@ async function handleDoctorCommand(directory, args) {
29293
29293
  const result = runConfigDoctor(config, directory);
29294
29294
  let output;
29295
29295
  if (enableAutoFix && result.hasAutoFixableIssues) {
29296
- const { runConfigDoctorWithFixes } = await import("./config-doctor-j1x63x87.js");
29296
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-6398t3a6.js");
29297
29297
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
29298
29298
  applyLossy: true
29299
29299
  });
@@ -50713,7 +50713,7 @@ function buildDetailedHelp(commandName, entry) {
50713
50713
  async function handleHelpCommand(ctx) {
50714
50714
  const targetCommand = ctx.args.join(" ");
50715
50715
  if (!targetCommand) {
50716
- const { buildHelpText } = await import("./index-96b78s7p.js");
50716
+ const { buildHelpText } = await import("./index-w80r3axq.js");
50717
50717
  return buildHelpText();
50718
50718
  }
50719
50719
  const tokens = targetCommand.split(/\s+/);
@@ -50722,7 +50722,7 @@ async function handleHelpCommand(ctx) {
50722
50722
  return _internals12.buildDetailedHelp(resolved.key, resolved.entry);
50723
50723
  }
50724
50724
  const similar = _internals12.findSimilarCommands(targetCommand);
50725
- const { buildHelpText: fullHelp } = await import("./index-96b78s7p.js");
50725
+ const { buildHelpText: fullHelp } = await import("./index-w80r3axq.js");
50726
50726
  if (similar.length > 0) {
50727
50727
  return `Command '/swarm ${targetCommand}' not found.
50728
50728
 
@@ -50899,7 +50899,7 @@ var COMMAND_REGISTRY = {
50899
50899
  },
50900
50900
  "guardrail explain": {
50901
50901
  handler: async (ctx) => {
50902
- const { handleGuardrailExplain } = await import("./guardrail-explain-zmbxwh3s.js");
50902
+ const { handleGuardrailExplain } = await import("./guardrail-explain-g1s89b3e.js");
50903
50903
  return handleGuardrailExplain(ctx.directory, ctx.args);
50904
50904
  },
50905
50905
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -50909,7 +50909,7 @@ var COMMAND_REGISTRY = {
50909
50909
  },
50910
50910
  "guardrail-explain": {
50911
50911
  handler: async (ctx) => {
50912
- const { handleGuardrailExplain } = await import("./guardrail-explain-zmbxwh3s.js");
50912
+ const { handleGuardrailExplain } = await import("./guardrail-explain-g1s89b3e.js");
50913
50913
  return handleGuardrailExplain(ctx.directory, ctx.args);
50914
50914
  },
50915
50915
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -50919,7 +50919,7 @@ var COMMAND_REGISTRY = {
50919
50919
  },
50920
50920
  "guardrail-log": {
50921
50921
  handler: async (ctx) => {
50922
- const { handleGuardrailLog } = await import("./guardrail-log-7egxrxap.js");
50922
+ const { handleGuardrailLog } = await import("./guardrail-log-bd45kw0x.js");
50923
50923
  return handleGuardrailLog(ctx.directory, ctx.args);
50924
50924
  },
50925
50925
  description: "Read the guardrail decision log (use --blocks-only for blocks)",