opencode-swarm 7.140.6 → 7.141.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 (81) hide show
  1. package/.opencode/skills/deep-dive/SKILL.md +7 -6
  2. package/.opencode/skills/running-tests/SKILL.md +7 -0
  3. package/dist/agents/explorer.d.ts +1 -1
  4. package/dist/background/lane-delivery-store.d.ts +43 -0
  5. package/dist/background/lane-output-store.d.ts +6 -0
  6. package/dist/cli/{config-doctor-y5qeh18c.js → config-doctor-xs2p0xy3.js} +2 -2
  7. package/dist/cli/{core-pwd9604e.js → core-znrxk8gw.js} +1 -1
  8. package/dist/cli/{curation-policy-avvb56x2.js → curation-policy-j1fbc3ry.js} +5 -5
  9. package/dist/cli/{curator-q1nchgpg.js → curator-a95x81ek.js} +28 -28
  10. package/dist/cli/{curator-llm-factory-96pnc23w.js → curator-llm-factory-ak7p0scv.js} +28 -28
  11. package/dist/cli/{dispatch-2s23fbcs.js → dispatch-rd10kdk1.js} +1 -1
  12. package/dist/cli/{evidence-summary-service-18142mr3.js → evidence-summary-service-2gk48s5s.js} +9 -9
  13. package/dist/cli/{explorer-e9h66egs.js → explorer-18353rhn.js} +1 -1
  14. package/dist/cli/{gate-evidence-smn2wqft.js → gate-evidence-rt9034ft.js} +4 -4
  15. package/dist/cli/{guardrail-explain-kyd89z8z.js → guardrail-explain-4st3vc3d.js} +29 -29
  16. package/dist/cli/{guardrail-log-cahp1ews.js → guardrail-log-vjexgpfm.js} +3 -3
  17. package/dist/cli/{hive-promoter-vcbcvcsh.js → hive-promoter-g9ad9vad.js} +28 -28
  18. package/dist/cli/{index-z0z9pe7b.js → index-2ygp3pnx.js} +5 -5
  19. package/dist/cli/{index-1p72dtym.js → index-39xs96mk.js} +1 -1
  20. package/dist/cli/{index-tjqzr3jc.js → index-3d13jkzq.js} +2 -2
  21. package/dist/cli/{index-p2ty3eee.js → index-3gfdb0t9.js} +1 -1
  22. package/dist/cli/{index-4s7xgzbm.js → index-44nf5s90.js} +1 -1
  23. package/dist/cli/{index-2778hhh7.js → index-5ykn39wq.js} +2 -2
  24. package/dist/cli/{index-bjqpdr83.js → index-8056f16v.js} +3 -3
  25. package/dist/cli/{index-y9q9f6ms.js → index-8s4vnqts.js} +4 -4
  26. package/dist/cli/{index-epvhf50h.js → index-9d4gck4e.js} +2 -1
  27. package/dist/cli/{index-p8kk34am.js → index-c2hczjhp.js} +1 -1
  28. package/dist/cli/{index-56rqw2hs.js → index-c6m3t5n2.js} +6 -6
  29. package/dist/cli/{index-nakkgkkt.js → index-dx1mdsrj.js} +1294 -934
  30. package/dist/cli/{index-41hkt36g.js → index-ebwznsfy.js} +90 -19
  31. package/dist/cli/{index-c432knmy.js → index-f1hsrgw1.js} +1 -1
  32. package/dist/cli/{index-5qd5vt2d.js → index-g29r600w.js} +30 -30
  33. package/dist/cli/{index-z3s0a44b.js → index-hjf8pjd4.js} +3 -3
  34. package/dist/cli/{index-vh05t3w5.js → index-kq5p3nm3.js} +1 -1
  35. package/dist/cli/{index-h01wb18g.js → index-mr397tze.js} +2 -2
  36. package/dist/cli/{index-s1v0wza5.js → index-nse60anv.js} +1 -1
  37. package/dist/cli/{index-thp186x0.js → index-pkxt2rg2.js} +1 -1
  38. package/dist/cli/{index-t5pytnca.js → index-q4vaar2b.js} +2 -2
  39. package/dist/cli/{index-m9xrdjn0.js → index-qskz8j2z.js} +1 -1
  40. package/dist/cli/{index-92n3d5ky.js → index-ry609ctr.js} +40 -9
  41. package/dist/cli/{index-qy1nq52t.js → index-v250345n.js} +1 -1
  42. package/dist/cli/{index-e58e3v0v.js → index-vnr917xf.js} +3 -3
  43. package/dist/cli/{index-fejfzy2j.js → index-w9613ace.js} +6 -6
  44. package/dist/cli/{index-dtqjxfw9.js → index-wbf8sv70.js} +1 -1
  45. package/dist/cli/{index-v2xrer41.js → index-xmzmeknp.js} +3 -1
  46. package/dist/cli/{index-p04qrwck.js → index-ysapwztd.js} +2 -2
  47. package/dist/cli/{index-zd4qhnr7.js → index-z8yr1yra.js} +1 -1
  48. package/dist/cli/{index-912qz4y0.js → index-zbj3yrrd.js} +1 -1
  49. package/dist/cli/{index-4zxrkk1h.js → index-zqshpey0.js} +3 -3
  50. package/dist/cli/index.js +28 -28
  51. package/dist/cli/{knowledge-escalator-gj58za4g.js → knowledge-escalator-5xg6vmr4.js} +10 -10
  52. package/dist/cli/{knowledge-events-3m5jnnv6.js → knowledge-events-qvzpqt5b.js} +8 -8
  53. package/dist/cli/{knowledge-link-m9p80f4r.js → knowledge-link-x86ebng8.js} +4 -4
  54. package/dist/cli/{knowledge-store-0vy8wbzd.js → knowledge-store-k5td1vqx.js} +5 -5
  55. package/dist/cli/{knowledge-validator-mvcs8wf6.js → knowledge-validator-zz26gk5d.js} +7 -7
  56. package/dist/cli/{pending-delegations-cxx9tezp.js → pending-delegations-7xsagjy5.js} +3 -3
  57. package/dist/cli/{pr-subscriptions-2sfnb599.js → pr-subscriptions-r6cdsa3t.js} +3 -3
  58. package/dist/cli/{runner-mky3vvht.js → runner-nm3baddf.js} +5 -5
  59. package/dist/cli/{scan-cursor-wznc7p7p.js → scan-cursor-nhcpebh5.js} +6 -6
  60. package/dist/cli/{schema-k596bhds.js → schema-6ecb0xhn.js} +1 -1
  61. package/dist/cli/{scope-persistence-0ny5fn07.js → scope-persistence-yet1hvmq.js} +6 -6
  62. package/dist/cli/{skill-generator-vrks0jjj.js → skill-generator-j0mbd2pp.js} +12 -12
  63. package/dist/cli/{telemetry-0x6kszvk.js → telemetry-zex3zv3v.js} +1 -1
  64. package/dist/cli/{worktree-collision-ownership-wm5pse49.js → worktree-collision-ownership-n41qw3n8.js} +3 -3
  65. package/dist/cli/{worktree-isolation-zgk7314k.js → worktree-isolation-445zjngp.js} +28 -28
  66. package/dist/hooks/delegation-gate.d.ts +6 -0
  67. package/dist/hooks/knowledge-application-gate.d.ts +1 -1
  68. package/dist/hooks/knowledge-events.d.ts +5 -2
  69. package/dist/hooks/knowledge-receipt-ledger.d.ts +38 -0
  70. package/dist/hooks/knowledge-receipt-observability.d.ts +24 -1
  71. package/dist/hooks/knowledge-receipt-validator.d.ts +19 -3
  72. package/dist/hooks/knowledge-types.d.ts +9 -0
  73. package/dist/hooks/repo-graph-injection.d.ts +52 -0
  74. package/dist/index.js +224 -213
  75. package/dist/lang/backend.d.ts +8 -1
  76. package/dist/lang/default-backend.d.ts +2 -1
  77. package/dist/tools/create-tool.d.ts +5 -2
  78. package/dist/tools/dispatch-lanes.d.ts +45 -5
  79. package/dist/tools/knowledge-receipt.d.ts +40 -0
  80. package/dist/tools/test-runner.d.ts +14 -5
  81. package/package.json +1 -1
