opencode-swarm 7.129.3 → 7.130.0

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 (31) hide show
  1. package/dist/background/pr-monitor-worker.d.ts +19 -0
  2. package/dist/cli/{curation-policy-vn1ybh31.js → curation-policy-s08pg90f.js} +2 -2
  3. package/dist/cli/{curator-llm-factory-90803y01.js → curator-llm-factory-swde9kj0.js} +10 -10
  4. package/dist/cli/{curator-gay2gz5p.js → curator-yppkg914.js} +10 -10
  5. package/dist/cli/{dispatch-f4hj1cj7.js → dispatch-3mhgqj2x.js} +1 -1
  6. package/dist/cli/{guardrail-explain-axvx94rx.js → guardrail-explain-2w8tezk9.js} +11 -11
  7. package/dist/cli/{hive-promoter-3j6xp8gm.js → hive-promoter-k055s568.js} +10 -10
  8. package/dist/cli/{index-wy5jy3m9.js → index-8fy8q1px.js} +3 -3
  9. package/dist/cli/{index-6n2jpz7x.js → index-9f71ye47.js} +2 -2
  10. package/dist/cli/{index-kj86tyrs.js → index-bz814zsm.js} +1 -1
  11. package/dist/cli/{index-5fnc76da.js → index-hbbj7ktj.js} +1 -1
  12. package/dist/cli/{index-m8vrw3pt.js → index-mgz9nm4a.js} +4 -4
  13. package/dist/cli/{index-9vbpy8f9.js → index-mkqqh1z9.js} +30 -30
  14. package/dist/cli/{index-w2kp2zvf.js → index-n08cksd6.js} +3 -3
  15. package/dist/cli/{index-kxw2sx1d.js → index-nbdge8b6.js} +1 -1
  16. package/dist/cli/{index-pgyp3tta.js → index-nhexgq4a.js} +1 -1
  17. package/dist/cli/{index-vjmmzhv0.js → index-rhc0d3tn.js} +11 -11
  18. package/dist/cli/{index-509jpmdd.js → index-x0d06qx6.js} +1 -1
  19. package/dist/cli/{index-waqvy9a5.js → index-x7wt1g4w.js} +2 -2
  20. package/dist/cli/{index-6w02qz7t.js → index-yxz0c97p.js} +10 -8
  21. package/dist/cli/index.js +10 -10
  22. package/dist/cli/{knowledge-escalator-5ytt2y9n.js → knowledge-escalator-jjyn29ht.js} +3 -3
  23. package/dist/cli/{knowledge-events-qnyfrsfv.js → knowledge-events-f75n3916.js} +1 -1
  24. package/dist/cli/{knowledge-store-yeybvcqw.js → knowledge-store-7sahm702.js} +1 -1
  25. package/dist/cli/{knowledge-validator-g2c4mbwa.js → knowledge-validator-rjwvafv3.js} +4 -4
  26. package/dist/cli/{scan-cursor-c5mcce5r.js → scan-cursor-518rhxyd.js} +2 -2
  27. package/dist/cli/{skill-generator-c77e0y98.js → skill-generator-hk6mc7pc.js} +5 -5
  28. package/dist/index.js +6 -6
  29. package/dist/services/directive-predicate-runner.d.ts +6 -0
  30. package/package.json +1 -1
  31. package/dist/config/loader-recovery.d.ts +0 -95
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-pgyp3tta.js";
4
+ } from "./index-nhexgq4a.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-w2kp2zvf.js";
12
+ } from "./index-n08cksd6.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-q27bajqb.js";
@@ -527,20 +527,22 @@ function buildConfigWithMeta(rawUserConfig, rawProjectConfig, loadedFromFile, co
527
527
  ...gatesStripped,
528
528
  ...valueRecovery.recoveryWarnings.map((w) => w.section)
529
529
  ];
530
- advisoryWarn(`[opencode-swarm] Ignored ${removedKeys.length} invalid or unrecognized config key(s): ${removedKeys.join(", ")}. The rest of your configuration was preserved. Fix or remove these keys.`);
531
- const secureConfig = PluginConfigSchema.parse({
530
+ const secureParse = PluginConfigSchema.safeParse({
532
531
  ...recoveredParse.data,
533
532
  guardrails: {
534
533
  ...recoveredParse.data.guardrails,
535
534
  enabled: true
536
535
  }
537
536
  });
538
- return {
539
- config: secure(secureConfig),
540
- recovery: "sanitized_values",
541
- removedKeys,
542
- warnings: []
543
- };
537
+ if (secureParse.success) {
538
+ advisoryWarn(`[opencode-swarm] Ignored ${removedKeys.length} invalid or unrecognized config key(s): ${removedKeys.join(", ")}. The rest of your configuration was preserved. Fix or remove these keys.`);
539
+ return {
540
+ config: secure(secureParse.data),
541
+ recovery: "sanitized_values",
542
+ removedKeys,
543
+ warnings: []
544
+ };
545
+ }
544
546
  }
545
547
  }
