opencode-swarm 7.126.4 → 7.126.6

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 (29) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +15 -0
  2. package/dist/cli/{curation-policy-s2wydhda.js → curation-policy-82czah39.js} +2 -2
  3. package/dist/cli/{curator-llm-factory-caf8jqyb.js → curator-llm-factory-ffseqhr4.js} +9 -9
  4. package/dist/cli/{curator-4tp297kp.js → curator-zmff7bha.js} +9 -9
  5. package/dist/cli/{guardrail-explain-yjzbs0fq.js → guardrail-explain-n4eyw2ak.js} +10 -10
  6. package/dist/cli/{hive-promoter-er83aqka.js → hive-promoter-s60fcnq0.js} +9 -9
  7. package/dist/cli/{index-360anpk0.js → index-1mwdhq2p.js} +1 -1
  8. package/dist/cli/{index-4scxzpbz.js → index-3ntrn97w.js} +1 -1
  9. package/dist/cli/{index-mgdcrhkg.js → index-72envp1b.js} +3 -3
  10. package/dist/cli/{index-yvgmsepb.js → index-8exjgmrz.js} +29 -29
  11. package/dist/cli/{index-ypy3dhbg.js → index-c4mcheyz.js} +3 -3
  12. package/dist/cli/{index-6mfcg9ws.js → index-edv27z4p.js} +1 -1
  13. package/dist/cli/{index-vbk29hmf.js → index-ff3j65em.js} +4 -4
  14. package/dist/cli/{index-r3f1z043.js → index-gn62e04k.js} +1 -1
  15. package/dist/cli/{index-v3gw3sc5.js → index-hv2p03f3.js} +6 -18
  16. package/dist/cli/{index-swgsq1ds.js → index-ns62nv6t.js} +2 -2
  17. package/dist/cli/{index-46xgqgd5.js → index-p3cksay8.js} +10 -10
  18. package/dist/cli/{index-cxtnbjwn.js → index-w3q49fy4.js} +1 -1
  19. package/dist/cli/index.js +9 -9
  20. package/dist/cli/{knowledge-escalator-9sd533p6.js → knowledge-escalator-b3k4b8pk.js} +3 -3
  21. package/dist/cli/{knowledge-events-v0cp1a8d.js → knowledge-events-4z5rkefv.js} +1 -1
  22. package/dist/cli/{knowledge-store-mv7qjf4s.js → knowledge-store-c0t16yr4.js} +1 -1
  23. package/dist/cli/{knowledge-validator-g05g6qrt.js → knowledge-validator-cs33ws57.js} +4 -4
  24. package/dist/cli/{scan-cursor-jp2zz6y1.js → scan-cursor-rgnarf67.js} +2 -2
  25. package/dist/cli/{skill-generator-497vvped.js → skill-generator-e8c2r816.js} +5 -5
  26. package/dist/config/loader.d.ts +1 -3
  27. package/dist/hooks/pr-workflow-gate.d.ts +12 -1
  28. package/dist/index.js +5 -5
  29. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-cxtnbjwn.js";
4
+ } from "./index-w3q49fy4.js";
5
5
  import {
6
6
  handleGuardrailLog
7
7
  } from "./index-8etcyr9r.js";
@@ -83,28 +83,28 @@ import {
83
83
  handleWriteRetroCommand,
84
84
  normalizeSwarmCommandInput,
85
85
  resolveCommand
86
- } from "./index-yvgmsepb.js";
86
+ } from "./index-8exjgmrz.js";
87
87
  import"./index-v4n224r1.js";
88
88
  import"./index-cpssctv1.js";
89
89
  import"./index-kk1scggc.js";
90
90
  import"./index-4905hd2m.js";
91
91
  import"./index-134d35c1.js";
92
92
  import"./index-6n2jpz7x.js";
93
- import"./index-ypy3dhbg.js";
94
- import"./index-vbk29hmf.js";
95
- import"./index-r3f1z043.js";
93
+ import"./index-c4mcheyz.js";
94
+ import"./index-ff3j65em.js";
95
+ import"./index-gn62e04k.js";
96
96
  import"./index-vxv732ex.js";
