opencode-swarm 7.136.4 → 7.137.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 (82) hide show
  1. package/dist/agents/agent-output-schema.d.ts +2 -2
  2. package/dist/cli/{config-doctor-qwp5y9dk.js → config-doctor-vyx82nx2.js} +2 -2
  3. package/dist/cli/{core-jpjk2qvt.js → core-6w5sd5bc.js} +1 -1
  4. package/dist/cli/{curation-policy-8tsbaa4q.js → curation-policy-8tvs4pa0.js} +7 -6
  5. package/dist/cli/{curator-763smew7.js → curator-43xqs75k.js} +25 -25
  6. package/dist/cli/{curator-llm-factory-dg8mmzy7.js → curator-llm-factory-8nywfdsh.js} +25 -25
  7. package/dist/cli/{evidence-summary-service-nse06dqr.js → evidence-summary-service-85gw9p2m.js} +7 -7
  8. package/dist/cli/{gate-evidence-kdygjr56.js → gate-evidence-s2kytsrj.js} +4 -4
  9. package/dist/cli/{guardrail-explain-6jc012g3.js → guardrail-explain-8kkqz8tx.js} +26 -26
  10. package/dist/cli/{guardrail-log-86aw7fne.js → guardrail-log-e2v9qw71.js} +3 -3
  11. package/dist/cli/{hive-promoter-en786ja4.js → hive-promoter-jt9ky0hn.js} +25 -25
  12. package/dist/cli/{index-45y0y3xh.js → index-1zrb3vt2.js} +7 -7
  13. package/dist/cli/{index-d2sf9an1.js → index-5r6kkhd7.js} +4 -4
  14. package/dist/cli/{index-ne28wyyc.js → index-5wjw05dy.js} +2 -2
  15. package/dist/cli/{index-06htxvzq.js → index-72wzb81c.js} +3 -3
  16. package/dist/cli/{index-7t3vjw5e.js → index-877ah4kx.js} +1 -1
  17. package/dist/cli/{index-tncy55bp.js → index-8ehyt3rx.js} +1 -1
  18. package/dist/cli/{index-gjs5g97v.js → index-91kk2e9j.js} +1 -1
  19. package/dist/cli/{index-t1s4b5ha.js → index-92v63zzr.js} +688 -637
  20. package/dist/cli/{index-rkp6jvc3.js → index-aze9n64z.js} +2 -2
  21. package/dist/cli/{index-wy2f83j5.js → index-d00q9kpq.js} +5 -5
  22. package/dist/cli/{index-qv1xc6rd.js → index-d0nhz96c.js} +2 -2
  23. package/dist/cli/{index-hh34tyv7.js → index-dxatvs3f.js} +1 -1
  24. package/dist/cli/{index-4cv991ra.js → index-f24r6yqk.js} +3 -3
  25. package/dist/cli/{index-bb3ks0v3.js → index-fgkhpdc6.js} +6 -6
  26. package/dist/cli/{index-w6j1n5az.js → index-gv00q5gc.js} +1 -1
  27. package/dist/cli/index-h5sbn1zr.js +1670 -0
  28. package/dist/cli/{index-et8b70c8.js → index-j2ghsdzz.js} +27 -27
  29. package/dist/cli/{index-89fpahtg.js → index-j6ewv2pe.js} +6 -1
  30. package/dist/cli/{index-nfm9f10v.js → index-k3mezk96.js} +1 -1
  31. package/dist/cli/{index-94pvh7hc.js → index-mg26zd8x.js} +2 -2
  32. package/dist/cli/{index-pq8ge6fe.js → index-mwdzkr6k.js} +3 -2
  33. package/dist/cli/{index-b3jfcptk.js → index-n3h6rmbe.js} +1 -1
  34. package/dist/cli/{index-fkdxfdbx.js → index-p124rnwb.js} +4 -4
  35. package/dist/cli/{index-1hef020t.js → index-pcwjz5de.js} +1 -1
  36. package/dist/cli/{index-kym0cctr.js → index-qy3rgmkc.js} +1 -1
  37. package/dist/cli/{index-d61h3f3h.js → index-s3j9fsab.js} +2 -2
  38. package/dist/cli/{index-zzhyws9g.js → index-vft1pg34.js} +1 -1
  39. package/dist/cli/{index-fhnbzz75.js → index-wg98bsxz.js} +2 -2
  40. package/dist/cli/{index-g0sdhyqk.js → index-y25nsyaq.js} +1 -1
  41. package/dist/cli/index.js +25 -25
  42. package/dist/cli/{knowledge-escalator-e815bveb.js → knowledge-escalator-9k0kbx6b.js} +8 -7
  43. package/dist/cli/{knowledge-events-dz2tyhpw.js → knowledge-events-8nz3sa2d.js} +6 -5
  44. package/dist/cli/{knowledge-link-zr40rnwr.js → knowledge-link-t94b79qe.js} +5 -4
  45. package/dist/cli/{knowledge-store-97qr7m9k.js → knowledge-store-esghe3f9.js} +6 -5
  46. package/dist/cli/{knowledge-validator-xsetvy4v.js → knowledge-validator-bjxag1jp.js} +9 -8
  47. package/dist/cli/{pending-delegations-0h5b18p7.js → pending-delegations-kshh66s2.js} +3 -3
  48. package/dist/cli/{pr-subscriptions-jn0h047q.js → pr-subscriptions-5fpzz4f3.js} +3 -3
  49. package/dist/cli/{runner-deeswadt.js → runner-d820ws7y.js} +5 -5
  50. package/dist/cli/{scan-cursor-129fwf7e.js → scan-cursor-t212v00f.js} +7 -6
  51. package/dist/cli/{schema-3xdza5gg.js → schema-11gyrec3.js} +1 -1
  52. package/dist/cli/{scope-persistence-5xc9ntdh.js → scope-persistence-sjz200dt.js} +4 -4
  53. package/dist/cli/{skill-generator-8zhprasg.js → skill-generator-a07hpmw6.js} +10 -9
  54. package/dist/cli/{telemetry-6678gya0.js → telemetry-h7h7f0ez.js} +2 -1
  55. package/dist/cli/{worktree-collision-ownership-wt7cc850.js → worktree-collision-ownership-xzwab4xt.js} +3 -3
  56. package/dist/config/constants.d.ts +1 -1
  57. package/dist/config/evidence-schema.d.ts +103 -103
  58. package/dist/config/plan-schema.d.ts +10 -10
  59. package/dist/config/schema.d.ts +8 -8
  60. package/dist/consensus/contracts.d.ts +3 -3
  61. package/dist/hooks/guardrails/file-authority.d.ts +20 -1
  62. package/dist/hooks/hive-promoter.d.ts +1 -1
  63. package/dist/index.js +320 -321
  64. package/dist/memory/index.d.ts +1 -1
  65. package/dist/memory/local-jsonl-provider.d.ts +4 -1
  66. package/dist/memory/redaction.d.ts +91 -0
  67. package/dist/memory/sqlite-provider.d.ts +5 -1
  68. package/dist/observability/catalog.d.ts +84 -0
  69. package/dist/observability/envelope.d.ts +401 -0
  70. package/dist/observability/ids.d.ts +97 -0
  71. package/dist/observability/index.d.ts +58 -0
  72. package/dist/observability/legacy.d.ts +68 -0
  73. package/dist/observability/observe.d.ts +112 -0
  74. package/dist/observability/otel-mapping.d.ts +48 -0
  75. package/dist/observability/relationships.d.ts +44 -0
  76. package/dist/observability/sampling.d.ts +77 -0
  77. package/dist/summaries/schema.d.ts +2 -2
  78. package/dist/telemetry.d.ts +4 -1
  79. package/dist/utils/arg-hash.d.ts +113 -0
  80. package/dist/utils/stable-stringify.d.ts +47 -2
  81. package/package.json +3 -2
  82. package/dist/cli/index-cze4bq1x.js +0 -358