@@ -7,61 +7,61 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-nakkgkkt.js";
10
+ } from "./index-dx1mdsrj.js";
11
11
  import"./index-4905hd2m.js";
12
- import"./index-41hkt36g.js";
13
- import"./index-c432knmy.js";
14
- import"./index-1p72dtym.js";
12
+ import"./index-ebwznsfy.js";
13
+ import"./index-f1hsrgw1.js";
14
+ import"./index-39xs96mk.js";
15
15
  import"./index-c8s9a3zh.js";
16
- import"./index-p2ty3eee.js";
17
- import"./index-56rqw2hs.js";
16
+ import"./index-3gfdb0t9.js";
17
+ import"./index-c6m3t5n2.js";
18
18
  import"./index-134d35c1.js";
19
- import"./index-t5pytnca.js";
19
+ import"./index-q4vaar2b.js";
20
20
  import"./index-y8552snf.js";
21
21
  import"./index-9ss2m4rs.js";
22
22
  import"./index-74hpm6sh.js";
23
- import"./index-z3s0a44b.js";
24
- import"./index-z0z9pe7b.js";
25
- import"./index-h01wb18g.js";
26
- import"./index-v2xrer41.js";
27
- import"./index-m9xrdjn0.js";
28
- import"./index-bjqpdr83.js";
23
+ import"./index-hjf8pjd4.js";
24
+ import"./index-2ygp3pnx.js";
25
+ import"./index-mr397tze.js";
26
+ import"./index-xmzmeknp.js";
27
+ import"./index-qskz8j2z.js";
28
+ import"./index-8056f16v.js";
29
29
  import"./index-556ja8an.js";