97
97
  import"./index-c8s9a3zh.js";
98
98
  import"./index-9ss2m4rs.js";
99
99
  import"./index-23zsx7dm.js";
100
- import"./index-swgsq1ds.js";
101
- import"./index-4scxzpbz.js";
100
+ import"./index-ns62nv6t.js";
101
+ import"./index-3ntrn97w.js";
102
102
  import"./index-rtry5xyf.js";
103
- import"./index-mgdcrhkg.js";
104
- import"./index-360anpk0.js";
103
+ import"./index-72envp1b.js";
104
+ import"./index-1mwdhq2p.js";
105
105
  import"./index-ae75rja9.js";
106
106
  import"./index-q27bajqb.js";
107
- import"./index-v3gw3sc5.js";
107
+ import"./index-hv2p03f3.js";
108
108
  import"./index-k5jrywpr.js";
109
109
  import"./index-n832052r.js";
110
110
  import {
@@ -12,7 +12,7 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-yvgmsepb.js";
15
+ } from "./index-8exjgmrz.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
package/dist/cli/index.js CHANGED
@@ -7,28 +7,28 @@ import {
7
7
  getPluginLockFilePaths,
8
8
  package_default,
9
9
  resolveCommand
10
- } from "./index-yvgmsepb.js";
10
+ } from "./index-8exjgmrz.js";
11
11
  import"./index-v4n224r1.js";
12
12
  import"./index-cpssctv1.js";
13
13
  import"./index-kk1scggc.js";
14
14
  import"./index-4905hd2m.js";
15
15
  import"./index-134d35c1.js";
16
16
  import"./index-6n2jpz7x.js";
17
- import"./index-ypy3dhbg.js";
18
- import"./index-vbk29hmf.js";
19
- import"./index-r3f1z043.js";
17
+ import"./index-c4mcheyz.js";
18
+ import"./index-ff3j65em.js";
19
+ import"./index-gn62e04k.js";
20
20
  import"./index-vxv732ex.js";
21
21
  import"./index-c8s9a3zh.js";
22
22
  import"./index-9ss2m4rs.js";
23
23
  import"./index-23zsx7dm.js";
24
- import"./index-swgsq1ds.js";
25
- import"./index-4scxzpbz.js";
24
+ import"./index-ns62nv6t.js";
25
+ import"./index-3ntrn97w.js";
26
26
  import"./index-rtry5xyf.js";
27
- import"./index-mgdcrhkg.js";
28
- import"./index-360anpk0.js";
27
+ import"./index-72envp1b.js";
28
+ import"./index-1mwdhq2p.js";
29
29
  import"./index-ae75rja9.js";
30
30
  import"./index-q27bajqb.js";
31
- import"./index-v3gw3sc5.js";
31
+ import"./index-hv2p03f3.js";
32
32
  import"./index-k5jrywpr.js";
33
33
  import"./index-n832052r.js";
34
34
  import {
@@ -8,9 +8,9 @@ import {
8
8
  maybeEscalateOnViolation,
9
9
  maybeQuarantineOnContradiction,
10
10
  readRecentEscalations
11
- } from "./index-vbk29hmf.js";
12
- import"./index-mgdcrhkg.js";
13
- import"./index-360anpk0.js";
11
+ } from "./index-ff3j65em.js";
12
+ import"./index-72envp1b.js";
13
+ import"./index-1mwdhq2p.js";
14
14
  import"./index-ae75rja9.js";
15
15
  import"./index-q27bajqb.js";
16
16
  import"./index-bk5tah7q.js";
@@ -26,7 +26,7 @@ import {
26
26
  resolveKnowledgeCounterBaselinePath,
27
27
  resolveKnowledgeEventsPath,
28
28
  resolveLegacyApplicationLogPath
29
- } from "./index-360anpk0.js";
29
+ } from "./index-1mwdhq2p.js";
30
30
  import"./index-ae75rja9.js";
31
31
  import"./index-q27bajqb.js";
