opencode-swarm 7.164.4 → 7.164.5
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/dist/cli/{coder-settlement-zzy2egsx.js → coder-settlement-x9wbqx46.js} +8 -8
- package/dist/cli/{config-doctor-62xd5far.js → config-doctor-axd9d6hs.js} +2 -2
- package/dist/cli/{core-7kdmc7h9.js → core-f1a1fk13.js} +1 -1
- package/dist/cli/{curation-policy-913dnxqq.js → curation-policy-2cy7wejw.js} +5 -5
- package/dist/cli/{curator-4s6ekk85.js → curator-b104f7a7.js} +29 -29
- package/dist/cli/{curator-llm-factory-q3t3r632.js → curator-llm-factory-cv7ft0mb.js} +29 -29
- package/dist/cli/{evidence-summary-service-gw936xgz.js → evidence-summary-service-5xsjs3x3.js} +12 -12
- package/dist/cli/{gate-evidence-4we18rhr.js → gate-evidence-ypja4156.js} +5 -5
- package/dist/cli/{guardrail-explain-jjbnrcqn.js → guardrail-explain-cvha7b9p.js} +30 -30
- package/dist/cli/{guardrail-log-9d4f09qt.js → guardrail-log-6t4e2j5f.js} +6 -6
- package/dist/cli/{guardrail-reset-1hpd6bkj.js → guardrail-reset-es0bg976.js} +29 -29
- package/dist/cli/{hive-promoter-nr8dsxhe.js → hive-promoter-yzv5g7jy.js} +29 -29
- package/dist/cli/{index-7zbk1e24.js → index-0trtcm9n.js} +8 -8
- package/dist/cli/{index-stj85yx1.js → index-164m995b.js} +1 -1
- package/dist/cli/{index-k1m9214q.js → index-1dz8hv7p.js} +3 -3
- package/dist/cli/{index-k8vy89vm.js → index-1q2dwv69.js} +1 -1
- package/dist/cli/{index-x9ayhkkx.js → index-25jze7sf.js} +1 -1
- package/dist/cli/{index-qfrrcdhj.js → index-25z5qwkk.js} +1 -1
- package/dist/cli/{index-qkwx4rrc.js → index-3gb7bw7h.js} +80 -69
- package/dist/cli/{index-ne38vr77.js → index-3rrc5x4v.js} +2 -2
- package/dist/cli/{index-5k226hxp.js → index-4emx8hhh.js} +1 -1
- package/dist/cli/{index-v7a8e7rv.js → index-4jmtdtm9.js} +2 -2
- package/dist/cli/{index-jba9jgse.js → index-4krjn1gn.js} +2 -2
- package/dist/cli/{index-z408nj03.js → index-50s9q4c1.js} +2 -2
- package/dist/cli/{index-vx28633q.js → index-553veay1.js} +75 -23
- package/dist/cli/{index-4tgtbptw.js → index-7rat6nyh.js} +3 -3
- package/dist/cli/{index-q9yz8da4.js → index-8h9nng7f.js} +4 -4
- package/dist/cli/{index-x63jqvj3.js → index-aaqbhn9h.js} +2 -2
- package/dist/cli/{index-nwpg81ke.js → index-aper29nf.js} +1 -1
- package/dist/cli/{index-pztdbtgw.js → index-ea7sehgy.js} +3 -3
- package/dist/cli/{index-cf54ftj1.js → index-er8ba9be.js} +3 -3
- package/dist/cli/{index-08e6x59x.js → index-fwebva1m.js} +5 -5
- package/dist/cli/{index-gt6p21cs.js → index-fxxja498.js} +1 -1
- package/dist/cli/{index-prammvxb.js → index-hnjkpk57.js} +1 -1
- package/dist/cli/{index-8fjx6k2s.js → index-j9a4fsxg.js} +1 -1
- package/dist/cli/{index-vzs3st30.js → index-maxz22c1.js} +7 -7
- package/dist/cli/{index-eh2k07pp.js → index-q0gtgwyr.js} +6 -6
- package/dist/cli/{index-t2tqbq62.js → index-rc6hec4j.js} +4 -4
- package/dist/cli/{index-xjw7j7et.js → index-s09b63xg.js} +5 -5
- package/dist/cli/{index-et9y4ga8.js → index-ssb67ff6.js} +31 -31
- package/dist/cli/{index-0m94jsss.js → index-wbnyc50b.js} +4 -4
- package/dist/cli/{index-yx3xqb0w.js → index-xm7dc14y.js} +3 -3
- package/dist/cli/{index-tme2kjvq.js → index-y42pra05.js} +3 -3
- package/dist/cli/{index-wzmchqry.js → index-yrsag0vs.js} +31 -52
- package/dist/cli/{index-a0jhxx5q.js → index-ywtcznk2.js} +12 -4
- package/dist/cli/index.js +29 -29
- package/dist/cli/{knowledge-escalator-hp1ctjpe.js → knowledge-escalator-evjd8g7y.js} +11 -11
- package/dist/cli/{knowledge-events-0qrenmng.js → knowledge-events-q46z1wy6.js} +9 -9
- package/dist/cli/{knowledge-link-f5g5d171.js → knowledge-link-ffmzf72f.js} +4 -4
- package/dist/cli/{knowledge-store-8er824g9.js → knowledge-store-z82f5x9k.js} +5 -5
- package/dist/cli/{knowledge-validator-0jd3htcj.js → knowledge-validator-19gbnxx2.js} +7 -7
- package/dist/cli/{pending-delegations-d1n5faxg.js → pending-delegations-t4cqk5ha.js} +4 -4
- package/dist/cli/{pr-subscriptions-s2b2yvbd.js → pr-subscriptions-3enjtq0k.js} +4 -4
- package/dist/cli/{pr-workflow-gate-51s842yy.js → pr-workflow-gate-3ecgfsge.js} +29 -29
- package/dist/cli/{runner-nkh65pcm.js → runner-wqy2hbxn.js} +5 -5
- package/dist/cli/{scan-cursor-gt55f3d6.js → scan-cursor-8wcy0dvf.js} +6 -6
- package/dist/cli/{schema-rpdz901j.js → schema-hsw9r2tm.js} +5 -1
- package/dist/cli/{scope-persistence-js1ywq04.js → scope-persistence-mbwt4grd.js} +8 -8
- package/dist/cli/{skill-generator-xsxes2w0.js → skill-generator-kg32a5jy.js} +13 -13
- package/dist/cli/{telemetry-9tfts5q2.js → telemetry-j14cj552.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-54ca6mb8.js → worktree-collision-ownership-0rfw6kp3.js} +4 -4
- package/dist/cli/{worktree-isolation-haesnft8.js → worktree-isolation-qcwt09ve.js} +29 -29
- package/dist/config/index.d.ts +3 -3
- package/dist/config/loader.d.ts +34 -1
- package/dist/config/schema.d.ts +61 -7
- package/dist/index.js +59 -59
- package/dist/tools/build-check.d.ts +8 -0
- package/dist/tools/placeholder-scan.d.ts +10 -1
- package/dist/tools/pre-check-batch.d.ts +20 -8
- package/dist/tools/quality-budget.d.ts +2 -0
- package/dist/tools/sast-scan.d.ts +10 -2
- package/dist/tools/sbom-generate.d.ts +14 -0
- package/dist/tools/syntax-check.d.ts +11 -3
- package/package.json +1 -1
|
@@ -66,16 +66,16 @@ import {
|
|
|
66
66
|
sweepStaleDelegations,
|
|
67
67
|
updateCoderSettlement,
|
|
68
68
|
writeDelegationFallback
|
|
69
|
-
} from "./index-
|
|
69
|
+
} from "./index-er8ba9be.js";
|
|
70
70
|
import"./index-ddszzne4.js";
|
|
71
71
|
import"./index-rz87mx1c.js";
|
|
72
72
|
import"./index-z6xqpmqg.js";
|
|
73
73
|
import"./index-r3mvsbtq.js";
|
|
74
|
-
import"./index-
|
|
74
|
+
import"./index-164m995b.js";
|
|
75
75
|
import"./index-zjygnfay.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-fxxja498.js";
|
|
77
77
|
import"./index-tfa2p4y4.js";
|
|
78
|
-
import"./index-
|
|
78
|
+
import"./index-1dz8hv7p.js";
|
|
79
79
|
import"./index-7g4c7s5r.js";
|
|
80
80
|
import"./index-bpmtbmy9.js";
|
|
81
81
|
import"./index-zgwm4ryv.js";
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
sweepStale,
|
|
15
15
|
unsubscribe,
|
|
16
16
|
updateSnapshot
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-y42pra05.js";
|
|
18
18
|
import"./index-rz87mx1c.js";
|
|
19
19
|
import"./index-z6xqpmqg.js";
|
|
20
20
|
import"./index-r3mvsbtq.js";
|
|
21
|
-
import"./index-
|
|
21
|
+
import"./index-164m995b.js";
|
|
22
22
|
import"./index-zjygnfay.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-fxxja498.js";
|
|
24
24
|
import"./index-tfa2p4y4.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-1dz8hv7p.js";
|
|
26
26
|
import"./index-7g4c7s5r.js";
|
|
27
27
|
import"./index-bpmtbmy9.js";
|
|
28
28
|
import"./index-zgwm4ryv.js";
|
|
@@ -77,64 +77,64 @@ import {
|
|
|
77
77
|
withPrWorkflowCheckoutMutationLock,
|
|
78
78
|
withPrWorkflowCheckoutPreparationLock,
|
|
79
79
|
writePrWorkflowAtomicJson
|
|
80
|
-
} from "./index-
|
|
81
|
-
import"./index-
|
|
82
|
-
import"./index-
|
|
83
|
-
import"./index-
|
|
84
|
-
import"./index-
|
|
85
|
-
import"./index-
|
|
80
|
+
} from "./index-3gb7bw7h.js";
|
|
81
|
+
import"./index-25jze7sf.js";
|
|
82
|
+
import"./index-ea7sehgy.js";
|
|
83
|
+
import"./index-1q2dwv69.js";
|
|
84
|
+
import"./index-maxz22c1.js";
|
|
85
|
+
import"./index-4krjn1gn.js";
|
|
86
86
|
import"./index-txdagbh7.js";
|
|
87
87
|
import"./index-3146wmgv.js";
|
|
88
|
-
import"./index-
|
|
89
|
-
import"./index-
|
|
90
|
-
import"./index-
|
|
88
|
+
import"./index-7rat6nyh.js";
|
|
89
|
+
import"./index-s09b63xg.js";
|
|
90
|
+
import"./index-aaqbhn9h.js";
|
|
91
91
|
import"./index-70ha9e09.js";
|
|
92
92
|
import"./index-1f4nandk.js";
|
|
93
93
|
import"./index-0zbze3n6.js";
|
|
94
94
|
import"./index-zaab1wz9.js";
|
|
95
|
-
import"./index-
|
|
95
|
+
import"./index-y42pra05.js";
|
|
96
96
|
import"./index-zsrtt42s.js";
|
|
97
|
-
import"./index-
|
|
97
|
+
import"./index-fwebva1m.js";
|
|
98
98
|
import"./index-3f7hqtgg.js";
|
|
99
99
|
import"./index-xj4kbtdw.js";
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
100
|
+
import"./index-rc6hec4j.js";
|
|
101
|
+
import"./index-hnjkpk57.js";
|
|
102
102
|
import"./index-rtry5xyf.js";
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
103
|
+
import"./index-wbnyc50b.js";
|
|
104
|
+
import"./index-j9a4fsxg.js";
|
|
105
105
|
import {
|
|
106
106
|
PR_REVIEW_BASE_DIMENSION_IDS
|
|
107
|
-
} from "./index-
|
|
107
|
+
} from "./index-er8ba9be.js";
|
|
108
108
|
import"./index-ddszzne4.js";
|
|
109
|
-
import"./index-
|
|
110
|
-
import"./index-
|
|
111
|
-
import"./index-
|
|
109
|
+
import"./index-8h9nng7f.js";
|
|
110
|
+
import"./index-xm7dc14y.js";
|
|
111
|
+
import"./index-50s9q4c1.js";
|
|
112
112
|
import"./index-556ja8an.js";
|
|
113
113
|
import"./index-4fwbbad3.js";
|
|
114
114
|
import"./index-b43rt5ph.js";
|
|
115
115
|
import"./index-q7sjgr1y.js";
|
|
116
|
-
import"./index-
|
|
117
|
-
import"./index-
|
|
118
|
-
import"./index-
|
|
116
|
+
import"./index-q0gtgwyr.js";
|
|
117
|
+
import"./index-0trtcm9n.js";
|
|
118
|
+
import"./index-4jmtdtm9.js";
|
|
119
119
|
import"./index-zg9d392c.js";
|
|
120
120
|
import"./index-n832052r.js";
|
|
121
121
|
import"./index-rz87mx1c.js";
|
|
122
122
|
import"./index-z6xqpmqg.js";
|
|
123
123
|
import"./index-r3mvsbtq.js";
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
124
|
+
import"./index-553veay1.js";
|
|
125
|
+
import"./index-yrsag0vs.js";
|
|
126
126
|
import"./index-9e6fdz2h.js";
|
|
127
127
|
import"./index-4rhhvd1a.js";
|
|
128
|
-
import"./index-
|
|
128
|
+
import"./index-164m995b.js";
|
|
129
129
|
import"./index-m1nrd3yd.js";
|
|
130
130
|
import"./index-zjygnfay.js";
|
|
131
131
|
import"./index-ae75rja9.js";
|
|
132
|
-
import"./index-
|
|
133
|
-
import"./index-
|
|
132
|
+
import"./index-25z5qwkk.js";
|
|
133
|
+
import"./index-4emx8hhh.js";
|
|
134
134
|
import"./index-bk5tah7q.js";
|
|
135
|
-
import"./index-
|
|
135
|
+
import"./index-fxxja498.js";
|
|
136
136
|
import"./index-tfa2p4y4.js";
|
|
137
|
-
import"./index-
|
|
137
|
+
import"./index-1dz8hv7p.js";
|
|
138
138
|
import"./index-7g4c7s5r.js";
|
|
139
139
|
import"./index-bpmtbmy9.js";
|
|
140
140
|
import"./index-zgwm4ryv.js";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
_internals,
|
|
4
4
|
createModelEvaluationExecutor,
|
|
5
5
|
runEvaluation
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-25jze7sf.js";
|
|
7
|
+
import"./index-4krjn1gn.js";
|
|
8
8
|
import"./index-txdagbh7.js";
|
|
9
9
|
import"./index-r3mvsbtq.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
import"./index-4emx8hhh.js";
|
|
11
|
+
import"./index-fxxja498.js";
|
|
12
12
|
import"./index-tfa2p4y4.js";
|
|
13
|
-
import"./index-
|
|
13
|
+
import"./index-1dz8hv7p.js";
|
|
14
14
|
import"./index-7g4c7s5r.js";
|
|
15
15
|
import"./index-bpmtbmy9.js";
|
|
16
16
|
import"./index-zgwm4ryv.js";
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-aaqbhn9h.js";
|
|
8
|
+
import"./index-q0gtgwyr.js";
|
|
9
9
|
import"./index-9e6fdz2h.js";
|
|
10
10
|
import"./index-4rhhvd1a.js";
|
|
11
11
|
import"./index-ae75rja9.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
import"./index-25z5qwkk.js";
|
|
13
|
+
import"./index-4emx8hhh.js";
|
|
14
14
|
import"./index-bk5tah7q.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-fxxja498.js";
|
|
16
16
|
import"./index-tfa2p4y4.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-1dz8hv7p.js";
|
|
18
18
|
import"./index-7g4c7s5r.js";
|
|
19
19
|
import"./index-bpmtbmy9.js";
|
|
20
20
|
import"./index-zgwm4ryv.js";
|
|
@@ -43,6 +43,8 @@ import {
|
|
|
43
43
|
ExternalSkillsConfigSchema,
|
|
44
44
|
FALLBACK_MODELS_MAX,
|
|
45
45
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
46
|
+
GATE_CONFIG_READERS,
|
|
47
|
+
GATE_SECTION_SCHEMAS,
|
|
46
48
|
GateConfigSchema,
|
|
47
49
|
GateFeatureSchema,
|
|
48
50
|
GeneralCouncilConfigSchema,
|
|
@@ -102,7 +104,7 @@ import {
|
|
|
102
104
|
resolveGeneratedAgentRole,
|
|
103
105
|
resolveGuardrailsConfig,
|
|
104
106
|
stripKnownSwarmPrefix
|
|
105
|
-
} from "./index-
|
|
107
|
+
} from "./index-yrsag0vs.js";
|
|
106
108
|
import"./index-m1nrd3yd.js";
|
|
107
109
|
import"./index-zjygnfay.js";
|
|
108
110
|
import"./index-bk5tah7q.js";
|
|
@@ -169,6 +171,8 @@ export {
|
|
|
169
171
|
GeneralCouncilConfigSchema,
|
|
170
172
|
GateFeatureSchema,
|
|
171
173
|
GateConfigSchema,
|
|
174
|
+
GATE_SECTION_SCHEMAS,
|
|
175
|
+
GATE_CONFIG_READERS,
|
|
172
176
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
173
177
|
FALLBACK_MODELS_MAX,
|
|
174
178
|
ExternalSkillsConfigSchema,
|
|
@@ -23,21 +23,21 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
26
|
+
} from "./index-8h9nng7f.js";
|
|
27
|
+
import"./index-xm7dc14y.js";
|
|
28
|
+
import"./index-50s9q4c1.js";
|
|
29
29
|
import"./index-556ja8an.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-553veay1.js";
|
|
31
|
+
import"./index-yrsag0vs.js";
|
|
32
32
|
import"./index-9e6fdz2h.js";
|
|
33
33
|
import"./index-4rhhvd1a.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-164m995b.js";
|
|
35
35
|
import"./index-m1nrd3yd.js";
|
|
36
36
|
import"./index-zjygnfay.js";
|
|
37
37
|
import"./index-bk5tah7q.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-fxxja498.js";
|
|
39
39
|
import"./index-tfa2p4y4.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-1dz8hv7p.js";
|
|
41
41
|
import"./index-7g4c7s5r.js";
|
|
42
42
|
import"./index-bpmtbmy9.js";
|
|
43
43
|
import"./index-zgwm4ryv.js";
|
|
@@ -33,33 +33,33 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-7rat6nyh.js";
|
|
37
|
+
import"./index-rc6hec4j.js";
|
|
38
|
+
import"./index-hnjkpk57.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
40
|
import"./index-q7sjgr1y.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
41
|
+
import"./index-q0gtgwyr.js";
|
|
42
|
+
import"./index-0trtcm9n.js";
|
|
43
|
+
import"./index-4jmtdtm9.js";
|
|
44
44
|
import"./index-zg9d392c.js";
|
|
45
45
|
import"./index-n832052r.js";
|
|
46
46
|
import"./index-rz87mx1c.js";
|
|
47
47
|
import"./index-z6xqpmqg.js";
|
|
48
48
|
import"./index-r3mvsbtq.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-553veay1.js";
|
|
50
|
+
import"./index-yrsag0vs.js";
|
|
51
51
|
import"./index-9e6fdz2h.js";
|
|
52
52
|
import"./index-4rhhvd1a.js";
|
|
53
|
-
import"./index-
|
|
53
|
+
import"./index-164m995b.js";
|
|
54
54
|
import"./index-m1nrd3yd.js";
|
|
55
55
|
import"./index-zjygnfay.js";
|
|
56
56
|
import"./index-ae75rja9.js";
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
57
|
+
import"./index-25z5qwkk.js";
|
|
58
|
+
import"./index-4emx8hhh.js";
|
|
59
59
|
import"./index-bk5tah7q.js";
|
|
60
|
-
import"./index-
|
|
60
|
+
import"./index-fxxja498.js";
|
|
61
61
|
import"./index-tfa2p4y4.js";
|
|
62
|
-
import"./index-
|
|
62
|
+
import"./index-1dz8hv7p.js";
|
|
63
63
|
import"./index-7g4c7s5r.js";
|
|
64
64
|
import"./index-bpmtbmy9.js";
|
|
65
65
|
import"./index-zgwm4ryv.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
scanDelegationFallbacksForRecovery,
|
|
12
12
|
scanDelegationsForRecovery
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-er8ba9be.js";
|
|
14
14
|
import"./index-ddszzne4.js";
|
|
15
15
|
import"./index-rz87mx1c.js";
|
|
16
16
|
import"./index-z6xqpmqg.js";
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
resolveGitExecutable
|
|
23
23
|
} from "./index-9e6fdz2h.js";
|
|
24
24
|
import"./index-4rhhvd1a.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-164m995b.js";
|
|
26
26
|
import"./index-zjygnfay.js";
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-fxxja498.js";
|
|
28
28
|
import"./index-tfa2p4y4.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-1dz8hv7p.js";
|
|
30
30
|
import"./index-7g4c7s5r.js";
|
|
31
31
|
import"./index-bpmtbmy9.js";
|
|
32
32
|
import"./index-zgwm4ryv.js";
|
|
@@ -21,64 +21,64 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
24
|
+
} from "./index-3gb7bw7h.js";
|
|
25
|
+
import"./index-25jze7sf.js";
|
|
26
|
+
import"./index-ea7sehgy.js";
|
|
27
|
+
import"./index-1q2dwv69.js";
|
|
28
|
+
import"./index-maxz22c1.js";
|
|
29
|
+
import"./index-4krjn1gn.js";
|
|
30
30
|
import"./index-txdagbh7.js";
|
|
31
31
|
import"./index-3146wmgv.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
32
|
+
import"./index-7rat6nyh.js";
|
|
33
|
+
import"./index-s09b63xg.js";
|
|
34
|
+
import"./index-aaqbhn9h.js";
|
|
35
35
|
import"./index-70ha9e09.js";
|
|
36
36
|
import"./index-1f4nandk.js";
|
|
37
37
|
import"./index-0zbze3n6.js";
|
|
38
38
|
import"./index-zaab1wz9.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-y42pra05.js";
|
|
40
40
|
import"./index-zsrtt42s.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-fwebva1m.js";
|
|
42
42
|
import"./index-3f7hqtgg.js";
|
|
43
43
|
import"./index-xj4kbtdw.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
44
|
+
import"./index-rc6hec4j.js";
|
|
45
|
+
import"./index-hnjkpk57.js";
|
|
46
46
|
import"./index-rtry5xyf.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
47
|
+
import"./index-wbnyc50b.js";
|
|
48
|
+
import"./index-j9a4fsxg.js";
|
|
49
|
+
import"./index-er8ba9be.js";
|
|
50
50
|
import"./index-ddszzne4.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
51
|
+
import"./index-8h9nng7f.js";
|
|
52
|
+
import"./index-xm7dc14y.js";
|
|
53
|
+
import"./index-50s9q4c1.js";
|
|
54
54
|
import"./index-556ja8an.js";
|
|
55
55
|
import"./index-4fwbbad3.js";
|
|
56
56
|
import"./index-b43rt5ph.js";
|
|
57
57
|
import"./index-q7sjgr1y.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-q0gtgwyr.js";
|
|
59
|
+
import"./index-0trtcm9n.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveWorktreeIsolationConfig
|
|
62
|
-
} from "./index-
|
|
62
|
+
} from "./index-4jmtdtm9.js";
|
|
63
63
|
import"./index-zg9d392c.js";
|
|
64
64
|
import"./index-n832052r.js";
|
|
65
65
|
import"./index-rz87mx1c.js";
|
|
66
66
|
import"./index-z6xqpmqg.js";
|
|
67
67
|
import"./index-r3mvsbtq.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
68
|
+
import"./index-553veay1.js";
|
|
69
|
+
import"./index-yrsag0vs.js";
|
|
70
70
|
import"./index-9e6fdz2h.js";
|
|
71
71
|
import"./index-4rhhvd1a.js";
|
|
72
|
-
import"./index-
|
|
72
|
+
import"./index-164m995b.js";
|
|
73
73
|
import"./index-m1nrd3yd.js";
|
|
74
74
|
import"./index-zjygnfay.js";
|
|
75
75
|
import"./index-ae75rja9.js";
|
|
76
|
-
import"./index-
|
|
77
|
-
import"./index-
|
|
76
|
+
import"./index-25z5qwkk.js";
|
|
77
|
+
import"./index-4emx8hhh.js";
|
|
78
78
|
import"./index-bk5tah7q.js";
|
|
79
|
-
import"./index-
|
|
79
|
+
import"./index-fxxja498.js";
|
|
80
80
|
import"./index-tfa2p4y4.js";
|
|
81
|
-
import"./index-
|
|
81
|
+
import"./index-1dz8hv7p.js";
|
|
82
82
|
import"./index-7g4c7s5r.js";
|
|
83
83
|
import"./index-bpmtbmy9.js";
|
|
84
84
|
import"./index-zgwm4ryv.js";
|
package/dist/config/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { ALL_AGENT_NAMES, ALL_SUBAGENT_NAMES, DEFAULT_MODELS, isQAAgent, isSubag
|
|
|
3
3
|
export type { ApprovalEvidence, BaseEvidence, DiffEvidence, Evidence, EvidenceBundle, EvidenceType, EvidenceVerdict, NoteEvidence, ReviewEvidence, TestEvidence, } from './evidence-schema';
|
|
4
4
|
export { ApprovalEvidenceSchema, BaseEvidenceSchema, DiffEvidenceSchema, EVIDENCE_MAX_JSON_BYTES, EVIDENCE_MAX_PATCH_BYTES, EVIDENCE_MAX_TASK_BYTES, EvidenceBundleSchema, EvidenceSchema, EvidenceTypeSchema, EvidenceVerdictSchema, NoteEvidenceSchema, ReviewEvidenceSchema, TestEvidenceSchema, } from './evidence-schema';
|
|
5
5
|
export type { ConfigBuildResult, ConfigLoadResult, ConfigRecovery, } from './loader';
|
|
6
|
-
export { getSafeDefaultConfigLoadResult, loadAgentPrompt, loadPluginConfig, loadPluginConfigWithMeta, loadPluginConfigWithMetaAsync, } from './loader';
|
|
6
|
+
export { getSafeDefaultConfigLoadResult, loadAgentPrompt, loadGateOverrides, loadPluginConfig, loadPluginConfigWithMeta, loadPluginConfigWithMetaAsync, resetConfigAdvisoryDedup, } from './loader';
|
|
7
7
|
import { loadPluginConfigWithMeta } from './loader';
|
|
8
8
|
/**
|
|
9
9
|
* Test-only dependency-injection seam — see `gitignore-warning.ts:_internals`
|
|
@@ -19,8 +19,8 @@ export declare const _internals: {
|
|
|
19
19
|
};
|
|
20
20
|
export type { ExecutionProfile, MigrationStatus, Phase, PhaseStatus, Plan, Task, TaskSize, TaskStatus, } from './plan-schema';
|
|
21
21
|
export { ExecutionProfileSchema, MigrationStatusSchema, PhaseSchema, PhaseStatusSchema, PlanSchema, TaskSchema, TaskSizeSchema, TaskStatusSchema, } from './plan-schema';
|
|
22
|
-
export type { AgentOverrideConfig, ApplyPatchConfig, AutomationCapabilities, AutomationConfig, AutomationMode, AutoReviewBurnInDecision, AutoReviewConfig, AutoReviewReleaseContext, LeanTurboConfig, MemoryConfig, ModelPricingConfig, PhaseCompleteConfig, PipelineConfig, PluginConfig, PricingConfig, RepoGraphConfig, SkillPropagationConfig, SwarmConfig, TurboConfig, WorktreeIsolationConfig, } from './schema';
|
|
23
|
-
export { AgentOverrideConfigSchema, ApplyPatchConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutomationCapabilitiesSchema, AutomationConfigSchema, AutomationModeSchema, AutoReviewConfigSchema, LeanTurboConfigSchema, MemoryConfigSchema, ModelPricingConfigSchema, PhaseCompleteConfigSchema, PipelineConfigSchema, PluginConfigSchema, PricingConfigSchema, RepoGraphConfigSchema, resolveAutoReviewConfig, SkillPropagationConfigSchema, SwarmConfigSchema, TurboConfigSchema, WorktreeIsolationConfigSchema, } from './schema';
|
|
22
|
+
export type { AgentOverrideConfig, ApplyPatchConfig, AutomationCapabilities, AutomationConfig, AutomationMode, AutoReviewBurnInDecision, AutoReviewConfig, AutoReviewReleaseContext, GateConfig, GateConfigOverrides, GateSectionName, LeanTurboConfig, MemoryConfig, ModelPricingConfig, PhaseCompleteConfig, PipelineConfig, PluginConfig, PricingConfig, RepoGraphConfig, SkillPropagationConfig, SwarmConfig, TurboConfig, WorktreeIsolationConfig, } from './schema';
|
|
23
|
+
export { AgentOverrideConfigSchema, ApplyPatchConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutomationCapabilitiesSchema, AutomationConfigSchema, AutomationModeSchema, AutoReviewConfigSchema, GATE_CONFIG_READERS, GATE_SECTION_SCHEMAS, LeanTurboConfigSchema, MemoryConfigSchema, ModelPricingConfigSchema, PhaseCompleteConfigSchema, PipelineConfigSchema, PluginConfigSchema, PricingConfigSchema, RepoGraphConfigSchema, resolveAutoReviewConfig, SkillPropagationConfigSchema, SwarmConfigSchema, TurboConfigSchema, WorktreeIsolationConfigSchema, } from './schema';
|
|
24
24
|
export type { DeltaSpec, Obligation, SpecDelta, SpecRequirement, SpecScenario, SpecSection, SwarmSpec, } from './spec-schema';
|
|
25
25
|
export { DeltaSpecSchema, ObligationSchema, SpecDeltaSchema, SpecRequirementSchema, SpecScenarioSchema, SpecSectionSchema, SwarmSpecSchema, validateSpecContent, } from './spec-schema';
|
|
26
26
|
export { resolveWorktreeIsolationConfig } from './worktree-isolation-config';
|
package/dist/config/loader.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
|
-
import { type PluginConfig } from './schema';
|
|
2
|
+
import { type GateConfigOverrides, type PluginConfig } from './schema';
|
|
3
3
|
export declare const MAX_CONFIG_FILE_BYTES = 102400;
|
|
4
4
|
export declare const _internals: {
|
|
5
5
|
resetUnknownTopLevelKeyWarning(): void;
|
|
6
|
+
resetGatesAdvisoryDedup(): void;
|
|
6
7
|
};
|
|
7
8
|
export { deepMerge, MAX_MERGE_DEPTH } from '../utils/merge';
|
|
8
9
|
/**
|
|
@@ -43,6 +44,14 @@ export type ConfigBuildResult = {
|
|
|
43
44
|
removedKeys: string[];
|
|
44
45
|
/** Human-readable summary messages about the recovery action. */
|
|
45
46
|
warnings: string[];
|
|
47
|
+
/**
|
|
48
|
+
* Post-sanitize raw `gates` section — only the keys the user actually wrote,
|
|
49
|
+
* before Zod-default materialization. Gate tools consult this via
|
|
50
|
+
* `loadGateOverrides` so schema defaults never masquerade as user intent
|
|
51
|
+
* (issue #2524). Absent when no `gates` object survived sanitization or the
|
|
52
|
+
* whole config fell back to defaults.
|
|
53
|
+
*/
|
|
54
|
+
rawGates?: Record<string, Record<string, unknown>>;
|
|
46
55
|
};
|
|
47
56
|
/**
|
|
48
57
|
* Full result from `loadPluginConfigWithMeta` and `loadPluginConfigWithMetaAsync`.
|
|
@@ -78,6 +87,30 @@ export declare function loadPluginConfig(directory: string): PluginConfig;
|
|
|
78
87
|
* exactly once, no double-read.
|
|
79
88
|
*/
|
|
80
89
|
export declare function loadPluginConfigWithMeta(directory: string): ConfigLoadResult;
|
|
90
|
+
/**
|
|
91
|
+
* Gate configuration overrides a user actually wrote (issue #2524).
|
|
92
|
+
*
|
|
93
|
+
* Returns the post-sanitize RAW `gates` section — only keys present in the
|
|
94
|
+
* user's config files, with unknown keys stripped and NO Zod-default
|
|
95
|
+
* materialization. Gate tools consult this instead of the parsed
|
|
96
|
+
* `config.gates` because zod fills every `.default()` on parse: the parsed
|
|
97
|
+
* section always carries full default lists once any `gates` object exists,
|
|
98
|
+
* and placeholder_scan (among others) would treat such a list as an explicit
|
|
99
|
+
* user customization. `undefined` here means "no gates section" — callers
|
|
100
|
+
* fall back to their in-module defaults.
|
|
101
|
+
*
|
|
102
|
+
* Fail-open: any unexpected loader failure returns `undefined` (gates run
|
|
103
|
+
* with defaults) rather than throwing into the tool boundary.
|
|
104
|
+
*/
|
|
105
|
+
export declare function loadGateOverrides(directory: string): GateConfigOverrides | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* Reset the module-level config-advisory dedup state (gates-section
|
|
108
|
+
* signatures + the unknown-top-level-key slot). Called once at session start
|
|
109
|
+
* next to `clearDeferredWarnings()` so a config problem that is fixed and
|
|
110
|
+
* later re-introduced warns again in the new session instead of staying
|
|
111
|
+
* suppressed by a signature recorded before the fix.
|
|
112
|
+
*/
|
|
113
|
+
export declare function resetConfigAdvisoryDedup(): void;
|
|
81
114
|
/**
|
|
82
115
|
* Safe-default `ConfigLoadResult` for init-path timeout / error fallback.
|
|
83
116
|
*
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -322,14 +322,44 @@ export declare const QualityBudgetConfigSchema: z.ZodObject<{
|
|
|
322
322
|
exclude_globs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
323
323
|
}, z.core.$strip>;
|
|
324
324
|
export type QualityBudgetConfig = z.infer<typeof QualityBudgetConfigSchema>;
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
325
|
+
/**
|
|
326
|
+
* Single source of truth for gate sections (issue #2524): `GateConfigSchema` is
|
|
327
|
+
* built from this map and `GATE_CONFIG_KNOWN_SECTION_KEYS` is derived from it,
|
|
328
|
+
* so the loader's strip registry can never drift from the schema. The previous
|
|
329
|
+
* hand-maintained copy omitted `placeholder_scan.sentinel_allowlist`, which
|
|
330
|
+
* made the loader strip a real schema key as "unknown".
|
|
331
|
+
*/
|
|
332
|
+
export declare const GATE_SECTION_SCHEMAS: {
|
|
333
|
+
readonly syntax_check: z.ZodObject<{
|
|
334
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
335
|
+
}, z.core.$strip>;
|
|
336
|
+
readonly placeholder_scan: z.ZodObject<{
|
|
337
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
338
|
+
deny_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
339
|
+
allow_globs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
340
|
+
max_allowed_findings: z.ZodDefault<z.ZodNumber>;
|
|
341
|
+
sentinel_allowlist: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
342
|
+
}, z.core.$strip>;
|
|
343
|
+
readonly sast_scan: z.ZodObject<{
|
|
344
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
345
|
+
}, z.core.$strip>;
|
|
346
|
+
readonly sbom_generate: z.ZodObject<{
|
|
347
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
348
|
+
}, z.core.$strip>;
|
|
349
|
+
readonly build_check: z.ZodObject<{
|
|
350
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
351
|
+
}, z.core.$strip>;
|
|
352
|
+
readonly quality_budget: z.ZodObject<{
|
|
353
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
354
|
+
max_complexity_delta: z.ZodDefault<z.ZodNumber>;
|
|
355
|
+
max_public_api_delta: z.ZodDefault<z.ZodNumber>;
|
|
356
|
+
max_duplication_ratio: z.ZodDefault<z.ZodNumber>;
|
|
357
|
+
min_test_to_code_ratio: z.ZodDefault<z.ZodNumber>;
|
|
358
|
+
enforce_on_globs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
359
|
+
exclude_globs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
360
|
+
}, z.core.$strip>;
|
|
332
361
|
};
|
|
362
|
+
export type GateSectionName = keyof typeof GATE_SECTION_SCHEMAS;
|
|
333
363
|
export declare const GateConfigSchema: z.ZodObject<{
|
|
334
364
|
syntax_check: z.ZodDefault<z.ZodObject<{
|
|
335
365
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -361,6 +391,30 @@ export declare const GateConfigSchema: z.ZodObject<{
|
|
|
361
391
|
}, z.core.$strip>>;
|
|
362
392
|
}, z.core.$strip>;
|
|
363
393
|
export type GateConfig = z.infer<typeof GateConfigSchema>;
|
|
394
|
+
/**
|
|
395
|
+
* Per-section field keys, derived from `GATE_SECTION_SCHEMAS`. Consumed by
|
|
396
|
+
* `sanitizeGatesConfig` (config loader) and `collectRawGatesConfigFindings`
|
|
397
|
+
* (config doctor) to decide which `gates.*` keys are recognized.
|
|
398
|
+
*/
|
|
399
|
+
export declare const GATE_CONFIG_KNOWN_SECTION_KEYS: Record<GateSectionName, readonly string[]>;
|
|
400
|
+
/**
|
|
401
|
+
* Only the gate keys a user actually wrote. Zod materializes every `.default()`
|
|
402
|
+
* on parse, so the parsed `config.gates` always carries full default lists once
|
|
403
|
+
* any `gates` object exists; tools must not mistake those for user intent
|
|
404
|
+
* (e.g. placeholder_scan treats any provided `deny_patterns` list as custom
|
|
405
|
+
* patterns and disables its built-in string/code scanning). The loader exposes
|
|
406
|
+
* the post-sanitize raw section as this shape — see `loadGateOverrides`.
|
|
407
|
+
*/
|
|
408
|
+
export type GateConfigOverrides = {
|
|
409
|
+
[K in GateSectionName]?: Partial<z.infer<(typeof GATE_SECTION_SCHEMAS)[K]>>;
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* Drift-check contract (issue #2524): every `GateConfigSchema` section must
|
|
413
|
+
* list the production modules that read it. `scripts/drift-check-gates-docs.ts`
|
|
414
|
+
* enforces key parity with the schema; the gates-config-wiring tests prove the
|
|
415
|
+
* wiring dynamically through the registered tool objects.
|
|
416
|
+
*/
|
|
417
|
+
export declare const GATE_CONFIG_READERS: Record<GateSectionName, readonly string[]>;
|
|
364
418
|
export declare const PipelineConfigSchema: z.ZodObject<{
|
|
365
419
|
parallel_precheck: z.ZodDefault<z.ZodBoolean>;
|
|
366
420
|
}, z.core.$strip>;
|