opencode-swarm 7.122.1 → 7.124.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 (99) hide show
  1. package/.opencode/skills/issue-tracer/SKILL.md +341 -0
  2. package/.opencode/skills/issue-tracer/assets/pr-template.md +59 -0
  3. package/.opencode/skills/issue-tracer/references/critic-gate.md +245 -0
  4. package/.opencode/skills/issue-tracer/references/evidence-artifacts.md +267 -0
  5. package/.opencode/skills/issue-tracer/references/install.md +63 -0
  6. package/.opencode/skills/issue-tracer/references/localization-playbook.md +95 -0
  7. package/.opencode/skills/issue-tracer/references/method-provenance.md +13 -0
  8. package/.opencode/skills/issue-tracer/references/untrusted-content.md +22 -0
  9. package/.opencode/skills/issue-tracer/scripts/scan-deferred.sh +103 -0
  10. package/.opencode/skills/issue-tracer/scripts/trace-init.sh +119 -0
  11. package/README.md +3 -0
  12. package/dist/cli/{config-doctor-3ksh1534.js → config-doctor-53mnpeke.js} +6 -6
  13. package/dist/cli/{core-cwgb7ev8.js → core-d38hc85b.js} +4 -4
  14. package/dist/cli/{curation-policy-4j4qce5a.js → curation-policy-ny033330.js} +2 -2
  15. package/dist/cli/{curator-drift-6b2fjsgr.js → curator-drift-h9a2sjvf.js} +7 -7
  16. package/dist/cli/curator-llm-factory-e0tjz8qq.js +53 -0
  17. package/dist/cli/{curator-qfh07497.js → curator-nvn1pdq6.js} +30 -29
  18. package/dist/cli/{dispatch-07jgc3hn.js → dispatch-f4hj1cj7.js} +3 -3
  19. package/dist/cli/{evidence-summary-service-96ndczbk.js → evidence-summary-service-9hq7n9k9.js} +12 -12
  20. package/dist/cli/{gate-evidence-xqks3kk2.js → gate-evidence-cy2te3x8.js} +2 -2
  21. package/dist/cli/guardrail-explain-d3dd57nf.js +54 -0
  22. package/dist/cli/guardrail-log-3q2z9axs.js +16 -0
  23. package/dist/cli/{hive-promoter-00mktxkk.js → hive-promoter-9gbpepgm.js} +30 -29
  24. package/dist/cli/index-134d35c1.js +116 -0
  25. package/dist/cli/{index-cqsak7bf.js → index-13d2g7k9.js} +1 -1
  26. package/dist/cli/{index-m1abzg93.js → index-1kz6da87.js} +4 -2
  27. package/dist/cli/{index-22e127jw.js → index-23zsx7dm.js} +5 -3
  28. package/dist/cli/{index-kzj3fp7c.js → index-2445sx3d.js} +1 -1
  29. package/dist/cli/{index-ctpgsj84.js → index-2tn5h2zp.js} +1 -1
  30. package/dist/cli/{index-n2712byd.js → index-2x4maxte.js} +8 -5
  31. package/dist/cli/{index-6xnxz6z0.js → index-3x761jqv.js} +4 -2
  32. package/dist/cli/{index-3rr0ese8.js → index-3yyr4ynk.js} +41 -9
  33. package/dist/cli/{index-7cspygmb.js → index-4rzzzjtg.js} +11 -8
  34. package/dist/cli/{index-nprawcc0.js → index-6n2jpz7x.js} +1 -1
  35. package/dist/cli/{index-jm81nhks.js → index-8pz0ypxz.js} +38 -31
  36. package/dist/cli/index-bk5tah7q.js +19 -0
  37. package/dist/cli/{index-293f68mj.js → index-bpmtbmy9.js} +4680 -4342
  38. package/dist/cli/index-c6crt5rs.js +2494 -0
  39. package/dist/cli/{index-19zn67q6.js → index-e19mxn9f.js} +5 -1
  40. package/dist/cli/{index-hns7xjm7.js → index-eeg04r0x.js} +4 -2
  41. package/dist/cli/{index-ye3fndsw.js → index-gacm5s2n.js} +9 -5
  42. package/dist/cli/{index-d6h5hq91.js → index-gnvg72y1.js} +2 -2
  43. package/dist/cli/{index-17eybc3z.js → index-htbjqftb.js} +1 -1
  44. package/dist/cli/{index-vcgfqd8f.js → index-k5jrywpr.js} +4 -2
  45. package/dist/cli/{index-kanrv3sv.js → index-mkkx1a4f.js} +2436 -1435
  46. package/dist/cli/{index-gnp9x6se.js → index-n832052r.js} +4 -2
  47. package/dist/cli/{index-6srk9a5q.js → index-qd77aft9.js} +2 -2
  48. package/dist/cli/{index-816rkp4y.js → index-s9mj4rb9.js} +5 -3
  49. package/dist/cli/{index-5he0kwnx.js → index-tyg0zezw.js} +13 -8
  50. package/dist/cli/{index-gw3m5fw0.js → index-v2rdhwx8.js} +5 -3
  51. package/dist/cli/{index-det5jwfk.js → index-v5ecczts.js} +5 -1
  52. package/dist/cli/{index-2j25br0p.js → index-wqwpzhv1.js} +9 -9
  53. package/dist/cli/{index-dywekeen.js → index-x2mmnrnx.js} +1 -1
  54. package/dist/cli/{index-j9kxwshw.js → index-z0m4angq.js} +8 -6
  55. package/dist/cli/{index-5e4e2hvv.js → index-z6xqpmqg.js} +4 -0
  56. package/dist/cli/{index-m0bmh3w0.js → index-zjedv2bd.js} +2 -2
  57. package/dist/cli/{index-p0arc26j.js → index-zjygnfay.js} +7 -2
  58. package/dist/cli/index.js +33 -30
  59. package/dist/cli/{knowledge-escalator-dyxsm78k.js → knowledge-escalator-r1s01m3z.js} +4 -4
  60. package/dist/cli/{knowledge-events-36q6nvae.js → knowledge-events-a9hmxvke.js} +1 -1
  61. package/dist/cli/{knowledge-store-e07b4s54.js → knowledge-store-jt31br5k.js} +2 -2
  62. package/dist/cli/{knowledge-validator-sfyf7wn2.js → knowledge-validator-9vrwxr3z.js} +5 -5
  63. package/dist/cli/{pending-delegations-68cbaqv2.js → pending-delegations-e3bcqj77.js} +7 -5
  64. package/dist/cli/{pr-subscriptions-x653151h.js → pr-subscriptions-bxpqde8w.js} +5 -5
  65. package/dist/cli/{scan-cursor-hm0aqqae.js → scan-cursor-bkjtsawg.js} +3 -3
  66. package/dist/cli/{schema-13bnng2n.js → schema-y3z416z7.js} +7 -4
  67. package/dist/cli/{scope-persistence-d9erwnvb.js → scope-persistence-habn4q8a.js} +4 -4
  68. package/dist/cli/{skill-generator-g6r52x94.js → skill-generator-794hyndw.js} +7 -7
  69. package/dist/cli/sqlite-loader-r1kgt2pq.js +12 -0
  70. package/dist/commands/memory-link.d.ts +28 -0
  71. package/dist/commands/registry.d.ts +25 -0
  72. package/dist/config/bundled-skills.d.ts +1 -1
  73. package/dist/config/schema.d.ts +6 -0
  74. package/dist/index.js +331 -318
  75. package/dist/knowledge/family-migration-shared.d.ts +24 -0
  76. package/dist/knowledge/family-migration.d.ts +5 -0
  77. package/dist/memory/config.d.ts +11 -0
  78. package/dist/memory/consolidation-log.d.ts +8 -2
  79. package/dist/memory/finalize-reward-sweep.d.ts +2 -1
  80. package/dist/memory/gateway.d.ts +13 -0
  81. package/dist/memory/index.d.ts +4 -2
  82. package/dist/memory/local-jsonl-provider.d.ts +25 -1
  83. package/dist/memory/memory-family-manifest.d.ts +52 -0
  84. package/dist/memory/memory-family-migration.d.ts +94 -0
  85. package/dist/memory/memory-link.d.ts +103 -0
  86. package/dist/memory/provider-pool.d.ts +35 -0
  87. package/dist/memory/redaction.d.ts +31 -0
  88. package/dist/memory/schema.d.ts +21 -0
  89. package/dist/memory/sqlite-provider.d.ts +58 -1
  90. package/dist/memory/storage-root.d.ts +93 -0
  91. package/dist/memory/types.d.ts +20 -1
  92. package/dist/services/knowledge-diagnostics.d.ts +25 -0
  93. package/dist/services/status-service.d.ts +16 -0
  94. package/package.json +2 -1
  95. package/dist/cli/curator-llm-factory-x769hn66.js +0 -52
  96. package/dist/cli/guardrail-explain-kj0e9r25.js +0 -53
  97. package/dist/cli/guardrail-log-z291m4gw.js +0 -16
  98. package/dist/cli/index-4rhcth7a.js +0 -14
  99. package/dist/cli/index-wr8qgpz5.js +0 -2463