30
- import"./index-4zxrkk1h.js";
30
+ import"./index-zqshpey0.js";
31
31
  import"./index-zsrtt42s.js";
32
- import"./index-dtqjxfw9.js";
32
+ import"./index-wbf8sv70.js";
33
33
  import"./index-qwm6vdyv.js";
34
- import"./index-tjqzr3jc.js";
35
- import"./index-s1v0wza5.js";
34
+ import"./index-3d13jkzq.js";
35
+ import"./index-nse60anv.js";
36
36
  import"./index-8fwhhayc.js";
37
37
  import"./index-q1exe2b3.js";
38
- import"./index-92n3d5ky.js";
38
+ import"./index-ry609ctr.js";
39
39
  import"./index-k46me75h.js";
40
40
  import"./index-ee3x66a5.js";
41
- import"./index-y9q9f6ms.js";
42
- import"./index-qy1nq52t.js";
41
+ import"./index-8s4vnqts.js";
42
+ import"./index-v250345n.js";
43
43
  import"./index-rtry5xyf.js";
44
44
  import {
45
45
  resolveHiveKnowledgePath
46
- } from "./index-fejfzy2j.js";
46
+ } from "./index-w9613ace.js";
47
47
  import"./index-ae75rja9.js";
48
- import"./index-vh05t3w5.js";
49
- import"./index-p8kk34am.js";
50
- import"./index-912qz4y0.js";
48
+ import"./index-kq5p3nm3.js";
49
+ import"./index-c2hczjhp.js";
50
+ import"./index-zbj3yrrd.js";
51
51
  import"./index-7g4c7s5r.js";
52
52
  import"./index-ed5ykebp.js";
53
53
  import"./index-4nt52yr9.js";
54
- import"./index-p04qrwck.js";
54
+ import"./index-ysapwztd.js";
55
55
  import"./index-gprxjmm7.js";
56
56
  import"./index-n832052r.js";