32
32
  import"./index-zgwm4ryv.js";
@@ -40,7 +40,7 @@ import {
40
40
  transactKnowledge,
41
41
  transactKnowledgeWithCas,
42
42
  wordBigrams
43
- } from "./index-mgdcrhkg.js";
43
+ } from "./index-72envp1b.js";
44
44
  import {
45
45
  resolveHiveDataDir
46
46
  } from "./index-ae75rja9.js";
@@ -23,11 +23,11 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-swgsq1ds.js";
27
- import"./index-4scxzpbz.js";
26
+ } from "./index-ns62nv6t.js";
27
+ import"./index-3ntrn97w.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-mgdcrhkg.js";
30
- import"./index-360anpk0.js";
29
+ import"./index-72envp1b.js";
30
+ import"./index-1mwdhq2p.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-q27bajqb.js";
33
33
  import"./index-bk5tah7q.js";
@@ -4,8 +4,8 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-r3f1z043.js";
8
- import"./index-mgdcrhkg.js";
7
+ } from "./index-gn62e04k.js";
8
+ import"./index-72envp1b.js";
9
9
  import"./index-ae75rja9.js";
10
10
  import"./index-q27bajqb.js";
11
11
  import"./index-bk5tah7q.js";
@@ -33,12 +33,12 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-ypy3dhbg.js";
37
- import"./index-swgsq1ds.js";
38
- import"./index-4scxzpbz.js";
36
+ } from "./index-c4mcheyz.js";
37
+ import"./index-ns62nv6t.js";
38
+ import"./index-3ntrn97w.js";
39
39
  import"./index-rtry5xyf.js";
40
- import"./index-mgdcrhkg.js";
41
- import"./index-360anpk0.js";
40
+ import"./index-72envp1b.js";
41
+ import"./index-1mwdhq2p.js";
42
42
  import"./index-ae75rja9.js";
43
43
  import"./index-q27bajqb.js";
44
44
  import"./index-bk5tah7q.js";
@@ -58,9 +58,7 @@ export type ConfigLoadResult = ConfigBuildResult & {
58
58
  * 1. User config: ~/.config/opencode/opencode-swarm.json
59
59
  * 2. Project config: <directory>/.opencode/opencode-swarm.json
60
60
  *
61
- * Project config takes precedence. Nested objects are deep-merged, except
62
- * `full_auto.locked`: it is a hard-off and OR-merges across both levels, so
63
- * `locked: true` at either level cannot be overridden by `locked: false`.
61
+ * Project config takes precedence. Nested objects are deep-merged.
64
62
  * IMPORTANT: Raw configs are merged BEFORE Zod parsing so that
65
63
  * Zod defaults don't override explicit user values.
66
64
  */
@@ -188,7 +188,18 @@ export declare function bindPrReviewBase(directory: string, sessionID: string, o
188
188
  baseRef: string;
189
189
  baseSha: string;
190
190
  }): Promise<PrWorkflowGateState>;
191
- /** Prove that caller-provided PR identity equals the actual checked-out commit. */
191
+ /**
192
+ * Prove that caller-provided PR identity equals the actual checked-out commit.
193
+ *
194
+ * Two distinct failure modes are reported with separate, diagnostic-rich
195
+ * messages (issue #1931): a null HEAD means Git could not resolve HEAD at all
196
+ * (the directory may not be a repository, HEAD may be unborn, the commit may
197
+ * be missing from a shallow clone, the `git` binary may not be on PATH, or
198
+ * the bounded Git invocation may have timed out); a non-matching HEAD means
199
+ * a different commit is checked out. Both messages name `directory` and the
200
+ * exact remediation command so callers can self-diagnose instead of
201
+ * cascading into fictional root causes.
202
+ */
192
203
  export declare function assertCurrentCheckoutHead(directory: string, expectedHead: string): string;
193
204
  /** Prove that every PR-review lane reads the immutable checked-out PR tree. */
194
205
  export declare function assertPrReviewCleanCheckout(directory: string, mode?: PrWorkflowMode): void;