@@ -1,7 +1,9 @@
1
1
  // @bun
2
2
  import {
3
+ init_constants,
4
+ init_schema,
3
5
  stripKnownSwarmPrefix
4
- } from "./index-wr8qgpz5.js";
6
+ } from "./index-c6crt5rs.js";
5
7
  import {
6
8
  init_logger,
7
9
  warn
@@ -2027,6 +2029,7 @@ class QuickLRU extends Map {
2027
2029
  }
2028
2030
 
2029
2031
  // src/hooks/guardrails/file-authority.ts
2032
+ init_schema();
2030
2033
  var pathNormalizationCache = new QuickLRU({
2031
2034
  maxSize: 500
2032
2035
  });
@@ -2335,6 +2338,7 @@ function checkFileAuthority(agentName, filePath, cwd, authorityConfig, options)
2335
2338
  }
2336
2339
 
2337
2340
  // src/hooks/guardrails/helpers.ts
2341
+ init_constants();
2338
2342
  import * as path2 from "path";
2339
2343
  function isInDeclaredScope2(filePath, scopeEntries, cwd) {
2340
2344
  const dir = cwd ?? process.cwd();
@@ -2,13 +2,14 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-n2712byd.js";
5
+ } from "./index-2x4maxte.js";
6
6
  import {
7
7
  resolveKnowledgeStoreDir
8
8
  } from "./index-q27bajqb.js";
