opencode-swarm 7.164.11 → 7.164.13

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 (127) hide show
  1. package/.opencode/skills/engineering-conventions/SKILL.md +1 -1
  2. package/.opencode/skills/loop/SKILL.md +1 -1
  3. package/.opencode/skills/{plan → swarm-plan}/SKILL.md +1 -1
  4. package/dist/background/pending-delegations.d.ts +7 -2
  5. package/dist/background/pr-subscriptions.d.ts +3 -3
  6. package/dist/cli/{coder-settlement-0rfk8y11.js → coder-settlement-em2fgg4p.js} +16 -17
  7. package/dist/cli/{config-doctor-j17b7qq2.js → config-doctor-1m4mrybp.js} +4 -4
  8. package/dist/cli/{core-evhjjrtt.js → core-zbzdffha.js} +3 -3
  9. package/dist/cli/{curation-policy-vj6z5hvr.js → curation-policy-bqpmry2n.js} +5 -6
  10. package/dist/cli/{curator-drift-ez81vg2t.js → curator-drift-hbc3w5zj.js} +14 -12
  11. package/dist/cli/curator-llm-factory-j76c96t7.js +70 -0
  12. package/dist/cli/{curator-vqd5yeck.js → curator-tn3x5j02.js} +49 -47
  13. package/dist/cli/{dispatch-dqybvj8v.js → dispatch-c7xjt7js.js} +3 -3
  14. package/dist/cli/{evidence-summary-service-937x7rbg.js → evidence-summary-service-7cn9z4sn.js} +25 -24
  15. package/dist/cli/{gate-evidence-q1cehr4k.js → gate-evidence-deyzt3hz.js} +10 -11
  16. package/dist/cli/guardrail-explain-4k2pqj46.js +71 -0
  17. package/dist/cli/{guardrail-log-3g93f3g2.js → guardrail-log-cnbv6vry.js} +11 -11
  18. package/dist/cli/{guardrail-reset-qe2r5qzq.js → guardrail-reset-xhh61cax.js} +49 -47
  19. package/dist/cli/hive-promoter-1m8zpz4d.js +85 -0
  20. package/dist/cli/{index-rhqdsc1x.js → index-0mwjamha.js} +9 -9
  21. package/dist/cli/{index-y1yqmkv7.js → index-3c0z1jnc.js} +56 -52
  22. package/dist/cli/{index-kch6yenm.js → index-4fhcbe14.js} +8 -8
  23. package/dist/cli/{index-ww6zm5hr.js → index-5ebgzb5a.js} +3 -3
  24. package/dist/cli/{index-4vb6qa73.js → index-5h60rtaa.js} +37 -3
  25. package/dist/cli/{index-w3gtqey0.js → index-6chhqq2n.js} +4 -4
  26. package/dist/cli/index-6m24v15v.js +429 -0
  27. package/dist/cli/{index-vdn32nws.js → index-6rx1rdaq.js} +3 -3
  28. package/dist/cli/{index-x43debgx.js → index-74514zkh.js} +15 -17
  29. package/dist/cli/{index-1ww7wj8d.js → index-7f2r3ysr.js} +41 -17
  30. package/dist/cli/{index-kc2tgcm7.js → index-7z9zqxqt.js} +4 -4
  31. package/dist/cli/{index-n8688d12.js → index-8bdk7124.js} +2 -2
  32. package/dist/cli/{index-3146wmgv.js → index-8d90gzaz.js} +1 -1
  33. package/dist/cli/{index-b2nj04q6.js → index-9ss2m4rs.js} +1 -434
  34. package/dist/cli/{index-50j914b5.js → index-a0d4fp6r.js} +29 -7
  35. package/dist/cli/{index-ggtmsm84.js → index-ajknebrc.js} +1 -1
  36. package/dist/cli/{index-zjg4chy2.js → index-anxs69ad.js} +2 -2
  37. package/dist/cli/{index-aqppaaqx.js → index-asey3tb3.js} +6 -4
  38. package/dist/cli/{index-kv2tdkk5.js → index-bvkd7at6.js} +1 -1
  39. package/dist/cli/{index-r656jh9j.js → index-c98rjgjq.js} +4301 -2877
  40. package/dist/cli/{index-r5q5gd2a.js → index-d224mhr9.js} +3 -3
  41. package/dist/cli/{index-nqsj0g5y.js → index-dh5th4jn.js} +8 -8
  42. package/dist/cli/index-e45htt92.js +361 -0
  43. package/dist/cli/{index-w95vxjde.js → index-f36hy1x4.js} +39 -8
  44. package/dist/cli/{index-hp22pzn5.js → index-f8jdar6q.js} +2 -2
  45. package/dist/cli/{index-47kh2103.js → index-fnyw5rzg.js} +14 -14
  46. package/dist/cli/{index-7m32fjb4.js → index-g11h1qpk.js} +9 -9
  47. package/dist/cli/{index-d9entpn3.js → index-g9weyhq6.js} +4 -4
  48. package/dist/cli/{index-qbw3yw2d.js → index-grn6tkbt.js} +11 -11
  49. package/dist/cli/{index-9gxbjkts.js → index-gy0nyfbw.js} +24 -21
  50. package/dist/cli/{index-5jx22kwc.js → index-hhzzyjm3.js} +544 -15
  51. package/dist/cli/{index-dsg9dw3b.js → index-j2svfhzk.js} +2 -2
  52. package/dist/cli/{index-2bgr671r.js → index-jre6tm3v.js} +20 -2
  53. package/dist/cli/{index-77z98j76.js → index-mpf1tvwf.js} +314 -130
  54. package/dist/cli/{index-e90em0x4.js → index-ndjjvxzz.js} +12 -17
  55. package/dist/cli/{index-r3mvsbtq.js → index-p612v1mv.js} +7 -1
  56. package/dist/cli/{index-zfs3zqeq.js → index-ptsqnxwd.js} +771 -21
  57. package/dist/cli/{index-ggrp3v00.js → index-qtxevgdx.js} +15 -17
  58. package/dist/cli/{index-c5v1w13g.js → index-s3k7xbqd.js} +807 -629
  59. package/dist/cli/{index-pp2nya9v.js → index-tqw8w2n5.js} +2 -4
  60. package/dist/cli/index-w6988bbc.js +675 -0
  61. package/dist/cli/{index-4gqxppcx.js → index-xwbn7c8m.js} +2 -2
  62. package/dist/cli/{index-mmjamc9b.js → index-y5hfk7ya.js} +6 -6
  63. package/dist/cli/{index-5kcvrpkt.js → index-zb6gdym8.js} +2 -2
  64. package/dist/cli/index.js +161 -80
  65. package/dist/cli/{knowledge-escalator-j04g450p.js → knowledge-escalator-3fax9y3s.js} +18 -19
  66. package/dist/cli/{knowledge-events-53z45rs0.js → knowledge-events-9cpdyhmb.js} +16 -17
  67. package/dist/cli/{knowledge-link-a6kfg3qm.js → knowledge-link-dgvbqjqg.js} +4 -5
  68. package/dist/cli/{knowledge-store-whm0gagt.js → knowledge-store-y35rka0p.js} +6 -7
  69. package/dist/cli/{knowledge-validator-h8m7065g.js → knowledge-validator-fd761gpx.js} +8 -9
  70. package/dist/cli/{model-preflight-288nsgpw.js → model-preflight-3s1c0zpc.js} +1 -1
  71. package/dist/cli/{pending-delegations-6hkpe5ze.js → pending-delegations-t3y19j3n.js} +17 -8
  72. package/dist/cli/{pr-subscriptions-11zca1mh.js → pr-subscriptions-00zp69mt.js} +17 -8
  73. package/dist/cli/{pr-workflow-gate-6g29rkg7.js → pr-workflow-gate-2h0j8c92.js} +51 -49
  74. package/dist/cli/{runner-5abw3t35.js → runner-0e3bjeev.js} +6 -7
  75. package/dist/cli/{scan-cursor-mkfx410t.js → scan-cursor-wppe2gxw.js} +9 -10
  76. package/dist/cli/{schema-jbbam3ev.js → schema-sec49ppy.js} +2 -2
  77. package/dist/cli/{scope-persistence-q1ct4k42.js → scope-persistence-59eyqaz4.js} +20 -13
  78. package/dist/cli/{skill-generator-cv8fg96x.js → skill-generator-56rbmpj7.js} +21 -22
  79. package/dist/cli/snapshot-coordination-init-dnkdc7gx.js +84 -0
  80. package/dist/cli/{telemetry-mbqqamsj.js → telemetry-a1yvjerj.js} +1 -1
  81. package/dist/cli/{workspace-snapshot-eh18vgkn.js → workspace-snapshot-6z9rk7xw.js} +3 -3
  82. package/dist/cli/{worktree-collision-ownership-xgnn8dsq.js → worktree-collision-ownership-fj9n4mhk.js} +21 -12
  83. package/dist/cli/{worktree-isolation-k2dgfmeg.js → worktree-isolation-vd1s86ya.js} +49 -47
  84. package/dist/commands/benchmark.d.ts +5 -1
  85. package/dist/commands/close.d.ts +13 -6
  86. package/dist/commands/registry.d.ts +34 -43
  87. package/dist/commands/reset-session.d.ts +4 -0
  88. package/dist/commands/turbo.d.ts +1 -1
  89. package/dist/config/bundled-skills.d.ts +4 -3
  90. package/dist/config/constants.d.ts +13 -0
  91. package/dist/db/coordination-store.d.ts +85 -0
  92. package/dist/db/durability.d.ts +22 -5
  93. package/dist/db/index.d.ts +1 -0
  94. package/dist/db/project-db.d.ts +12 -0
  95. package/dist/hooks/extractors.d.ts +9 -0
  96. package/dist/hooks/non-architect-advisory.d.ts +18 -0
  97. package/dist/hooks/repo-graph-injection.d.ts +16 -0
  98. package/dist/index.js +837 -730
  99. package/dist/memory/schema.d.ts +3 -3
  100. package/dist/pr-review/authorization.d.ts +5 -4
  101. package/dist/pr-review/persistence.d.ts +10 -1
  102. package/dist/scope/scope-binding.d.ts +10 -0
  103. package/dist/scope/scope-persistence.d.ts +10 -0
  104. package/dist/services/decision-drift-analyzer.d.ts +7 -0
  105. package/dist/services/handoff-service.d.ts +12 -0
  106. package/dist/services/status-service.d.ts +31 -0
  107. package/dist/session/snapshot-coordination-init.d.ts +49 -0
  108. package/dist/session/snapshot-reader.d.ts +2 -0
  109. package/dist/session/snapshot-store.d.ts +42 -0
  110. package/dist/session/snapshot-writer.d.ts +4 -1
  111. package/dist/state.d.ts +14 -3
  112. package/dist/tools/repo-graph/builder.d.ts +1 -25
  113. package/dist/tools/repo-graph/cache.d.ts +5 -1
  114. package/dist/tools/repo-graph/fallback-scanner.d.ts +71 -0
  115. package/dist/tools/repo-graph/indexed-storage.d.ts +11 -0
  116. package/dist/tools/repo-graph/storage.d.ts +7 -0
  117. package/dist/turbo/epic/state.d.ts +4 -20
  118. package/dist/utils/bun-compat.d.ts +10 -0
  119. package/dist/utils/context-decisions.d.ts +77 -0
  120. package/dist/utils/external-tool-runner.d.ts +2 -0
  121. package/dist/utils/sanitize-display.d.ts +7 -0
  122. package/package.json +5 -3
  123. package/dist/cli/curator-llm-factory-sxcpmcqq.js +0 -68
  124. package/dist/cli/guardrail-explain-xv9aw1bf.js +0 -69
  125. package/dist/cli/hive-promoter-09yc9mp5.js +0 -83
  126. package/dist/cli/index-xnb3tk7x.js +0 -24
  127. package/dist/cli/{ast-diff-ekd9v10f.js → ast-diff-b0esr2kf.js} +3 -3