57
- import"./index-zd4qhnr7.js";
57
+ import"./index-z8yr1yra.js";
58
58
  import"./index-4rhhvd1a.js";
59
59
  import"./index-zgwm4ryv.js";
60
- import"./index-thp186x0.js";
60
+ import"./index-pkxt2rg2.js";
61
61
  import"./index-jqsfsqbx.js";
62
62
  import"./index-zjygnfay.js";
63
63
  import"./index-bk5tah7q.js";
64
- import"./index-epvhf50h.js";
64
+ import"./index-9d4gck4e.js";
65
65
  import"./index-bpmtbmy9.js";
66
66
  import"./index-a76rekgs.js";
67
67
  export {
@@ -3,7 +3,7 @@ import {
3
3
  queryHistoricalOutcomes,
4
4
  readKnowledgeEvents,
5
5
  recordKnowledgeEvent
6
- } from "./index-92n3d5ky.js";
6
+ } from "./index-ry609ctr.js";
7
7
  import {
8
8
  jaccardBigram,
9
9
  readKnowledge,
@@ -11,7 +11,7 @@ import {
11
11
  resolveSwarmKnowledgePath,
12
12
  transactKnowledge,
13
13
  wordBigrams
14
- } from "./index-fejfzy2j.js";
14
+ } from "./index-w9613ace.js";
15
15
  import {
16
16
  init_knowledge_types,
17
17
  isActiveStatus
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
224
224
  alreadyInactive: true
225
225
  };
226
226
  }
227
- const { quarantineEntry } = await import("./knowledge-validator-mvcs8wf6.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-zz26gk5d.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-k596bhds.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-e58e3v0v.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-6ecb0xhn.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-vnr917xf.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  init_schema,
17
17
  stripKnownSwarmPrefix
18
- } from "./index-thp186x0.js";
18
+ } from "./index-pkxt2rg2.js";
19
19
  import {
20
20
  init_constants
21
21
  } from "./index-jqsfsqbx.js";
@@ -6,10 +6,10 @@ import {
6
6
  atomicWriteFile,
7
7
  taskEvidencePath,
8
8
  withTaskEvidenceLock
9
- } from "./index-p8kk34am.js";
9
+ } from "./index-c2hczjhp.js";
10
10
  import {
11
11
  telemetry
12
- } from "./index-epvhf50h.js";
12
+ } from "./index-9d4gck4e.js";
13
13
  import {
14
14
  exports_external,
15
15
  init_zod
@@ -9,7 +9,7 @@ import {
9
9
  PluginConfigSchema,
10
10
  init_schema,
11
11
  stripKnownSwarmPrefix
12
- } from "./index-thp186x0.js";
12
+ } from "./index-pkxt2rg2.js";
13
13
  import {
14
14
  ALL_AGENT_NAMES,
15
15
  init_constants
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  redactPath,
4
4
  redactShellCommand
5
- } from "./index-1p72dtym.js";
5
+ } from "./index-39xs96mk.js";
6
6
 
7
7
  // src/services/guardrail-log-service.ts
8
8
  import * as fs from "fs/promises";
@@ -12,14 +12,14 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-nakkgkkt.js";
15
+ } from "./index-dx1mdsrj.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
19
19
  isInDeclaredScope,
20
20
  redactPath,
21
21
  redactShellCommand
22
- } from "./index-1p72dtym.js";
22
+ } from "./index-39xs96mk.js";
23
23
 
24
24
  // src/services/guardrail-explain-service.ts
25
25
  import path from "path";
@@ -5,10 +5,10 @@ import {
5
5
  import {
6
6
  computePlanStructureHash,
7
7
  derivePlanId
8
- } from "./index-4zxrkk1h.js";
8
+ } from "./index-zqshpey0.js";
9
9
  import {
10
10
  assertProjectRoot
11
- } from "./index-912qz4y0.js";
11
+ } from "./index-zbj3yrrd.js";
12
12
  import {
13
13
  require_proper_lockfile
14
14
  } from "./index-7g4c7s5r.js";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./index-4nt52yr9.js";