9
9
  import {
10
+ init_knowledge_types,
10
11
  isActiveStatus
11
- } from "./index-4rhcth7a.js";
12
+ } from "./index-bk5tah7q.js";
12
13
  import {
13
14
  init_logger,
14
15
  log
@@ -22,6 +23,7 @@ import {
22
23
  import { existsSync } from "fs";
23
24
  import { mkdir, readFile, writeFile } from "fs/promises";
24
25
  import * as path2 from "path";
26
+ init_knowledge_types();
25
27
  init_logger();
26
28
 
27
29
  // src/knowledge/cohort-identity.ts
@@ -3,12 +3,11 @@ import {
3
3
  init_logger,
4
4
  log
5
5
  } from "./index-zgwm4ryv.js";
6
+ import {
7
+ __esm
8
+ } from "./index-a76rekgs.js";
6
9
 
7
10
  // src/services/warning-buffer.ts
8
- init_logger();
9
- var deferredWarnings = [];
10
- var MAX_DEFERRED_WARNINGS = 50;
11
- var deferredWarningsTruncated = false;
12
11
  function addDeferredWarning(warning) {
13
12
  if (deferredWarnings.length < MAX_DEFERRED_WARNINGS - 1) {
14
13
  deferredWarnings.push(warning);
@@ -26,5 +25,10 @@ function advisoryWarn(message, data) {
26
25
  function getDeferredWarnings() {
27
26
  return [...deferredWarnings];
28
27
  }
28
+ var deferredWarnings, MAX_DEFERRED_WARNINGS = 50, deferredWarningsTruncated = false;
29
+ var init_warning_buffer = __esm(() => {
30
+ init_logger();
31
+ deferredWarnings = [];
32
+ });
29
33
 
30
- export { advisoryWarn, getDeferredWarnings };
34
+ export { advisoryWarn, getDeferredWarnings, init_warning_buffer };
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  computePlanStructureHash,
4
4
  derivePlanId
5
- } from "./index-ctpgsj84.js";
5
+ } from "./index-2tn5h2zp.js";
6
6
  import {
7
7
  PlanSchema
8
- } from "./index-m1abzg93.js";
8
+ } from "./index-1kz6da87.js";
9
9
  import {
10
10
  require_proper_lockfile
11
11
  } from "./index-7g4c7s5r.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  redactPath,
4
4
  redactShellCommand
5
- } from "./index-19zn67q6.js";
5
+ } from "./index-e19mxn9f.js";
6
6
 
7
7
  // src/services/guardrail-log-service.ts
8
8
  import * as fs from "fs/promises";
@@ -1,9 +1,11 @@
1
1
  // @bun
2
2
  import {
3
- exports_external
4
- } from "./index-293f68mj.js";
3
+ exports_external,
4
+ init_zod
5
+ } from "./index-bpmtbmy9.js";
5
6
 
6
7
  // src/config/evidence-schema.ts
8
+ init_zod();
7
9
  var EVIDENCE_MAX_JSON_BYTES = 500 * 1024;
8
10
  var EVIDENCE_MAX_PATCH_BYTES = 5 * 1024 * 1024;
9
11
  var EVIDENCE_MAX_TASK_BYTES = 20 * 1024 * 1024;