@@ -58,6 +58,16 @@ export declare function bunWrite(filePath: string, data: string | Uint8Array | A
58
58
  * introduce delays in plugin code that must run under both runtimes.
59
59
  */
60
60
  export declare function sleep(ms: number): Promise<void>;
61
+ /**
62
+ * Force a full Bun garbage collection when available.
63
+ *
64
+ * Bun's SQLite query cache can leave evicted Statement wrappers alive after
65
+ * `Database.close(false)`. On Windows those wrappers retain the database file
66
+ * handle until GC, so immediate archive cleanup can fail with EBUSY. This is
67
+ * intentionally best-effort and only called after such an unlink failure;
68
+ * Node-hosted plugin contexts take the no-op path.
69
+ */
70
+ export declare function collectGarbageBestEffort(): void;
61
71
  /**
62
72
  * Stable 32-bit hash. Bun's `Bun.hash` uses xxHash64 by default; on Node we
63
73
  * fall back to a 32-bit djb2 hash — identical hashes are NOT guaranteed
@@ -0,0 +1,77 @@
1
+ /**
2
+ * Shared "## Decisions" section extractor for `.swarm/context.md`.
3
+ *
4
+ * Issue #1661 residual, consolidated under #2493 (W9a): four independent
5
+ * parsers of the same section had drifted apart —
6
+ *
7
+ * - `src/services/decision-drift-analyzer.ts` (line-scan, rich Decision[])
8
+ * - `src/hooks/extractors.ts` (line-scan, joined/truncated text)
9
+ * - `src/services/handoff-service.ts` (line-scan, cleaned strings)
10
+ * - `src/hooks/curator.ts` (inline regex, raw keyDecisions)
11
+ *
12
+ * The three line-scanners already agreed on boundary semantics (exact
13
+ * `## Decisions` header line; section ends at the next `## ` header; a
14
+ * repeated `## Decisions` header re-enters the section instead of ending
15
+ * it because the start check runs before the end check). Only the curator's
16
+ * inline regex diverged: it matched `## Decisions` anywhere in a line
17
+ * (so a prose mention or `### Decisions` started a bogus section) and ended
18
+ * the section at any `\n##` (so a `###` subheading truncated the list).
19
+ *
20
+ * This module is that line-scan, lifted verbatim from the drift analyzer
21
+ * (the richest consumer) and extended with a `raw` field so each consumer
22
+ * can reconstruct its historical output exactly. It imports nothing —
23
+ * keeping it dependency-free makes it safe for both `src/services` and
24
+ * `src/hooks` consumers without import cycles.
25
+ *
26
+ * Consumers map to their own output shapes in-place; per-consumer quirks
27
+ * (indentation intolerance, marker stripping, first-5 vs last-5 windows)
28
+ * live in the consumers, not here.
29
+ */
30
+ /**
31
+ * A single decision extracted from the `## Decisions` section of
32
+ * `.swarm/context.md`.
33
+ */
34
+ export interface ContextDecision {
35
+ /**
36
+ * The decision line exactly as it appears in the source file, bullet
37
+ * prefix (`- `), indentation, confirmation markers and timestamps
38
+ * preserved. Consumers that historically returned raw text
39
+ * (hooks/extractors, curator keyDecisions) reconstruct their output
40
+ * from this; consumers that never needed it ignore it.
41
+ */
42
+ raw: string;
43
+ /**
44
+ * Decision text with bracketed markers (timestamps, `[confirmed]`)
45
+ * removed. The ✅ marker is preserved — it is not bracketed. This is
46
+ * the drift analyzer's historical `text` semantics.
47
+ */
48
+ text: string;
49
+ /**
50
+ * Phase the decision belongs to: an explicit `Phase N` inside the
51
+ * decision text, else the most recent `## Phase N` heading seen before
52
+ * the decision, else null.
53
+ */
54
+ phase: number | null;
55
+ /** Whether the decision carries a confirmation marker (✅ or [confirmed]) */
56
+ confirmed: boolean;
57
+ /** Timestamp parsed from a `[YYYY-MM-DDTHH:MM:SSZ]` marker, else null */
58
+ timestamp: string | null;
59
+ /** 1-based line number of the decision bullet in the source content */
60
+ line: number;
61
+ }
62
+ /**
63
+ * Extract decisions from `## Decisions` section content.
64
+ *
65
+ * Boundary semantics (strict, shared by every consumer post-#2493):
66
+ * - The section starts at a line whose trimmed content is exactly
67
+ * `## Decisions` (trailing whitespace / CRLF tolerated).
68
+ * - The section ends at the next line starting with `## ` (a repeated
69
+ * `## Decisions` header re-enters the section rather than ending it —
70
+ * the start check precedes the end check, preserving the historical
71
+ * line-scanner behavior all three scanner consumers shared).
72
+ * - Decision items are lines whose trimmed content starts with `- `
73
+ * (indentation-tolerant). Consumers with stricter historical item
74
+ * matching (hooks/extractors required non-indented `- ` lines) filter
75
+ * on `raw` in their mapping layer.
76
+ */
77
+ export declare function extractContextDecisions(content: string): ContextDecision[];
@@ -1,4 +1,5 @@
1
1
  import { bunSpawn } from './bun-compat';
2
+ import { warn } from './logger';
2
3
  export interface ExternalToolRunOptions {
3
4
  executable: string;
4
5
  args: string[];
@@ -32,5 +33,6 @@ export declare const _internals: {
32
33
  clearTimeout: typeof clearTimeout;
33
34
  clampTimeoutMs: typeof clampTimeoutMs;
34
35
  computeSpawnTimeoutMs: typeof computeSpawnTimeoutMs;
36
+ warn: typeof warn;
35
37
  };
36
38
  export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Strip ASCII control characters (C0 range + DEL) from a string that is
3
+ * interpolated into a single-line user-facing message (#2493 review F-11).
4
+ * A char-code loop instead of a control-character regex: lint/suspicious/
5
+ * noControlCharactersInRegex rejects `[\u0000-\u001f]`-style patterns.
6
+ */
7
+ export declare function stripControlCharacters(input: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.164.11",
3
+ "version": "7.164.13",
4
4
  "description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -63,7 +63,7 @@
63
63
  ".opencode/skills/swarm-pr-subscribe",
64
64
  ".opencode/skills/swarm-ci-monitor",
65
65
  ".opencode/skills/issue-ingest",
66
- ".opencode/skills/plan",
66
+ ".opencode/skills/swarm-plan",
67
67
  ".opencode/skills/critic-gate",
68
68
  ".opencode/skills/execute",
69
69
  ".opencode/skills/phase-wrap",
@@ -98,7 +98,9 @@
98
98
  "lint:ci": "biome ci .",
99
99
  "test:unit:ci": "bun scripts/ci/run-unit-tests-local.ts",
100
100
  "drift:check": "bun run scripts/drift-check.ts",
101
+ "check:pre-push": "bun run scripts/drift-check.ts --enforce --no-report && bun run check:registry-citations",
101
102
  "schema:generate": "bun run scripts/generate-config-schema.ts",
103
+ "generate:commands-docs": "bun run scripts/generate-commands-docs.ts",
102
104
  "check:runtime-src-refs": "bun run scripts/check-runtime-src-refs.ts",
103
105
  "drift:fix": "bun run scripts/drift-check.ts --fix --confirm",
104
106
  "skills:sync": "bun run scripts/sync-qa-gate-skills.ts",
@@ -141,7 +143,7 @@
141
143
  "proper-lockfile": "^4.1.2",
142
144
  "quick-lru": "^7.3.0",
143
145
  "web-tree-sitter": "^0.25.0",
144
- "zod": "^4.1.8"
146
+ "zod": "4.3.6"
145
147
  },
146
148
  "devDependencies": {
147
149
  "@biomejs/biome": "2.3.14",
@@ -1,68 +0,0 @@
1
- // @bun
2
- import {
3
- createCuratorLLMDelegate
4
- } from "./index-r656jh9j.js";
5
- import"./index-w95vxjde.js";
6
- import"./index-kch6yenm.js";
7
- import"./index-5kcvrpkt.js";
8
- import"./index-77z98j76.js";
9
- import"./index-pp2nya9v.js";
10
- import"./index-txdagbh7.js";
11
- import"./index-cw912re7.js";
12
- import"./index-3146wmgv.js";
13
- import"./index-1ww7wj8d.js";
14
- import"./index-7m32fjb4.js";
15
- import"./index-d9entpn3.js";
16
- import"./index-70ha9e09.js";
17
- import"./index-nqsj0g5y.js";
18
- import"./index-b2nj04q6.js";
19
- import"./index-n4fzmqz8.js";
20
- import"./index-zfs3zqeq.js";
21
- import"./index-zsrtt42s.js";
22
- import"./index-47kh2103.js";
23
- import"./index-w3gtqey0.js";
24
- import"./index-n8688d12.js";
25
- import"./index-kc2tgcm7.js";
26
- import"./index-ggtmsm84.js";
27
- import"./index-rtry5xyf.js";
28
- import"./index-x43debgx.js";
29
- import"./index-4vb6qa73.js";
30
- import"./index-5jx22kwc.js";
31
- import"./index-c5v1w13g.js";
32
- import"./index-e90em0x4.js";
33
- import"./index-ry16d01s.js";
34
- import"./index-4gqxppcx.js";
35
- import"./index-556ja8an.js";
36
- import"./index-4fwbbad3.js";
37
- import"./index-b43rt5ph.js";
38
- import"./index-q7sjgr1y.js";
39
- import"./index-qbw3yw2d.js";
40
- import"./index-ggrp3v00.js";
41
- import"./index-r5q5gd2a.js";
42
- import"./index-3qf1vxtb.js";
43
- import"./index-n832052r.js";
44
- import"./index-zjg4chy2.js";
45
- import"./index-z6xqpmqg.js";
46
- import"./index-r3mvsbtq.js";
47
- import"./index-rhqdsc1x.js";
48
- import"./index-aqppaaqx.js";
49
- import"./index-9e6fdz2h.js";
50
- import"./index-4rhhvd1a.js";
51
- import"./index-dsg9dw3b.js";
52
- import"./index-50j914b5.js";
53
- import"./index-zjygnfay.js";
54
- import"./index-ae75rja9.js";
55
- import"./index-vdn32nws.js";
56
- import"./index-xnb3tk7x.js";
57
- import"./index-bk5tah7q.js";
58
- import"./index-7qefgq4j.js";
59
- import"./index-2bgr671r.js";
60
- import"./index-9gxbjkts.js";
61
- import"./index-ww6zm5hr.js";
62
- import"./index-7g4c7s5r.js";
63
- import"./index-bpmtbmy9.js";
64
- import"./index-zgwm4ryv.js";
65
- import"./index-a76rekgs.js";
66
- export {
67
- createCuratorLLMDelegate
68
- };
@@ -1,69 +0,0 @@
1
- // @bun
2
- import {
3
- handleGuardrailExplain
4
- } from "./index-hp22pzn5.js";
5
- import"./index-r656jh9j.js";
6
- import"./index-w95vxjde.js";
7
- import"./index-kch6yenm.js";
8
- import"./index-5kcvrpkt.js";
9
- import"./index-77z98j76.js";
10
- import"./index-pp2nya9v.js";
11
- import"./index-txdagbh7.js";
12
- import"./index-cw912re7.js";
13
- import"./index-3146wmgv.js";
14
- import"./index-1ww7wj8d.js";
15
- import"./index-7m32fjb4.js";
16
- import"./index-d9entpn3.js";
17
- import"./index-70ha9e09.js";
18
- import"./index-nqsj0g5y.js";
19
- import"./index-b2nj04q6.js";
20
- import"./index-n4fzmqz8.js";
21
- import"./index-zfs3zqeq.js";
22
- import"./index-zsrtt42s.js";
23
- import"./index-47kh2103.js";
24
- import"./index-w3gtqey0.js";
25
- import"./index-n8688d12.js";
26
- import"./index-kc2tgcm7.js";
27
- import"./index-ggtmsm84.js";
28
- import"./index-rtry5xyf.js";
29
- import"./index-x43debgx.js";
30
- import"./index-4vb6qa73.js";
31
- import"./index-5jx22kwc.js";
32
- import"./index-c5v1w13g.js";
33
- import"./index-e90em0x4.js";
34
- import"./index-ry16d01s.js";
35
- import"./index-4gqxppcx.js";
36
- import"./index-556ja8an.js";
37
- import"./index-4fwbbad3.js";
38
- import"./index-b43rt5ph.js";
39
- import"./index-q7sjgr1y.js";
40
- import"./index-qbw3yw2d.js";
41
- import"./index-ggrp3v00.js";
42
- import"./index-r5q5gd2a.js";
43
- import"./index-3qf1vxtb.js";
44
- import"./index-n832052r.js";
45
- import"./index-zjg4chy2.js";
46
- import"./index-z6xqpmqg.js";
47
- import"./index-r3mvsbtq.js";
48
- import"./index-rhqdsc1x.js";
49
- import"./index-aqppaaqx.js";
50
- import"./index-9e6fdz2h.js";
51
- import"./index-4rhhvd1a.js";
52
- import"./index-dsg9dw3b.js";
53
- import"./index-50j914b5.js";
54
- import"./index-zjygnfay.js";
55
- import"./index-ae75rja9.js";
56
- import"./index-vdn32nws.js";
57
- import"./index-xnb3tk7x.js";
58
- import"./index-bk5tah7q.js";
59
- import"./index-7qefgq4j.js";
60
- import"./index-2bgr671r.js";
61
- import"./index-9gxbjkts.js";
62
- import"./index-ww6zm5hr.js";
63
- import"./index-7g4c7s5r.js";
64
- import"./index-bpmtbmy9.js";
65
- import"./index-zgwm4ryv.js";
66
- import"./index-a76rekgs.js";
67
- export {
68
- handleGuardrailExplain
69
- };
@@ -1,83 +0,0 @@
1
- // @bun
2
- import {
3
- _internals2 as _internals,
4
- checkHivePromotions,
5
- countDistinctProjects,
6
- createHivePromoterHook,
7
- isHiveEligible,
8
- promoteFromSwarm,
9
- promoteToHive
10
- } from "./index-r656jh9j.js";
11
- import"./index-w95vxjde.js";
12
- import"./index-kch6yenm.js";
13
- import"./index-5kcvrpkt.js";
14
- import"./index-77z98j76.js";
15
- import"./index-pp2nya9v.js";
16
- import"./index-txdagbh7.js";
17
- import"./index-cw912re7.js";
18
- import"./index-3146wmgv.js";
19
- import"./index-1ww7wj8d.js";
20
- import"./index-7m32fjb4.js";
21
- import"./index-d9entpn3.js";
22
- import"./index-70ha9e09.js";
23
- import"./index-nqsj0g5y.js";
24
- import"./index-b2nj04q6.js";
25
- import"./index-n4fzmqz8.js";
26
- import"./index-zfs3zqeq.js";
27
- import"./index-zsrtt42s.js";
28
- import"./index-47kh2103.js";
29
- import"./index-w3gtqey0.js";
30
- import"./index-n8688d12.js";
31
- import"./index-kc2tgcm7.js";
32
- import"./index-ggtmsm84.js";
33
- import"./index-rtry5xyf.js";
34
- import"./index-x43debgx.js";
35
- import"./index-4vb6qa73.js";
36
- import"./index-5jx22kwc.js";
37
- import"./index-c5v1w13g.js";
38
- import"./index-e90em0x4.js";
39
- import"./index-ry16d01s.js";
40
- import"./index-4gqxppcx.js";
41
- import"./index-556ja8an.js";
42
- import"./index-4fwbbad3.js";
43
- import"./index-b43rt5ph.js";
44
- import"./index-q7sjgr1y.js";
45
- import {
46
- resolveHiveKnowledgePath
47
- } from "./index-qbw3yw2d.js";
48
- import"./index-ggrp3v00.js";
49
- import"./index-r5q5gd2a.js";
50
- import"./index-3qf1vxtb.js";
51
- import"./index-n832052r.js";
52
- import"./index-zjg4chy2.js";
53
- import"./index-z6xqpmqg.js";
54
- import"./index-r3mvsbtq.js";
55
- import"./index-rhqdsc1x.js";
56
- import"./index-aqppaaqx.js";
57
- import"./index-9e6fdz2h.js";
58
- import"./index-4rhhvd1a.js";
59
- import"./index-dsg9dw3b.js";
60
- import"./index-50j914b5.js";
61
- import"./index-zjygnfay.js";
62
- import"./index-ae75rja9.js";
63
- import"./index-vdn32nws.js";
64
- import"./index-xnb3tk7x.js";
65
- import"./index-bk5tah7q.js";
66
- import"./index-7qefgq4j.js";
67
- import"./index-2bgr671r.js";
68
- import"./index-9gxbjkts.js";
69
- import"./index-ww6zm5hr.js";
70
- import"./index-7g4c7s5r.js";
71
- import"./index-bpmtbmy9.js";
72
- import"./index-zgwm4ryv.js";
73
- import"./index-a76rekgs.js";
74
- export {
75
- resolveHiveKnowledgePath,
76
- promoteToHive,
77
- promoteFromSwarm,
78
- isHiveEligible,
79
- createHivePromoterHook,
80
- countDistinctProjects,
81
- checkHivePromotions,
82
- _internals
83
- };
@@ -1,24 +0,0 @@
1
- // @bun
2
- import {
3
- withEvidenceLock
4
- } from "./index-2bgr671r.js";
5
- import {
6
- atomicWriteFileAnyRoot
7
- } from "./index-9gxbjkts.js";
8
-
9
- // src/evidence/task-file.ts
10
- import * as path from "path";
11
- function taskEvidenceRelPath(taskId) {
12
- return path.join("evidence", `${taskId}.json`);
13
- }
14
- function taskEvidencePath(directory, taskId) {
15
- return path.join(directory, ".swarm", taskEvidenceRelPath(taskId));
16
- }
17
- async function atomicWriteFile(targetPath, content) {
18
- await atomicWriteFileAnyRoot(targetPath, content);
19
- }
20
- function withTaskEvidenceLock(directory, taskId, agent, fn) {
21
- return withEvidenceLock(directory, taskEvidenceRelPath(taskId), agent, taskId, fn);
22
- }
23
-
24
- export { taskEvidencePath, atomicWriteFile, withTaskEvidenceLock };
@@ -1,13 +1,13 @@
1
1
  // @bun
2
- import {
3
- getLanguageForExtension
4
- } from "./index-b43rt5ph.js";
5
2
  import {
6
3
  loadGrammar
7
4
  } from "./index-r9wnyq0v.js";
8
5
  import {
9
6
  Query
10
7
  } from "./index-7ryh498h.js";
8
+ import {
9
+ getLanguageForExtension
10
+ } from "./index-b43rt5ph.js";
11
11
  import"./index-q7sjgr1y.js";
12
12
  import {
13
13
  init_logger,