18
18
  import {
19
19
  PlanSchema
20
- } from "./index-zd4qhnr7.js";
20
+ } from "./index-z8yr1yra.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./index-a76rekgs.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-qy1nq52t.js";
4
+ } from "./index-v250345n.js";
5
5
  import {
6
6
  findNearDuplicate,
7
7
  inferTags,
@@ -9,13 +9,13 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-fejfzy2j.js";
12
+ } from "./index-w9613ace.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-vh05t3w5.js";
15
+ } from "./index-kq5p3nm3.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-p8kk34am.js";
18
+ } from "./index-c2hczjhp.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";
@@ -599,7 +599,7 @@ var CATALOG_SOURCE = [
599
599
  category: "knowledge",
600
600
  severity: "info",
601
601
  privacyClass: "pseudonymous",
602
- producer: "src/hooks/knowledge-receipt-observability.ts:160",
602
+ producer: "src/hooks/knowledge-receipt-observability.ts:191",
603
603
  consumers: NO_CONSUMERS,
604
604
  futureOwnerIssue: ISSUE_SINK,
605
605
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -969,6 +969,7 @@ var KNOWN_TELEMETRY_KEYS = Object.freeze({
969
969
  "transition",
970
970
  "reasonCode",
971
971
  "schemaVersion",
972
+ "receiptSemantics",
972
973
  "knowledgeTraceId",
973
974
  "knowledgeEntryId",
974
975
  "sessionId",
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  withEvidenceLock
4
- } from "./index-912qz4y0.js";
4
+ } from "./index-zbj3yrrd.js";
5
5
  import {
6
6
  invalidateCachedArtifact
7
7
  } from "./index-ed5ykebp.js";
@@ -6,7 +6,7 @@ import {
6
6
  EvaluationRunV1Schema,
7
7
  GateAuditResultV1Schema,
8
8
  getProtectedEvaluationRunIds
9
- } from "./index-t5pytnca.js";
9
+ } from "./index-q4vaar2b.js";
10
10
  import {
11
11
  readEffectiveSpecSync
12
12
  } from "./index-9ss2m4rs.js";
@@ -29,7 +29,7 @@ import {
29
29
  replayFromLedgerWithStatus,
30
30
  takeSnapshotEvent,
31
31
  takeSnapshotWithRetry
32
- } from "./index-4zxrkk1h.js";
32
+ } from "./index-zqshpey0.js";
33
33
  import {
34
34
  getWorktreeMergeFailure
35
35
  } from "./index-zsrtt42s.js";
@@ -38,7 +38,7 @@ import {
38
38
  readTaskEvidence,
39
39
  readTaskEvidenceRaw,
40
40
  sanitizeTaskId
41
- } from "./index-tjqzr3jc.js";
41
+ } from "./index-3d13jkzq.js";
42
42
  import {
43
43
  _internals,
44
44
  buildDefaultPolicy,
@@ -54,7 +54,7 @@ import {
54
54
  assertProjectRoot,
55
55
  tryAcquireLock,
56
56
  withEvidenceLock
57
- } from "./index-912qz4y0.js";
57
+ } from "./index-zbj3yrrd.js";
58
58
  import {
59
59
  invalidateCachedArtifact,
60
60
  readCachedParsedFile
@@ -71,7 +71,7 @@ import {
71
71
  } from "./index-gprxjmm7.js";
72
72
  import {
73
73
  PlanSchema
74
- } from "./index-zd4qhnr7.js";
74
+ } from "./index-z8yr1yra.js";
75
75
  import {
76
76
  criticalWarn,
77
77
  error,
@@ -80,7 +80,7 @@ import {
80
80
  } from "./index-zgwm4ryv.js";
81
81
  import {
82
82
  emit
83
- } from "./index-epvhf50h.js";
83
+ } from "./index-9d4gck4e.js";
84
84
  import {
85
85
  ZodError,
86
86
  init_zod