opencode-swarm 7.126.0 → 7.126.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 (50) hide show
  1. package/.opencode/skills/swarm-pr-feedback/SKILL.md +19 -14
  2. package/.opencode/skills/swarm-pr-review/SKILL.md +17 -13
  3. package/dist/cli/{config-doctor-akxywx0c.js → config-doctor-23jxdqwv.js} +2 -2
  4. package/dist/cli/{core-v1kp7anb.js → core-wg3re04e.js} +1 -1
  5. package/dist/cli/{curation-policy-dptr1rfe.js → curation-policy-0t6hny6g.js} +2 -2
  6. package/dist/cli/{curator-23hynz78.js → curator-g8rggzbk.js} +14 -14
  7. package/dist/cli/{curator-llm-factory-r648jn8e.js → curator-llm-factory-36psae60.js} +14 -14
  8. package/dist/cli/{guardrail-explain-6atsd4vr.js → guardrail-explain-6ffgrjx9.js} +15 -15
  9. package/dist/cli/{guardrail-log-222xyxfp.js → guardrail-log-57sczn5h.js} +3 -3
  10. package/dist/cli/{hive-promoter-bnkhzd46.js → hive-promoter-c458rgp5.js} +14 -14
  11. package/dist/cli/{index-qzkcy22e.js → index-1p9z8cc4.js} +1 -1
  12. package/dist/cli/{index-cdx337js.js → index-3hkbegq2.js} +1 -1
  13. package/dist/cli/{index-gnvg72y1.js → index-4ff0x4cg.js} +79 -1
  14. package/dist/cli/{index-kwnsatzq.js → index-6j9p0c40.js} +2 -2
  15. package/dist/cli/{index-a1c9az5e.js → index-abw10n3f.js} +109 -151
  16. package/dist/cli/{index-r1gdkn2d.js → index-c8sqc3nh.js} +113 -21
  17. package/dist/cli/{index-2bnfwmk3.js → index-cnhp6c0k.js} +1 -1
  18. package/dist/cli/{index-dezgmvtw.js → index-echdpdhy.js} +1 -1
  19. package/dist/cli/{index-yfzn5r9s.js → index-k5xh81c9.js} +3 -3
  20. package/dist/cli/{index-mgrsx5hn.js → index-kx3533dm.js} +1 -1
  21. package/dist/cli/{index-bcgfhxzv.js → index-nkhp7j16.js} +5 -5
  22. package/dist/cli/{index-2yd75hms.js → index-nmyg9b7v.js} +4 -4
  23. package/dist/cli/{index-16z6txq3.js → index-vvwf9ark.js} +2 -2
  24. package/dist/cli/{index-jt7hnr7q.js → index-w0yztxgq.js} +1 -1
  25. package/dist/cli/{index-g4ef4v3m.js → index-w9cb5zwh.js} +1 -1
  26. package/dist/cli/{index-y4ry07h8.js → index-x1w4cx3n.js} +2 -2
  27. package/dist/cli/{index-0ff5cm9j.js → index-y9t766sw.js} +2217 -2195
  28. package/dist/cli/{index-68fpa7ff.js → index-yf4kvhrn.js} +16 -16
  29. package/dist/cli/index.js +14 -14
  30. package/dist/cli/{knowledge-escalator-4hc8w7sd.js → knowledge-escalator-kd80m9vp.js} +3 -3
  31. package/dist/cli/{knowledge-events-kyqjv1f8.js → knowledge-events-j7jfwm1d.js} +1 -1
  32. package/dist/cli/{knowledge-store-06k0p1gs.js → knowledge-store-1d4byc7y.js} +1 -1
  33. package/dist/cli/{knowledge-validator-42xjmcmh.js → knowledge-validator-63mkgt9x.js} +4 -4
  34. package/dist/cli/{scan-cursor-gjcvpyta.js → scan-cursor-qzn5jmbe.js} +2 -2
  35. package/dist/cli/{schema-69z8w1ka.js → schema-2j92wnns.js} +1 -1
  36. package/dist/cli/{scope-persistence-habn4q8a.js → scope-persistence-dm5bab50.js} +3 -1
  37. package/dist/cli/{skill-generator-t6j93mwt.js → skill-generator-sv6zvdvz.js} +5 -5
  38. package/dist/config/index.d.ts +1 -0
  39. package/dist/config/loader.d.ts +51 -36
  40. package/dist/hooks/pr-workflow-gate.d.ts +39 -0
  41. package/dist/hooks/scope-guard.d.ts +6 -1
  42. package/dist/index.js +29 -26
  43. package/dist/scope/scope-binding.d.ts +21 -2
  44. package/dist/scope/scope-persistence.d.ts +6 -0
  45. package/dist/tools/index.d.ts +2 -0
  46. package/dist/tools/manifest.d.ts +2 -0
  47. package/dist/tools/prepare-pr-feedback-scope.d.ts +5 -0
  48. package/dist/tools/tool-metadata.d.ts +98 -0
  49. package/dist/tools/write-pr-review-artifact.d.ts +5 -0
  50. package/package.json +3 -3
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-rtry5xyf.js";
5
5
  import {
6
6
  readKnowledgeEvents
7
- } from "./index-2bnfwmk3.js";
7
+ } from "./index-cnhp6c0k.js";
8
8
  import {
9
9
  isLinked,
10
10
  readLinkPointer,
@@ -6,13 +6,13 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-2yd75hms.js";
9
+ } from "./index-nmyg9b7v.js";
10
10
  import {
11
11
  countEntryContradictionsInWindow,
12
12
  countEntryViolationsInWindow,
13
13
  readKnowledgeEvents,
14
14
  recordKnowledgeEvent
15
- } from "./index-2bnfwmk3.js";
15
+ } from "./index-cnhp6c0k.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-42xjmcmh.js");
193
+ const { quarantineEntry } = await import("./knowledge-validator-63mkgt9x.js");
194
194
  let policyConfig;
