pupt 2.2.1 → 2.3.0
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.js +94 -58
- package/dist/cli.js.map +1 -1
- package/dist/commands/add.d.ts +4 -1
- package/dist/commands/add.d.ts.map +1 -1
- package/dist/commands/add.js +60 -11
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/cache.d.ts +9 -0
- package/dist/commands/cache.d.ts.map +1 -0
- package/dist/commands/cache.js +31 -0
- package/dist/commands/cache.js.map +1 -0
- package/dist/commands/config.d.ts +1 -2
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +30 -57
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/edit.d.ts.map +1 -1
- package/dist/commands/edit.js +5 -2
- package/dist/commands/edit.js.map +1 -1
- package/dist/commands/init-refactored.d.ts.map +1 -1
- package/dist/commands/init-refactored.js +0 -3
- package/dist/commands/init-refactored.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +59 -68
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/install.d.ts +9 -9
- package/dist/commands/install.d.ts.map +1 -1
- package/dist/commands/install.js +76 -178
- package/dist/commands/install.js.map +1 -1
- package/dist/commands/review.d.ts.map +1 -1
- package/dist/commands/review.js +3 -1
- package/dist/commands/review.js.map +1 -1
- package/dist/commands/run.d.ts +2 -0
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +13 -9
- package/dist/commands/run.js.map +1 -1
- package/dist/commands/uninstall.d.ts +2 -0
- package/dist/commands/uninstall.d.ts.map +1 -0
- package/dist/commands/uninstall.js +45 -0
- package/dist/commands/uninstall.js.map +1 -0
- package/dist/commands/update.d.ts +2 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +113 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/config/config-manager.d.ts +3 -10
- package/dist/config/config-manager.d.ts.map +1 -1
- package/dist/config/config-manager.js +23 -140
- package/dist/config/config-manager.js.map +1 -1
- package/dist/config/global-paths.d.ts +5 -0
- package/dist/config/global-paths.d.ts.map +1 -0
- package/dist/config/global-paths.js +16 -0
- package/dist/config/global-paths.js.map +1 -0
- package/dist/config/migration.d.ts.map +1 -1
- package/dist/config/migration.js +69 -1
- package/dist/config/migration.js.map +1 -1
- package/dist/schemas/config-schema.d.ts +863 -196
- package/dist/schemas/config-schema.d.ts.map +1 -1
- package/dist/schemas/config-schema.js +51 -27
- package/dist/schemas/config-schema.js.map +1 -1
- package/dist/services/input-collector.d.ts.map +1 -1
- package/dist/services/input-collector.js +7 -1
- package/dist/services/input-collector.js.map +1 -1
- package/dist/services/module-cache.d.ts +42 -0
- package/dist/services/module-cache.d.ts.map +1 -0
- package/dist/services/module-cache.js +205 -0
- package/dist/services/module-cache.js.map +1 -0
- package/dist/services/module-entry-builder.d.ts +20 -0
- package/dist/services/module-entry-builder.d.ts.map +1 -0
- package/dist/services/module-entry-builder.js +67 -0
- package/dist/services/module-entry-builder.js.map +1 -0
- package/dist/services/output-capture-service.d.ts.map +1 -1
- package/dist/services/output-capture-service.js +2 -1
- package/dist/services/output-capture-service.js.map +1 -1
- package/dist/services/package-manager.d.ts +18 -0
- package/dist/services/package-manager.d.ts.map +1 -0
- package/dist/services/package-manager.js +141 -0
- package/dist/services/package-manager.js.map +1 -0
- package/dist/services/prompt-resolver.d.ts +2 -2
- package/dist/services/prompt-resolver.d.ts.map +1 -1
- package/dist/services/prompt-resolver.js +9 -10
- package/dist/services/prompt-resolver.js.map +1 -1
- package/dist/services/pupt-prompt-source.d.ts +16 -0
- package/dist/services/pupt-prompt-source.d.ts.map +1 -0
- package/dist/services/pupt-prompt-source.js +73 -0
- package/dist/services/pupt-prompt-source.js.map +1 -0
- package/dist/services/pupt-service.d.ts +11 -25
- package/dist/services/pupt-service.d.ts.map +1 -1
- package/dist/services/pupt-service.js +31 -179
- package/dist/services/pupt-service.js.map +1 -1
- package/dist/services/review-data-builder.d.ts +4 -1
- package/dist/services/review-data-builder.d.ts.map +1 -1
- package/dist/services/review-data-builder.js +4 -2
- package/dist/services/review-data-builder.js.map +1 -1
- package/dist/types/config.d.ts +35 -19
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/config.js +3 -4
- package/dist/types/config.js.map +1 -1
- package/dist/utils/prompt-dir-resolver.d.ts +5 -0
- package/dist/utils/prompt-dir-resolver.d.ts.map +1 -0
- package/dist/utils/prompt-dir-resolver.js +24 -0
- package/dist/utils/prompt-dir-resolver.js.map +1 -0
- package/package.json +3 -2
- package/dist/utils/path-utils.d.ts +0 -42
- package/dist/utils/path-utils.d.ts.map +0 -1
- package/dist/utils/path-utils.js +0 -139
- package/dist/utils/path-utils.js.map +0 -1
- package/dist/utils/prompt-format.d.ts +0 -27
- package/dist/utils/prompt-format.d.ts.map +0 -1
- package/dist/utils/prompt-format.js +0 -28
- package/dist/utils/prompt-format.js.map +0 -1
- package/prompts/ad-hoc-long.prompt +0 -60
- package/prompts/ad-hoc.prompt +0 -29
- package/prompts/code-review.prompt +0 -99
- package/prompts/debugging-error-message.prompt +0 -81
- package/prompts/fix-github-actions.prompt +0 -62
- package/prompts/fix-test-errors.prompt +0 -73
- package/prompts/git-commit-comment.prompt +0 -61
- package/prompts/implementation-phase.prompt +0 -53
- package/prompts/implementation-plan.prompt +0 -101
- package/prompts/new-feature.prompt +0 -89
- package/prompts/new-project.prompt +0 -9
- package/prompts/one-shot-change.prompt +0 -79
- package/prompts/pupt-prompt-improvement.prompt +0 -270
- package/prompts/simple-test.prompt +0 -8
- package/prompts/update-design.prompt +0 -71
- package/prompts/update-documentation.prompt +0 -6
|
@@ -6,14 +6,14 @@ export declare const OutputCaptureConfigSchema: z.ZodObject<{
|
|
|
6
6
|
retentionDays: z.ZodOptional<z.ZodNumber>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
enabled: boolean;
|
|
9
|
-
directory?: string | undefined;
|
|
10
9
|
maxSizeMB?: number | undefined;
|
|
11
10
|
retentionDays?: number | undefined;
|
|
11
|
+
directory?: string | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
enabled: boolean;
|
|
14
|
-
directory?: string | undefined;
|
|
15
14
|
maxSizeMB?: number | undefined;
|
|
16
15
|
retentionDays?: number | undefined;
|
|
16
|
+
directory?: string | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
export declare const ConfigSchema: z.ZodObject<{
|
|
19
19
|
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -24,7 +24,6 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
24
24
|
defaultCmdOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
25
25
|
autoReview: z.ZodOptional<z.ZodBoolean>;
|
|
26
26
|
autoRun: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
-
gitPromptDir: z.ZodOptional<z.ZodString>;
|
|
28
27
|
version: z.ZodOptional<z.ZodString>;
|
|
29
28
|
helpers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
30
29
|
type: z.ZodEnum<["inline", "file"]>;
|
|
@@ -54,17 +53,59 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
54
53
|
retentionDays: z.ZodOptional<z.ZodNumber>;
|
|
55
54
|
}, "strip", z.ZodTypeAny, {
|
|
56
55
|
enabled: boolean;
|
|
57
|
-
directory?: string | undefined;
|
|
58
56
|
maxSizeMB?: number | undefined;
|
|
59
57
|
retentionDays?: number | undefined;
|
|
58
|
+
directory?: string | undefined;
|
|
60
59
|
}, {
|
|
61
60
|
enabled: boolean;
|
|
62
|
-
directory?: string | undefined;
|
|
63
61
|
maxSizeMB?: number | undefined;
|
|
64
62
|
retentionDays?: number | undefined;
|
|
63
|
+
directory?: string | undefined;
|
|
65
64
|
}>>;
|
|
66
65
|
logLevel: z.ZodOptional<z.ZodString>;
|
|
67
|
-
libraries: z.ZodOptional<z.ZodArray<z.
|
|
66
|
+
libraries: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
type: z.ZodLiteral<"git">;
|
|
69
|
+
source: z.ZodString;
|
|
70
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
71
|
+
installedAt: z.ZodString;
|
|
72
|
+
version: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
promptDirs: string[];
|
|
75
|
+
type: "git";
|
|
76
|
+
name: string;
|
|
77
|
+
source: string;
|
|
78
|
+
installedAt: string;
|
|
79
|
+
version?: string | undefined;
|
|
80
|
+
}, {
|
|
81
|
+
promptDirs: string[];
|
|
82
|
+
type: "git";
|
|
83
|
+
name: string;
|
|
84
|
+
source: string;
|
|
85
|
+
installedAt: string;
|
|
86
|
+
version?: string | undefined;
|
|
87
|
+
}>, z.ZodObject<{
|
|
88
|
+
name: z.ZodString;
|
|
89
|
+
type: z.ZodLiteral<"npm">;
|
|
90
|
+
source: z.ZodString;
|
|
91
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
92
|
+
installedAt: z.ZodString;
|
|
93
|
+
version: z.ZodString;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
promptDirs: string[];
|
|
96
|
+
version: string;
|
|
97
|
+
type: "npm";
|
|
98
|
+
name: string;
|
|
99
|
+
source: string;
|
|
100
|
+
installedAt: string;
|
|
101
|
+
}, {
|
|
102
|
+
promptDirs: string[];
|
|
103
|
+
version: string;
|
|
104
|
+
type: "npm";
|
|
105
|
+
name: string;
|
|
106
|
+
source: string;
|
|
107
|
+
installedAt: string;
|
|
108
|
+
}>]>, "many">>;
|
|
68
109
|
environment: z.ZodOptional<z.ZodObject<{
|
|
69
110
|
llm: z.ZodOptional<z.ZodObject<{
|
|
70
111
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -119,15 +160,15 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
119
160
|
maxTokens?: number | undefined;
|
|
120
161
|
temperature?: number | undefined;
|
|
121
162
|
} | undefined;
|
|
122
|
-
code?: {
|
|
123
|
-
language?: string | undefined;
|
|
124
|
-
highlight?: boolean | undefined;
|
|
125
|
-
} | undefined;
|
|
126
163
|
output?: {
|
|
127
164
|
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
128
165
|
trim?: boolean | undefined;
|
|
129
166
|
indent?: string | undefined;
|
|
130
167
|
} | undefined;
|
|
168
|
+
code?: {
|
|
169
|
+
language?: string | undefined;
|
|
170
|
+
highlight?: boolean | undefined;
|
|
171
|
+
} | undefined;
|
|
131
172
|
user?: {
|
|
132
173
|
editor?: string | undefined;
|
|
133
174
|
} | undefined;
|
|
@@ -138,23 +179,19 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
138
179
|
maxTokens?: number | undefined;
|
|
139
180
|
temperature?: number | undefined;
|
|
140
181
|
} | undefined;
|
|
141
|
-
code?: {
|
|
142
|
-
language?: string | undefined;
|
|
143
|
-
highlight?: boolean | undefined;
|
|
144
|
-
} | undefined;
|
|
145
182
|
output?: {
|
|
146
183
|
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
147
184
|
trim?: boolean | undefined;
|
|
148
185
|
indent?: string | undefined;
|
|
149
186
|
} | undefined;
|
|
187
|
+
code?: {
|
|
188
|
+
language?: string | undefined;
|
|
189
|
+
highlight?: boolean | undefined;
|
|
190
|
+
} | undefined;
|
|
150
191
|
user?: {
|
|
151
192
|
editor?: string | undefined;
|
|
152
193
|
} | undefined;
|
|
153
194
|
}>>;
|
|
154
|
-
codingTool: z.ZodOptional<z.ZodString>;
|
|
155
|
-
codingToolArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
156
|
-
codingToolOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
157
|
-
targetLlm: z.ZodOptional<z.ZodString>;
|
|
158
195
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
159
196
|
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
160
197
|
historyDir: z.ZodOptional<z.ZodString>;
|
|
@@ -164,7 +201,6 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
164
201
|
defaultCmdOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
165
202
|
autoReview: z.ZodOptional<z.ZodBoolean>;
|
|
166
203
|
autoRun: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
-
gitPromptDir: z.ZodOptional<z.ZodString>;
|
|
168
204
|
version: z.ZodOptional<z.ZodString>;
|
|
169
205
|
helpers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
170
206
|
type: z.ZodEnum<["inline", "file"]>;
|
|
@@ -194,17 +230,59 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
194
230
|
retentionDays: z.ZodOptional<z.ZodNumber>;
|
|
195
231
|
}, "strip", z.ZodTypeAny, {
|
|
196
232
|
enabled: boolean;
|
|
197
|
-
directory?: string | undefined;
|
|
198
233
|
maxSizeMB?: number | undefined;
|
|
199
234
|
retentionDays?: number | undefined;
|
|
235
|
+
directory?: string | undefined;
|
|
200
236
|
}, {
|
|
201
237
|
enabled: boolean;
|
|
202
|
-
directory?: string | undefined;
|
|
203
238
|
maxSizeMB?: number | undefined;
|
|
204
239
|
retentionDays?: number | undefined;
|
|
240
|
+
directory?: string | undefined;
|
|
205
241
|
}>>;
|
|
206
242
|
logLevel: z.ZodOptional<z.ZodString>;
|
|
207
|
-
libraries: z.ZodOptional<z.ZodArray<z.
|
|
243
|
+
libraries: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
244
|
+
name: z.ZodString;
|
|
245
|
+
type: z.ZodLiteral<"git">;
|
|
246
|
+
source: z.ZodString;
|
|
247
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
248
|
+
installedAt: z.ZodString;
|
|
249
|
+
version: z.ZodOptional<z.ZodString>;
|
|
250
|
+
}, "strip", z.ZodTypeAny, {
|
|
251
|
+
promptDirs: string[];
|
|
252
|
+
type: "git";
|
|
253
|
+
name: string;
|
|
254
|
+
source: string;
|
|
255
|
+
installedAt: string;
|
|
256
|
+
version?: string | undefined;
|
|
257
|
+
}, {
|
|
258
|
+
promptDirs: string[];
|
|
259
|
+
type: "git";
|
|
260
|
+
name: string;
|
|
261
|
+
source: string;
|
|
262
|
+
installedAt: string;
|
|
263
|
+
version?: string | undefined;
|
|
264
|
+
}>, z.ZodObject<{
|
|
265
|
+
name: z.ZodString;
|
|
266
|
+
type: z.ZodLiteral<"npm">;
|
|
267
|
+
source: z.ZodString;
|
|
268
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
269
|
+
installedAt: z.ZodString;
|
|
270
|
+
version: z.ZodString;
|
|
271
|
+
}, "strip", z.ZodTypeAny, {
|
|
272
|
+
promptDirs: string[];
|
|
273
|
+
version: string;
|
|
274
|
+
type: "npm";
|
|
275
|
+
name: string;
|
|
276
|
+
source: string;
|
|
277
|
+
installedAt: string;
|
|
278
|
+
}, {
|
|
279
|
+
promptDirs: string[];
|
|
280
|
+
version: string;
|
|
281
|
+
type: "npm";
|
|
282
|
+
name: string;
|
|
283
|
+
source: string;
|
|
284
|
+
installedAt: string;
|
|
285
|
+
}>]>, "many">>;
|
|
208
286
|
environment: z.ZodOptional<z.ZodObject<{
|
|
209
287
|
llm: z.ZodOptional<z.ZodObject<{
|
|
210
288
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -259,15 +337,15 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
259
337
|
maxTokens?: number | undefined;
|
|
260
338
|
temperature?: number | undefined;
|
|
261
339
|
} | undefined;
|
|
262
|
-
code?: {
|
|
263
|
-
language?: string | undefined;
|
|
264
|
-
highlight?: boolean | undefined;
|
|
265
|
-
} | undefined;
|
|
266
340
|
output?: {
|
|
267
341
|
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
268
342
|
trim?: boolean | undefined;
|
|
269
343
|
indent?: string | undefined;
|
|
270
344
|
} | undefined;
|
|
345
|
+
code?: {
|
|
346
|
+
language?: string | undefined;
|
|
347
|
+
highlight?: boolean | undefined;
|
|
348
|
+
} | undefined;
|
|
271
349
|
user?: {
|
|
272
350
|
editor?: string | undefined;
|
|
273
351
|
} | undefined;
|
|
@@ -278,23 +356,19 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
278
356
|
maxTokens?: number | undefined;
|
|
279
357
|
temperature?: number | undefined;
|
|
280
358
|
} | undefined;
|
|
281
|
-
code?: {
|
|
282
|
-
language?: string | undefined;
|
|
283
|
-
highlight?: boolean | undefined;
|
|
284
|
-
} | undefined;
|
|
285
359
|
output?: {
|
|
286
360
|
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
287
361
|
trim?: boolean | undefined;
|
|
288
362
|
indent?: string | undefined;
|
|
289
363
|
} | undefined;
|
|
364
|
+
code?: {
|
|
365
|
+
language?: string | undefined;
|
|
366
|
+
highlight?: boolean | undefined;
|
|
367
|
+
} | undefined;
|
|
290
368
|
user?: {
|
|
291
369
|
editor?: string | undefined;
|
|
292
370
|
} | undefined;
|
|
293
371
|
}>>;
|
|
294
|
-
codingTool: z.ZodOptional<z.ZodString>;
|
|
295
|
-
codingToolArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
296
|
-
codingToolOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
297
|
-
targetLlm: z.ZodOptional<z.ZodString>;
|
|
298
372
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
299
373
|
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
300
374
|
historyDir: z.ZodOptional<z.ZodString>;
|
|
@@ -304,7 +378,6 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
304
378
|
defaultCmdOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
305
379
|
autoReview: z.ZodOptional<z.ZodBoolean>;
|
|
306
380
|
autoRun: z.ZodOptional<z.ZodBoolean>;
|
|
307
|
-
gitPromptDir: z.ZodOptional<z.ZodString>;
|
|
308
381
|
version: z.ZodOptional<z.ZodString>;
|
|
309
382
|
helpers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
310
383
|
type: z.ZodEnum<["inline", "file"]>;
|
|
@@ -334,17 +407,59 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
334
407
|
retentionDays: z.ZodOptional<z.ZodNumber>;
|
|
335
408
|
}, "strip", z.ZodTypeAny, {
|
|
336
409
|
enabled: boolean;
|
|
337
|
-
directory?: string | undefined;
|
|
338
410
|
maxSizeMB?: number | undefined;
|
|
339
411
|
retentionDays?: number | undefined;
|
|
412
|
+
directory?: string | undefined;
|
|
340
413
|
}, {
|
|
341
414
|
enabled: boolean;
|
|
342
|
-
directory?: string | undefined;
|
|
343
415
|
maxSizeMB?: number | undefined;
|
|
344
416
|
retentionDays?: number | undefined;
|
|
417
|
+
directory?: string | undefined;
|
|
345
418
|
}>>;
|
|
346
419
|
logLevel: z.ZodOptional<z.ZodString>;
|
|
347
|
-
libraries: z.ZodOptional<z.ZodArray<z.
|
|
420
|
+
libraries: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
421
|
+
name: z.ZodString;
|
|
422
|
+
type: z.ZodLiteral<"git">;
|
|
423
|
+
source: z.ZodString;
|
|
424
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
425
|
+
installedAt: z.ZodString;
|
|
426
|
+
version: z.ZodOptional<z.ZodString>;
|
|
427
|
+
}, "strip", z.ZodTypeAny, {
|
|
428
|
+
promptDirs: string[];
|
|
429
|
+
type: "git";
|
|
430
|
+
name: string;
|
|
431
|
+
source: string;
|
|
432
|
+
installedAt: string;
|
|
433
|
+
version?: string | undefined;
|
|
434
|
+
}, {
|
|
435
|
+
promptDirs: string[];
|
|
436
|
+
type: "git";
|
|
437
|
+
name: string;
|
|
438
|
+
source: string;
|
|
439
|
+
installedAt: string;
|
|
440
|
+
version?: string | undefined;
|
|
441
|
+
}>, z.ZodObject<{
|
|
442
|
+
name: z.ZodString;
|
|
443
|
+
type: z.ZodLiteral<"npm">;
|
|
444
|
+
source: z.ZodString;
|
|
445
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
446
|
+
installedAt: z.ZodString;
|
|
447
|
+
version: z.ZodString;
|
|
448
|
+
}, "strip", z.ZodTypeAny, {
|
|
449
|
+
promptDirs: string[];
|
|
450
|
+
version: string;
|
|
451
|
+
type: "npm";
|
|
452
|
+
name: string;
|
|
453
|
+
source: string;
|
|
454
|
+
installedAt: string;
|
|
455
|
+
}, {
|
|
456
|
+
promptDirs: string[];
|
|
457
|
+
version: string;
|
|
458
|
+
type: "npm";
|
|
459
|
+
name: string;
|
|
460
|
+
source: string;
|
|
461
|
+
installedAt: string;
|
|
462
|
+
}>]>, "many">>;
|
|
348
463
|
environment: z.ZodOptional<z.ZodObject<{
|
|
349
464
|
llm: z.ZodOptional<z.ZodObject<{
|
|
350
465
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -399,15 +514,15 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
399
514
|
maxTokens?: number | undefined;
|
|
400
515
|
temperature?: number | undefined;
|
|
401
516
|
} | undefined;
|
|
402
|
-
code?: {
|
|
403
|
-
language?: string | undefined;
|
|
404
|
-
highlight?: boolean | undefined;
|
|
405
|
-
} | undefined;
|
|
406
517
|
output?: {
|
|
407
518
|
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
408
519
|
trim?: boolean | undefined;
|
|
409
520
|
indent?: string | undefined;
|
|
410
521
|
} | undefined;
|
|
522
|
+
code?: {
|
|
523
|
+
language?: string | undefined;
|
|
524
|
+
highlight?: boolean | undefined;
|
|
525
|
+
} | undefined;
|
|
411
526
|
user?: {
|
|
412
527
|
editor?: string | undefined;
|
|
413
528
|
} | undefined;
|
|
@@ -418,138 +533,27 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
418
533
|
maxTokens?: number | undefined;
|
|
419
534
|
temperature?: number | undefined;
|
|
420
535
|
} | undefined;
|
|
421
|
-
code?: {
|
|
422
|
-
language?: string | undefined;
|
|
423
|
-
highlight?: boolean | undefined;
|
|
424
|
-
} | undefined;
|
|
425
536
|
output?: {
|
|
426
537
|
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
427
538
|
trim?: boolean | undefined;
|
|
428
539
|
indent?: string | undefined;
|
|
429
540
|
} | undefined;
|
|
541
|
+
code?: {
|
|
542
|
+
language?: string | undefined;
|
|
543
|
+
highlight?: boolean | undefined;
|
|
544
|
+
} | undefined;
|
|
430
545
|
user?: {
|
|
431
546
|
editor?: string | undefined;
|
|
432
547
|
} | undefined;
|
|
433
548
|
}>>;
|
|
434
|
-
codingTool: z.ZodOptional<z.ZodString>;
|
|
435
|
-
codingToolArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
436
|
-
codingToolOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
437
|
-
targetLlm: z.ZodOptional<z.ZodString>;
|
|
438
549
|
}, z.ZodTypeAny, "passthrough">>;
|
|
439
|
-
export declare const ConfigV1Schema: z.ZodObject<{
|
|
440
|
-
promptDirectory: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
441
|
-
historyDirectory: z.ZodOptional<z.ZodString>;
|
|
442
|
-
annotationDirectory: z.ZodOptional<z.ZodString>;
|
|
443
|
-
codingTool: z.ZodOptional<z.ZodString>;
|
|
444
|
-
codingToolArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
445
|
-
codingToolOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
446
|
-
}, "strip", z.ZodTypeAny, {
|
|
447
|
-
promptDirectory: string | string[];
|
|
448
|
-
codingTool?: string | undefined;
|
|
449
|
-
codingToolArgs?: string[] | undefined;
|
|
450
|
-
codingToolOptions?: Record<string, string> | undefined;
|
|
451
|
-
historyDirectory?: string | undefined;
|
|
452
|
-
annotationDirectory?: string | undefined;
|
|
453
|
-
}, {
|
|
454
|
-
promptDirectory: string | string[];
|
|
455
|
-
codingTool?: string | undefined;
|
|
456
|
-
codingToolArgs?: string[] | undefined;
|
|
457
|
-
codingToolOptions?: Record<string, string> | undefined;
|
|
458
|
-
historyDirectory?: string | undefined;
|
|
459
|
-
annotationDirectory?: string | undefined;
|
|
460
|
-
}>;
|
|
461
|
-
export declare const ConfigV2Schema: z.ZodObject<{
|
|
462
|
-
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
463
|
-
historyDir: z.ZodOptional<z.ZodString>;
|
|
464
|
-
annotationDir: z.ZodOptional<z.ZodString>;
|
|
465
|
-
codingTool: z.ZodOptional<z.ZodString>;
|
|
466
|
-
codingToolArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
467
|
-
codingToolOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
468
|
-
autoReview: z.ZodOptional<z.ZodBoolean>;
|
|
469
|
-
autoRun: z.ZodOptional<z.ZodBoolean>;
|
|
470
|
-
gitPromptDir: z.ZodOptional<z.ZodString>;
|
|
471
|
-
version: z.ZodOptional<z.ZodString>;
|
|
472
|
-
}, "strip", z.ZodTypeAny, {
|
|
473
|
-
promptDirs: string[];
|
|
474
|
-
historyDir?: string | undefined;
|
|
475
|
-
annotationDir?: string | undefined;
|
|
476
|
-
autoReview?: boolean | undefined;
|
|
477
|
-
autoRun?: boolean | undefined;
|
|
478
|
-
gitPromptDir?: string | undefined;
|
|
479
|
-
version?: string | undefined;
|
|
480
|
-
codingTool?: string | undefined;
|
|
481
|
-
codingToolArgs?: string[] | undefined;
|
|
482
|
-
codingToolOptions?: Record<string, string> | undefined;
|
|
483
|
-
}, {
|
|
484
|
-
promptDirs: string[];
|
|
485
|
-
historyDir?: string | undefined;
|
|
486
|
-
annotationDir?: string | undefined;
|
|
487
|
-
autoReview?: boolean | undefined;
|
|
488
|
-
autoRun?: boolean | undefined;
|
|
489
|
-
gitPromptDir?: string | undefined;
|
|
490
|
-
version?: string | undefined;
|
|
491
|
-
codingTool?: string | undefined;
|
|
492
|
-
codingToolArgs?: string[] | undefined;
|
|
493
|
-
codingToolOptions?: Record<string, string> | undefined;
|
|
494
|
-
}>;
|
|
495
550
|
export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
annotationDirectory: z.ZodOptional<z.ZodString>;
|
|
499
|
-
codingTool: z.ZodOptional<z.ZodString>;
|
|
500
|
-
codingToolArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
501
|
-
codingToolOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
502
|
-
}, "strip", z.ZodTypeAny, {
|
|
503
|
-
promptDirectory: string | string[];
|
|
504
|
-
codingTool?: string | undefined;
|
|
505
|
-
codingToolArgs?: string[] | undefined;
|
|
506
|
-
codingToolOptions?: Record<string, string> | undefined;
|
|
507
|
-
historyDirectory?: string | undefined;
|
|
508
|
-
annotationDirectory?: string | undefined;
|
|
509
|
-
}, {
|
|
510
|
-
promptDirectory: string | string[];
|
|
511
|
-
codingTool?: string | undefined;
|
|
512
|
-
codingToolArgs?: string[] | undefined;
|
|
513
|
-
codingToolOptions?: Record<string, string> | undefined;
|
|
514
|
-
historyDirectory?: string | undefined;
|
|
515
|
-
annotationDirectory?: string | undefined;
|
|
516
|
-
}>, z.ZodObject<{
|
|
517
|
-
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
518
|
-
historyDir: z.ZodOptional<z.ZodString>;
|
|
519
|
-
annotationDir: z.ZodOptional<z.ZodString>;
|
|
520
|
-
codingTool: z.ZodOptional<z.ZodString>;
|
|
521
|
-
codingToolArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
522
|
-
codingToolOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
523
|
-
autoReview: z.ZodOptional<z.ZodBoolean>;
|
|
524
|
-
autoRun: z.ZodOptional<z.ZodBoolean>;
|
|
525
|
-
gitPromptDir: z.ZodOptional<z.ZodString>;
|
|
526
|
-
version: z.ZodOptional<z.ZodString>;
|
|
527
|
-
}, "strip", z.ZodTypeAny, {
|
|
528
|
-
promptDirs: string[];
|
|
529
|
-
historyDir?: string | undefined;
|
|
530
|
-
annotationDir?: string | undefined;
|
|
531
|
-
autoReview?: boolean | undefined;
|
|
532
|
-
autoRun?: boolean | undefined;
|
|
533
|
-
gitPromptDir?: string | undefined;
|
|
534
|
-
version?: string | undefined;
|
|
535
|
-
codingTool?: string | undefined;
|
|
536
|
-
codingToolArgs?: string[] | undefined;
|
|
537
|
-
codingToolOptions?: Record<string, string> | undefined;
|
|
538
|
-
}, {
|
|
539
|
-
promptDirs: string[];
|
|
540
|
-
historyDir?: string | undefined;
|
|
541
|
-
annotationDir?: string | undefined;
|
|
542
|
-
autoReview?: boolean | undefined;
|
|
543
|
-
autoRun?: boolean | undefined;
|
|
544
|
-
gitPromptDir?: string | undefined;
|
|
545
|
-
version?: string | undefined;
|
|
546
|
-
codingTool?: string | undefined;
|
|
547
|
-
codingToolArgs?: string[] | undefined;
|
|
548
|
-
codingToolOptions?: Record<string, string> | undefined;
|
|
549
|
-
}>, z.ZodObject<{
|
|
550
|
-
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
551
|
+
promptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
552
|
+
promptDirectory: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
551
553
|
historyDir: z.ZodOptional<z.ZodString>;
|
|
554
|
+
historyDirectory: z.ZodOptional<z.ZodString>;
|
|
552
555
|
annotationDir: z.ZodOptional<z.ZodString>;
|
|
556
|
+
annotationDirectory: z.ZodOptional<z.ZodString>;
|
|
553
557
|
defaultCmd: z.ZodOptional<z.ZodString>;
|
|
554
558
|
defaultCmdArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
555
559
|
defaultCmdOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -585,17 +589,59 @@ export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
585
589
|
retentionDays: z.ZodOptional<z.ZodNumber>;
|
|
586
590
|
}, "strip", z.ZodTypeAny, {
|
|
587
591
|
enabled: boolean;
|
|
588
|
-
directory?: string | undefined;
|
|
589
592
|
maxSizeMB?: number | undefined;
|
|
590
593
|
retentionDays?: number | undefined;
|
|
594
|
+
directory?: string | undefined;
|
|
591
595
|
}, {
|
|
592
596
|
enabled: boolean;
|
|
593
|
-
directory?: string | undefined;
|
|
594
597
|
maxSizeMB?: number | undefined;
|
|
595
598
|
retentionDays?: number | undefined;
|
|
599
|
+
directory?: string | undefined;
|
|
596
600
|
}>>;
|
|
597
601
|
logLevel: z.ZodOptional<z.ZodString>;
|
|
598
|
-
libraries: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
602
|
+
libraries: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
603
|
+
name: z.ZodString;
|
|
604
|
+
type: z.ZodLiteral<"git">;
|
|
605
|
+
source: z.ZodString;
|
|
606
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
607
|
+
installedAt: z.ZodString;
|
|
608
|
+
version: z.ZodOptional<z.ZodString>;
|
|
609
|
+
}, "strip", z.ZodTypeAny, {
|
|
610
|
+
promptDirs: string[];
|
|
611
|
+
type: "git";
|
|
612
|
+
name: string;
|
|
613
|
+
source: string;
|
|
614
|
+
installedAt: string;
|
|
615
|
+
version?: string | undefined;
|
|
616
|
+
}, {
|
|
617
|
+
promptDirs: string[];
|
|
618
|
+
type: "git";
|
|
619
|
+
name: string;
|
|
620
|
+
source: string;
|
|
621
|
+
installedAt: string;
|
|
622
|
+
version?: string | undefined;
|
|
623
|
+
}>, z.ZodObject<{
|
|
624
|
+
name: z.ZodString;
|
|
625
|
+
type: z.ZodLiteral<"npm">;
|
|
626
|
+
source: z.ZodString;
|
|
627
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
628
|
+
installedAt: z.ZodString;
|
|
629
|
+
version: z.ZodString;
|
|
630
|
+
}, "strip", z.ZodTypeAny, {
|
|
631
|
+
promptDirs: string[];
|
|
632
|
+
version: string;
|
|
633
|
+
type: "npm";
|
|
634
|
+
name: string;
|
|
635
|
+
source: string;
|
|
636
|
+
installedAt: string;
|
|
637
|
+
}, {
|
|
638
|
+
promptDirs: string[];
|
|
639
|
+
version: string;
|
|
640
|
+
type: "npm";
|
|
641
|
+
name: string;
|
|
642
|
+
source: string;
|
|
643
|
+
installedAt: string;
|
|
644
|
+
}>]>, "many">]>>;
|
|
599
645
|
environment: z.ZodOptional<z.ZodObject<{
|
|
600
646
|
llm: z.ZodOptional<z.ZodObject<{
|
|
601
647
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -650,15 +696,15 @@ export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
650
696
|
maxTokens?: number | undefined;
|
|
651
697
|
temperature?: number | undefined;
|
|
652
698
|
} | undefined;
|
|
653
|
-
code?: {
|
|
654
|
-
language?: string | undefined;
|
|
655
|
-
highlight?: boolean | undefined;
|
|
656
|
-
} | undefined;
|
|
657
699
|
output?: {
|
|
658
700
|
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
659
701
|
trim?: boolean | undefined;
|
|
660
702
|
indent?: string | undefined;
|
|
661
703
|
} | undefined;
|
|
704
|
+
code?: {
|
|
705
|
+
language?: string | undefined;
|
|
706
|
+
highlight?: boolean | undefined;
|
|
707
|
+
} | undefined;
|
|
662
708
|
user?: {
|
|
663
709
|
editor?: string | undefined;
|
|
664
710
|
} | undefined;
|
|
@@ -669,15 +715,15 @@ export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
669
715
|
maxTokens?: number | undefined;
|
|
670
716
|
temperature?: number | undefined;
|
|
671
717
|
} | undefined;
|
|
672
|
-
code?: {
|
|
673
|
-
language?: string | undefined;
|
|
674
|
-
highlight?: boolean | undefined;
|
|
675
|
-
} | undefined;
|
|
676
718
|
output?: {
|
|
677
719
|
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
678
720
|
trim?: boolean | undefined;
|
|
679
721
|
indent?: string | undefined;
|
|
680
722
|
} | undefined;
|
|
723
|
+
code?: {
|
|
724
|
+
language?: string | undefined;
|
|
725
|
+
highlight?: boolean | undefined;
|
|
726
|
+
} | undefined;
|
|
681
727
|
user?: {
|
|
682
728
|
editor?: string | undefined;
|
|
683
729
|
} | undefined;
|
|
@@ -687,9 +733,12 @@ export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
687
733
|
codingToolOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
688
734
|
targetLlm: z.ZodOptional<z.ZodString>;
|
|
689
735
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
690
|
-
promptDirs: z.ZodArray<z.ZodString, "many"
|
|
736
|
+
promptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
737
|
+
promptDirectory: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
691
738
|
historyDir: z.ZodOptional<z.ZodString>;
|
|
739
|
+
historyDirectory: z.ZodOptional<z.ZodString>;
|
|
692
740
|
annotationDir: z.ZodOptional<z.ZodString>;
|
|
741
|
+
annotationDirectory: z.ZodOptional<z.ZodString>;
|
|
693
742
|
defaultCmd: z.ZodOptional<z.ZodString>;
|
|
694
743
|
defaultCmdArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
695
744
|
defaultCmdOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -725,17 +774,59 @@ export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
725
774
|
retentionDays: z.ZodOptional<z.ZodNumber>;
|
|
726
775
|
}, "strip", z.ZodTypeAny, {
|
|
727
776
|
enabled: boolean;
|
|
728
|
-
directory?: string | undefined;
|
|
729
777
|
maxSizeMB?: number | undefined;
|
|
730
778
|
retentionDays?: number | undefined;
|
|
779
|
+
directory?: string | undefined;
|
|
731
780
|
}, {
|
|
732
781
|
enabled: boolean;
|
|
733
|
-
directory?: string | undefined;
|
|
734
782
|
maxSizeMB?: number | undefined;
|
|
735
783
|
retentionDays?: number | undefined;
|
|
784
|
+
directory?: string | undefined;
|
|
736
785
|
}>>;
|
|
737
786
|
logLevel: z.ZodOptional<z.ZodString>;
|
|
738
|
-
libraries: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
787
|
+
libraries: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
788
|
+
name: z.ZodString;
|
|
789
|
+
type: z.ZodLiteral<"git">;
|
|
790
|
+
source: z.ZodString;
|
|
791
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
792
|
+
installedAt: z.ZodString;
|
|
793
|
+
version: z.ZodOptional<z.ZodString>;
|
|
794
|
+
}, "strip", z.ZodTypeAny, {
|
|
795
|
+
promptDirs: string[];
|
|
796
|
+
type: "git";
|
|
797
|
+
name: string;
|
|
798
|
+
source: string;
|
|
799
|
+
installedAt: string;
|
|
800
|
+
version?: string | undefined;
|
|
801
|
+
}, {
|
|
802
|
+
promptDirs: string[];
|
|
803
|
+
type: "git";
|
|
804
|
+
name: string;
|
|
805
|
+
source: string;
|
|
806
|
+
installedAt: string;
|
|
807
|
+
version?: string | undefined;
|
|
808
|
+
}>, z.ZodObject<{
|
|
809
|
+
name: z.ZodString;
|
|
810
|
+
type: z.ZodLiteral<"npm">;
|
|
811
|
+
source: z.ZodString;
|
|
812
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
813
|
+
installedAt: z.ZodString;
|
|
814
|
+
version: z.ZodString;
|
|
815
|
+
}, "strip", z.ZodTypeAny, {
|
|
816
|
+
promptDirs: string[];
|
|
817
|
+
version: string;
|
|
818
|
+
type: "npm";
|
|
819
|
+
name: string;
|
|
820
|
+
source: string;
|
|
821
|
+
installedAt: string;
|
|
822
|
+
}, {
|
|
823
|
+
promptDirs: string[];
|
|
824
|
+
version: string;
|
|
825
|
+
type: "npm";
|
|
826
|
+
name: string;
|
|
827
|
+
source: string;
|
|
828
|
+
installedAt: string;
|
|
829
|
+
}>]>, "many">]>>;
|
|
739
830
|
environment: z.ZodOptional<z.ZodObject<{
|
|
740
831
|
llm: z.ZodOptional<z.ZodObject<{
|
|
741
832
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -790,15 +881,15 @@ export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
790
881
|
maxTokens?: number | undefined;
|
|
791
882
|
temperature?: number | undefined;
|
|
792
883
|
} | undefined;
|
|
793
|
-
code?: {
|
|
794
|
-
language?: string | undefined;
|
|
795
|
-
highlight?: boolean | undefined;
|
|
796
|
-
} | undefined;
|
|
797
884
|
output?: {
|
|
798
885
|
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
799
886
|
trim?: boolean | undefined;
|
|
800
887
|
indent?: string | undefined;
|
|
801
888
|
} | undefined;
|
|
889
|
+
code?: {
|
|
890
|
+
language?: string | undefined;
|
|
891
|
+
highlight?: boolean | undefined;
|
|
892
|
+
} | undefined;
|
|
802
893
|
user?: {
|
|
803
894
|
editor?: string | undefined;
|
|
804
895
|
} | undefined;
|
|
@@ -809,15 +900,15 @@ export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
809
900
|
maxTokens?: number | undefined;
|
|
810
901
|
temperature?: number | undefined;
|
|
811
902
|
} | undefined;
|
|
812
|
-
code?: {
|
|
813
|
-
language?: string | undefined;
|
|
814
|
-
highlight?: boolean | undefined;
|
|
815
|
-
} | undefined;
|
|
816
903
|
output?: {
|
|
817
904
|
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
818
905
|
trim?: boolean | undefined;
|
|
819
906
|
indent?: string | undefined;
|
|
820
907
|
} | undefined;
|
|
908
|
+
code?: {
|
|
909
|
+
language?: string | undefined;
|
|
910
|
+
highlight?: boolean | undefined;
|
|
911
|
+
} | undefined;
|
|
821
912
|
user?: {
|
|
822
913
|
editor?: string | undefined;
|
|
823
914
|
} | undefined;
|
|
@@ -827,9 +918,12 @@ export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
827
918
|
codingToolOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
828
919
|
targetLlm: z.ZodOptional<z.ZodString>;
|
|
829
920
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
830
|
-
promptDirs: z.ZodArray<z.ZodString, "many"
|
|
921
|
+
promptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
922
|
+
promptDirectory: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
831
923
|
historyDir: z.ZodOptional<z.ZodString>;
|
|
924
|
+
historyDirectory: z.ZodOptional<z.ZodString>;
|
|
832
925
|
annotationDir: z.ZodOptional<z.ZodString>;
|
|
926
|
+
annotationDirectory: z.ZodOptional<z.ZodString>;
|
|
833
927
|
defaultCmd: z.ZodOptional<z.ZodString>;
|
|
834
928
|
defaultCmdArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
835
929
|
defaultCmdOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -865,17 +959,59 @@ export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
865
959
|
retentionDays: z.ZodOptional<z.ZodNumber>;
|
|
866
960
|
}, "strip", z.ZodTypeAny, {
|
|
867
961
|
enabled: boolean;
|
|
868
|
-
directory?: string | undefined;
|
|
869
962
|
maxSizeMB?: number | undefined;
|
|
870
963
|
retentionDays?: number | undefined;
|
|
964
|
+
directory?: string | undefined;
|
|
871
965
|
}, {
|
|
872
966
|
enabled: boolean;
|
|
873
|
-
directory?: string | undefined;
|
|
874
967
|
maxSizeMB?: number | undefined;
|
|
875
968
|
retentionDays?: number | undefined;
|
|
969
|
+
directory?: string | undefined;
|
|
876
970
|
}>>;
|
|
877
971
|
logLevel: z.ZodOptional<z.ZodString>;
|
|
878
|
-
libraries: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
972
|
+
libraries: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
973
|
+
name: z.ZodString;
|
|
974
|
+
type: z.ZodLiteral<"git">;
|
|
975
|
+
source: z.ZodString;
|
|
976
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
977
|
+
installedAt: z.ZodString;
|
|
978
|
+
version: z.ZodOptional<z.ZodString>;
|
|
979
|
+
}, "strip", z.ZodTypeAny, {
|
|
980
|
+
promptDirs: string[];
|
|
981
|
+
type: "git";
|
|
982
|
+
name: string;
|
|
983
|
+
source: string;
|
|
984
|
+
installedAt: string;
|
|
985
|
+
version?: string | undefined;
|
|
986
|
+
}, {
|
|
987
|
+
promptDirs: string[];
|
|
988
|
+
type: "git";
|
|
989
|
+
name: string;
|
|
990
|
+
source: string;
|
|
991
|
+
installedAt: string;
|
|
992
|
+
version?: string | undefined;
|
|
993
|
+
}>, z.ZodObject<{
|
|
994
|
+
name: z.ZodString;
|
|
995
|
+
type: z.ZodLiteral<"npm">;
|
|
996
|
+
source: z.ZodString;
|
|
997
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
998
|
+
installedAt: z.ZodString;
|
|
999
|
+
version: z.ZodString;
|
|
1000
|
+
}, "strip", z.ZodTypeAny, {
|
|
1001
|
+
promptDirs: string[];
|
|
1002
|
+
version: string;
|
|
1003
|
+
type: "npm";
|
|
1004
|
+
name: string;
|
|
1005
|
+
source: string;
|
|
1006
|
+
installedAt: string;
|
|
1007
|
+
}, {
|
|
1008
|
+
promptDirs: string[];
|
|
1009
|
+
version: string;
|
|
1010
|
+
type: "npm";
|
|
1011
|
+
name: string;
|
|
1012
|
+
source: string;
|
|
1013
|
+
installedAt: string;
|
|
1014
|
+
}>]>, "many">]>>;
|
|
879
1015
|
environment: z.ZodOptional<z.ZodObject<{
|
|
880
1016
|
llm: z.ZodOptional<z.ZodObject<{
|
|
881
1017
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -930,15 +1066,15 @@ export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
930
1066
|
maxTokens?: number | undefined;
|
|
931
1067
|
temperature?: number | undefined;
|
|
932
1068
|
} | undefined;
|
|
933
|
-
code?: {
|
|
934
|
-
language?: string | undefined;
|
|
935
|
-
highlight?: boolean | undefined;
|
|
936
|
-
} | undefined;
|
|
937
1069
|
output?: {
|
|
938
1070
|
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
939
1071
|
trim?: boolean | undefined;
|
|
940
1072
|
indent?: string | undefined;
|
|
941
1073
|
} | undefined;
|
|
1074
|
+
code?: {
|
|
1075
|
+
language?: string | undefined;
|
|
1076
|
+
highlight?: boolean | undefined;
|
|
1077
|
+
} | undefined;
|
|
942
1078
|
user?: {
|
|
943
1079
|
editor?: string | undefined;
|
|
944
1080
|
} | undefined;
|
|
@@ -949,15 +1085,15 @@ export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
949
1085
|
maxTokens?: number | undefined;
|
|
950
1086
|
temperature?: number | undefined;
|
|
951
1087
|
} | undefined;
|
|
952
|
-
code?: {
|
|
953
|
-
language?: string | undefined;
|
|
954
|
-
highlight?: boolean | undefined;
|
|
955
|
-
} | undefined;
|
|
956
1088
|
output?: {
|
|
957
1089
|
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
958
1090
|
trim?: boolean | undefined;
|
|
959
1091
|
indent?: string | undefined;
|
|
960
1092
|
} | undefined;
|
|
1093
|
+
code?: {
|
|
1094
|
+
language?: string | undefined;
|
|
1095
|
+
highlight?: boolean | undefined;
|
|
1096
|
+
} | undefined;
|
|
961
1097
|
user?: {
|
|
962
1098
|
editor?: string | undefined;
|
|
963
1099
|
} | undefined;
|
|
@@ -966,5 +1102,536 @@ export declare const ConfigFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
966
1102
|
codingToolArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
967
1103
|
codingToolOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
968
1104
|
targetLlm: z.ZodOptional<z.ZodString>;
|
|
1105
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
1106
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
1107
|
+
historyDir: z.ZodOptional<z.ZodString>;
|
|
1108
|
+
annotationDir: z.ZodOptional<z.ZodString>;
|
|
1109
|
+
defaultCmd: z.ZodOptional<z.ZodString>;
|
|
1110
|
+
defaultCmdArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1111
|
+
defaultCmdOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1112
|
+
autoReview: z.ZodOptional<z.ZodBoolean>;
|
|
1113
|
+
autoRun: z.ZodOptional<z.ZodBoolean>;
|
|
1114
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
helpers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
1116
|
+
type: z.ZodEnum<["inline", "file"]>;
|
|
1117
|
+
value: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
}, "strip", z.ZodTypeAny, {
|
|
1120
|
+
type: "inline" | "file";
|
|
1121
|
+
value?: string | undefined;
|
|
1122
|
+
path?: string | undefined;
|
|
1123
|
+
}, {
|
|
1124
|
+
type: "inline" | "file";
|
|
1125
|
+
value?: string | undefined;
|
|
1126
|
+
path?: string | undefined;
|
|
1127
|
+
}>, {
|
|
1128
|
+
type: "inline" | "file";
|
|
1129
|
+
value?: string | undefined;
|
|
1130
|
+
path?: string | undefined;
|
|
1131
|
+
}, {
|
|
1132
|
+
type: "inline" | "file";
|
|
1133
|
+
value?: string | undefined;
|
|
1134
|
+
path?: string | undefined;
|
|
1135
|
+
}>>>;
|
|
1136
|
+
outputCapture: z.ZodOptional<z.ZodObject<{
|
|
1137
|
+
enabled: z.ZodBoolean;
|
|
1138
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
1139
|
+
maxSizeMB: z.ZodOptional<z.ZodNumber>;
|
|
1140
|
+
retentionDays: z.ZodOptional<z.ZodNumber>;
|
|
1141
|
+
}, "strip", z.ZodTypeAny, {
|
|
1142
|
+
enabled: boolean;
|
|
1143
|
+
maxSizeMB?: number | undefined;
|
|
1144
|
+
retentionDays?: number | undefined;
|
|
1145
|
+
directory?: string | undefined;
|
|
1146
|
+
}, {
|
|
1147
|
+
enabled: boolean;
|
|
1148
|
+
maxSizeMB?: number | undefined;
|
|
1149
|
+
retentionDays?: number | undefined;
|
|
1150
|
+
directory?: string | undefined;
|
|
1151
|
+
}>>;
|
|
1152
|
+
logLevel: z.ZodOptional<z.ZodString>;
|
|
1153
|
+
libraries: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1154
|
+
name: z.ZodString;
|
|
1155
|
+
type: z.ZodLiteral<"git">;
|
|
1156
|
+
source: z.ZodString;
|
|
1157
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
1158
|
+
installedAt: z.ZodString;
|
|
1159
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
}, "strip", z.ZodTypeAny, {
|
|
1161
|
+
promptDirs: string[];
|
|
1162
|
+
type: "git";
|
|
1163
|
+
name: string;
|
|
1164
|
+
source: string;
|
|
1165
|
+
installedAt: string;
|
|
1166
|
+
version?: string | undefined;
|
|
1167
|
+
}, {
|
|
1168
|
+
promptDirs: string[];
|
|
1169
|
+
type: "git";
|
|
1170
|
+
name: string;
|
|
1171
|
+
source: string;
|
|
1172
|
+
installedAt: string;
|
|
1173
|
+
version?: string | undefined;
|
|
1174
|
+
}>, z.ZodObject<{
|
|
1175
|
+
name: z.ZodString;
|
|
1176
|
+
type: z.ZodLiteral<"npm">;
|
|
1177
|
+
source: z.ZodString;
|
|
1178
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
1179
|
+
installedAt: z.ZodString;
|
|
1180
|
+
version: z.ZodString;
|
|
1181
|
+
}, "strip", z.ZodTypeAny, {
|
|
1182
|
+
promptDirs: string[];
|
|
1183
|
+
version: string;
|
|
1184
|
+
type: "npm";
|
|
1185
|
+
name: string;
|
|
1186
|
+
source: string;
|
|
1187
|
+
installedAt: string;
|
|
1188
|
+
}, {
|
|
1189
|
+
promptDirs: string[];
|
|
1190
|
+
version: string;
|
|
1191
|
+
type: "npm";
|
|
1192
|
+
name: string;
|
|
1193
|
+
source: string;
|
|
1194
|
+
installedAt: string;
|
|
1195
|
+
}>]>, "many">>;
|
|
1196
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
1197
|
+
llm: z.ZodOptional<z.ZodObject<{
|
|
1198
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1199
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1200
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
1201
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1202
|
+
}, "strip", z.ZodTypeAny, {
|
|
1203
|
+
provider?: string | undefined;
|
|
1204
|
+
model?: string | undefined;
|
|
1205
|
+
maxTokens?: number | undefined;
|
|
1206
|
+
temperature?: number | undefined;
|
|
1207
|
+
}, {
|
|
1208
|
+
provider?: string | undefined;
|
|
1209
|
+
model?: string | undefined;
|
|
1210
|
+
maxTokens?: number | undefined;
|
|
1211
|
+
temperature?: number | undefined;
|
|
1212
|
+
}>>;
|
|
1213
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
1214
|
+
format: z.ZodOptional<z.ZodEnum<["xml", "markdown", "json", "text", "unspecified"]>>;
|
|
1215
|
+
trim: z.ZodOptional<z.ZodBoolean>;
|
|
1216
|
+
indent: z.ZodOptional<z.ZodString>;
|
|
1217
|
+
}, "strip", z.ZodTypeAny, {
|
|
1218
|
+
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
1219
|
+
trim?: boolean | undefined;
|
|
1220
|
+
indent?: string | undefined;
|
|
1221
|
+
}, {
|
|
1222
|
+
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
1223
|
+
trim?: boolean | undefined;
|
|
1224
|
+
indent?: string | undefined;
|
|
1225
|
+
}>>;
|
|
1226
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
1227
|
+
language: z.ZodOptional<z.ZodString>;
|
|
1228
|
+
highlight: z.ZodOptional<z.ZodBoolean>;
|
|
1229
|
+
}, "strip", z.ZodTypeAny, {
|
|
1230
|
+
language?: string | undefined;
|
|
1231
|
+
highlight?: boolean | undefined;
|
|
1232
|
+
}, {
|
|
1233
|
+
language?: string | undefined;
|
|
1234
|
+
highlight?: boolean | undefined;
|
|
1235
|
+
}>>;
|
|
1236
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
1237
|
+
editor: z.ZodOptional<z.ZodString>;
|
|
1238
|
+
}, "strip", z.ZodTypeAny, {
|
|
1239
|
+
editor?: string | undefined;
|
|
1240
|
+
}, {
|
|
1241
|
+
editor?: string | undefined;
|
|
1242
|
+
}>>;
|
|
1243
|
+
}, "strip", z.ZodTypeAny, {
|
|
1244
|
+
llm?: {
|
|
1245
|
+
provider?: string | undefined;
|
|
1246
|
+
model?: string | undefined;
|
|
1247
|
+
maxTokens?: number | undefined;
|
|
1248
|
+
temperature?: number | undefined;
|
|
1249
|
+
} | undefined;
|
|
1250
|
+
output?: {
|
|
1251
|
+
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
1252
|
+
trim?: boolean | undefined;
|
|
1253
|
+
indent?: string | undefined;
|
|
1254
|
+
} | undefined;
|
|
1255
|
+
code?: {
|
|
1256
|
+
language?: string | undefined;
|
|
1257
|
+
highlight?: boolean | undefined;
|
|
1258
|
+
} | undefined;
|
|
1259
|
+
user?: {
|
|
1260
|
+
editor?: string | undefined;
|
|
1261
|
+
} | undefined;
|
|
1262
|
+
}, {
|
|
1263
|
+
llm?: {
|
|
1264
|
+
provider?: string | undefined;
|
|
1265
|
+
model?: string | undefined;
|
|
1266
|
+
maxTokens?: number | undefined;
|
|
1267
|
+
temperature?: number | undefined;
|
|
1268
|
+
} | undefined;
|
|
1269
|
+
output?: {
|
|
1270
|
+
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
1271
|
+
trim?: boolean | undefined;
|
|
1272
|
+
indent?: string | undefined;
|
|
1273
|
+
} | undefined;
|
|
1274
|
+
code?: {
|
|
1275
|
+
language?: string | undefined;
|
|
1276
|
+
highlight?: boolean | undefined;
|
|
1277
|
+
} | undefined;
|
|
1278
|
+
user?: {
|
|
1279
|
+
editor?: string | undefined;
|
|
1280
|
+
} | undefined;
|
|
1281
|
+
}>>;
|
|
1282
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1283
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
1284
|
+
historyDir: z.ZodOptional<z.ZodString>;
|
|
1285
|
+
annotationDir: z.ZodOptional<z.ZodString>;
|
|
1286
|
+
defaultCmd: z.ZodOptional<z.ZodString>;
|
|
1287
|
+
defaultCmdArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1288
|
+
defaultCmdOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1289
|
+
autoReview: z.ZodOptional<z.ZodBoolean>;
|
|
1290
|
+
autoRun: z.ZodOptional<z.ZodBoolean>;
|
|
1291
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1292
|
+
helpers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
1293
|
+
type: z.ZodEnum<["inline", "file"]>;
|
|
1294
|
+
value: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
}, "strip", z.ZodTypeAny, {
|
|
1297
|
+
type: "inline" | "file";
|
|
1298
|
+
value?: string | undefined;
|
|
1299
|
+
path?: string | undefined;
|
|
1300
|
+
}, {
|
|
1301
|
+
type: "inline" | "file";
|
|
1302
|
+
value?: string | undefined;
|
|
1303
|
+
path?: string | undefined;
|
|
1304
|
+
}>, {
|
|
1305
|
+
type: "inline" | "file";
|
|
1306
|
+
value?: string | undefined;
|
|
1307
|
+
path?: string | undefined;
|
|
1308
|
+
}, {
|
|
1309
|
+
type: "inline" | "file";
|
|
1310
|
+
value?: string | undefined;
|
|
1311
|
+
path?: string | undefined;
|
|
1312
|
+
}>>>;
|
|
1313
|
+
outputCapture: z.ZodOptional<z.ZodObject<{
|
|
1314
|
+
enabled: z.ZodBoolean;
|
|
1315
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
maxSizeMB: z.ZodOptional<z.ZodNumber>;
|
|
1317
|
+
retentionDays: z.ZodOptional<z.ZodNumber>;
|
|
1318
|
+
}, "strip", z.ZodTypeAny, {
|
|
1319
|
+
enabled: boolean;
|
|
1320
|
+
maxSizeMB?: number | undefined;
|
|
1321
|
+
retentionDays?: number | undefined;
|
|
1322
|
+
directory?: string | undefined;
|
|
1323
|
+
}, {
|
|
1324
|
+
enabled: boolean;
|
|
1325
|
+
maxSizeMB?: number | undefined;
|
|
1326
|
+
retentionDays?: number | undefined;
|
|
1327
|
+
directory?: string | undefined;
|
|
1328
|
+
}>>;
|
|
1329
|
+
logLevel: z.ZodOptional<z.ZodString>;
|
|
1330
|
+
libraries: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1331
|
+
name: z.ZodString;
|
|
1332
|
+
type: z.ZodLiteral<"git">;
|
|
1333
|
+
source: z.ZodString;
|
|
1334
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
1335
|
+
installedAt: z.ZodString;
|
|
1336
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1337
|
+
}, "strip", z.ZodTypeAny, {
|
|
1338
|
+
promptDirs: string[];
|
|
1339
|
+
type: "git";
|
|
1340
|
+
name: string;
|
|
1341
|
+
source: string;
|
|
1342
|
+
installedAt: string;
|
|
1343
|
+
version?: string | undefined;
|
|
1344
|
+
}, {
|
|
1345
|
+
promptDirs: string[];
|
|
1346
|
+
type: "git";
|
|
1347
|
+
name: string;
|
|
1348
|
+
source: string;
|
|
1349
|
+
installedAt: string;
|
|
1350
|
+
version?: string | undefined;
|
|
1351
|
+
}>, z.ZodObject<{
|
|
1352
|
+
name: z.ZodString;
|
|
1353
|
+
type: z.ZodLiteral<"npm">;
|
|
1354
|
+
source: z.ZodString;
|
|
1355
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
1356
|
+
installedAt: z.ZodString;
|
|
1357
|
+
version: z.ZodString;
|
|
1358
|
+
}, "strip", z.ZodTypeAny, {
|
|
1359
|
+
promptDirs: string[];
|
|
1360
|
+
version: string;
|
|
1361
|
+
type: "npm";
|
|
1362
|
+
name: string;
|
|
1363
|
+
source: string;
|
|
1364
|
+
installedAt: string;
|
|
1365
|
+
}, {
|
|
1366
|
+
promptDirs: string[];
|
|
1367
|
+
version: string;
|
|
1368
|
+
type: "npm";
|
|
1369
|
+
name: string;
|
|
1370
|
+
source: string;
|
|
1371
|
+
installedAt: string;
|
|
1372
|
+
}>]>, "many">>;
|
|
1373
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
1374
|
+
llm: z.ZodOptional<z.ZodObject<{
|
|
1375
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1377
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
1378
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1379
|
+
}, "strip", z.ZodTypeAny, {
|
|
1380
|
+
provider?: string | undefined;
|
|
1381
|
+
model?: string | undefined;
|
|
1382
|
+
maxTokens?: number | undefined;
|
|
1383
|
+
temperature?: number | undefined;
|
|
1384
|
+
}, {
|
|
1385
|
+
provider?: string | undefined;
|
|
1386
|
+
model?: string | undefined;
|
|
1387
|
+
maxTokens?: number | undefined;
|
|
1388
|
+
temperature?: number | undefined;
|
|
1389
|
+
}>>;
|
|
1390
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
1391
|
+
format: z.ZodOptional<z.ZodEnum<["xml", "markdown", "json", "text", "unspecified"]>>;
|
|
1392
|
+
trim: z.ZodOptional<z.ZodBoolean>;
|
|
1393
|
+
indent: z.ZodOptional<z.ZodString>;
|
|
1394
|
+
}, "strip", z.ZodTypeAny, {
|
|
1395
|
+
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
1396
|
+
trim?: boolean | undefined;
|
|
1397
|
+
indent?: string | undefined;
|
|
1398
|
+
}, {
|
|
1399
|
+
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
1400
|
+
trim?: boolean | undefined;
|
|
1401
|
+
indent?: string | undefined;
|
|
1402
|
+
}>>;
|
|
1403
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
1404
|
+
language: z.ZodOptional<z.ZodString>;
|
|
1405
|
+
highlight: z.ZodOptional<z.ZodBoolean>;
|
|
1406
|
+
}, "strip", z.ZodTypeAny, {
|
|
1407
|
+
language?: string | undefined;
|
|
1408
|
+
highlight?: boolean | undefined;
|
|
1409
|
+
}, {
|
|
1410
|
+
language?: string | undefined;
|
|
1411
|
+
highlight?: boolean | undefined;
|
|
1412
|
+
}>>;
|
|
1413
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
1414
|
+
editor: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
}, "strip", z.ZodTypeAny, {
|
|
1416
|
+
editor?: string | undefined;
|
|
1417
|
+
}, {
|
|
1418
|
+
editor?: string | undefined;
|
|
1419
|
+
}>>;
|
|
1420
|
+
}, "strip", z.ZodTypeAny, {
|
|
1421
|
+
llm?: {
|
|
1422
|
+
provider?: string | undefined;
|
|
1423
|
+
model?: string | undefined;
|
|
1424
|
+
maxTokens?: number | undefined;
|
|
1425
|
+
temperature?: number | undefined;
|
|
1426
|
+
} | undefined;
|
|
1427
|
+
output?: {
|
|
1428
|
+
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
1429
|
+
trim?: boolean | undefined;
|
|
1430
|
+
indent?: string | undefined;
|
|
1431
|
+
} | undefined;
|
|
1432
|
+
code?: {
|
|
1433
|
+
language?: string | undefined;
|
|
1434
|
+
highlight?: boolean | undefined;
|
|
1435
|
+
} | undefined;
|
|
1436
|
+
user?: {
|
|
1437
|
+
editor?: string | undefined;
|
|
1438
|
+
} | undefined;
|
|
1439
|
+
}, {
|
|
1440
|
+
llm?: {
|
|
1441
|
+
provider?: string | undefined;
|
|
1442
|
+
model?: string | undefined;
|
|
1443
|
+
maxTokens?: number | undefined;
|
|
1444
|
+
temperature?: number | undefined;
|
|
1445
|
+
} | undefined;
|
|
1446
|
+
output?: {
|
|
1447
|
+
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
1448
|
+
trim?: boolean | undefined;
|
|
1449
|
+
indent?: string | undefined;
|
|
1450
|
+
} | undefined;
|
|
1451
|
+
code?: {
|
|
1452
|
+
language?: string | undefined;
|
|
1453
|
+
highlight?: boolean | undefined;
|
|
1454
|
+
} | undefined;
|
|
1455
|
+
user?: {
|
|
1456
|
+
editor?: string | undefined;
|
|
1457
|
+
} | undefined;
|
|
1458
|
+
}>>;
|
|
1459
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1460
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
1461
|
+
historyDir: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
annotationDir: z.ZodOptional<z.ZodString>;
|
|
1463
|
+
defaultCmd: z.ZodOptional<z.ZodString>;
|
|
1464
|
+
defaultCmdArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1465
|
+
defaultCmdOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1466
|
+
autoReview: z.ZodOptional<z.ZodBoolean>;
|
|
1467
|
+
autoRun: z.ZodOptional<z.ZodBoolean>;
|
|
1468
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1469
|
+
helpers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
1470
|
+
type: z.ZodEnum<["inline", "file"]>;
|
|
1471
|
+
value: z.ZodOptional<z.ZodString>;
|
|
1472
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1473
|
+
}, "strip", z.ZodTypeAny, {
|
|
1474
|
+
type: "inline" | "file";
|
|
1475
|
+
value?: string | undefined;
|
|
1476
|
+
path?: string | undefined;
|
|
1477
|
+
}, {
|
|
1478
|
+
type: "inline" | "file";
|
|
1479
|
+
value?: string | undefined;
|
|
1480
|
+
path?: string | undefined;
|
|
1481
|
+
}>, {
|
|
1482
|
+
type: "inline" | "file";
|
|
1483
|
+
value?: string | undefined;
|
|
1484
|
+
path?: string | undefined;
|
|
1485
|
+
}, {
|
|
1486
|
+
type: "inline" | "file";
|
|
1487
|
+
value?: string | undefined;
|
|
1488
|
+
path?: string | undefined;
|
|
1489
|
+
}>>>;
|
|
1490
|
+
outputCapture: z.ZodOptional<z.ZodObject<{
|
|
1491
|
+
enabled: z.ZodBoolean;
|
|
1492
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
1493
|
+
maxSizeMB: z.ZodOptional<z.ZodNumber>;
|
|
1494
|
+
retentionDays: z.ZodOptional<z.ZodNumber>;
|
|
1495
|
+
}, "strip", z.ZodTypeAny, {
|
|
1496
|
+
enabled: boolean;
|
|
1497
|
+
maxSizeMB?: number | undefined;
|
|
1498
|
+
retentionDays?: number | undefined;
|
|
1499
|
+
directory?: string | undefined;
|
|
1500
|
+
}, {
|
|
1501
|
+
enabled: boolean;
|
|
1502
|
+
maxSizeMB?: number | undefined;
|
|
1503
|
+
retentionDays?: number | undefined;
|
|
1504
|
+
directory?: string | undefined;
|
|
1505
|
+
}>>;
|
|
1506
|
+
logLevel: z.ZodOptional<z.ZodString>;
|
|
1507
|
+
libraries: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1508
|
+
name: z.ZodString;
|
|
1509
|
+
type: z.ZodLiteral<"git">;
|
|
1510
|
+
source: z.ZodString;
|
|
1511
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
1512
|
+
installedAt: z.ZodString;
|
|
1513
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
}, "strip", z.ZodTypeAny, {
|
|
1515
|
+
promptDirs: string[];
|
|
1516
|
+
type: "git";
|
|
1517
|
+
name: string;
|
|
1518
|
+
source: string;
|
|
1519
|
+
installedAt: string;
|
|
1520
|
+
version?: string | undefined;
|
|
1521
|
+
}, {
|
|
1522
|
+
promptDirs: string[];
|
|
1523
|
+
type: "git";
|
|
1524
|
+
name: string;
|
|
1525
|
+
source: string;
|
|
1526
|
+
installedAt: string;
|
|
1527
|
+
version?: string | undefined;
|
|
1528
|
+
}>, z.ZodObject<{
|
|
1529
|
+
name: z.ZodString;
|
|
1530
|
+
type: z.ZodLiteral<"npm">;
|
|
1531
|
+
source: z.ZodString;
|
|
1532
|
+
promptDirs: z.ZodArray<z.ZodString, "many">;
|
|
1533
|
+
installedAt: z.ZodString;
|
|
1534
|
+
version: z.ZodString;
|
|
1535
|
+
}, "strip", z.ZodTypeAny, {
|
|
1536
|
+
promptDirs: string[];
|
|
1537
|
+
version: string;
|
|
1538
|
+
type: "npm";
|
|
1539
|
+
name: string;
|
|
1540
|
+
source: string;
|
|
1541
|
+
installedAt: string;
|
|
1542
|
+
}, {
|
|
1543
|
+
promptDirs: string[];
|
|
1544
|
+
version: string;
|
|
1545
|
+
type: "npm";
|
|
1546
|
+
name: string;
|
|
1547
|
+
source: string;
|
|
1548
|
+
installedAt: string;
|
|
1549
|
+
}>]>, "many">>;
|
|
1550
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
1551
|
+
llm: z.ZodOptional<z.ZodObject<{
|
|
1552
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1553
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1554
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
1555
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1556
|
+
}, "strip", z.ZodTypeAny, {
|
|
1557
|
+
provider?: string | undefined;
|
|
1558
|
+
model?: string | undefined;
|
|
1559
|
+
maxTokens?: number | undefined;
|
|
1560
|
+
temperature?: number | undefined;
|
|
1561
|
+
}, {
|
|
1562
|
+
provider?: string | undefined;
|
|
1563
|
+
model?: string | undefined;
|
|
1564
|
+
maxTokens?: number | undefined;
|
|
1565
|
+
temperature?: number | undefined;
|
|
1566
|
+
}>>;
|
|
1567
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
1568
|
+
format: z.ZodOptional<z.ZodEnum<["xml", "markdown", "json", "text", "unspecified"]>>;
|
|
1569
|
+
trim: z.ZodOptional<z.ZodBoolean>;
|
|
1570
|
+
indent: z.ZodOptional<z.ZodString>;
|
|
1571
|
+
}, "strip", z.ZodTypeAny, {
|
|
1572
|
+
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
1573
|
+
trim?: boolean | undefined;
|
|
1574
|
+
indent?: string | undefined;
|
|
1575
|
+
}, {
|
|
1576
|
+
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
1577
|
+
trim?: boolean | undefined;
|
|
1578
|
+
indent?: string | undefined;
|
|
1579
|
+
}>>;
|
|
1580
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
1581
|
+
language: z.ZodOptional<z.ZodString>;
|
|
1582
|
+
highlight: z.ZodOptional<z.ZodBoolean>;
|
|
1583
|
+
}, "strip", z.ZodTypeAny, {
|
|
1584
|
+
language?: string | undefined;
|
|
1585
|
+
highlight?: boolean | undefined;
|
|
1586
|
+
}, {
|
|
1587
|
+
language?: string | undefined;
|
|
1588
|
+
highlight?: boolean | undefined;
|
|
1589
|
+
}>>;
|
|
1590
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
1591
|
+
editor: z.ZodOptional<z.ZodString>;
|
|
1592
|
+
}, "strip", z.ZodTypeAny, {
|
|
1593
|
+
editor?: string | undefined;
|
|
1594
|
+
}, {
|
|
1595
|
+
editor?: string | undefined;
|
|
1596
|
+
}>>;
|
|
1597
|
+
}, "strip", z.ZodTypeAny, {
|
|
1598
|
+
llm?: {
|
|
1599
|
+
provider?: string | undefined;
|
|
1600
|
+
model?: string | undefined;
|
|
1601
|
+
maxTokens?: number | undefined;
|
|
1602
|
+
temperature?: number | undefined;
|
|
1603
|
+
} | undefined;
|
|
1604
|
+
output?: {
|
|
1605
|
+
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
1606
|
+
trim?: boolean | undefined;
|
|
1607
|
+
indent?: string | undefined;
|
|
1608
|
+
} | undefined;
|
|
1609
|
+
code?: {
|
|
1610
|
+
language?: string | undefined;
|
|
1611
|
+
highlight?: boolean | undefined;
|
|
1612
|
+
} | undefined;
|
|
1613
|
+
user?: {
|
|
1614
|
+
editor?: string | undefined;
|
|
1615
|
+
} | undefined;
|
|
1616
|
+
}, {
|
|
1617
|
+
llm?: {
|
|
1618
|
+
provider?: string | undefined;
|
|
1619
|
+
model?: string | undefined;
|
|
1620
|
+
maxTokens?: number | undefined;
|
|
1621
|
+
temperature?: number | undefined;
|
|
1622
|
+
} | undefined;
|
|
1623
|
+
output?: {
|
|
1624
|
+
format?: "xml" | "markdown" | "json" | "text" | "unspecified" | undefined;
|
|
1625
|
+
trim?: boolean | undefined;
|
|
1626
|
+
indent?: string | undefined;
|
|
1627
|
+
} | undefined;
|
|
1628
|
+
code?: {
|
|
1629
|
+
language?: string | undefined;
|
|
1630
|
+
highlight?: boolean | undefined;
|
|
1631
|
+
} | undefined;
|
|
1632
|
+
user?: {
|
|
1633
|
+
editor?: string | undefined;
|
|
1634
|
+
} | undefined;
|
|
1635
|
+
}>>;
|
|
969
1636
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
970
1637
|
//# sourceMappingURL=config-schema.d.ts.map
|