@humanbased/crosscheck 1.9.0 → 1.9.1-beta.2
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/config/schema.d.ts +363 -1262
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +27 -27
- package/dist/config/schema.js.map +1 -1
- package/dist/lib/review-memory.d.ts +28 -122
- package/dist/lib/review-memory.d.ts.map +1 -1
- package/dist/lib/review-strategy.d.ts.map +1 -1
- package/dist/lib/review-strategy.js +20 -16
- package/dist/lib/review-strategy.js.map +1 -1
- package/dist/lib/workflow.d.ts +18 -60
- package/dist/lib/workflow.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/config/schema.d.ts
CHANGED
|
@@ -5,403 +5,225 @@ export declare const OPENCODE_EFFORT_LEVELS: readonly ["none", "high", "max"];
|
|
|
5
5
|
export declare const VendorConfigSchema: z.ZodObject<{
|
|
6
6
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
7
7
|
model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
auth: z.ZodDefault<z.ZodEnum<
|
|
9
|
-
|
|
8
|
+
auth: z.ZodDefault<z.ZodEnum<{
|
|
9
|
+
subscription: "subscription";
|
|
10
|
+
"api-key": "api-key";
|
|
11
|
+
}>>;
|
|
12
|
+
effort: z.ZodDefault<z.ZodEnum<{
|
|
13
|
+
low: "low";
|
|
14
|
+
medium: "medium";
|
|
15
|
+
high: "high";
|
|
16
|
+
max: "max";
|
|
17
|
+
}>>;
|
|
10
18
|
timeout_sec: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
-
},
|
|
12
|
-
enabled: boolean;
|
|
13
|
-
model: string | null;
|
|
14
|
-
auth: "subscription" | "api-key";
|
|
15
|
-
effort: "low" | "medium" | "high" | "max";
|
|
16
|
-
timeout_sec: number | null;
|
|
17
|
-
}, {
|
|
18
|
-
enabled?: boolean | undefined;
|
|
19
|
-
model?: string | null | undefined;
|
|
20
|
-
auth?: "subscription" | "api-key" | undefined;
|
|
21
|
-
effort?: "low" | "medium" | "high" | "max" | undefined;
|
|
22
|
-
timeout_sec?: number | null | undefined;
|
|
23
|
-
}>;
|
|
19
|
+
}, z.core.$strip>;
|
|
24
20
|
export declare const CodexVendorConfigSchema: z.ZodObject<{
|
|
25
21
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
26
22
|
model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
auth: z.ZodDefault<z.ZodEnum<
|
|
23
|
+
auth: z.ZodDefault<z.ZodEnum<{
|
|
24
|
+
subscription: "subscription";
|
|
25
|
+
"api-key": "api-key";
|
|
26
|
+
}>>;
|
|
28
27
|
timeout_sec: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
29
|
+
low: "low";
|
|
30
|
+
medium: "medium";
|
|
31
|
+
high: "high";
|
|
32
|
+
}>>;
|
|
33
|
+
effort: z.ZodDefault<z.ZodEnum<{
|
|
34
|
+
low: "low";
|
|
35
|
+
medium: "medium";
|
|
36
|
+
high: "high";
|
|
37
|
+
max: "max";
|
|
38
|
+
xhigh: "xhigh";
|
|
39
|
+
ultra: "ultra";
|
|
40
|
+
}>>;
|
|
32
41
|
model_tiers: z.ZodOptional<z.ZodObject<{
|
|
33
42
|
fast: z.ZodOptional<z.ZodString>;
|
|
34
43
|
balanced: z.ZodOptional<z.ZodString>;
|
|
35
44
|
thorough: z.ZodOptional<z.ZodString>;
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
balanced?: string | undefined;
|
|
39
|
-
thorough?: string | undefined;
|
|
40
|
-
}, {
|
|
41
|
-
fast?: string | undefined;
|
|
42
|
-
balanced?: string | undefined;
|
|
43
|
-
thorough?: string | undefined;
|
|
44
|
-
}>>;
|
|
45
|
-
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
enabled: boolean;
|
|
47
|
-
model: string | null;
|
|
48
|
-
auth: "subscription" | "api-key";
|
|
49
|
-
effort: "low" | "medium" | "high" | "max" | "xhigh" | "ultra";
|
|
50
|
-
timeout_sec: number | null;
|
|
51
|
-
quality: "low" | "medium" | "high";
|
|
52
|
-
model_tiers?: {
|
|
53
|
-
fast?: string | undefined;
|
|
54
|
-
balanced?: string | undefined;
|
|
55
|
-
thorough?: string | undefined;
|
|
56
|
-
} | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
enabled?: boolean | undefined;
|
|
59
|
-
model?: string | null | undefined;
|
|
60
|
-
auth?: "subscription" | "api-key" | undefined;
|
|
61
|
-
effort?: "low" | "medium" | "high" | "max" | "xhigh" | "ultra" | undefined;
|
|
62
|
-
timeout_sec?: number | null | undefined;
|
|
63
|
-
quality?: "low" | "medium" | "high" | undefined;
|
|
64
|
-
model_tiers?: {
|
|
65
|
-
fast?: string | undefined;
|
|
66
|
-
balanced?: string | undefined;
|
|
67
|
-
thorough?: string | undefined;
|
|
68
|
-
} | undefined;
|
|
69
|
-
}>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
}, z.core.$strip>;
|
|
70
47
|
export declare const OpenCodeVendorConfigSchema: z.ZodObject<{
|
|
71
48
|
model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
72
|
-
auth: z.ZodDefault<z.ZodEnum<
|
|
49
|
+
auth: z.ZodDefault<z.ZodEnum<{
|
|
50
|
+
subscription: "subscription";
|
|
51
|
+
"api-key": "api-key";
|
|
52
|
+
}>>;
|
|
73
53
|
timeout_sec: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
74
|
-
} & {
|
|
75
54
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
76
|
-
effort: z.ZodDefault<z.ZodEnum<
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
timeout_sec: number | null;
|
|
83
|
-
}, {
|
|
84
|
-
enabled?: boolean | undefined;
|
|
85
|
-
model?: string | null | undefined;
|
|
86
|
-
auth?: "subscription" | "api-key" | undefined;
|
|
87
|
-
effort?: "high" | "max" | "none" | undefined;
|
|
88
|
-
timeout_sec?: number | null | undefined;
|
|
89
|
-
}>;
|
|
55
|
+
effort: z.ZodDefault<z.ZodEnum<{
|
|
56
|
+
high: "high";
|
|
57
|
+
max: "max";
|
|
58
|
+
none: "none";
|
|
59
|
+
}>>;
|
|
60
|
+
}, z.core.$strip>;
|
|
90
61
|
export declare const QualityConfigSchema: z.ZodObject<{
|
|
91
|
-
tier: z.ZodDefault<z.ZodEnum<
|
|
92
|
-
|
|
93
|
-
|
|
62
|
+
tier: z.ZodDefault<z.ZodEnum<{
|
|
63
|
+
fast: "fast";
|
|
64
|
+
balanced: "balanced";
|
|
65
|
+
thorough: "thorough";
|
|
66
|
+
}>>;
|
|
67
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
68
|
+
fixed: "fixed";
|
|
69
|
+
smart: "smart";
|
|
70
|
+
}>>;
|
|
71
|
+
focus: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
94
72
|
custom_prompt: z.ZodOptional<z.ZodString>;
|
|
95
73
|
review_memory: z.ZodDefault<z.ZodBoolean>;
|
|
96
|
-
},
|
|
97
|
-
tier: "fast" | "balanced" | "thorough";
|
|
98
|
-
mode: "fixed" | "smart";
|
|
99
|
-
focus: string[];
|
|
100
|
-
review_memory: boolean;
|
|
101
|
-
custom_prompt?: string | undefined;
|
|
102
|
-
}, {
|
|
103
|
-
tier?: "fast" | "balanced" | "thorough" | undefined;
|
|
104
|
-
mode?: "fixed" | "smart" | undefined;
|
|
105
|
-
focus?: string[] | undefined;
|
|
106
|
-
custom_prompt?: string | undefined;
|
|
107
|
-
review_memory?: boolean | undefined;
|
|
108
|
-
}>;
|
|
74
|
+
}, z.core.$strip>;
|
|
109
75
|
export declare const SkillsConfigSchema: z.ZodObject<{
|
|
110
|
-
enabled: z.ZodDefault<z.ZodArray<z.ZodString
|
|
76
|
+
enabled: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
111
77
|
codex_full_access: z.ZodDefault<z.ZodBoolean>;
|
|
112
|
-
},
|
|
113
|
-
enabled: string[];
|
|
114
|
-
codex_full_access: boolean;
|
|
115
|
-
}, {
|
|
116
|
-
enabled?: string[] | undefined;
|
|
117
|
-
codex_full_access?: boolean | undefined;
|
|
118
|
-
}>;
|
|
78
|
+
}, z.core.$strip>;
|
|
119
79
|
export declare const BudgetConfigSchema: z.ZodObject<{
|
|
120
80
|
codex_monthly_usd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
121
81
|
per_review_usd: z.ZodDefault<z.ZodNumber>;
|
|
122
|
-
},
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
per_review_usd?: number | undefined;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
export declare const RepoWorkflowStepSchema: z.ZodEnum<{
|
|
84
|
+
review: "review";
|
|
85
|
+
fix: "fix";
|
|
86
|
+
recheck: "recheck";
|
|
128
87
|
}>;
|
|
129
|
-
export declare const RepoWorkflowStepSchema: z.ZodEnum<["review", "fix", "recheck"]>;
|
|
130
88
|
export type RepoWorkflowStep = z.infer<typeof RepoWorkflowStepSchema>;
|
|
131
89
|
export declare const REPO_WORKFLOW_STEP_ORDER: readonly RepoWorkflowStep[];
|
|
132
|
-
export declare const RepoWorkflowStepsSchema: z.
|
|
90
|
+
export declare const RepoWorkflowStepsSchema: z.ZodArray<z.ZodEnum<{
|
|
91
|
+
review: "review";
|
|
92
|
+
fix: "fix";
|
|
93
|
+
recheck: "recheck";
|
|
94
|
+
}>>;
|
|
133
95
|
export declare const RepoConfigSchema: z.ZodObject<{
|
|
134
96
|
owner: z.ZodString;
|
|
135
97
|
name: z.ZodString;
|
|
136
|
-
},
|
|
137
|
-
owner: string;
|
|
138
|
-
name: string;
|
|
139
|
-
}, {
|
|
140
|
-
owner: string;
|
|
141
|
-
name: string;
|
|
142
|
-
}>;
|
|
98
|
+
}, z.core.$strip>;
|
|
143
99
|
export declare const RoutingConfigSchema: z.ZodObject<{
|
|
144
|
-
codex_reviews_patterns: z.ZodDefault<z.ZodArray<z.ZodString
|
|
145
|
-
claude_reviews_patterns: z.ZodDefault<z.ZodArray<z.ZodString
|
|
146
|
-
opencode_reviews_patterns: z.ZodDefault<z.ZodArray<z.ZodString
|
|
147
|
-
claude_branch_prefixes: z.ZodDefault<z.ZodArray<z.ZodString
|
|
148
|
-
codex_branch_prefixes: z.ZodDefault<z.ZodArray<z.ZodString
|
|
149
|
-
opencode_branch_prefixes: z.ZodDefault<z.ZodArray<z.ZodString
|
|
150
|
-
allowed_authors: z.ZodDefault<z.ZodArray<z.ZodString
|
|
151
|
-
author_routes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}, {
|
|
164
|
-
codex_reviews_patterns?: string[] | undefined;
|
|
165
|
-
claude_reviews_patterns?: string[] | undefined;
|
|
166
|
-
opencode_reviews_patterns?: string[] | undefined;
|
|
167
|
-
claude_branch_prefixes?: string[] | undefined;
|
|
168
|
-
codex_branch_prefixes?: string[] | undefined;
|
|
169
|
-
opencode_branch_prefixes?: string[] | undefined;
|
|
170
|
-
allowed_authors?: string[] | undefined;
|
|
171
|
-
author_routes?: Record<string, "claude" | "codex" | "opencode"> | undefined;
|
|
172
|
-
fallback_reviewer?: "claude" | "codex" | "opencode" | "auto" | null | undefined;
|
|
173
|
-
}>;
|
|
100
|
+
codex_reviews_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
101
|
+
claude_reviews_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
102
|
+
opencode_reviews_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
103
|
+
claude_branch_prefixes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
104
|
+
codex_branch_prefixes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
105
|
+
opencode_branch_prefixes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
106
|
+
allowed_authors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
107
|
+
author_routes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
108
|
+
claude: "claude";
|
|
109
|
+
codex: "codex";
|
|
110
|
+
opencode: "opencode";
|
|
111
|
+
}>>>;
|
|
112
|
+
fallback_reviewer: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
113
|
+
claude: "claude";
|
|
114
|
+
codex: "codex";
|
|
115
|
+
opencode: "opencode";
|
|
116
|
+
auto: "auto";
|
|
117
|
+
}>>>;
|
|
118
|
+
}, z.core.$strip>;
|
|
174
119
|
export declare const AgentPriorityConfigSchema: z.ZodDefault<z.ZodObject<{
|
|
175
|
-
review: z.ZodDefault<z.ZodArray<z.ZodEnum<
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
fix:
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
conflict_resolve
|
|
186
|
-
|
|
120
|
+
review: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
121
|
+
claude: "claude";
|
|
122
|
+
codex: "codex";
|
|
123
|
+
opencode: "opencode";
|
|
124
|
+
}>>>;
|
|
125
|
+
fix: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
126
|
+
claude: "claude";
|
|
127
|
+
codex: "codex";
|
|
128
|
+
opencode: "opencode";
|
|
129
|
+
}>>>;
|
|
130
|
+
conflict_resolve: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
131
|
+
claude: "claude";
|
|
132
|
+
codex: "codex";
|
|
133
|
+
opencode: "opencode";
|
|
134
|
+
}>>>;
|
|
135
|
+
}, z.core.$strip>>;
|
|
187
136
|
export declare const ServerConfigSchema: z.ZodObject<{
|
|
188
137
|
port: z.ZodDefault<z.ZodNumber>;
|
|
189
138
|
webhook_path: z.ZodDefault<z.ZodString>;
|
|
190
|
-
},
|
|
191
|
-
port: number;
|
|
192
|
-
webhook_path: string;
|
|
193
|
-
}, {
|
|
194
|
-
port?: number | undefined;
|
|
195
|
-
webhook_path?: string | undefined;
|
|
196
|
-
}>;
|
|
139
|
+
}, z.core.$strip>;
|
|
197
140
|
export declare const LogsConfigSchema: z.ZodObject<{
|
|
198
141
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
199
142
|
retention_days: z.ZodDefault<z.ZodNumber>;
|
|
200
|
-
extended: z.
|
|
143
|
+
extended: z.ZodPrefault<z.ZodObject<{
|
|
201
144
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
202
|
-
},
|
|
203
|
-
|
|
204
|
-
}, {
|
|
205
|
-
enabled?: boolean | undefined;
|
|
206
|
-
}>>;
|
|
207
|
-
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
enabled: boolean;
|
|
209
|
-
retention_days: number;
|
|
210
|
-
extended: {
|
|
211
|
-
enabled: boolean;
|
|
212
|
-
};
|
|
213
|
-
}, {
|
|
214
|
-
enabled?: boolean | undefined;
|
|
215
|
-
retention_days?: number | undefined;
|
|
216
|
-
extended?: {
|
|
217
|
-
enabled?: boolean | undefined;
|
|
218
|
-
} | undefined;
|
|
219
|
-
}>;
|
|
145
|
+
}, z.core.$strip>>;
|
|
146
|
+
}, z.core.$strip>;
|
|
220
147
|
export declare const TunnelConfigSchema: z.ZodObject<{
|
|
221
|
-
backend: z.ZodDefault<z.ZodEnum<
|
|
148
|
+
backend: z.ZodDefault<z.ZodEnum<{
|
|
149
|
+
"localhost.run": "localhost.run";
|
|
150
|
+
smee: "smee";
|
|
151
|
+
}>>;
|
|
222
152
|
smee_channel: z.ZodDefault<z.ZodString>;
|
|
223
|
-
},
|
|
224
|
-
backend: "localhost.run" | "smee";
|
|
225
|
-
smee_channel: string;
|
|
226
|
-
}, {
|
|
227
|
-
backend?: "localhost.run" | "smee" | undefined;
|
|
228
|
-
smee_channel?: string | undefined;
|
|
229
|
-
}>;
|
|
153
|
+
}, z.core.$strip>;
|
|
230
154
|
export declare const ImpactConfigSchema: z.ZodObject<{
|
|
231
155
|
assumed_human_review_minutes: z.ZodDefault<z.ZodNumber>;
|
|
232
156
|
hourly_rate_usd: z.ZodDefault<z.ZodNumber>;
|
|
233
157
|
defect_cost_usd: z.ZodDefault<z.ZodNumber>;
|
|
234
|
-
},
|
|
235
|
-
assumed_human_review_minutes: number;
|
|
236
|
-
hourly_rate_usd: number;
|
|
237
|
-
defect_cost_usd: number;
|
|
238
|
-
}, {
|
|
239
|
-
assumed_human_review_minutes?: number | undefined;
|
|
240
|
-
hourly_rate_usd?: number | undefined;
|
|
241
|
-
defect_cost_usd?: number | undefined;
|
|
242
|
-
}>;
|
|
158
|
+
}, z.core.$strip>;
|
|
243
159
|
export declare const IssueEnrichmentConfigSchema: z.ZodObject<{
|
|
244
160
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
245
|
-
provider: z.ZodDefault<z.ZodEnum<
|
|
246
|
-
|
|
161
|
+
provider: z.ZodDefault<z.ZodEnum<{
|
|
162
|
+
linear: "linear";
|
|
163
|
+
}>>;
|
|
164
|
+
team_keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
247
165
|
max_description_chars: z.ZodDefault<z.ZodNumber>;
|
|
248
|
-
},
|
|
249
|
-
enabled: boolean;
|
|
250
|
-
provider: "linear";
|
|
251
|
-
team_keys: string[];
|
|
252
|
-
max_description_chars: number;
|
|
253
|
-
}, {
|
|
254
|
-
enabled?: boolean | undefined;
|
|
255
|
-
provider?: "linear" | undefined;
|
|
256
|
-
team_keys?: string[] | undefined;
|
|
257
|
-
max_description_chars?: number | undefined;
|
|
258
|
-
}>;
|
|
166
|
+
}, z.core.$strip>;
|
|
259
167
|
export declare const BacktraceConfigSchema: z.ZodObject<{
|
|
260
168
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
261
169
|
interval_min: z.ZodDefault<z.ZodNumber>;
|
|
262
170
|
concurrency: z.ZodDefault<z.ZodNumber>;
|
|
263
|
-
},
|
|
264
|
-
enabled: boolean;
|
|
265
|
-
interval_min: number;
|
|
266
|
-
concurrency: number;
|
|
267
|
-
}, {
|
|
268
|
-
enabled?: boolean | undefined;
|
|
269
|
-
interval_min?: number | undefined;
|
|
270
|
-
concurrency?: number | undefined;
|
|
271
|
-
}>;
|
|
171
|
+
}, z.core.$strip>;
|
|
272
172
|
export declare const WatchIdleIssueSchema: z.ZodObject<{
|
|
273
173
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
274
174
|
timeout_min: z.ZodDefault<z.ZodNumber>;
|
|
275
|
-
},
|
|
276
|
-
enabled: boolean;
|
|
277
|
-
timeout_min: number;
|
|
278
|
-
}, {
|
|
279
|
-
enabled?: boolean | undefined;
|
|
280
|
-
timeout_min?: number | undefined;
|
|
281
|
-
}>;
|
|
175
|
+
}, z.core.$strip>;
|
|
282
176
|
export declare const WatchConfigSchema: z.ZodObject<{
|
|
283
|
-
idle_issue: z.
|
|
177
|
+
idle_issue: z.ZodPrefault<z.ZodObject<{
|
|
284
178
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
285
179
|
timeout_min: z.ZodDefault<z.ZodNumber>;
|
|
286
|
-
},
|
|
287
|
-
|
|
288
|
-
timeout_min: number;
|
|
289
|
-
}, {
|
|
290
|
-
enabled?: boolean | undefined;
|
|
291
|
-
timeout_min?: number | undefined;
|
|
292
|
-
}>>;
|
|
293
|
-
}, "strip", z.ZodTypeAny, {
|
|
294
|
-
idle_issue: {
|
|
295
|
-
enabled: boolean;
|
|
296
|
-
timeout_min: number;
|
|
297
|
-
};
|
|
298
|
-
}, {
|
|
299
|
-
idle_issue?: {
|
|
300
|
-
enabled?: boolean | undefined;
|
|
301
|
-
timeout_min?: number | undefined;
|
|
302
|
-
} | undefined;
|
|
303
|
-
}>;
|
|
180
|
+
}, z.core.$strip>>;
|
|
181
|
+
}, z.core.$strip>;
|
|
304
182
|
export declare const PostReviewDeliverySchema: z.ZodObject<{
|
|
305
|
-
mode: z.ZodDefault<z.ZodEnum<
|
|
183
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
184
|
+
pull_request: "pull_request";
|
|
185
|
+
commit: "commit";
|
|
186
|
+
comment: "comment";
|
|
187
|
+
}>>;
|
|
306
188
|
pr_title: z.ZodDefault<z.ZodString>;
|
|
307
189
|
label: z.ZodDefault<z.ZodString>;
|
|
308
|
-
},
|
|
309
|
-
mode: "pull_request" | "commit" | "comment";
|
|
310
|
-
pr_title: string;
|
|
311
|
-
label: string;
|
|
312
|
-
}, {
|
|
313
|
-
mode?: "pull_request" | "commit" | "comment" | undefined;
|
|
314
|
-
pr_title?: string | undefined;
|
|
315
|
-
label?: string | undefined;
|
|
316
|
-
}>;
|
|
190
|
+
}, z.core.$strip>;
|
|
317
191
|
export declare const PostReviewFixSchema: z.ZodObject<{
|
|
318
|
-
delivery: z.
|
|
319
|
-
mode: z.ZodDefault<z.ZodEnum<
|
|
192
|
+
delivery: z.ZodPrefault<z.ZodObject<{
|
|
193
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
194
|
+
pull_request: "pull_request";
|
|
195
|
+
commit: "commit";
|
|
196
|
+
comment: "comment";
|
|
197
|
+
}>>;
|
|
320
198
|
pr_title: z.ZodDefault<z.ZodString>;
|
|
321
199
|
label: z.ZodDefault<z.ZodString>;
|
|
322
|
-
},
|
|
323
|
-
mode: "pull_request" | "commit" | "comment";
|
|
324
|
-
pr_title: string;
|
|
325
|
-
label: string;
|
|
326
|
-
}, {
|
|
327
|
-
mode?: "pull_request" | "commit" | "comment" | undefined;
|
|
328
|
-
pr_title?: string | undefined;
|
|
329
|
-
label?: string | undefined;
|
|
330
|
-
}>>;
|
|
200
|
+
}, z.core.$strip>>;
|
|
331
201
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
332
|
-
trigger: z.ZodOptional<z.ZodEnum<
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
};
|
|
339
|
-
enabled?: boolean | undefined;
|
|
340
|
-
trigger?: "never" | "on_issues" | "always" | undefined;
|
|
341
|
-
}, {
|
|
342
|
-
enabled?: boolean | undefined;
|
|
343
|
-
delivery?: {
|
|
344
|
-
mode?: "pull_request" | "commit" | "comment" | undefined;
|
|
345
|
-
pr_title?: string | undefined;
|
|
346
|
-
label?: string | undefined;
|
|
347
|
-
} | undefined;
|
|
348
|
-
trigger?: "never" | "on_issues" | "always" | undefined;
|
|
349
|
-
}>;
|
|
202
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
203
|
+
never: "never";
|
|
204
|
+
on_issues: "on_issues";
|
|
205
|
+
always: "always";
|
|
206
|
+
}>>;
|
|
207
|
+
}, z.core.$strip>;
|
|
350
208
|
export declare const PostReviewConfigSchema: z.ZodObject<{
|
|
351
|
-
auto_fix: z.
|
|
352
|
-
delivery: z.
|
|
353
|
-
mode: z.ZodDefault<z.ZodEnum<
|
|
209
|
+
auto_fix: z.ZodPrefault<z.ZodObject<{
|
|
210
|
+
delivery: z.ZodPrefault<z.ZodObject<{
|
|
211
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
212
|
+
pull_request: "pull_request";
|
|
213
|
+
commit: "commit";
|
|
214
|
+
comment: "comment";
|
|
215
|
+
}>>;
|
|
354
216
|
pr_title: z.ZodDefault<z.ZodString>;
|
|
355
217
|
label: z.ZodDefault<z.ZodString>;
|
|
356
|
-
},
|
|
357
|
-
mode: "pull_request" | "commit" | "comment";
|
|
358
|
-
pr_title: string;
|
|
359
|
-
label: string;
|
|
360
|
-
}, {
|
|
361
|
-
mode?: "pull_request" | "commit" | "comment" | undefined;
|
|
362
|
-
pr_title?: string | undefined;
|
|
363
|
-
label?: string | undefined;
|
|
364
|
-
}>>;
|
|
218
|
+
}, z.core.$strip>>;
|
|
365
219
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
366
|
-
trigger: z.ZodOptional<z.ZodEnum<
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
enabled?: boolean | undefined;
|
|
374
|
-
trigger?: "never" | "on_issues" | "always" | undefined;
|
|
375
|
-
}, {
|
|
376
|
-
enabled?: boolean | undefined;
|
|
377
|
-
delivery?: {
|
|
378
|
-
mode?: "pull_request" | "commit" | "comment" | undefined;
|
|
379
|
-
pr_title?: string | undefined;
|
|
380
|
-
label?: string | undefined;
|
|
381
|
-
} | undefined;
|
|
382
|
-
trigger?: "never" | "on_issues" | "always" | undefined;
|
|
383
|
-
}>>;
|
|
384
|
-
}, "strip", z.ZodTypeAny, {
|
|
385
|
-
auto_fix: {
|
|
386
|
-
delivery: {
|
|
387
|
-
mode: "pull_request" | "commit" | "comment";
|
|
388
|
-
pr_title: string;
|
|
389
|
-
label: string;
|
|
390
|
-
};
|
|
391
|
-
enabled?: boolean | undefined;
|
|
392
|
-
trigger?: "never" | "on_issues" | "always" | undefined;
|
|
393
|
-
};
|
|
394
|
-
}, {
|
|
395
|
-
auto_fix?: {
|
|
396
|
-
enabled?: boolean | undefined;
|
|
397
|
-
delivery?: {
|
|
398
|
-
mode?: "pull_request" | "commit" | "comment" | undefined;
|
|
399
|
-
pr_title?: string | undefined;
|
|
400
|
-
label?: string | undefined;
|
|
401
|
-
} | undefined;
|
|
402
|
-
trigger?: "never" | "on_issues" | "always" | undefined;
|
|
403
|
-
} | undefined;
|
|
404
|
-
}>;
|
|
220
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
221
|
+
never: "never";
|
|
222
|
+
on_issues: "on_issues";
|
|
223
|
+
always: "always";
|
|
224
|
+
}>>;
|
|
225
|
+
}, z.core.$strip>>;
|
|
226
|
+
}, z.core.$strip>;
|
|
405
227
|
export declare const DisplayThemeSchema: z.ZodObject<{
|
|
406
228
|
bar_fill: z.ZodDefault<z.ZodString>;
|
|
407
229
|
bar_empty: z.ZodDefault<z.ZodString>;
|
|
@@ -409,1034 +231,313 @@ export declare const DisplayThemeSchema: z.ZodObject<{
|
|
|
409
231
|
cr_needs_work: z.ZodDefault<z.ZodString>;
|
|
410
232
|
cr_block: z.ZodDefault<z.ZodString>;
|
|
411
233
|
fix_fill: z.ZodDefault<z.ZodString>;
|
|
412
|
-
},
|
|
413
|
-
bar_fill: string;
|
|
414
|
-
bar_empty: string;
|
|
415
|
-
cr_approve: string;
|
|
416
|
-
cr_needs_work: string;
|
|
417
|
-
cr_block: string;
|
|
418
|
-
fix_fill: string;
|
|
419
|
-
}, {
|
|
420
|
-
bar_fill?: string | undefined;
|
|
421
|
-
bar_empty?: string | undefined;
|
|
422
|
-
cr_approve?: string | undefined;
|
|
423
|
-
cr_needs_work?: string | undefined;
|
|
424
|
-
cr_block?: string | undefined;
|
|
425
|
-
fix_fill?: string | undefined;
|
|
426
|
-
}>;
|
|
234
|
+
}, z.core.$strip>;
|
|
427
235
|
export declare const DisplayConfigSchema: z.ZodObject<{
|
|
428
|
-
theme: z.
|
|
236
|
+
theme: z.ZodPrefault<z.ZodObject<{
|
|
429
237
|
bar_fill: z.ZodDefault<z.ZodString>;
|
|
430
238
|
bar_empty: z.ZodDefault<z.ZodString>;
|
|
431
239
|
cr_approve: z.ZodDefault<z.ZodString>;
|
|
432
240
|
cr_needs_work: z.ZodDefault<z.ZodString>;
|
|
433
241
|
cr_block: z.ZodDefault<z.ZodString>;
|
|
434
242
|
fix_fill: z.ZodDefault<z.ZodString>;
|
|
435
|
-
},
|
|
436
|
-
|
|
437
|
-
bar_empty: string;
|
|
438
|
-
cr_approve: string;
|
|
439
|
-
cr_needs_work: string;
|
|
440
|
-
cr_block: string;
|
|
441
|
-
fix_fill: string;
|
|
442
|
-
}, {
|
|
443
|
-
bar_fill?: string | undefined;
|
|
444
|
-
bar_empty?: string | undefined;
|
|
445
|
-
cr_approve?: string | undefined;
|
|
446
|
-
cr_needs_work?: string | undefined;
|
|
447
|
-
cr_block?: string | undefined;
|
|
448
|
-
fix_fill?: string | undefined;
|
|
449
|
-
}>>;
|
|
450
|
-
}, "strip", z.ZodTypeAny, {
|
|
451
|
-
theme: {
|
|
452
|
-
bar_fill: string;
|
|
453
|
-
bar_empty: string;
|
|
454
|
-
cr_approve: string;
|
|
455
|
-
cr_needs_work: string;
|
|
456
|
-
cr_block: string;
|
|
457
|
-
fix_fill: string;
|
|
458
|
-
};
|
|
459
|
-
}, {
|
|
460
|
-
theme?: {
|
|
461
|
-
bar_fill?: string | undefined;
|
|
462
|
-
bar_empty?: string | undefined;
|
|
463
|
-
cr_approve?: string | undefined;
|
|
464
|
-
cr_needs_work?: string | undefined;
|
|
465
|
-
cr_block?: string | undefined;
|
|
466
|
-
fix_fill?: string | undefined;
|
|
467
|
-
} | undefined;
|
|
468
|
-
}>;
|
|
243
|
+
}, z.core.$strip>>;
|
|
244
|
+
}, z.core.$strip>;
|
|
469
245
|
export declare const BrandConfigSchema: z.ZodObject<{
|
|
470
246
|
service_name: z.ZodDefault<z.ZodString>;
|
|
471
247
|
comment_header: z.ZodDefault<z.ZodString>;
|
|
472
248
|
comment_footer: z.ZodDefault<z.ZodString>;
|
|
473
249
|
reviewer_attribution: z.ZodDefault<z.ZodString>;
|
|
474
|
-
},
|
|
475
|
-
service_name: string;
|
|
476
|
-
comment_header: string;
|
|
477
|
-
comment_footer: string;
|
|
478
|
-
reviewer_attribution: string;
|
|
479
|
-
}, {
|
|
480
|
-
service_name?: string | undefined;
|
|
481
|
-
comment_header?: string | undefined;
|
|
482
|
-
comment_footer?: string | undefined;
|
|
483
|
-
reviewer_attribution?: string | undefined;
|
|
484
|
-
}>;
|
|
250
|
+
}, z.core.$strip>;
|
|
485
251
|
export declare const LinearAuthConfigSchema: z.ZodObject<{
|
|
486
|
-
mode: z.ZodDefault<z.ZodEnum<
|
|
252
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
253
|
+
api_key: "api_key";
|
|
254
|
+
client_credentials: "client_credentials";
|
|
255
|
+
}>>;
|
|
487
256
|
api_key_env: z.ZodDefault<z.ZodString>;
|
|
488
257
|
client_id_env: z.ZodDefault<z.ZodString>;
|
|
489
258
|
client_secret_env: z.ZodDefault<z.ZodString>;
|
|
490
259
|
scopes: z.ZodDefault<z.ZodString>;
|
|
491
|
-
},
|
|
492
|
-
mode: "api_key" | "client_credentials";
|
|
493
|
-
api_key_env: string;
|
|
494
|
-
client_id_env: string;
|
|
495
|
-
client_secret_env: string;
|
|
496
|
-
scopes: string;
|
|
497
|
-
}, {
|
|
498
|
-
mode?: "api_key" | "client_credentials" | undefined;
|
|
499
|
-
api_key_env?: string | undefined;
|
|
500
|
-
client_id_env?: string | undefined;
|
|
501
|
-
client_secret_env?: string | undefined;
|
|
502
|
-
scopes?: string | undefined;
|
|
503
|
-
}>;
|
|
260
|
+
}, z.core.$strip>;
|
|
504
261
|
export declare const LinearIdentityConfigSchema: z.ZodObject<{
|
|
505
262
|
actor: z.ZodDefault<z.ZodString>;
|
|
506
263
|
signature: z.ZodDefault<z.ZodString>;
|
|
507
264
|
icon_url: z.ZodDefault<z.ZodString>;
|
|
508
265
|
per_step_actor: z.ZodDefault<z.ZodBoolean>;
|
|
509
|
-
},
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
actor?: string | undefined;
|
|
516
|
-
signature?: string | undefined;
|
|
517
|
-
icon_url?: string | undefined;
|
|
518
|
-
per_step_actor?: boolean | undefined;
|
|
266
|
+
}, z.core.$strip>;
|
|
267
|
+
export declare const LinearVerdictFilterSchema: z.ZodEnum<{
|
|
268
|
+
APPROVE: "APPROVE";
|
|
269
|
+
NEEDS_WORK: "NEEDS_WORK";
|
|
270
|
+
BLOCK: "BLOCK";
|
|
271
|
+
UNKNOWN: "UNKNOWN";
|
|
519
272
|
}>;
|
|
520
|
-
export declare const LinearVerdictFilterSchema: z.ZodEnum<["APPROVE", "NEEDS_WORK", "BLOCK", "UNKNOWN"]>;
|
|
521
273
|
export type LinearVerdictFilter = z.infer<typeof LinearVerdictFilterSchema>;
|
|
522
274
|
export declare const LinearConfigSchema: z.ZodObject<{
|
|
523
275
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
524
|
-
auth: z.
|
|
525
|
-
mode: z.ZodDefault<z.ZodEnum<
|
|
276
|
+
auth: z.ZodPrefault<z.ZodObject<{
|
|
277
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
278
|
+
api_key: "api_key";
|
|
279
|
+
client_credentials: "client_credentials";
|
|
280
|
+
}>>;
|
|
526
281
|
api_key_env: z.ZodDefault<z.ZodString>;
|
|
527
282
|
client_id_env: z.ZodDefault<z.ZodString>;
|
|
528
283
|
client_secret_env: z.ZodDefault<z.ZodString>;
|
|
529
284
|
scopes: z.ZodDefault<z.ZodString>;
|
|
530
|
-
},
|
|
531
|
-
|
|
532
|
-
api_key_env: string;
|
|
533
|
-
client_id_env: string;
|
|
534
|
-
client_secret_env: string;
|
|
535
|
-
scopes: string;
|
|
536
|
-
}, {
|
|
537
|
-
mode?: "api_key" | "client_credentials" | undefined;
|
|
538
|
-
api_key_env?: string | undefined;
|
|
539
|
-
client_id_env?: string | undefined;
|
|
540
|
-
client_secret_env?: string | undefined;
|
|
541
|
-
scopes?: string | undefined;
|
|
542
|
-
}>>;
|
|
543
|
-
identity: z.ZodDefault<z.ZodObject<{
|
|
285
|
+
}, z.core.$strip>>;
|
|
286
|
+
identity: z.ZodPrefault<z.ZodObject<{
|
|
544
287
|
actor: z.ZodDefault<z.ZodString>;
|
|
545
288
|
signature: z.ZodDefault<z.ZodString>;
|
|
546
289
|
icon_url: z.ZodDefault<z.ZodString>;
|
|
547
290
|
per_step_actor: z.ZodDefault<z.ZodBoolean>;
|
|
548
|
-
},
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
per_step_actor?: boolean | undefined;
|
|
558
|
-
}>>;
|
|
559
|
-
comment_on: z.ZodDefault<z.ZodArray<z.ZodEnum<["APPROVE", "NEEDS_WORK", "BLOCK", "UNKNOWN"]>, "many">>;
|
|
560
|
-
team_keys: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
561
|
-
}, "strip", z.ZodTypeAny, {
|
|
562
|
-
enabled: boolean;
|
|
563
|
-
auth: {
|
|
564
|
-
mode: "api_key" | "client_credentials";
|
|
565
|
-
api_key_env: string;
|
|
566
|
-
client_id_env: string;
|
|
567
|
-
client_secret_env: string;
|
|
568
|
-
scopes: string;
|
|
569
|
-
};
|
|
570
|
-
team_keys: string[];
|
|
571
|
-
identity: {
|
|
572
|
-
actor: string;
|
|
573
|
-
signature: string;
|
|
574
|
-
icon_url: string;
|
|
575
|
-
per_step_actor: boolean;
|
|
576
|
-
};
|
|
577
|
-
comment_on: ("APPROVE" | "NEEDS_WORK" | "BLOCK" | "UNKNOWN")[];
|
|
578
|
-
}, {
|
|
579
|
-
enabled?: boolean | undefined;
|
|
580
|
-
auth?: {
|
|
581
|
-
mode?: "api_key" | "client_credentials" | undefined;
|
|
582
|
-
api_key_env?: string | undefined;
|
|
583
|
-
client_id_env?: string | undefined;
|
|
584
|
-
client_secret_env?: string | undefined;
|
|
585
|
-
scopes?: string | undefined;
|
|
586
|
-
} | undefined;
|
|
587
|
-
team_keys?: string[] | undefined;
|
|
588
|
-
identity?: {
|
|
589
|
-
actor?: string | undefined;
|
|
590
|
-
signature?: string | undefined;
|
|
591
|
-
icon_url?: string | undefined;
|
|
592
|
-
per_step_actor?: boolean | undefined;
|
|
593
|
-
} | undefined;
|
|
594
|
-
comment_on?: ("APPROVE" | "NEEDS_WORK" | "BLOCK" | "UNKNOWN")[] | undefined;
|
|
595
|
-
}>;
|
|
291
|
+
}, z.core.$strip>>;
|
|
292
|
+
comment_on: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
293
|
+
APPROVE: "APPROVE";
|
|
294
|
+
NEEDS_WORK: "NEEDS_WORK";
|
|
295
|
+
BLOCK: "BLOCK";
|
|
296
|
+
UNKNOWN: "UNKNOWN";
|
|
297
|
+
}>>>;
|
|
298
|
+
team_keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
299
|
+
}, z.core.$strip>;
|
|
596
300
|
export declare const ConfigSchema: z.ZodObject<{
|
|
597
|
-
deployment: z.ZodOptional<z.ZodEnum<
|
|
598
|
-
|
|
599
|
-
|
|
301
|
+
deployment: z.ZodOptional<z.ZodEnum<{
|
|
302
|
+
personal: "personal";
|
|
303
|
+
team: "team";
|
|
304
|
+
}>>;
|
|
305
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
306
|
+
"single-vendor": "single-vendor";
|
|
307
|
+
"cross-vendor": "cross-vendor";
|
|
308
|
+
}>>;
|
|
309
|
+
clone_protocol: z.ZodDefault<z.ZodEnum<{
|
|
310
|
+
ssh: "ssh";
|
|
311
|
+
https: "https";
|
|
312
|
+
}>>;
|
|
600
313
|
repository_cache: z.ZodDefault<z.ZodBoolean>;
|
|
601
|
-
vendors: z.
|
|
602
|
-
codex: z.
|
|
314
|
+
vendors: z.ZodPrefault<z.ZodObject<{
|
|
315
|
+
codex: z.ZodPrefault<z.ZodObject<{
|
|
603
316
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
604
317
|
model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
605
|
-
auth: z.ZodDefault<z.ZodEnum<
|
|
318
|
+
auth: z.ZodDefault<z.ZodEnum<{
|
|
319
|
+
subscription: "subscription";
|
|
320
|
+
"api-key": "api-key";
|
|
321
|
+
}>>;
|
|
606
322
|
timeout_sec: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
323
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
324
|
+
low: "low";
|
|
325
|
+
medium: "medium";
|
|
326
|
+
high: "high";
|
|
327
|
+
}>>;
|
|
328
|
+
effort: z.ZodDefault<z.ZodEnum<{
|
|
329
|
+
low: "low";
|
|
330
|
+
medium: "medium";
|
|
331
|
+
high: "high";
|
|
332
|
+
max: "max";
|
|
333
|
+
xhigh: "xhigh";
|
|
334
|
+
ultra: "ultra";
|
|
335
|
+
}>>;
|
|
610
336
|
model_tiers: z.ZodOptional<z.ZodObject<{
|
|
611
337
|
fast: z.ZodOptional<z.ZodString>;
|
|
612
338
|
balanced: z.ZodOptional<z.ZodString>;
|
|
613
339
|
thorough: z.ZodOptional<z.ZodString>;
|
|
614
|
-
},
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
thorough?: string | undefined;
|
|
618
|
-
}, {
|
|
619
|
-
fast?: string | undefined;
|
|
620
|
-
balanced?: string | undefined;
|
|
621
|
-
thorough?: string | undefined;
|
|
622
|
-
}>>;
|
|
623
|
-
}, "strip", z.ZodTypeAny, {
|
|
624
|
-
enabled: boolean;
|
|
625
|
-
model: string | null;
|
|
626
|
-
auth: "subscription" | "api-key";
|
|
627
|
-
effort: "low" | "medium" | "high" | "max" | "xhigh" | "ultra";
|
|
628
|
-
timeout_sec: number | null;
|
|
629
|
-
quality: "low" | "medium" | "high";
|
|
630
|
-
model_tiers?: {
|
|
631
|
-
fast?: string | undefined;
|
|
632
|
-
balanced?: string | undefined;
|
|
633
|
-
thorough?: string | undefined;
|
|
634
|
-
} | undefined;
|
|
635
|
-
}, {
|
|
636
|
-
enabled?: boolean | undefined;
|
|
637
|
-
model?: string | null | undefined;
|
|
638
|
-
auth?: "subscription" | "api-key" | undefined;
|
|
639
|
-
effort?: "low" | "medium" | "high" | "max" | "xhigh" | "ultra" | undefined;
|
|
640
|
-
timeout_sec?: number | null | undefined;
|
|
641
|
-
quality?: "low" | "medium" | "high" | undefined;
|
|
642
|
-
model_tiers?: {
|
|
643
|
-
fast?: string | undefined;
|
|
644
|
-
balanced?: string | undefined;
|
|
645
|
-
thorough?: string | undefined;
|
|
646
|
-
} | undefined;
|
|
647
|
-
}>>;
|
|
648
|
-
claude: z.ZodDefault<z.ZodObject<{
|
|
340
|
+
}, z.core.$strip>>;
|
|
341
|
+
}, z.core.$strip>>;
|
|
342
|
+
claude: z.ZodPrefault<z.ZodObject<{
|
|
649
343
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
650
344
|
model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
651
|
-
auth: z.ZodDefault<z.ZodEnum<
|
|
652
|
-
|
|
345
|
+
auth: z.ZodDefault<z.ZodEnum<{
|
|
346
|
+
subscription: "subscription";
|
|
347
|
+
"api-key": "api-key";
|
|
348
|
+
}>>;
|
|
349
|
+
effort: z.ZodDefault<z.ZodEnum<{
|
|
350
|
+
low: "low";
|
|
351
|
+
medium: "medium";
|
|
352
|
+
high: "high";
|
|
353
|
+
max: "max";
|
|
354
|
+
}>>;
|
|
653
355
|
timeout_sec: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
654
|
-
},
|
|
655
|
-
|
|
656
|
-
model: string | null;
|
|
657
|
-
auth: "subscription" | "api-key";
|
|
658
|
-
effort: "low" | "medium" | "high" | "max";
|
|
659
|
-
timeout_sec: number | null;
|
|
660
|
-
}, {
|
|
661
|
-
enabled?: boolean | undefined;
|
|
662
|
-
model?: string | null | undefined;
|
|
663
|
-
auth?: "subscription" | "api-key" | undefined;
|
|
664
|
-
effort?: "low" | "medium" | "high" | "max" | undefined;
|
|
665
|
-
timeout_sec?: number | null | undefined;
|
|
666
|
-
}>>;
|
|
667
|
-
opencode: z.ZodDefault<z.ZodObject<{
|
|
356
|
+
}, z.core.$strip>>;
|
|
357
|
+
opencode: z.ZodPrefault<z.ZodObject<{
|
|
668
358
|
model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
669
|
-
auth: z.ZodDefault<z.ZodEnum<
|
|
359
|
+
auth: z.ZodDefault<z.ZodEnum<{
|
|
360
|
+
subscription: "subscription";
|
|
361
|
+
"api-key": "api-key";
|
|
362
|
+
}>>;
|
|
670
363
|
timeout_sec: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
671
|
-
} & {
|
|
672
364
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
673
|
-
effort: z.ZodDefault<z.ZodEnum<
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
timeout_sec?: number | null | undefined;
|
|
365
|
+
effort: z.ZodDefault<z.ZodEnum<{
|
|
366
|
+
high: "high";
|
|
367
|
+
max: "max";
|
|
368
|
+
none: "none";
|
|
369
|
+
}>>;
|
|
370
|
+
}, z.core.$strip>>;
|
|
371
|
+
}, z.core.$strip>>;
|
|
372
|
+
quality: z.ZodPrefault<z.ZodObject<{
|
|
373
|
+
tier: z.ZodDefault<z.ZodEnum<{
|
|
374
|
+
fast: "fast";
|
|
375
|
+
balanced: "balanced";
|
|
376
|
+
thorough: "thorough";
|
|
686
377
|
}>>;
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
effort: "low" | "medium" | "high" | "max";
|
|
693
|
-
timeout_sec: number | null;
|
|
694
|
-
};
|
|
695
|
-
codex: {
|
|
696
|
-
enabled: boolean;
|
|
697
|
-
model: string | null;
|
|
698
|
-
auth: "subscription" | "api-key";
|
|
699
|
-
effort: "low" | "medium" | "high" | "max" | "xhigh" | "ultra";
|
|
700
|
-
timeout_sec: number | null;
|
|
701
|
-
quality: "low" | "medium" | "high";
|
|
702
|
-
model_tiers?: {
|
|
703
|
-
fast?: string | undefined;
|
|
704
|
-
balanced?: string | undefined;
|
|
705
|
-
thorough?: string | undefined;
|
|
706
|
-
} | undefined;
|
|
707
|
-
};
|
|
708
|
-
opencode: {
|
|
709
|
-
enabled: boolean;
|
|
710
|
-
model: string | null;
|
|
711
|
-
auth: "subscription" | "api-key";
|
|
712
|
-
effort: "high" | "max" | "none";
|
|
713
|
-
timeout_sec: number | null;
|
|
714
|
-
};
|
|
715
|
-
}, {
|
|
716
|
-
claude?: {
|
|
717
|
-
enabled?: boolean | undefined;
|
|
718
|
-
model?: string | null | undefined;
|
|
719
|
-
auth?: "subscription" | "api-key" | undefined;
|
|
720
|
-
effort?: "low" | "medium" | "high" | "max" | undefined;
|
|
721
|
-
timeout_sec?: number | null | undefined;
|
|
722
|
-
} | undefined;
|
|
723
|
-
codex?: {
|
|
724
|
-
enabled?: boolean | undefined;
|
|
725
|
-
model?: string | null | undefined;
|
|
726
|
-
auth?: "subscription" | "api-key" | undefined;
|
|
727
|
-
effort?: "low" | "medium" | "high" | "max" | "xhigh" | "ultra" | undefined;
|
|
728
|
-
timeout_sec?: number | null | undefined;
|
|
729
|
-
quality?: "low" | "medium" | "high" | undefined;
|
|
730
|
-
model_tiers?: {
|
|
731
|
-
fast?: string | undefined;
|
|
732
|
-
balanced?: string | undefined;
|
|
733
|
-
thorough?: string | undefined;
|
|
734
|
-
} | undefined;
|
|
735
|
-
} | undefined;
|
|
736
|
-
opencode?: {
|
|
737
|
-
enabled?: boolean | undefined;
|
|
738
|
-
model?: string | null | undefined;
|
|
739
|
-
auth?: "subscription" | "api-key" | undefined;
|
|
740
|
-
effort?: "high" | "max" | "none" | undefined;
|
|
741
|
-
timeout_sec?: number | null | undefined;
|
|
742
|
-
} | undefined;
|
|
743
|
-
}>>;
|
|
744
|
-
quality: z.ZodDefault<z.ZodObject<{
|
|
745
|
-
tier: z.ZodDefault<z.ZodEnum<["fast", "balanced", "thorough"]>>;
|
|
746
|
-
mode: z.ZodDefault<z.ZodEnum<["fixed", "smart"]>>;
|
|
747
|
-
focus: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
378
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
379
|
+
fixed: "fixed";
|
|
380
|
+
smart: "smart";
|
|
381
|
+
}>>;
|
|
382
|
+
focus: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
748
383
|
custom_prompt: z.ZodOptional<z.ZodString>;
|
|
749
384
|
review_memory: z.ZodDefault<z.ZodBoolean>;
|
|
750
|
-
},
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
focus: string[];
|
|
754
|
-
review_memory: boolean;
|
|
755
|
-
custom_prompt?: string | undefined;
|
|
756
|
-
}, {
|
|
757
|
-
tier?: "fast" | "balanced" | "thorough" | undefined;
|
|
758
|
-
mode?: "fixed" | "smart" | undefined;
|
|
759
|
-
focus?: string[] | undefined;
|
|
760
|
-
custom_prompt?: string | undefined;
|
|
761
|
-
review_memory?: boolean | undefined;
|
|
762
|
-
}>>;
|
|
763
|
-
skills: z.ZodDefault<z.ZodObject<{
|
|
764
|
-
enabled: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
385
|
+
}, z.core.$strip>>;
|
|
386
|
+
skills: z.ZodPrefault<z.ZodObject<{
|
|
387
|
+
enabled: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
765
388
|
codex_full_access: z.ZodDefault<z.ZodBoolean>;
|
|
766
|
-
},
|
|
767
|
-
|
|
768
|
-
codex_full_access: boolean;
|
|
769
|
-
}, {
|
|
770
|
-
enabled?: string[] | undefined;
|
|
771
|
-
codex_full_access?: boolean | undefined;
|
|
772
|
-
}>>;
|
|
773
|
-
budget: z.ZodDefault<z.ZodObject<{
|
|
389
|
+
}, z.core.$strip>>;
|
|
390
|
+
budget: z.ZodPrefault<z.ZodObject<{
|
|
774
391
|
codex_monthly_usd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
775
392
|
per_review_usd: z.ZodDefault<z.ZodNumber>;
|
|
776
|
-
},
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
}, {
|
|
780
|
-
codex_monthly_usd?: number | null | undefined;
|
|
781
|
-
per_review_usd?: number | undefined;
|
|
782
|
-
}>>;
|
|
783
|
-
orgs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
784
|
-
users: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
393
|
+
}, z.core.$strip>>;
|
|
394
|
+
orgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
395
|
+
users: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
785
396
|
repos: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
786
397
|
owner: z.ZodString;
|
|
787
398
|
name: z.ZodString;
|
|
788
|
-
},
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
claude_branch_prefixes: string[];
|
|
810
|
-
codex_branch_prefixes: string[];
|
|
811
|
-
opencode_branch_prefixes: string[];
|
|
812
|
-
allowed_authors: string[];
|
|
813
|
-
author_routes: Record<string, "claude" | "codex" | "opencode">;
|
|
814
|
-
fallback_reviewer: "claude" | "codex" | "opencode" | "auto" | null;
|
|
815
|
-
}, {
|
|
816
|
-
codex_reviews_patterns?: string[] | undefined;
|
|
817
|
-
claude_reviews_patterns?: string[] | undefined;
|
|
818
|
-
opencode_reviews_patterns?: string[] | undefined;
|
|
819
|
-
claude_branch_prefixes?: string[] | undefined;
|
|
820
|
-
codex_branch_prefixes?: string[] | undefined;
|
|
821
|
-
opencode_branch_prefixes?: string[] | undefined;
|
|
822
|
-
allowed_authors?: string[] | undefined;
|
|
823
|
-
author_routes?: Record<string, "claude" | "codex" | "opencode"> | undefined;
|
|
824
|
-
fallback_reviewer?: "claude" | "codex" | "opencode" | "auto" | null | undefined;
|
|
825
|
-
}>>;
|
|
399
|
+
}, z.core.$strip>>>;
|
|
400
|
+
routing: z.ZodPrefault<z.ZodObject<{
|
|
401
|
+
codex_reviews_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
402
|
+
claude_reviews_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
403
|
+
opencode_reviews_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
404
|
+
claude_branch_prefixes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
405
|
+
codex_branch_prefixes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
406
|
+
opencode_branch_prefixes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
407
|
+
allowed_authors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
408
|
+
author_routes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
409
|
+
claude: "claude";
|
|
410
|
+
codex: "codex";
|
|
411
|
+
opencode: "opencode";
|
|
412
|
+
}>>>;
|
|
413
|
+
fallback_reviewer: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
414
|
+
claude: "claude";
|
|
415
|
+
codex: "codex";
|
|
416
|
+
opencode: "opencode";
|
|
417
|
+
auto: "auto";
|
|
418
|
+
}>>>;
|
|
419
|
+
}, z.core.$strip>>;
|
|
826
420
|
agent_priority: z.ZodDefault<z.ZodObject<{
|
|
827
|
-
review: z.ZodDefault<z.ZodArray<z.ZodEnum<
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
fix:
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
conflict_resolve
|
|
838
|
-
|
|
839
|
-
|
|
421
|
+
review: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
422
|
+
claude: "claude";
|
|
423
|
+
codex: "codex";
|
|
424
|
+
opencode: "opencode";
|
|
425
|
+
}>>>;
|
|
426
|
+
fix: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
427
|
+
claude: "claude";
|
|
428
|
+
codex: "codex";
|
|
429
|
+
opencode: "opencode";
|
|
430
|
+
}>>>;
|
|
431
|
+
conflict_resolve: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
432
|
+
claude: "claude";
|
|
433
|
+
codex: "codex";
|
|
434
|
+
opencode: "opencode";
|
|
435
|
+
}>>>;
|
|
436
|
+
}, z.core.$strip>>;
|
|
437
|
+
server: z.ZodPrefault<z.ZodObject<{
|
|
840
438
|
port: z.ZodDefault<z.ZodNumber>;
|
|
841
439
|
webhook_path: z.ZodDefault<z.ZodString>;
|
|
842
|
-
},
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
}>>;
|
|
849
|
-
tunnel: z.ZodDefault<z.ZodObject<{
|
|
850
|
-
backend: z.ZodDefault<z.ZodEnum<["localhost.run", "smee"]>>;
|
|
440
|
+
}, z.core.$strip>>;
|
|
441
|
+
tunnel: z.ZodPrefault<z.ZodObject<{
|
|
442
|
+
backend: z.ZodDefault<z.ZodEnum<{
|
|
443
|
+
"localhost.run": "localhost.run";
|
|
444
|
+
smee: "smee";
|
|
445
|
+
}>>;
|
|
851
446
|
smee_channel: z.ZodDefault<z.ZodString>;
|
|
852
|
-
},
|
|
853
|
-
|
|
854
|
-
smee_channel: string;
|
|
855
|
-
}, {
|
|
856
|
-
backend?: "localhost.run" | "smee" | undefined;
|
|
857
|
-
smee_channel?: string | undefined;
|
|
858
|
-
}>>;
|
|
859
|
-
logs: z.ZodDefault<z.ZodObject<{
|
|
447
|
+
}, z.core.$strip>>;
|
|
448
|
+
logs: z.ZodPrefault<z.ZodObject<{
|
|
860
449
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
861
450
|
retention_days: z.ZodDefault<z.ZodNumber>;
|
|
862
|
-
extended: z.
|
|
451
|
+
extended: z.ZodPrefault<z.ZodObject<{
|
|
863
452
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
864
|
-
},
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
enabled?: boolean | undefined;
|
|
868
|
-
}>>;
|
|
869
|
-
}, "strip", z.ZodTypeAny, {
|
|
870
|
-
enabled: boolean;
|
|
871
|
-
retention_days: number;
|
|
872
|
-
extended: {
|
|
873
|
-
enabled: boolean;
|
|
874
|
-
};
|
|
875
|
-
}, {
|
|
876
|
-
enabled?: boolean | undefined;
|
|
877
|
-
retention_days?: number | undefined;
|
|
878
|
-
extended?: {
|
|
879
|
-
enabled?: boolean | undefined;
|
|
880
|
-
} | undefined;
|
|
881
|
-
}>>;
|
|
882
|
-
impact: z.ZodDefault<z.ZodObject<{
|
|
453
|
+
}, z.core.$strip>>;
|
|
454
|
+
}, z.core.$strip>>;
|
|
455
|
+
impact: z.ZodPrefault<z.ZodObject<{
|
|
883
456
|
assumed_human_review_minutes: z.ZodDefault<z.ZodNumber>;
|
|
884
457
|
hourly_rate_usd: z.ZodDefault<z.ZodNumber>;
|
|
885
458
|
defect_cost_usd: z.ZodDefault<z.ZodNumber>;
|
|
886
|
-
},
|
|
887
|
-
|
|
888
|
-
hourly_rate_usd: number;
|
|
889
|
-
defect_cost_usd: number;
|
|
890
|
-
}, {
|
|
891
|
-
assumed_human_review_minutes?: number | undefined;
|
|
892
|
-
hourly_rate_usd?: number | undefined;
|
|
893
|
-
defect_cost_usd?: number | undefined;
|
|
894
|
-
}>>;
|
|
895
|
-
backtrace: z.ZodDefault<z.ZodObject<{
|
|
459
|
+
}, z.core.$strip>>;
|
|
460
|
+
backtrace: z.ZodPrefault<z.ZodObject<{
|
|
896
461
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
897
462
|
interval_min: z.ZodDefault<z.ZodNumber>;
|
|
898
463
|
concurrency: z.ZodDefault<z.ZodNumber>;
|
|
899
|
-
},
|
|
900
|
-
|
|
901
|
-
interval_min: number;
|
|
902
|
-
concurrency: number;
|
|
903
|
-
}, {
|
|
904
|
-
enabled?: boolean | undefined;
|
|
905
|
-
interval_min?: number | undefined;
|
|
906
|
-
concurrency?: number | undefined;
|
|
907
|
-
}>>;
|
|
908
|
-
issue_enrichment: z.ZodDefault<z.ZodObject<{
|
|
464
|
+
}, z.core.$strip>>;
|
|
465
|
+
issue_enrichment: z.ZodPrefault<z.ZodObject<{
|
|
909
466
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
910
|
-
provider: z.ZodDefault<z.ZodEnum<
|
|
911
|
-
|
|
467
|
+
provider: z.ZodDefault<z.ZodEnum<{
|
|
468
|
+
linear: "linear";
|
|
469
|
+
}>>;
|
|
470
|
+
team_keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
912
471
|
max_description_chars: z.ZodDefault<z.ZodNumber>;
|
|
913
|
-
},
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
team_keys: string[];
|
|
917
|
-
max_description_chars: number;
|
|
918
|
-
}, {
|
|
919
|
-
enabled?: boolean | undefined;
|
|
920
|
-
provider?: "linear" | undefined;
|
|
921
|
-
team_keys?: string[] | undefined;
|
|
922
|
-
max_description_chars?: number | undefined;
|
|
923
|
-
}>>;
|
|
924
|
-
watch: z.ZodDefault<z.ZodObject<{
|
|
925
|
-
idle_issue: z.ZodDefault<z.ZodObject<{
|
|
472
|
+
}, z.core.$strip>>;
|
|
473
|
+
watch: z.ZodPrefault<z.ZodObject<{
|
|
474
|
+
idle_issue: z.ZodPrefault<z.ZodObject<{
|
|
926
475
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
927
476
|
timeout_min: z.ZodDefault<z.ZodNumber>;
|
|
928
|
-
},
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
timeout_min: number;
|
|
939
|
-
};
|
|
940
|
-
}, {
|
|
941
|
-
idle_issue?: {
|
|
942
|
-
enabled?: boolean | undefined;
|
|
943
|
-
timeout_min?: number | undefined;
|
|
944
|
-
} | undefined;
|
|
945
|
-
}>>;
|
|
946
|
-
post_review: z.ZodDefault<z.ZodObject<{
|
|
947
|
-
auto_fix: z.ZodDefault<z.ZodObject<{
|
|
948
|
-
delivery: z.ZodDefault<z.ZodObject<{
|
|
949
|
-
mode: z.ZodDefault<z.ZodEnum<["pull_request", "commit", "comment"]>>;
|
|
477
|
+
}, z.core.$strip>>;
|
|
478
|
+
}, z.core.$strip>>;
|
|
479
|
+
post_review: z.ZodPrefault<z.ZodObject<{
|
|
480
|
+
auto_fix: z.ZodPrefault<z.ZodObject<{
|
|
481
|
+
delivery: z.ZodPrefault<z.ZodObject<{
|
|
482
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
483
|
+
pull_request: "pull_request";
|
|
484
|
+
commit: "commit";
|
|
485
|
+
comment: "comment";
|
|
486
|
+
}>>;
|
|
950
487
|
pr_title: z.ZodDefault<z.ZodString>;
|
|
951
488
|
label: z.ZodDefault<z.ZodString>;
|
|
952
|
-
},
|
|
953
|
-
mode: "pull_request" | "commit" | "comment";
|
|
954
|
-
pr_title: string;
|
|
955
|
-
label: string;
|
|
956
|
-
}, {
|
|
957
|
-
mode?: "pull_request" | "commit" | "comment" | undefined;
|
|
958
|
-
pr_title?: string | undefined;
|
|
959
|
-
label?: string | undefined;
|
|
960
|
-
}>>;
|
|
489
|
+
}, z.core.$strip>>;
|
|
961
490
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
962
|
-
trigger: z.ZodOptional<z.ZodEnum<
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
}, {
|
|
972
|
-
enabled?: boolean | undefined;
|
|
973
|
-
delivery?: {
|
|
974
|
-
mode?: "pull_request" | "commit" | "comment" | undefined;
|
|
975
|
-
pr_title?: string | undefined;
|
|
976
|
-
label?: string | undefined;
|
|
977
|
-
} | undefined;
|
|
978
|
-
trigger?: "never" | "on_issues" | "always" | undefined;
|
|
979
|
-
}>>;
|
|
980
|
-
}, "strip", z.ZodTypeAny, {
|
|
981
|
-
auto_fix: {
|
|
982
|
-
delivery: {
|
|
983
|
-
mode: "pull_request" | "commit" | "comment";
|
|
984
|
-
pr_title: string;
|
|
985
|
-
label: string;
|
|
986
|
-
};
|
|
987
|
-
enabled?: boolean | undefined;
|
|
988
|
-
trigger?: "never" | "on_issues" | "always" | undefined;
|
|
989
|
-
};
|
|
990
|
-
}, {
|
|
991
|
-
auto_fix?: {
|
|
992
|
-
enabled?: boolean | undefined;
|
|
993
|
-
delivery?: {
|
|
994
|
-
mode?: "pull_request" | "commit" | "comment" | undefined;
|
|
995
|
-
pr_title?: string | undefined;
|
|
996
|
-
label?: string | undefined;
|
|
997
|
-
} | undefined;
|
|
998
|
-
trigger?: "never" | "on_issues" | "always" | undefined;
|
|
999
|
-
} | undefined;
|
|
1000
|
-
}>>;
|
|
1001
|
-
display: z.ZodDefault<z.ZodObject<{
|
|
1002
|
-
theme: z.ZodDefault<z.ZodObject<{
|
|
491
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
492
|
+
never: "never";
|
|
493
|
+
on_issues: "on_issues";
|
|
494
|
+
always: "always";
|
|
495
|
+
}>>;
|
|
496
|
+
}, z.core.$strip>>;
|
|
497
|
+
}, z.core.$strip>>;
|
|
498
|
+
display: z.ZodPrefault<z.ZodObject<{
|
|
499
|
+
theme: z.ZodPrefault<z.ZodObject<{
|
|
1003
500
|
bar_fill: z.ZodDefault<z.ZodString>;
|
|
1004
501
|
bar_empty: z.ZodDefault<z.ZodString>;
|
|
1005
502
|
cr_approve: z.ZodDefault<z.ZodString>;
|
|
1006
503
|
cr_needs_work: z.ZodDefault<z.ZodString>;
|
|
1007
504
|
cr_block: z.ZodDefault<z.ZodString>;
|
|
1008
505
|
fix_fill: z.ZodDefault<z.ZodString>;
|
|
1009
|
-
},
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
cr_approve: string;
|
|
1013
|
-
cr_needs_work: string;
|
|
1014
|
-
cr_block: string;
|
|
1015
|
-
fix_fill: string;
|
|
1016
|
-
}, {
|
|
1017
|
-
bar_fill?: string | undefined;
|
|
1018
|
-
bar_empty?: string | undefined;
|
|
1019
|
-
cr_approve?: string | undefined;
|
|
1020
|
-
cr_needs_work?: string | undefined;
|
|
1021
|
-
cr_block?: string | undefined;
|
|
1022
|
-
fix_fill?: string | undefined;
|
|
1023
|
-
}>>;
|
|
1024
|
-
}, "strip", z.ZodTypeAny, {
|
|
1025
|
-
theme: {
|
|
1026
|
-
bar_fill: string;
|
|
1027
|
-
bar_empty: string;
|
|
1028
|
-
cr_approve: string;
|
|
1029
|
-
cr_needs_work: string;
|
|
1030
|
-
cr_block: string;
|
|
1031
|
-
fix_fill: string;
|
|
1032
|
-
};
|
|
1033
|
-
}, {
|
|
1034
|
-
theme?: {
|
|
1035
|
-
bar_fill?: string | undefined;
|
|
1036
|
-
bar_empty?: string | undefined;
|
|
1037
|
-
cr_approve?: string | undefined;
|
|
1038
|
-
cr_needs_work?: string | undefined;
|
|
1039
|
-
cr_block?: string | undefined;
|
|
1040
|
-
fix_fill?: string | undefined;
|
|
1041
|
-
} | undefined;
|
|
1042
|
-
}>>;
|
|
1043
|
-
brand: z.ZodDefault<z.ZodObject<{
|
|
506
|
+
}, z.core.$strip>>;
|
|
507
|
+
}, z.core.$strip>>;
|
|
508
|
+
brand: z.ZodPrefault<z.ZodObject<{
|
|
1044
509
|
service_name: z.ZodDefault<z.ZodString>;
|
|
1045
510
|
comment_header: z.ZodDefault<z.ZodString>;
|
|
1046
511
|
comment_footer: z.ZodDefault<z.ZodString>;
|
|
1047
512
|
reviewer_attribution: z.ZodDefault<z.ZodString>;
|
|
1048
|
-
},
|
|
1049
|
-
|
|
1050
|
-
comment_header: string;
|
|
1051
|
-
comment_footer: string;
|
|
1052
|
-
reviewer_attribution: string;
|
|
1053
|
-
}, {
|
|
1054
|
-
service_name?: string | undefined;
|
|
1055
|
-
comment_header?: string | undefined;
|
|
1056
|
-
comment_footer?: string | undefined;
|
|
1057
|
-
reviewer_attribution?: string | undefined;
|
|
1058
|
-
}>>;
|
|
1059
|
-
linear: z.ZodDefault<z.ZodObject<{
|
|
513
|
+
}, z.core.$strip>>;
|
|
514
|
+
linear: z.ZodPrefault<z.ZodObject<{
|
|
1060
515
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1061
|
-
auth: z.
|
|
1062
|
-
mode: z.ZodDefault<z.ZodEnum<
|
|
516
|
+
auth: z.ZodPrefault<z.ZodObject<{
|
|
517
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
518
|
+
api_key: "api_key";
|
|
519
|
+
client_credentials: "client_credentials";
|
|
520
|
+
}>>;
|
|
1063
521
|
api_key_env: z.ZodDefault<z.ZodString>;
|
|
1064
522
|
client_id_env: z.ZodDefault<z.ZodString>;
|
|
1065
523
|
client_secret_env: z.ZodDefault<z.ZodString>;
|
|
1066
524
|
scopes: z.ZodDefault<z.ZodString>;
|
|
1067
|
-
},
|
|
1068
|
-
|
|
1069
|
-
api_key_env: string;
|
|
1070
|
-
client_id_env: string;
|
|
1071
|
-
client_secret_env: string;
|
|
1072
|
-
scopes: string;
|
|
1073
|
-
}, {
|
|
1074
|
-
mode?: "api_key" | "client_credentials" | undefined;
|
|
1075
|
-
api_key_env?: string | undefined;
|
|
1076
|
-
client_id_env?: string | undefined;
|
|
1077
|
-
client_secret_env?: string | undefined;
|
|
1078
|
-
scopes?: string | undefined;
|
|
1079
|
-
}>>;
|
|
1080
|
-
identity: z.ZodDefault<z.ZodObject<{
|
|
525
|
+
}, z.core.$strip>>;
|
|
526
|
+
identity: z.ZodPrefault<z.ZodObject<{
|
|
1081
527
|
actor: z.ZodDefault<z.ZodString>;
|
|
1082
528
|
signature: z.ZodDefault<z.ZodString>;
|
|
1083
529
|
icon_url: z.ZodDefault<z.ZodString>;
|
|
1084
530
|
per_step_actor: z.ZodDefault<z.ZodBoolean>;
|
|
1085
|
-
},
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
}>>;
|
|
1096
|
-
comment_on: z.ZodDefault<z.ZodArray<z.ZodEnum<["APPROVE", "NEEDS_WORK", "BLOCK", "UNKNOWN"]>, "many">>;
|
|
1097
|
-
team_keys: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1098
|
-
}, "strip", z.ZodTypeAny, {
|
|
1099
|
-
enabled: boolean;
|
|
1100
|
-
auth: {
|
|
1101
|
-
mode: "api_key" | "client_credentials";
|
|
1102
|
-
api_key_env: string;
|
|
1103
|
-
client_id_env: string;
|
|
1104
|
-
client_secret_env: string;
|
|
1105
|
-
scopes: string;
|
|
1106
|
-
};
|
|
1107
|
-
team_keys: string[];
|
|
1108
|
-
identity: {
|
|
1109
|
-
actor: string;
|
|
1110
|
-
signature: string;
|
|
1111
|
-
icon_url: string;
|
|
1112
|
-
per_step_actor: boolean;
|
|
1113
|
-
};
|
|
1114
|
-
comment_on: ("APPROVE" | "NEEDS_WORK" | "BLOCK" | "UNKNOWN")[];
|
|
1115
|
-
}, {
|
|
1116
|
-
enabled?: boolean | undefined;
|
|
1117
|
-
auth?: {
|
|
1118
|
-
mode?: "api_key" | "client_credentials" | undefined;
|
|
1119
|
-
api_key_env?: string | undefined;
|
|
1120
|
-
client_id_env?: string | undefined;
|
|
1121
|
-
client_secret_env?: string | undefined;
|
|
1122
|
-
scopes?: string | undefined;
|
|
1123
|
-
} | undefined;
|
|
1124
|
-
team_keys?: string[] | undefined;
|
|
1125
|
-
identity?: {
|
|
1126
|
-
actor?: string | undefined;
|
|
1127
|
-
signature?: string | undefined;
|
|
1128
|
-
icon_url?: string | undefined;
|
|
1129
|
-
per_step_actor?: boolean | undefined;
|
|
1130
|
-
} | undefined;
|
|
1131
|
-
comment_on?: ("APPROVE" | "NEEDS_WORK" | "BLOCK" | "UNKNOWN")[] | undefined;
|
|
1132
|
-
}>>;
|
|
1133
|
-
}, "strip", z.ZodTypeAny, {
|
|
1134
|
-
quality: {
|
|
1135
|
-
tier: "fast" | "balanced" | "thorough";
|
|
1136
|
-
mode: "fixed" | "smart";
|
|
1137
|
-
focus: string[];
|
|
1138
|
-
review_memory: boolean;
|
|
1139
|
-
custom_prompt?: string | undefined;
|
|
1140
|
-
};
|
|
1141
|
-
mode: "single-vendor" | "cross-vendor";
|
|
1142
|
-
linear: {
|
|
1143
|
-
enabled: boolean;
|
|
1144
|
-
auth: {
|
|
1145
|
-
mode: "api_key" | "client_credentials";
|
|
1146
|
-
api_key_env: string;
|
|
1147
|
-
client_id_env: string;
|
|
1148
|
-
client_secret_env: string;
|
|
1149
|
-
scopes: string;
|
|
1150
|
-
};
|
|
1151
|
-
team_keys: string[];
|
|
1152
|
-
identity: {
|
|
1153
|
-
actor: string;
|
|
1154
|
-
signature: string;
|
|
1155
|
-
icon_url: string;
|
|
1156
|
-
per_step_actor: boolean;
|
|
1157
|
-
};
|
|
1158
|
-
comment_on: ("APPROVE" | "NEEDS_WORK" | "BLOCK" | "UNKNOWN")[];
|
|
1159
|
-
};
|
|
1160
|
-
clone_protocol: "ssh" | "https";
|
|
1161
|
-
repository_cache: boolean;
|
|
1162
|
-
vendors: {
|
|
1163
|
-
claude: {
|
|
1164
|
-
enabled: boolean;
|
|
1165
|
-
model: string | null;
|
|
1166
|
-
auth: "subscription" | "api-key";
|
|
1167
|
-
effort: "low" | "medium" | "high" | "max";
|
|
1168
|
-
timeout_sec: number | null;
|
|
1169
|
-
};
|
|
1170
|
-
codex: {
|
|
1171
|
-
enabled: boolean;
|
|
1172
|
-
model: string | null;
|
|
1173
|
-
auth: "subscription" | "api-key";
|
|
1174
|
-
effort: "low" | "medium" | "high" | "max" | "xhigh" | "ultra";
|
|
1175
|
-
timeout_sec: number | null;
|
|
1176
|
-
quality: "low" | "medium" | "high";
|
|
1177
|
-
model_tiers?: {
|
|
1178
|
-
fast?: string | undefined;
|
|
1179
|
-
balanced?: string | undefined;
|
|
1180
|
-
thorough?: string | undefined;
|
|
1181
|
-
} | undefined;
|
|
1182
|
-
};
|
|
1183
|
-
opencode: {
|
|
1184
|
-
enabled: boolean;
|
|
1185
|
-
model: string | null;
|
|
1186
|
-
auth: "subscription" | "api-key";
|
|
1187
|
-
effort: "high" | "max" | "none";
|
|
1188
|
-
timeout_sec: number | null;
|
|
1189
|
-
};
|
|
1190
|
-
};
|
|
1191
|
-
skills: {
|
|
1192
|
-
enabled: string[];
|
|
1193
|
-
codex_full_access: boolean;
|
|
1194
|
-
};
|
|
1195
|
-
budget: {
|
|
1196
|
-
codex_monthly_usd: number | null;
|
|
1197
|
-
per_review_usd: number;
|
|
1198
|
-
};
|
|
1199
|
-
orgs: string[];
|
|
1200
|
-
users: string[];
|
|
1201
|
-
repos: {
|
|
1202
|
-
owner: string;
|
|
1203
|
-
name: string;
|
|
1204
|
-
}[];
|
|
1205
|
-
routing: {
|
|
1206
|
-
codex_reviews_patterns: string[];
|
|
1207
|
-
claude_reviews_patterns: string[];
|
|
1208
|
-
opencode_reviews_patterns: string[];
|
|
1209
|
-
claude_branch_prefixes: string[];
|
|
1210
|
-
codex_branch_prefixes: string[];
|
|
1211
|
-
opencode_branch_prefixes: string[];
|
|
1212
|
-
allowed_authors: string[];
|
|
1213
|
-
author_routes: Record<string, "claude" | "codex" | "opencode">;
|
|
1214
|
-
fallback_reviewer: "claude" | "codex" | "opencode" | "auto" | null;
|
|
1215
|
-
};
|
|
1216
|
-
agent_priority: {
|
|
1217
|
-
review: ("claude" | "codex" | "opencode")[];
|
|
1218
|
-
fix: ("claude" | "codex" | "opencode")[];
|
|
1219
|
-
conflict_resolve: ("claude" | "codex" | "opencode")[];
|
|
1220
|
-
};
|
|
1221
|
-
server: {
|
|
1222
|
-
port: number;
|
|
1223
|
-
webhook_path: string;
|
|
1224
|
-
};
|
|
1225
|
-
tunnel: {
|
|
1226
|
-
backend: "localhost.run" | "smee";
|
|
1227
|
-
smee_channel: string;
|
|
1228
|
-
};
|
|
1229
|
-
logs: {
|
|
1230
|
-
enabled: boolean;
|
|
1231
|
-
retention_days: number;
|
|
1232
|
-
extended: {
|
|
1233
|
-
enabled: boolean;
|
|
1234
|
-
};
|
|
1235
|
-
};
|
|
1236
|
-
impact: {
|
|
1237
|
-
assumed_human_review_minutes: number;
|
|
1238
|
-
hourly_rate_usd: number;
|
|
1239
|
-
defect_cost_usd: number;
|
|
1240
|
-
};
|
|
1241
|
-
backtrace: {
|
|
1242
|
-
enabled: boolean;
|
|
1243
|
-
interval_min: number;
|
|
1244
|
-
concurrency: number;
|
|
1245
|
-
};
|
|
1246
|
-
issue_enrichment: {
|
|
1247
|
-
enabled: boolean;
|
|
1248
|
-
provider: "linear";
|
|
1249
|
-
team_keys: string[];
|
|
1250
|
-
max_description_chars: number;
|
|
1251
|
-
};
|
|
1252
|
-
watch: {
|
|
1253
|
-
idle_issue: {
|
|
1254
|
-
enabled: boolean;
|
|
1255
|
-
timeout_min: number;
|
|
1256
|
-
};
|
|
1257
|
-
};
|
|
1258
|
-
post_review: {
|
|
1259
|
-
auto_fix: {
|
|
1260
|
-
delivery: {
|
|
1261
|
-
mode: "pull_request" | "commit" | "comment";
|
|
1262
|
-
pr_title: string;
|
|
1263
|
-
label: string;
|
|
1264
|
-
};
|
|
1265
|
-
enabled?: boolean | undefined;
|
|
1266
|
-
trigger?: "never" | "on_issues" | "always" | undefined;
|
|
1267
|
-
};
|
|
1268
|
-
};
|
|
1269
|
-
display: {
|
|
1270
|
-
theme: {
|
|
1271
|
-
bar_fill: string;
|
|
1272
|
-
bar_empty: string;
|
|
1273
|
-
cr_approve: string;
|
|
1274
|
-
cr_needs_work: string;
|
|
1275
|
-
cr_block: string;
|
|
1276
|
-
fix_fill: string;
|
|
1277
|
-
};
|
|
1278
|
-
};
|
|
1279
|
-
brand: {
|
|
1280
|
-
service_name: string;
|
|
1281
|
-
comment_header: string;
|
|
1282
|
-
comment_footer: string;
|
|
1283
|
-
reviewer_attribution: string;
|
|
1284
|
-
};
|
|
1285
|
-
deployment?: "personal" | "team" | undefined;
|
|
1286
|
-
}, {
|
|
1287
|
-
quality?: {
|
|
1288
|
-
tier?: "fast" | "balanced" | "thorough" | undefined;
|
|
1289
|
-
mode?: "fixed" | "smart" | undefined;
|
|
1290
|
-
focus?: string[] | undefined;
|
|
1291
|
-
custom_prompt?: string | undefined;
|
|
1292
|
-
review_memory?: boolean | undefined;
|
|
1293
|
-
} | undefined;
|
|
1294
|
-
mode?: "single-vendor" | "cross-vendor" | undefined;
|
|
1295
|
-
linear?: {
|
|
1296
|
-
enabled?: boolean | undefined;
|
|
1297
|
-
auth?: {
|
|
1298
|
-
mode?: "api_key" | "client_credentials" | undefined;
|
|
1299
|
-
api_key_env?: string | undefined;
|
|
1300
|
-
client_id_env?: string | undefined;
|
|
1301
|
-
client_secret_env?: string | undefined;
|
|
1302
|
-
scopes?: string | undefined;
|
|
1303
|
-
} | undefined;
|
|
1304
|
-
team_keys?: string[] | undefined;
|
|
1305
|
-
identity?: {
|
|
1306
|
-
actor?: string | undefined;
|
|
1307
|
-
signature?: string | undefined;
|
|
1308
|
-
icon_url?: string | undefined;
|
|
1309
|
-
per_step_actor?: boolean | undefined;
|
|
1310
|
-
} | undefined;
|
|
1311
|
-
comment_on?: ("APPROVE" | "NEEDS_WORK" | "BLOCK" | "UNKNOWN")[] | undefined;
|
|
1312
|
-
} | undefined;
|
|
1313
|
-
deployment?: "personal" | "team" | undefined;
|
|
1314
|
-
clone_protocol?: "ssh" | "https" | undefined;
|
|
1315
|
-
repository_cache?: boolean | undefined;
|
|
1316
|
-
vendors?: {
|
|
1317
|
-
claude?: {
|
|
1318
|
-
enabled?: boolean | undefined;
|
|
1319
|
-
model?: string | null | undefined;
|
|
1320
|
-
auth?: "subscription" | "api-key" | undefined;
|
|
1321
|
-
effort?: "low" | "medium" | "high" | "max" | undefined;
|
|
1322
|
-
timeout_sec?: number | null | undefined;
|
|
1323
|
-
} | undefined;
|
|
1324
|
-
codex?: {
|
|
1325
|
-
enabled?: boolean | undefined;
|
|
1326
|
-
model?: string | null | undefined;
|
|
1327
|
-
auth?: "subscription" | "api-key" | undefined;
|
|
1328
|
-
effort?: "low" | "medium" | "high" | "max" | "xhigh" | "ultra" | undefined;
|
|
1329
|
-
timeout_sec?: number | null | undefined;
|
|
1330
|
-
quality?: "low" | "medium" | "high" | undefined;
|
|
1331
|
-
model_tiers?: {
|
|
1332
|
-
fast?: string | undefined;
|
|
1333
|
-
balanced?: string | undefined;
|
|
1334
|
-
thorough?: string | undefined;
|
|
1335
|
-
} | undefined;
|
|
1336
|
-
} | undefined;
|
|
1337
|
-
opencode?: {
|
|
1338
|
-
enabled?: boolean | undefined;
|
|
1339
|
-
model?: string | null | undefined;
|
|
1340
|
-
auth?: "subscription" | "api-key" | undefined;
|
|
1341
|
-
effort?: "high" | "max" | "none" | undefined;
|
|
1342
|
-
timeout_sec?: number | null | undefined;
|
|
1343
|
-
} | undefined;
|
|
1344
|
-
} | undefined;
|
|
1345
|
-
skills?: {
|
|
1346
|
-
enabled?: string[] | undefined;
|
|
1347
|
-
codex_full_access?: boolean | undefined;
|
|
1348
|
-
} | undefined;
|
|
1349
|
-
budget?: {
|
|
1350
|
-
codex_monthly_usd?: number | null | undefined;
|
|
1351
|
-
per_review_usd?: number | undefined;
|
|
1352
|
-
} | undefined;
|
|
1353
|
-
orgs?: string[] | undefined;
|
|
1354
|
-
users?: string[] | undefined;
|
|
1355
|
-
repos?: {
|
|
1356
|
-
owner: string;
|
|
1357
|
-
name: string;
|
|
1358
|
-
}[] | undefined;
|
|
1359
|
-
routing?: {
|
|
1360
|
-
codex_reviews_patterns?: string[] | undefined;
|
|
1361
|
-
claude_reviews_patterns?: string[] | undefined;
|
|
1362
|
-
opencode_reviews_patterns?: string[] | undefined;
|
|
1363
|
-
claude_branch_prefixes?: string[] | undefined;
|
|
1364
|
-
codex_branch_prefixes?: string[] | undefined;
|
|
1365
|
-
opencode_branch_prefixes?: string[] | undefined;
|
|
1366
|
-
allowed_authors?: string[] | undefined;
|
|
1367
|
-
author_routes?: Record<string, "claude" | "codex" | "opencode"> | undefined;
|
|
1368
|
-
fallback_reviewer?: "claude" | "codex" | "opencode" | "auto" | null | undefined;
|
|
1369
|
-
} | undefined;
|
|
1370
|
-
agent_priority?: {
|
|
1371
|
-
review?: ("claude" | "codex" | "opencode")[] | undefined;
|
|
1372
|
-
fix?: ("claude" | "codex" | "opencode")[] | undefined;
|
|
1373
|
-
conflict_resolve?: ("claude" | "codex" | "opencode")[] | undefined;
|
|
1374
|
-
} | undefined;
|
|
1375
|
-
server?: {
|
|
1376
|
-
port?: number | undefined;
|
|
1377
|
-
webhook_path?: string | undefined;
|
|
1378
|
-
} | undefined;
|
|
1379
|
-
tunnel?: {
|
|
1380
|
-
backend?: "localhost.run" | "smee" | undefined;
|
|
1381
|
-
smee_channel?: string | undefined;
|
|
1382
|
-
} | undefined;
|
|
1383
|
-
logs?: {
|
|
1384
|
-
enabled?: boolean | undefined;
|
|
1385
|
-
retention_days?: number | undefined;
|
|
1386
|
-
extended?: {
|
|
1387
|
-
enabled?: boolean | undefined;
|
|
1388
|
-
} | undefined;
|
|
1389
|
-
} | undefined;
|
|
1390
|
-
impact?: {
|
|
1391
|
-
assumed_human_review_minutes?: number | undefined;
|
|
1392
|
-
hourly_rate_usd?: number | undefined;
|
|
1393
|
-
defect_cost_usd?: number | undefined;
|
|
1394
|
-
} | undefined;
|
|
1395
|
-
backtrace?: {
|
|
1396
|
-
enabled?: boolean | undefined;
|
|
1397
|
-
interval_min?: number | undefined;
|
|
1398
|
-
concurrency?: number | undefined;
|
|
1399
|
-
} | undefined;
|
|
1400
|
-
issue_enrichment?: {
|
|
1401
|
-
enabled?: boolean | undefined;
|
|
1402
|
-
provider?: "linear" | undefined;
|
|
1403
|
-
team_keys?: string[] | undefined;
|
|
1404
|
-
max_description_chars?: number | undefined;
|
|
1405
|
-
} | undefined;
|
|
1406
|
-
watch?: {
|
|
1407
|
-
idle_issue?: {
|
|
1408
|
-
enabled?: boolean | undefined;
|
|
1409
|
-
timeout_min?: number | undefined;
|
|
1410
|
-
} | undefined;
|
|
1411
|
-
} | undefined;
|
|
1412
|
-
post_review?: {
|
|
1413
|
-
auto_fix?: {
|
|
1414
|
-
enabled?: boolean | undefined;
|
|
1415
|
-
delivery?: {
|
|
1416
|
-
mode?: "pull_request" | "commit" | "comment" | undefined;
|
|
1417
|
-
pr_title?: string | undefined;
|
|
1418
|
-
label?: string | undefined;
|
|
1419
|
-
} | undefined;
|
|
1420
|
-
trigger?: "never" | "on_issues" | "always" | undefined;
|
|
1421
|
-
} | undefined;
|
|
1422
|
-
} | undefined;
|
|
1423
|
-
display?: {
|
|
1424
|
-
theme?: {
|
|
1425
|
-
bar_fill?: string | undefined;
|
|
1426
|
-
bar_empty?: string | undefined;
|
|
1427
|
-
cr_approve?: string | undefined;
|
|
1428
|
-
cr_needs_work?: string | undefined;
|
|
1429
|
-
cr_block?: string | undefined;
|
|
1430
|
-
fix_fill?: string | undefined;
|
|
1431
|
-
} | undefined;
|
|
1432
|
-
} | undefined;
|
|
1433
|
-
brand?: {
|
|
1434
|
-
service_name?: string | undefined;
|
|
1435
|
-
comment_header?: string | undefined;
|
|
1436
|
-
comment_footer?: string | undefined;
|
|
1437
|
-
reviewer_attribution?: string | undefined;
|
|
1438
|
-
} | undefined;
|
|
1439
|
-
}>;
|
|
531
|
+
}, z.core.$strip>>;
|
|
532
|
+
comment_on: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
533
|
+
APPROVE: "APPROVE";
|
|
534
|
+
NEEDS_WORK: "NEEDS_WORK";
|
|
535
|
+
BLOCK: "BLOCK";
|
|
536
|
+
UNKNOWN: "UNKNOWN";
|
|
537
|
+
}>>>;
|
|
538
|
+
team_keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
539
|
+
}, z.core.$strip>>;
|
|
540
|
+
}, z.core.$strip>;
|
|
1440
541
|
export type Config = z.infer<typeof ConfigSchema>;
|
|
1441
542
|
export type AgentPriorityConfig = z.infer<typeof AgentPriorityConfigSchema>;
|
|
1442
543
|
export type BrandConfig = z.infer<typeof BrandConfigSchema>;
|