@@ -7,7 +7,7 @@ import {
7
7
  loadPluginConfigWithMeta,
8
8
  loadPluginConfigWithMetaAsync,
9
9
  resolveWorktreeIsolationConfig
10
- } from "./index-1hef020t.js";
10
+ } from "./index-pcwjz5de.js";
11
11
  import {
12
12
  ApprovalEvidenceSchema,
13
13
  BaseEvidenceSchema,
@@ -54,7 +54,7 @@ import {
54
54
  TurboConfigSchema,
55
55
  WorktreeIsolationConfigSchema,
56
56
  resolveAutoReviewConfig
57
- } from "./index-pq8ge6fe.js";
57
+ } from "./index-mwdzkr6k.js";
58
58
  import"./index-bk5tah7q.js";
59
59
  import {
60
60
  MigrationStatusSchema,
@@ -6,13 +6,13 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-bb3ks0v3.js";
9
+ } from "./index-fgkhpdc6.js";
10
10
  import {
11
11
  countEntryContradictionsInWindow,
12
12
  countEntryViolationsInWindow,
13
13
  readKnowledgeEvents,
14
14
  recordKnowledgeEvent
15
- } from "./index-06htxvzq.js";
15
+ } from "./index-72wzb81c.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-xsetvy4v.js");
193
+ const { quarantineEntry } = await import("./knowledge-validator-bjxag1jp.js");
194
194
  let policyConfig;
