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.
- package/.opencode/skills/swarm-pr-review/SKILL.md +15 -0
- package/dist/cli/{curation-policy-s2wydhda.js → curation-policy-82czah39.js} +2 -2
- package/dist/cli/{curator-llm-factory-caf8jqyb.js → curator-llm-factory-ffseqhr4.js} +9 -9
- package/dist/cli/{curator-4tp297kp.js → curator-zmff7bha.js} +9 -9
- package/dist/cli/{guardrail-explain-yjzbs0fq.js → guardrail-explain-n4eyw2ak.js} +10 -10
- package/dist/cli/{hive-promoter-er83aqka.js → hive-promoter-s60fcnq0.js} +9 -9
- package/dist/cli/{index-360anpk0.js → index-1mwdhq2p.js} +1 -1
- package/dist/cli/{index-4scxzpbz.js → index-3ntrn97w.js} +1 -1
- package/dist/cli/{index-mgdcrhkg.js → index-72envp1b.js} +3 -3
- package/dist/cli/{index-yvgmsepb.js → index-8exjgmrz.js} +29 -29
- package/dist/cli/{index-ypy3dhbg.js → index-c4mcheyz.js} +3 -3
- package/dist/cli/{index-6mfcg9ws.js → index-edv27z4p.js} +1 -1
- package/dist/cli/{index-vbk29hmf.js → index-ff3j65em.js} +4 -4
- package/dist/cli/{index-r3f1z043.js → index-gn62e04k.js} +1 -1
- package/dist/cli/{index-v3gw3sc5.js → index-hv2p03f3.js} +6 -18
- package/dist/cli/{index-swgsq1ds.js → index-ns62nv6t.js} +2 -2
- package/dist/cli/{index-46xgqgd5.js → index-p3cksay8.js} +10 -10
- package/dist/cli/{index-cxtnbjwn.js → index-w3q49fy4.js} +1 -1
- package/dist/cli/index.js +9 -9
- package/dist/cli/{knowledge-escalator-9sd533p6.js → knowledge-escalator-b3k4b8pk.js} +3 -3
- package/dist/cli/{knowledge-events-v0cp1a8d.js → knowledge-events-4z5rkefv.js} +1 -1
- package/dist/cli/{knowledge-store-mv7qjf4s.js → knowledge-store-c0t16yr4.js} +1 -1
- package/dist/cli/{knowledge-validator-g05g6qrt.js → knowledge-validator-cs33ws57.js} +4 -4
- package/dist/cli/{scan-cursor-jp2zz6y1.js → scan-cursor-rgnarf67.js} +2 -2
- package/dist/cli/{skill-generator-497vvped.js → skill-generator-e8c2r816.js} +5 -5
- package/dist/config/loader.d.ts +1 -3
- package/dist/hooks/pr-workflow-gate.d.ts +12 -1
- package/dist/index.js +5 -5
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
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-
|
|
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-
|
|
94
|
-
import"./index-
|
|
95
|
-
import"./index-
|
|
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-
|
|
101
|
-
import"./index-
|
|
100
|
+
import"./index-ns62nv6t.js";
|
|
101
|
+
import"./index-3ntrn97w.js";
|
|
102
102
|
import"./index-rtry5xyf.js";
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
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-
|
|
107
|
+
import"./index-hv2p03f3.js";
|
|
108
108
|
import"./index-k5jrywpr.js";
|
|
109
109
|
import"./index-n832052r.js";
|
|
110
110
|
import {
|
package/dist/cli/index.js
CHANGED
|
@@ -7,28 +7,28 @@ import {
|
|
|
7
7
|
getPluginLockFilePaths,
|
|
8
8
|
package_default,
|
|
9
9
|
resolveCommand
|
|
10
|
-
} from "./index-
|
|
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-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
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-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-ns62nv6t.js";
|
|
25
|
+
import"./index-3ntrn97w.js";
|
|
26
26
|
import"./index-rtry5xyf.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
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-
|
|
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-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
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-
|
|
29
|
+
} from "./index-1mwdhq2p.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
31
|
import"./index-q27bajqb.js";
|
|
32
32
|
import"./index-zgwm4ryv.js";
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-ns62nv6t.js";
|
|
27
|
+
import"./index-3ntrn97w.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
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-
|
|
8
|
-
import"./index-
|
|
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-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-c4mcheyz.js";
|
|
37
|
+
import"./index-ns62nv6t.js";
|
|
38
|
+
import"./index-3ntrn97w.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
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";
|
package/dist/config/loader.d.ts
CHANGED
|
@@ -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
|
|
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
|
-
/**
|
|
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;
|