195
195
  try {
196
- const { KnowledgeConfigSchema } = await import("./schema-69z8w1ka.js");
197
- const { loadPluginConfigWithMeta } = await import("./index-16z6txq3.js");
196
+ const { KnowledgeConfigSchema } = await import("./schema-2j92wnns.js");
197
+ const { loadPluginConfigWithMeta } = await import("./index-vvwf9ark.js");
198
198
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
199
199
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
200
200
  } catch {
@@ -650,7 +650,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
650
650
  const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
651
651
  if (atFloor.length === 0 && recovered.length === 0)
652
652
  return;
653
- const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-kyqjv1f8.js");
653
+ const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-j7jfwm1d.js");
654
654
  const rollups = await readKnowledgeCounterRollups(directory);
655
655
  const flagIds = new Set;
656
656
  for (const e of atFloor) {
@@ -717,11 +717,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
717
717
  });
718
718
  }
719
719
  if (action === "quarantine" && toQuarantine.length > 0) {
720
- const { quarantineEntry } = await import("./knowledge-validator-42xjmcmh.js");
721
- const { KnowledgeConfigSchema } = await import("./schema-69z8w1ka.js");
720
+ const { quarantineEntry } = await import("./knowledge-validator-63mkgt9x.js");
721
+ const { KnowledgeConfigSchema } = await import("./schema-2j92wnns.js");
722
722
  let config;
723
723
  try {
724
- const { loadPluginConfigWithMeta } = await import("./index-16z6txq3.js");
724
+ const { loadPluginConfigWithMeta } = await import("./index-vvwf9ark.js");
725
725
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
726
726
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
727
727
  } catch {
@@ -6,7 +6,7 @@ import {
6
6
  loadPluginConfigWithMeta,
7
7
  loadPluginConfigWithMetaAsync,
8
8
  resolveWorktreeIsolationConfig
9
- } from "./index-a1c9az5e.js";
9
+ } from "./index-abw10n3f.js";
10
10
  import {
11
11
  ApprovalEvidenceSchema,
12
12
  BaseEvidenceSchema,
@@ -58,7 +58,7 @@ import {
58
58
  WorktreeIsolationConfigSchema,
59
59
  isQAAgent,
60
60
  isSubagent
61
- } from "./index-r1gdkn2d.js";
61
+ } from "./index-c8sqc3nh.js";
62
62
  import"./index-bk5tah7q.js";
63
63
  import {
64
64
  MigrationStatusSchema,
@@ -8,7 +8,7 @@ import {
8
8
  init_constants,
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-r1gdkn2d.js";
11
+ } from "./index-c8sqc3nh.js";
12
12
  import {
13
13
  log
14
14
  } from "./index-zgwm4ryv.js";
@@ -39,7 +39,7 @@ var _internals = {
39
39
  symlinkSync: fs.symlinkSync
40
40
  },
41
41
  writeScopeToDisk: async (directory, taskId, files) => {
42
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-habn4q8a.js");
42
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-dm5bab50.js");
43
43
  return realWrite(directory, taskId, files);
44
44
  },
45
45
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -12,14 +12,14 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-0ff5cm9j.js";
15
+ } from "./index-y9t766sw.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
19
19
  isInDeclaredScope,
20
20
  redactPath,
21
21
  redactShellCommand
22
- } from "./index-dezgmvtw.js";
22
+ } from "./index-echdpdhy.js";
23
23
 
24
24
  // src/services/guardrail-explain-service.ts
25
25
  import path from "path";