195
195
  try {
196
- const { KnowledgeConfigSchema } = await import("./schema-3xdza5gg.js");
197
- const { loadPluginConfigWithMeta } = await import("./index-rkp6jvc3.js");
196
+ const { KnowledgeConfigSchema } = await import("./schema-11gyrec3.js");
197
+ const { loadPluginConfigWithMeta } = await import("./index-aze9n64z.js");
198
198
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
199
199
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
200
200
  } catch {
@@ -12,14 +12,14 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-t1s4b5ha.js";
15
+ } from "./index-92v63zzr.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
19
19
  isInDeclaredScope,
20
20
  redactPath,
21
21
  redactShellCommand
22
- } from "./index-89fpahtg.js";
22
+ } from "./index-j6ewv2pe.js";
23
23
 
24
24
  // src/services/guardrail-explain-service.ts
25
25
  import path from "path";
@@ -86,7 +86,7 @@ var _internals = {
86
86
  symlinkSync: fs.symlinkSync
87
87
  },
88
88
  writeScopeToDisk: async (directory, taskId, files) => {
89
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-5xc9ntdh.js");
89
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-sjz200dt.js");
90
90
  return realWrite(directory, taskId, files);
91
91
  },
92
92
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-fkdxfdbx.js";
5
+ } from "./index-p124rnwb.js";
6
6
  import {
7
7
  computeOutcomeSignal,
8
8
  readKnowledge,
9
9
  resolveHiveKnowledgePath,
10
10
  resolveSwarmKnowledgePath,
11
11
  transactKnowledge
12
- } from "./index-bb3ks0v3.js";
12
+ } from "./index-fgkhpdc6.js";
13
13
  import {
14
14
  effectiveRetrievalOutcomes,
15
15
  readKnowledgeCounterRollups
16
- } from "./index-06htxvzq.js";
16
+ } from "./index-72wzb81c.js";
17
17
  import {
18
18
  init_knowledge_types,
19
19
  isActiveStatus
@@ -6,10 +6,10 @@ import {
6
6
  } from "./index-ae75rja9.js";
7
7
  import {
8
8
  resolveKnowledgeStoreDir
9
- } from "./index-zzhyws9g.js";
9
+ } from "./index-vft1pg34.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-b3jfcptk.js";
12
+ } from "./index-n3h6rmbe.js";
13
13
  import {
14
14
  init_knowledge_types,
15
15
  isActiveStatus
@@ -702,7 +702,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
702
702
  const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
703
703
  if (atFloor.length === 0 && recovered.length === 0)
704
704
  return;
705
- const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-dz2tyhpw.js");
705
+ const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-8nz3sa2d.js");
706
706
  const rollups = await readKnowledgeCounterRollups(directory);
707
707
  const flagIds = new Set;
708
708
  for (const e of atFloor) {
@@ -769,11 +769,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
769
769
  });
770
770
  }
771
771
  if (action === "quarantine" && toQuarantine.length > 0) {
772
- const { quarantineEntry } = await import("./knowledge-validator-xsetvy4v.js");
773
- const { KnowledgeConfigSchema } = await import("./schema-3xdza5gg.js");
772
+ const { quarantineEntry } = await import("./knowledge-validator-bjxag1jp.js");
773
+ const { KnowledgeConfigSchema } = await import("./schema-11gyrec3.js");
774
774
  let config;
775
775
  try {
776
- const { loadPluginConfigWithMeta } = await import("./index-rkp6jvc3.js");
776
+ const { loadPluginConfigWithMeta } = await import("./index-aze9n64z.js");
777
777
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
778
778
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
779
779
  } catch {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  computePlanStructureHash,
4
4
  derivePlanId
5
- } from "./index-d61h3f3h.js";
5
+ } from "./index-s3j9fsab.js";
6
6
  import {
7
7
  PlanSchema
8
8
  } from "./index-1kz6da87.js";