546
548
  }
package/dist/cli/index.js CHANGED
@@ -7,28 +7,28 @@ import {
7
7
  getPluginLockFilePaths,
8
8
  package_default,
9
9
  resolveCommand
10
- } from "./index-9vbpy8f9.js";
10
+ } from "./index-mkqqh1z9.js";
11
11
  import"./index-v4n224r1.js";
12
12
  import"./index-cpssctv1.js";
13
13
  import"./index-kzvwb2se.js";
14
14
  import"./index-4905hd2m.js";
15
15
  import"./index-134d35c1.js";
16
- import"./index-6n2jpz7x.js";
17
- import"./index-wy5jy3m9.js";
18
- import"./index-m8vrw3pt.js";
19
- import"./index-5fnc76da.js";
16
+ import"./index-9f71ye47.js";
17
+ import"./index-8fy8q1px.js";
18
+ import"./index-mgz9nm4a.js";
19
+ import"./index-hbbj7ktj.js";
20
20
  import"./index-vxv732ex.js";
21
21
  import"./index-c8s9a3zh.js";
22
22
  import"./index-9ss2m4rs.js";
23
23
  import"./index-g4mnf3p5.js";
24
- import"./index-waqvy9a5.js";
25
- import"./index-pgyp3tta.js";
24
+ import"./index-x7wt1g4w.js";
25
+ import"./index-nhexgq4a.js";
26
26
  import"./index-rtry5xyf.js";
27
- import"./index-w2kp2zvf.js";
28
- import"./index-kj86tyrs.js";
27
+ import"./index-n08cksd6.js";
28
+ import"./index-bz814zsm.js";
29
29
  import"./index-ae75rja9.js";
30
30
  import"./index-q27bajqb.js";
31
- import"./index-6w02qz7t.js";
31
+ import"./index-yxz0c97p.js";
32
32
  import"./index-k5jrywpr.js";
33
33
  import"./index-n832052r.js";
34
34
  import {
@@ -8,9 +8,9 @@ import {
8
8
  maybeEscalateOnViolation,
9
9
  maybeQuarantineOnContradiction,
10
10
  readRecentEscalations
11
- } from "./index-m8vrw3pt.js";
12
- import"./index-w2kp2zvf.js";
13
- import"./index-kj86tyrs.js";
11
+ } from "./index-mgz9nm4a.js";
12
+ import"./index-n08cksd6.js";
13
+ import"./index-bz814zsm.js";
14
14
  import"./index-ae75rja9.js";
15
15
  import"./index-q27bajqb.js";
16
16
  import"./index-bk5tah7q.js";
@@ -26,7 +26,7 @@ import {
26
26
  resolveKnowledgeCounterBaselinePath,
27
27
  resolveKnowledgeEventsPath,
28
28
  resolveLegacyApplicationLogPath
29
- } from "./index-kj86tyrs.js";
29
+ } from "./index-bz814zsm.js";
30
30
  import"./index-ae75rja9.js";
31
31
  import"./index-q27bajqb.js";
32
32
  import"./index-zgwm4ryv.js";
@@ -40,7 +40,7 @@ import {
40
40
  transactKnowledge,
41
41
  transactKnowledgeWithCas,
42
42
  wordBigrams
43
- } from "./index-w2kp2zvf.js";
43
+ } from "./index-n08cksd6.js";
44
44
  import {
45
45
  resolveHiveDataDir
46
46
  } from "./index-ae75rja9.js";
@@ -23,11 +23,11 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-waqvy9a5.js";
27
- import"./index-pgyp3tta.js";
26
+ } from "./index-x7wt1g4w.js";
27
+ import"./index-nhexgq4a.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-w2kp2zvf.js";
30
- import"./index-kj86tyrs.js";
29
+ import"./index-n08cksd6.js";
30
+ import"./index-bz814zsm.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-q27bajqb.js";
33
33
  import"./index-bk5tah7q.js";
@@ -4,8 +4,8 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-5fnc76da.js";
8
- import"./index-w2kp2zvf.js";
7
+ } from "./index-hbbj7ktj.js";
8
+ import"./index-n08cksd6.js";
9
9
  import"./index-ae75rja9.js";
10
10
  import"./index-q27bajqb.js";
11
11
  import"./index-bk5tah7q.js";
@@ -33,12 +33,12 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-wy5jy3m9.js";
37
- import"./index-waqvy9a5.js";
38
- import"./index-pgyp3tta.js";
36
+ } from "./index-8fy8q1px.js";
37
+ import"./index-x7wt1g4w.js";
38
+ import"./index-nhexgq4a.js";
39
39
  import"./index-rtry5xyf.js";
40
- import"./index-w2kp2zvf.js";
41
- import"./index-kj86tyrs.js";
40
+ import"./index-n08cksd6.js";
41
+ import"./index-bz814zsm.js";
42
42
  import"./index-ae75rja9.js";
43
43
  import"./index-q27bajqb.js";
44
44
  import"./index-bk5tah7q.js";