@eldrforge/core 0.1.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.
Files changed (41) hide show
  1. package/LICENSE +190 -0
  2. package/README.md +59 -0
  3. package/dist/index.d.ts +2 -0
  4. package/dist/index.js +2748 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/src/constants.d.ts +235 -0
  7. package/dist/src/constants.d.ts.map +1 -0
  8. package/dist/src/content/diff.d.ts +25 -0
  9. package/dist/src/content/diff.d.ts.map +1 -0
  10. package/dist/src/content/files.d.ts +10 -0
  11. package/dist/src/content/files.d.ts.map +1 -0
  12. package/dist/src/content/log.d.ts +11 -0
  13. package/dist/src/content/log.d.ts.map +1 -0
  14. package/dist/src/index.d.ts +17 -0
  15. package/dist/src/index.d.ts.map +1 -0
  16. package/dist/src/logging.d.ts +18 -0
  17. package/dist/src/logging.d.ts.map +1 -0
  18. package/dist/src/types.d.ts +1343 -0
  19. package/dist/src/types.d.ts.map +1 -0
  20. package/dist/src/util/aiAdapter.d.ts +7 -0
  21. package/dist/src/util/aiAdapter.d.ts.map +1 -0
  22. package/dist/src/util/errorHandler.d.ts +34 -0
  23. package/dist/src/util/errorHandler.d.ts.map +1 -0
  24. package/dist/src/util/fileLock.d.ts +63 -0
  25. package/dist/src/util/fileLock.d.ts.map +1 -0
  26. package/dist/src/util/general.d.ts +83 -0
  27. package/dist/src/util/general.d.ts.map +1 -0
  28. package/dist/src/util/gitMutex.d.ts +66 -0
  29. package/dist/src/util/gitMutex.d.ts.map +1 -0
  30. package/dist/src/util/interactive.d.ts +36 -0
  31. package/dist/src/util/interactive.d.ts.map +1 -0
  32. package/dist/src/util/loggerAdapter.d.ts +6 -0
  33. package/dist/src/util/loggerAdapter.d.ts.map +1 -0
  34. package/dist/src/util/stopContext.d.ts +27 -0
  35. package/dist/src/util/stopContext.d.ts.map +1 -0
  36. package/dist/src/util/storageAdapter.d.ts +8 -0
  37. package/dist/src/util/storageAdapter.d.ts.map +1 -0
  38. package/dist/src/util/validation.d.ts +21 -0
  39. package/dist/src/util/validation.d.ts.map +1 -0
  40. package/guide/index.md +64 -0
  41. package/package.json +74 -0
@@ -0,0 +1,1343 @@
1
+ import { z } from 'zod';
2
+ import * as Cardigantime from '@theunwalked/cardigantime';
3
+ export declare const ConfigSchema: z.ZodObject<{
4
+ dryRun: z.ZodOptional<z.ZodBoolean>;
5
+ verbose: z.ZodOptional<z.ZodBoolean>;
6
+ debug: z.ZodOptional<z.ZodBoolean>;
7
+ overrides: z.ZodOptional<z.ZodBoolean>;
8
+ model: z.ZodOptional<z.ZodString>;
9
+ openaiReasoning: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
10
+ openaiMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
11
+ contextDirectories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
+ outputDirectory: z.ZodOptional<z.ZodString>;
13
+ preferencesDirectory: z.ZodOptional<z.ZodString>;
14
+ commit: z.ZodOptional<z.ZodObject<{
15
+ add: z.ZodOptional<z.ZodBoolean>;
16
+ cached: z.ZodOptional<z.ZodBoolean>;
17
+ sendit: z.ZodOptional<z.ZodBoolean>;
18
+ interactive: z.ZodOptional<z.ZodBoolean>;
19
+ amend: z.ZodOptional<z.ZodBoolean>;
20
+ push: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
21
+ messageLimit: z.ZodOptional<z.ZodNumber>;
22
+ context: z.ZodOptional<z.ZodString>;
23
+ contextFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24
+ direction: z.ZodOptional<z.ZodString>;
25
+ skipFileCheck: z.ZodOptional<z.ZodBoolean>;
26
+ maxDiffBytes: z.ZodOptional<z.ZodNumber>;
27
+ model: z.ZodOptional<z.ZodString>;
28
+ openaiReasoning: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
29
+ openaiMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
30
+ maxAgenticIterations: z.ZodOptional<z.ZodNumber>;
31
+ allowCommitSplitting: z.ZodOptional<z.ZodBoolean>;
32
+ autoSplit: z.ZodOptional<z.ZodBoolean>;
33
+ toolTimeout: z.ZodOptional<z.ZodNumber>;
34
+ selfReflection: z.ZodOptional<z.ZodBoolean>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ model?: string | undefined;
37
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
38
+ openaiMaxOutputTokens?: number | undefined;
39
+ push?: string | boolean | undefined;
40
+ add?: boolean | undefined;
41
+ cached?: boolean | undefined;
42
+ sendit?: boolean | undefined;
43
+ interactive?: boolean | undefined;
44
+ amend?: boolean | undefined;
45
+ messageLimit?: number | undefined;
46
+ context?: string | undefined;
47
+ contextFiles?: string[] | undefined;
48
+ direction?: string | undefined;
49
+ skipFileCheck?: boolean | undefined;
50
+ maxDiffBytes?: number | undefined;
51
+ maxAgenticIterations?: number | undefined;
52
+ allowCommitSplitting?: boolean | undefined;
53
+ autoSplit?: boolean | undefined;
54
+ toolTimeout?: number | undefined;
55
+ selfReflection?: boolean | undefined;
56
+ }, {
57
+ model?: string | undefined;
58
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
59
+ openaiMaxOutputTokens?: number | undefined;
60
+ push?: string | boolean | undefined;
61
+ add?: boolean | undefined;
62
+ cached?: boolean | undefined;
63
+ sendit?: boolean | undefined;
64
+ interactive?: boolean | undefined;
65
+ amend?: boolean | undefined;
66
+ messageLimit?: number | undefined;
67
+ context?: string | undefined;
68
+ contextFiles?: string[] | undefined;
69
+ direction?: string | undefined;
70
+ skipFileCheck?: boolean | undefined;
71
+ maxDiffBytes?: number | undefined;
72
+ maxAgenticIterations?: number | undefined;
73
+ allowCommitSplitting?: boolean | undefined;
74
+ autoSplit?: boolean | undefined;
75
+ toolTimeout?: number | undefined;
76
+ selfReflection?: boolean | undefined;
77
+ }>>;
78
+ audioCommit: z.ZodOptional<z.ZodObject<{
79
+ maxRecordingTime: z.ZodOptional<z.ZodNumber>;
80
+ audioDevice: z.ZodOptional<z.ZodString>;
81
+ file: z.ZodOptional<z.ZodString>;
82
+ keepTemp: z.ZodOptional<z.ZodBoolean>;
83
+ model: z.ZodOptional<z.ZodString>;
84
+ openaiReasoning: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
85
+ openaiMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
86
+ }, "strip", z.ZodTypeAny, {
87
+ model?: string | undefined;
88
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
89
+ openaiMaxOutputTokens?: number | undefined;
90
+ maxRecordingTime?: number | undefined;
91
+ audioDevice?: string | undefined;
92
+ file?: string | undefined;
93
+ keepTemp?: boolean | undefined;
94
+ }, {
95
+ model?: string | undefined;
96
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
97
+ openaiMaxOutputTokens?: number | undefined;
98
+ maxRecordingTime?: number | undefined;
99
+ audioDevice?: string | undefined;
100
+ file?: string | undefined;
101
+ keepTemp?: boolean | undefined;
102
+ }>>;
103
+ release: z.ZodOptional<z.ZodObject<{
104
+ from: z.ZodOptional<z.ZodString>;
105
+ to: z.ZodOptional<z.ZodString>;
106
+ messageLimit: z.ZodOptional<z.ZodNumber>;
107
+ context: z.ZodOptional<z.ZodString>;
108
+ contextFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
109
+ interactive: z.ZodOptional<z.ZodBoolean>;
110
+ focus: z.ZodOptional<z.ZodString>;
111
+ maxDiffBytes: z.ZodOptional<z.ZodNumber>;
112
+ model: z.ZodOptional<z.ZodString>;
113
+ openaiReasoning: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
114
+ openaiMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
115
+ noMilestones: z.ZodOptional<z.ZodBoolean>;
116
+ fromMain: z.ZodOptional<z.ZodBoolean>;
117
+ currentBranch: z.ZodOptional<z.ZodString>;
118
+ maxAgenticIterations: z.ZodOptional<z.ZodNumber>;
119
+ selfReflection: z.ZodOptional<z.ZodBoolean>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ model?: string | undefined;
122
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
123
+ openaiMaxOutputTokens?: number | undefined;
124
+ interactive?: boolean | undefined;
125
+ messageLimit?: number | undefined;
126
+ context?: string | undefined;
127
+ contextFiles?: string[] | undefined;
128
+ maxDiffBytes?: number | undefined;
129
+ maxAgenticIterations?: number | undefined;
130
+ selfReflection?: boolean | undefined;
131
+ from?: string | undefined;
132
+ to?: string | undefined;
133
+ focus?: string | undefined;
134
+ noMilestones?: boolean | undefined;
135
+ fromMain?: boolean | undefined;
136
+ currentBranch?: string | undefined;
137
+ }, {
138
+ model?: string | undefined;
139
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
140
+ openaiMaxOutputTokens?: number | undefined;
141
+ interactive?: boolean | undefined;
142
+ messageLimit?: number | undefined;
143
+ context?: string | undefined;
144
+ contextFiles?: string[] | undefined;
145
+ maxDiffBytes?: number | undefined;
146
+ maxAgenticIterations?: number | undefined;
147
+ selfReflection?: boolean | undefined;
148
+ from?: string | undefined;
149
+ to?: string | undefined;
150
+ focus?: string | undefined;
151
+ noMilestones?: boolean | undefined;
152
+ fromMain?: boolean | undefined;
153
+ currentBranch?: string | undefined;
154
+ }>>;
155
+ review: z.ZodOptional<z.ZodObject<{
156
+ includeCommitHistory: z.ZodOptional<z.ZodBoolean>;
157
+ includeRecentDiffs: z.ZodOptional<z.ZodBoolean>;
158
+ includeReleaseNotes: z.ZodOptional<z.ZodBoolean>;
159
+ includeGithubIssues: z.ZodOptional<z.ZodBoolean>;
160
+ commitHistoryLimit: z.ZodOptional<z.ZodNumber>;
161
+ diffHistoryLimit: z.ZodOptional<z.ZodNumber>;
162
+ releaseNotesLimit: z.ZodOptional<z.ZodNumber>;
163
+ githubIssuesLimit: z.ZodOptional<z.ZodNumber>;
164
+ context: z.ZodOptional<z.ZodString>;
165
+ sendit: z.ZodOptional<z.ZodBoolean>;
166
+ note: z.ZodOptional<z.ZodString>;
167
+ editorTimeout: z.ZodOptional<z.ZodNumber>;
168
+ maxContextErrors: z.ZodOptional<z.ZodNumber>;
169
+ model: z.ZodOptional<z.ZodString>;
170
+ openaiReasoning: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
171
+ openaiMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
172
+ file: z.ZodOptional<z.ZodString>;
173
+ directory: z.ZodOptional<z.ZodString>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ model?: string | undefined;
176
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
177
+ openaiMaxOutputTokens?: number | undefined;
178
+ sendit?: boolean | undefined;
179
+ context?: string | undefined;
180
+ file?: string | undefined;
181
+ includeCommitHistory?: boolean | undefined;
182
+ includeRecentDiffs?: boolean | undefined;
183
+ includeReleaseNotes?: boolean | undefined;
184
+ includeGithubIssues?: boolean | undefined;
185
+ commitHistoryLimit?: number | undefined;
186
+ diffHistoryLimit?: number | undefined;
187
+ releaseNotesLimit?: number | undefined;
188
+ githubIssuesLimit?: number | undefined;
189
+ note?: string | undefined;
190
+ editorTimeout?: number | undefined;
191
+ maxContextErrors?: number | undefined;
192
+ directory?: string | undefined;
193
+ }, {
194
+ model?: string | undefined;
195
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
196
+ openaiMaxOutputTokens?: number | undefined;
197
+ sendit?: boolean | undefined;
198
+ context?: string | undefined;
199
+ file?: string | undefined;
200
+ includeCommitHistory?: boolean | undefined;
201
+ includeRecentDiffs?: boolean | undefined;
202
+ includeReleaseNotes?: boolean | undefined;
203
+ includeGithubIssues?: boolean | undefined;
204
+ commitHistoryLimit?: number | undefined;
205
+ diffHistoryLimit?: number | undefined;
206
+ releaseNotesLimit?: number | undefined;
207
+ githubIssuesLimit?: number | undefined;
208
+ note?: string | undefined;
209
+ editorTimeout?: number | undefined;
210
+ maxContextErrors?: number | undefined;
211
+ directory?: string | undefined;
212
+ }>>;
213
+ audioReview: z.ZodOptional<z.ZodObject<{
214
+ includeCommitHistory: z.ZodOptional<z.ZodBoolean>;
215
+ includeRecentDiffs: z.ZodOptional<z.ZodBoolean>;
216
+ includeReleaseNotes: z.ZodOptional<z.ZodBoolean>;
217
+ includeGithubIssues: z.ZodOptional<z.ZodBoolean>;
218
+ commitHistoryLimit: z.ZodOptional<z.ZodNumber>;
219
+ diffHistoryLimit: z.ZodOptional<z.ZodNumber>;
220
+ releaseNotesLimit: z.ZodOptional<z.ZodNumber>;
221
+ githubIssuesLimit: z.ZodOptional<z.ZodNumber>;
222
+ context: z.ZodOptional<z.ZodString>;
223
+ sendit: z.ZodOptional<z.ZodBoolean>;
224
+ maxRecordingTime: z.ZodOptional<z.ZodNumber>;
225
+ audioDevice: z.ZodOptional<z.ZodString>;
226
+ file: z.ZodOptional<z.ZodString>;
227
+ directory: z.ZodOptional<z.ZodString>;
228
+ keepTemp: z.ZodOptional<z.ZodBoolean>;
229
+ model: z.ZodOptional<z.ZodString>;
230
+ openaiReasoning: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
231
+ openaiMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
232
+ }, "strip", z.ZodTypeAny, {
233
+ model?: string | undefined;
234
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
235
+ openaiMaxOutputTokens?: number | undefined;
236
+ sendit?: boolean | undefined;
237
+ context?: string | undefined;
238
+ maxRecordingTime?: number | undefined;
239
+ audioDevice?: string | undefined;
240
+ file?: string | undefined;
241
+ keepTemp?: boolean | undefined;
242
+ includeCommitHistory?: boolean | undefined;
243
+ includeRecentDiffs?: boolean | undefined;
244
+ includeReleaseNotes?: boolean | undefined;
245
+ includeGithubIssues?: boolean | undefined;
246
+ commitHistoryLimit?: number | undefined;
247
+ diffHistoryLimit?: number | undefined;
248
+ releaseNotesLimit?: number | undefined;
249
+ githubIssuesLimit?: number | undefined;
250
+ directory?: string | undefined;
251
+ }, {
252
+ model?: string | undefined;
253
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
254
+ openaiMaxOutputTokens?: number | undefined;
255
+ sendit?: boolean | undefined;
256
+ context?: string | undefined;
257
+ maxRecordingTime?: number | undefined;
258
+ audioDevice?: string | undefined;
259
+ file?: string | undefined;
260
+ keepTemp?: boolean | undefined;
261
+ includeCommitHistory?: boolean | undefined;
262
+ includeRecentDiffs?: boolean | undefined;
263
+ includeReleaseNotes?: boolean | undefined;
264
+ includeGithubIssues?: boolean | undefined;
265
+ commitHistoryLimit?: number | undefined;
266
+ diffHistoryLimit?: number | undefined;
267
+ releaseNotesLimit?: number | undefined;
268
+ githubIssuesLimit?: number | undefined;
269
+ directory?: string | undefined;
270
+ }>>;
271
+ publish: z.ZodOptional<z.ZodObject<{
272
+ mergeMethod: z.ZodOptional<z.ZodEnum<["merge", "squash", "rebase"]>>;
273
+ from: z.ZodOptional<z.ZodString>;
274
+ targetVersion: z.ZodOptional<z.ZodString>;
275
+ interactive: z.ZodOptional<z.ZodBoolean>;
276
+ skipAlreadyPublished: z.ZodOptional<z.ZodBoolean>;
277
+ forceRepublish: z.ZodOptional<z.ZodBoolean>;
278
+ dependencyUpdatePatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
279
+ scopedDependencyUpdates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
280
+ requiredEnvVars: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
281
+ linkWorkspacePackages: z.ZodOptional<z.ZodBoolean>;
282
+ unlinkWorkspacePackages: z.ZodOptional<z.ZodBoolean>;
283
+ checksTimeout: z.ZodOptional<z.ZodNumber>;
284
+ skipUserConfirmation: z.ZodOptional<z.ZodBoolean>;
285
+ syncTarget: z.ZodOptional<z.ZodBoolean>;
286
+ sendit: z.ZodOptional<z.ZodBoolean>;
287
+ waitForReleaseWorkflows: z.ZodOptional<z.ZodBoolean>;
288
+ releaseWorkflowsTimeout: z.ZodOptional<z.ZodNumber>;
289
+ releaseWorkflowNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
290
+ targetBranch: z.ZodOptional<z.ZodString>;
291
+ noMilestones: z.ZodOptional<z.ZodBoolean>;
292
+ fromMain: z.ZodOptional<z.ZodBoolean>;
293
+ skipPrePublishMerge: z.ZodOptional<z.ZodBoolean>;
294
+ updateDeps: z.ZodOptional<z.ZodString>;
295
+ agenticPublish: z.ZodOptional<z.ZodBoolean>;
296
+ agenticPublishMaxIterations: z.ZodOptional<z.ZodNumber>;
297
+ }, "strip", z.ZodTypeAny, {
298
+ sendit?: boolean | undefined;
299
+ interactive?: boolean | undefined;
300
+ from?: string | undefined;
301
+ noMilestones?: boolean | undefined;
302
+ fromMain?: boolean | undefined;
303
+ mergeMethod?: "merge" | "squash" | "rebase" | undefined;
304
+ targetVersion?: string | undefined;
305
+ skipAlreadyPublished?: boolean | undefined;
306
+ forceRepublish?: boolean | undefined;
307
+ dependencyUpdatePatterns?: string[] | undefined;
308
+ scopedDependencyUpdates?: string[] | undefined;
309
+ requiredEnvVars?: string[] | undefined;
310
+ linkWorkspacePackages?: boolean | undefined;
311
+ unlinkWorkspacePackages?: boolean | undefined;
312
+ checksTimeout?: number | undefined;
313
+ skipUserConfirmation?: boolean | undefined;
314
+ syncTarget?: boolean | undefined;
315
+ waitForReleaseWorkflows?: boolean | undefined;
316
+ releaseWorkflowsTimeout?: number | undefined;
317
+ releaseWorkflowNames?: string[] | undefined;
318
+ targetBranch?: string | undefined;
319
+ skipPrePublishMerge?: boolean | undefined;
320
+ updateDeps?: string | undefined;
321
+ agenticPublish?: boolean | undefined;
322
+ agenticPublishMaxIterations?: number | undefined;
323
+ }, {
324
+ sendit?: boolean | undefined;
325
+ interactive?: boolean | undefined;
326
+ from?: string | undefined;
327
+ noMilestones?: boolean | undefined;
328
+ fromMain?: boolean | undefined;
329
+ mergeMethod?: "merge" | "squash" | "rebase" | undefined;
330
+ targetVersion?: string | undefined;
331
+ skipAlreadyPublished?: boolean | undefined;
332
+ forceRepublish?: boolean | undefined;
333
+ dependencyUpdatePatterns?: string[] | undefined;
334
+ scopedDependencyUpdates?: string[] | undefined;
335
+ requiredEnvVars?: string[] | undefined;
336
+ linkWorkspacePackages?: boolean | undefined;
337
+ unlinkWorkspacePackages?: boolean | undefined;
338
+ checksTimeout?: number | undefined;
339
+ skipUserConfirmation?: boolean | undefined;
340
+ syncTarget?: boolean | undefined;
341
+ waitForReleaseWorkflows?: boolean | undefined;
342
+ releaseWorkflowsTimeout?: number | undefined;
343
+ releaseWorkflowNames?: string[] | undefined;
344
+ targetBranch?: string | undefined;
345
+ skipPrePublishMerge?: boolean | undefined;
346
+ updateDeps?: string | undefined;
347
+ agenticPublish?: boolean | undefined;
348
+ agenticPublishMaxIterations?: number | undefined;
349
+ }>>;
350
+ branches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
351
+ targetBranch: z.ZodOptional<z.ZodString>;
352
+ developmentBranch: z.ZodOptional<z.ZodBoolean>;
353
+ version: z.ZodOptional<z.ZodObject<{
354
+ type: z.ZodEnum<["release", "prerelease"]>;
355
+ increment: z.ZodOptional<z.ZodBoolean>;
356
+ incrementLevel: z.ZodOptional<z.ZodEnum<["patch", "minor", "major"]>>;
357
+ tag: z.ZodOptional<z.ZodString>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ type: "release" | "prerelease";
360
+ increment?: boolean | undefined;
361
+ incrementLevel?: "patch" | "minor" | "major" | undefined;
362
+ tag?: string | undefined;
363
+ }, {
364
+ type: "release" | "prerelease";
365
+ increment?: boolean | undefined;
366
+ incrementLevel?: "patch" | "minor" | "major" | undefined;
367
+ tag?: string | undefined;
368
+ }>>;
369
+ }, "strip", z.ZodTypeAny, {
370
+ targetBranch?: string | undefined;
371
+ developmentBranch?: boolean | undefined;
372
+ version?: {
373
+ type: "release" | "prerelease";
374
+ increment?: boolean | undefined;
375
+ incrementLevel?: "patch" | "minor" | "major" | undefined;
376
+ tag?: string | undefined;
377
+ } | undefined;
378
+ }, {
379
+ targetBranch?: string | undefined;
380
+ developmentBranch?: boolean | undefined;
381
+ version?: {
382
+ type: "release" | "prerelease";
383
+ increment?: boolean | undefined;
384
+ incrementLevel?: "patch" | "minor" | "major" | undefined;
385
+ tag?: string | undefined;
386
+ } | undefined;
387
+ }>>>;
388
+ link: z.ZodOptional<z.ZodObject<{
389
+ scopeRoots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
390
+ dryRun: z.ZodOptional<z.ZodBoolean>;
391
+ packageArgument: z.ZodOptional<z.ZodString>;
392
+ externals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ dryRun?: boolean | undefined;
395
+ scopeRoots?: Record<string, string> | undefined;
396
+ packageArgument?: string | undefined;
397
+ externals?: string[] | undefined;
398
+ }, {
399
+ dryRun?: boolean | undefined;
400
+ scopeRoots?: Record<string, string> | undefined;
401
+ packageArgument?: string | undefined;
402
+ externals?: string[] | undefined;
403
+ }>>;
404
+ unlink: z.ZodOptional<z.ZodObject<{
405
+ scopeRoots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
406
+ workspaceFile: z.ZodOptional<z.ZodString>;
407
+ dryRun: z.ZodOptional<z.ZodBoolean>;
408
+ cleanNodeModules: z.ZodOptional<z.ZodBoolean>;
409
+ packageArgument: z.ZodOptional<z.ZodString>;
410
+ externals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
411
+ }, "strip", z.ZodTypeAny, {
412
+ dryRun?: boolean | undefined;
413
+ scopeRoots?: Record<string, string> | undefined;
414
+ packageArgument?: string | undefined;
415
+ externals?: string[] | undefined;
416
+ workspaceFile?: string | undefined;
417
+ cleanNodeModules?: boolean | undefined;
418
+ }, {
419
+ dryRun?: boolean | undefined;
420
+ scopeRoots?: Record<string, string> | undefined;
421
+ packageArgument?: string | undefined;
422
+ externals?: string[] | undefined;
423
+ workspaceFile?: string | undefined;
424
+ cleanNodeModules?: boolean | undefined;
425
+ }>>;
426
+ tree: z.ZodOptional<z.ZodObject<{
427
+ directories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
428
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
429
+ startFrom: z.ZodOptional<z.ZodString>;
430
+ stopAt: z.ZodOptional<z.ZodString>;
431
+ cmd: z.ZodOptional<z.ZodString>;
432
+ builtInCommand: z.ZodOptional<z.ZodString>;
433
+ continue: z.ZodOptional<z.ZodBoolean>;
434
+ status: z.ZodOptional<z.ZodBoolean>;
435
+ promote: z.ZodOptional<z.ZodString>;
436
+ packageArgument: z.ZodOptional<z.ZodString>;
437
+ cleanNodeModules: z.ZodOptional<z.ZodBoolean>;
438
+ externals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
439
+ parallel: z.ZodOptional<z.ZodBoolean>;
440
+ maxConcurrency: z.ZodOptional<z.ZodNumber>;
441
+ retry: z.ZodOptional<z.ZodObject<{
442
+ maxAttempts: z.ZodOptional<z.ZodNumber>;
443
+ initialDelayMs: z.ZodOptional<z.ZodNumber>;
444
+ maxDelayMs: z.ZodOptional<z.ZodNumber>;
445
+ backoffMultiplier: z.ZodOptional<z.ZodNumber>;
446
+ retriableErrors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ maxAttempts?: number | undefined;
449
+ initialDelayMs?: number | undefined;
450
+ maxDelayMs?: number | undefined;
451
+ backoffMultiplier?: number | undefined;
452
+ retriableErrors?: string[] | undefined;
453
+ }, {
454
+ maxAttempts?: number | undefined;
455
+ initialDelayMs?: number | undefined;
456
+ maxDelayMs?: number | undefined;
457
+ backoffMultiplier?: number | undefined;
458
+ retriableErrors?: string[] | undefined;
459
+ }>>;
460
+ recovery: z.ZodOptional<z.ZodObject<{
461
+ checkpointInterval: z.ZodOptional<z.ZodEnum<["package", "batch"]>>;
462
+ autoRetry: z.ZodOptional<z.ZodBoolean>;
463
+ continueOnError: z.ZodOptional<z.ZodBoolean>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ checkpointInterval?: "package" | "batch" | undefined;
466
+ autoRetry?: boolean | undefined;
467
+ continueOnError?: boolean | undefined;
468
+ }, {
469
+ checkpointInterval?: "package" | "batch" | undefined;
470
+ autoRetry?: boolean | undefined;
471
+ continueOnError?: boolean | undefined;
472
+ }>>;
473
+ monitoring: z.ZodOptional<z.ZodObject<{
474
+ showProgress: z.ZodOptional<z.ZodBoolean>;
475
+ showMetrics: z.ZodOptional<z.ZodBoolean>;
476
+ logLevel: z.ZodOptional<z.ZodEnum<["minimal", "normal", "verbose"]>>;
477
+ }, "strip", z.ZodTypeAny, {
478
+ showProgress?: boolean | undefined;
479
+ showMetrics?: boolean | undefined;
480
+ logLevel?: "verbose" | "minimal" | "normal" | undefined;
481
+ }, {
482
+ showProgress?: boolean | undefined;
483
+ showMetrics?: boolean | undefined;
484
+ logLevel?: "verbose" | "minimal" | "normal" | undefined;
485
+ }>>;
486
+ markCompleted: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
487
+ skipPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
488
+ retryFailed: z.ZodOptional<z.ZodBoolean>;
489
+ skipFailed: z.ZodOptional<z.ZodBoolean>;
490
+ resetPackage: z.ZodOptional<z.ZodString>;
491
+ statusParallel: z.ZodOptional<z.ZodBoolean>;
492
+ auditBranches: z.ZodOptional<z.ZodBoolean>;
493
+ validateState: z.ZodOptional<z.ZodBoolean>;
494
+ }, "strip", z.ZodTypeAny, {
495
+ status?: boolean | undefined;
496
+ packageArgument?: string | undefined;
497
+ externals?: string[] | undefined;
498
+ cleanNodeModules?: boolean | undefined;
499
+ directories?: string[] | undefined;
500
+ exclude?: string[] | undefined;
501
+ startFrom?: string | undefined;
502
+ stopAt?: string | undefined;
503
+ cmd?: string | undefined;
504
+ builtInCommand?: string | undefined;
505
+ continue?: boolean | undefined;
506
+ promote?: string | undefined;
507
+ parallel?: boolean | undefined;
508
+ maxConcurrency?: number | undefined;
509
+ retry?: {
510
+ maxAttempts?: number | undefined;
511
+ initialDelayMs?: number | undefined;
512
+ maxDelayMs?: number | undefined;
513
+ backoffMultiplier?: number | undefined;
514
+ retriableErrors?: string[] | undefined;
515
+ } | undefined;
516
+ recovery?: {
517
+ checkpointInterval?: "package" | "batch" | undefined;
518
+ autoRetry?: boolean | undefined;
519
+ continueOnError?: boolean | undefined;
520
+ } | undefined;
521
+ monitoring?: {
522
+ showProgress?: boolean | undefined;
523
+ showMetrics?: boolean | undefined;
524
+ logLevel?: "verbose" | "minimal" | "normal" | undefined;
525
+ } | undefined;
526
+ markCompleted?: string[] | undefined;
527
+ skipPackages?: string[] | undefined;
528
+ retryFailed?: boolean | undefined;
529
+ skipFailed?: boolean | undefined;
530
+ resetPackage?: string | undefined;
531
+ statusParallel?: boolean | undefined;
532
+ auditBranches?: boolean | undefined;
533
+ validateState?: boolean | undefined;
534
+ }, {
535
+ status?: boolean | undefined;
536
+ packageArgument?: string | undefined;
537
+ externals?: string[] | undefined;
538
+ cleanNodeModules?: boolean | undefined;
539
+ directories?: string[] | undefined;
540
+ exclude?: string[] | undefined;
541
+ startFrom?: string | undefined;
542
+ stopAt?: string | undefined;
543
+ cmd?: string | undefined;
544
+ builtInCommand?: string | undefined;
545
+ continue?: boolean | undefined;
546
+ promote?: string | undefined;
547
+ parallel?: boolean | undefined;
548
+ maxConcurrency?: number | undefined;
549
+ retry?: {
550
+ maxAttempts?: number | undefined;
551
+ initialDelayMs?: number | undefined;
552
+ maxDelayMs?: number | undefined;
553
+ backoffMultiplier?: number | undefined;
554
+ retriableErrors?: string[] | undefined;
555
+ } | undefined;
556
+ recovery?: {
557
+ checkpointInterval?: "package" | "batch" | undefined;
558
+ autoRetry?: boolean | undefined;
559
+ continueOnError?: boolean | undefined;
560
+ } | undefined;
561
+ monitoring?: {
562
+ showProgress?: boolean | undefined;
563
+ showMetrics?: boolean | undefined;
564
+ logLevel?: "verbose" | "minimal" | "normal" | undefined;
565
+ } | undefined;
566
+ markCompleted?: string[] | undefined;
567
+ skipPackages?: string[] | undefined;
568
+ retryFailed?: boolean | undefined;
569
+ skipFailed?: boolean | undefined;
570
+ resetPackage?: string | undefined;
571
+ statusParallel?: boolean | undefined;
572
+ auditBranches?: boolean | undefined;
573
+ validateState?: boolean | undefined;
574
+ }>>;
575
+ development: z.ZodOptional<z.ZodObject<{
576
+ targetVersion: z.ZodOptional<z.ZodString>;
577
+ noMilestones: z.ZodOptional<z.ZodBoolean>;
578
+ tagWorkingBranch: z.ZodOptional<z.ZodBoolean>;
579
+ createRetroactiveTags: z.ZodOptional<z.ZodBoolean>;
580
+ workingTagPrefix: z.ZodOptional<z.ZodString>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ noMilestones?: boolean | undefined;
583
+ targetVersion?: string | undefined;
584
+ tagWorkingBranch?: boolean | undefined;
585
+ createRetroactiveTags?: boolean | undefined;
586
+ workingTagPrefix?: string | undefined;
587
+ }, {
588
+ noMilestones?: boolean | undefined;
589
+ targetVersion?: string | undefined;
590
+ tagWorkingBranch?: boolean | undefined;
591
+ createRetroactiveTags?: boolean | undefined;
592
+ workingTagPrefix?: string | undefined;
593
+ }>>;
594
+ versions: z.ZodOptional<z.ZodObject<{
595
+ subcommand: z.ZodOptional<z.ZodString>;
596
+ directories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
597
+ }, "strip", z.ZodTypeAny, {
598
+ directories?: string[] | undefined;
599
+ subcommand?: string | undefined;
600
+ }, {
601
+ directories?: string[] | undefined;
602
+ subcommand?: string | undefined;
603
+ }>>;
604
+ updates: z.ZodOptional<z.ZodObject<{
605
+ scope: z.ZodOptional<z.ZodString>;
606
+ directories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
607
+ interProject: z.ZodOptional<z.ZodBoolean>;
608
+ }, "strip", z.ZodTypeAny, {
609
+ directories?: string[] | undefined;
610
+ scope?: string | undefined;
611
+ interProject?: boolean | undefined;
612
+ }, {
613
+ directories?: string[] | undefined;
614
+ scope?: string | undefined;
615
+ interProject?: boolean | undefined;
616
+ }>>;
617
+ excludedPatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
618
+ traits: z.ZodOptional<z.ZodAny>;
619
+ stopContext: z.ZodOptional<z.ZodObject<{
620
+ enabled: z.ZodOptional<z.ZodBoolean>;
621
+ strings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
622
+ patterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
623
+ regex: z.ZodString;
624
+ flags: z.ZodOptional<z.ZodString>;
625
+ description: z.ZodOptional<z.ZodString>;
626
+ }, "strip", z.ZodTypeAny, {
627
+ regex: string;
628
+ flags?: string | undefined;
629
+ description?: string | undefined;
630
+ }, {
631
+ regex: string;
632
+ flags?: string | undefined;
633
+ description?: string | undefined;
634
+ }>, "many">>;
635
+ caseSensitive: z.ZodOptional<z.ZodBoolean>;
636
+ replacement: z.ZodOptional<z.ZodString>;
637
+ warnOnFilter: z.ZodOptional<z.ZodBoolean>;
638
+ }, "strip", z.ZodTypeAny, {
639
+ enabled?: boolean | undefined;
640
+ strings?: string[] | undefined;
641
+ patterns?: {
642
+ regex: string;
643
+ flags?: string | undefined;
644
+ description?: string | undefined;
645
+ }[] | undefined;
646
+ caseSensitive?: boolean | undefined;
647
+ replacement?: string | undefined;
648
+ warnOnFilter?: boolean | undefined;
649
+ }, {
650
+ enabled?: boolean | undefined;
651
+ strings?: string[] | undefined;
652
+ patterns?: {
653
+ regex: string;
654
+ flags?: string | undefined;
655
+ description?: string | undefined;
656
+ }[] | undefined;
657
+ caseSensitive?: boolean | undefined;
658
+ replacement?: string | undefined;
659
+ warnOnFilter?: boolean | undefined;
660
+ }>>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ dryRun?: boolean | undefined;
663
+ verbose?: boolean | undefined;
664
+ debug?: boolean | undefined;
665
+ overrides?: boolean | undefined;
666
+ model?: string | undefined;
667
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
668
+ openaiMaxOutputTokens?: number | undefined;
669
+ contextDirectories?: string[] | undefined;
670
+ outputDirectory?: string | undefined;
671
+ preferencesDirectory?: string | undefined;
672
+ commit?: {
673
+ model?: string | undefined;
674
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
675
+ openaiMaxOutputTokens?: number | undefined;
676
+ push?: string | boolean | undefined;
677
+ add?: boolean | undefined;
678
+ cached?: boolean | undefined;
679
+ sendit?: boolean | undefined;
680
+ interactive?: boolean | undefined;
681
+ amend?: boolean | undefined;
682
+ messageLimit?: number | undefined;
683
+ context?: string | undefined;
684
+ contextFiles?: string[] | undefined;
685
+ direction?: string | undefined;
686
+ skipFileCheck?: boolean | undefined;
687
+ maxDiffBytes?: number | undefined;
688
+ maxAgenticIterations?: number | undefined;
689
+ allowCommitSplitting?: boolean | undefined;
690
+ autoSplit?: boolean | undefined;
691
+ toolTimeout?: number | undefined;
692
+ selfReflection?: boolean | undefined;
693
+ } | undefined;
694
+ audioCommit?: {
695
+ model?: string | undefined;
696
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
697
+ openaiMaxOutputTokens?: number | undefined;
698
+ maxRecordingTime?: number | undefined;
699
+ audioDevice?: string | undefined;
700
+ file?: string | undefined;
701
+ keepTemp?: boolean | undefined;
702
+ } | undefined;
703
+ release?: {
704
+ model?: string | undefined;
705
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
706
+ openaiMaxOutputTokens?: number | undefined;
707
+ interactive?: boolean | undefined;
708
+ messageLimit?: number | undefined;
709
+ context?: string | undefined;
710
+ contextFiles?: string[] | undefined;
711
+ maxDiffBytes?: number | undefined;
712
+ maxAgenticIterations?: number | undefined;
713
+ selfReflection?: boolean | undefined;
714
+ from?: string | undefined;
715
+ to?: string | undefined;
716
+ focus?: string | undefined;
717
+ noMilestones?: boolean | undefined;
718
+ fromMain?: boolean | undefined;
719
+ currentBranch?: string | undefined;
720
+ } | undefined;
721
+ review?: {
722
+ model?: string | undefined;
723
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
724
+ openaiMaxOutputTokens?: number | undefined;
725
+ sendit?: boolean | undefined;
726
+ context?: string | undefined;
727
+ file?: string | undefined;
728
+ includeCommitHistory?: boolean | undefined;
729
+ includeRecentDiffs?: boolean | undefined;
730
+ includeReleaseNotes?: boolean | undefined;
731
+ includeGithubIssues?: boolean | undefined;
732
+ commitHistoryLimit?: number | undefined;
733
+ diffHistoryLimit?: number | undefined;
734
+ releaseNotesLimit?: number | undefined;
735
+ githubIssuesLimit?: number | undefined;
736
+ note?: string | undefined;
737
+ editorTimeout?: number | undefined;
738
+ maxContextErrors?: number | undefined;
739
+ directory?: string | undefined;
740
+ } | undefined;
741
+ audioReview?: {
742
+ model?: string | undefined;
743
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
744
+ openaiMaxOutputTokens?: number | undefined;
745
+ sendit?: boolean | undefined;
746
+ context?: string | undefined;
747
+ maxRecordingTime?: number | undefined;
748
+ audioDevice?: string | undefined;
749
+ file?: string | undefined;
750
+ keepTemp?: boolean | undefined;
751
+ includeCommitHistory?: boolean | undefined;
752
+ includeRecentDiffs?: boolean | undefined;
753
+ includeReleaseNotes?: boolean | undefined;
754
+ includeGithubIssues?: boolean | undefined;
755
+ commitHistoryLimit?: number | undefined;
756
+ diffHistoryLimit?: number | undefined;
757
+ releaseNotesLimit?: number | undefined;
758
+ githubIssuesLimit?: number | undefined;
759
+ directory?: string | undefined;
760
+ } | undefined;
761
+ publish?: {
762
+ sendit?: boolean | undefined;
763
+ interactive?: boolean | undefined;
764
+ from?: string | undefined;
765
+ noMilestones?: boolean | undefined;
766
+ fromMain?: boolean | undefined;
767
+ mergeMethod?: "merge" | "squash" | "rebase" | undefined;
768
+ targetVersion?: string | undefined;
769
+ skipAlreadyPublished?: boolean | undefined;
770
+ forceRepublish?: boolean | undefined;
771
+ dependencyUpdatePatterns?: string[] | undefined;
772
+ scopedDependencyUpdates?: string[] | undefined;
773
+ requiredEnvVars?: string[] | undefined;
774
+ linkWorkspacePackages?: boolean | undefined;
775
+ unlinkWorkspacePackages?: boolean | undefined;
776
+ checksTimeout?: number | undefined;
777
+ skipUserConfirmation?: boolean | undefined;
778
+ syncTarget?: boolean | undefined;
779
+ waitForReleaseWorkflows?: boolean | undefined;
780
+ releaseWorkflowsTimeout?: number | undefined;
781
+ releaseWorkflowNames?: string[] | undefined;
782
+ targetBranch?: string | undefined;
783
+ skipPrePublishMerge?: boolean | undefined;
784
+ updateDeps?: string | undefined;
785
+ agenticPublish?: boolean | undefined;
786
+ agenticPublishMaxIterations?: number | undefined;
787
+ } | undefined;
788
+ branches?: Record<string, {
789
+ targetBranch?: string | undefined;
790
+ developmentBranch?: boolean | undefined;
791
+ version?: {
792
+ type: "release" | "prerelease";
793
+ increment?: boolean | undefined;
794
+ incrementLevel?: "patch" | "minor" | "major" | undefined;
795
+ tag?: string | undefined;
796
+ } | undefined;
797
+ }> | undefined;
798
+ link?: {
799
+ dryRun?: boolean | undefined;
800
+ scopeRoots?: Record<string, string> | undefined;
801
+ packageArgument?: string | undefined;
802
+ externals?: string[] | undefined;
803
+ } | undefined;
804
+ unlink?: {
805
+ dryRun?: boolean | undefined;
806
+ scopeRoots?: Record<string, string> | undefined;
807
+ packageArgument?: string | undefined;
808
+ externals?: string[] | undefined;
809
+ workspaceFile?: string | undefined;
810
+ cleanNodeModules?: boolean | undefined;
811
+ } | undefined;
812
+ tree?: {
813
+ status?: boolean | undefined;
814
+ packageArgument?: string | undefined;
815
+ externals?: string[] | undefined;
816
+ cleanNodeModules?: boolean | undefined;
817
+ directories?: string[] | undefined;
818
+ exclude?: string[] | undefined;
819
+ startFrom?: string | undefined;
820
+ stopAt?: string | undefined;
821
+ cmd?: string | undefined;
822
+ builtInCommand?: string | undefined;
823
+ continue?: boolean | undefined;
824
+ promote?: string | undefined;
825
+ parallel?: boolean | undefined;
826
+ maxConcurrency?: number | undefined;
827
+ retry?: {
828
+ maxAttempts?: number | undefined;
829
+ initialDelayMs?: number | undefined;
830
+ maxDelayMs?: number | undefined;
831
+ backoffMultiplier?: number | undefined;
832
+ retriableErrors?: string[] | undefined;
833
+ } | undefined;
834
+ recovery?: {
835
+ checkpointInterval?: "package" | "batch" | undefined;
836
+ autoRetry?: boolean | undefined;
837
+ continueOnError?: boolean | undefined;
838
+ } | undefined;
839
+ monitoring?: {
840
+ showProgress?: boolean | undefined;
841
+ showMetrics?: boolean | undefined;
842
+ logLevel?: "verbose" | "minimal" | "normal" | undefined;
843
+ } | undefined;
844
+ markCompleted?: string[] | undefined;
845
+ skipPackages?: string[] | undefined;
846
+ retryFailed?: boolean | undefined;
847
+ skipFailed?: boolean | undefined;
848
+ resetPackage?: string | undefined;
849
+ statusParallel?: boolean | undefined;
850
+ auditBranches?: boolean | undefined;
851
+ validateState?: boolean | undefined;
852
+ } | undefined;
853
+ development?: {
854
+ noMilestones?: boolean | undefined;
855
+ targetVersion?: string | undefined;
856
+ tagWorkingBranch?: boolean | undefined;
857
+ createRetroactiveTags?: boolean | undefined;
858
+ workingTagPrefix?: string | undefined;
859
+ } | undefined;
860
+ versions?: {
861
+ directories?: string[] | undefined;
862
+ subcommand?: string | undefined;
863
+ } | undefined;
864
+ updates?: {
865
+ directories?: string[] | undefined;
866
+ scope?: string | undefined;
867
+ interProject?: boolean | undefined;
868
+ } | undefined;
869
+ excludedPatterns?: string[] | undefined;
870
+ traits?: any;
871
+ stopContext?: {
872
+ enabled?: boolean | undefined;
873
+ strings?: string[] | undefined;
874
+ patterns?: {
875
+ regex: string;
876
+ flags?: string | undefined;
877
+ description?: string | undefined;
878
+ }[] | undefined;
879
+ caseSensitive?: boolean | undefined;
880
+ replacement?: string | undefined;
881
+ warnOnFilter?: boolean | undefined;
882
+ } | undefined;
883
+ }, {
884
+ dryRun?: boolean | undefined;
885
+ verbose?: boolean | undefined;
886
+ debug?: boolean | undefined;
887
+ overrides?: boolean | undefined;
888
+ model?: string | undefined;
889
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
890
+ openaiMaxOutputTokens?: number | undefined;
891
+ contextDirectories?: string[] | undefined;
892
+ outputDirectory?: string | undefined;
893
+ preferencesDirectory?: string | undefined;
894
+ commit?: {
895
+ model?: string | undefined;
896
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
897
+ openaiMaxOutputTokens?: number | undefined;
898
+ push?: string | boolean | undefined;
899
+ add?: boolean | undefined;
900
+ cached?: boolean | undefined;
901
+ sendit?: boolean | undefined;
902
+ interactive?: boolean | undefined;
903
+ amend?: boolean | undefined;
904
+ messageLimit?: number | undefined;
905
+ context?: string | undefined;
906
+ contextFiles?: string[] | undefined;
907
+ direction?: string | undefined;
908
+ skipFileCheck?: boolean | undefined;
909
+ maxDiffBytes?: number | undefined;
910
+ maxAgenticIterations?: number | undefined;
911
+ allowCommitSplitting?: boolean | undefined;
912
+ autoSplit?: boolean | undefined;
913
+ toolTimeout?: number | undefined;
914
+ selfReflection?: boolean | undefined;
915
+ } | undefined;
916
+ audioCommit?: {
917
+ model?: string | undefined;
918
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
919
+ openaiMaxOutputTokens?: number | undefined;
920
+ maxRecordingTime?: number | undefined;
921
+ audioDevice?: string | undefined;
922
+ file?: string | undefined;
923
+ keepTemp?: boolean | undefined;
924
+ } | undefined;
925
+ release?: {
926
+ model?: string | undefined;
927
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
928
+ openaiMaxOutputTokens?: number | undefined;
929
+ interactive?: boolean | undefined;
930
+ messageLimit?: number | undefined;
931
+ context?: string | undefined;
932
+ contextFiles?: string[] | undefined;
933
+ maxDiffBytes?: number | undefined;
934
+ maxAgenticIterations?: number | undefined;
935
+ selfReflection?: boolean | undefined;
936
+ from?: string | undefined;
937
+ to?: string | undefined;
938
+ focus?: string | undefined;
939
+ noMilestones?: boolean | undefined;
940
+ fromMain?: boolean | undefined;
941
+ currentBranch?: string | undefined;
942
+ } | undefined;
943
+ review?: {
944
+ model?: string | undefined;
945
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
946
+ openaiMaxOutputTokens?: number | undefined;
947
+ sendit?: boolean | undefined;
948
+ context?: string | undefined;
949
+ file?: string | undefined;
950
+ includeCommitHistory?: boolean | undefined;
951
+ includeRecentDiffs?: boolean | undefined;
952
+ includeReleaseNotes?: boolean | undefined;
953
+ includeGithubIssues?: boolean | undefined;
954
+ commitHistoryLimit?: number | undefined;
955
+ diffHistoryLimit?: number | undefined;
956
+ releaseNotesLimit?: number | undefined;
957
+ githubIssuesLimit?: number | undefined;
958
+ note?: string | undefined;
959
+ editorTimeout?: number | undefined;
960
+ maxContextErrors?: number | undefined;
961
+ directory?: string | undefined;
962
+ } | undefined;
963
+ audioReview?: {
964
+ model?: string | undefined;
965
+ openaiReasoning?: "low" | "medium" | "high" | undefined;
966
+ openaiMaxOutputTokens?: number | undefined;
967
+ sendit?: boolean | undefined;
968
+ context?: string | undefined;
969
+ maxRecordingTime?: number | undefined;
970
+ audioDevice?: string | undefined;
971
+ file?: string | undefined;
972
+ keepTemp?: boolean | undefined;
973
+ includeCommitHistory?: boolean | undefined;
974
+ includeRecentDiffs?: boolean | undefined;
975
+ includeReleaseNotes?: boolean | undefined;
976
+ includeGithubIssues?: boolean | undefined;
977
+ commitHistoryLimit?: number | undefined;
978
+ diffHistoryLimit?: number | undefined;
979
+ releaseNotesLimit?: number | undefined;
980
+ githubIssuesLimit?: number | undefined;
981
+ directory?: string | undefined;
982
+ } | undefined;
983
+ publish?: {
984
+ sendit?: boolean | undefined;
985
+ interactive?: boolean | undefined;
986
+ from?: string | undefined;
987
+ noMilestones?: boolean | undefined;
988
+ fromMain?: boolean | undefined;
989
+ mergeMethod?: "merge" | "squash" | "rebase" | undefined;
990
+ targetVersion?: string | undefined;
991
+ skipAlreadyPublished?: boolean | undefined;
992
+ forceRepublish?: boolean | undefined;
993
+ dependencyUpdatePatterns?: string[] | undefined;
994
+ scopedDependencyUpdates?: string[] | undefined;
995
+ requiredEnvVars?: string[] | undefined;
996
+ linkWorkspacePackages?: boolean | undefined;
997
+ unlinkWorkspacePackages?: boolean | undefined;
998
+ checksTimeout?: number | undefined;
999
+ skipUserConfirmation?: boolean | undefined;
1000
+ syncTarget?: boolean | undefined;
1001
+ waitForReleaseWorkflows?: boolean | undefined;
1002
+ releaseWorkflowsTimeout?: number | undefined;
1003
+ releaseWorkflowNames?: string[] | undefined;
1004
+ targetBranch?: string | undefined;
1005
+ skipPrePublishMerge?: boolean | undefined;
1006
+ updateDeps?: string | undefined;
1007
+ agenticPublish?: boolean | undefined;
1008
+ agenticPublishMaxIterations?: number | undefined;
1009
+ } | undefined;
1010
+ branches?: Record<string, {
1011
+ targetBranch?: string | undefined;
1012
+ developmentBranch?: boolean | undefined;
1013
+ version?: {
1014
+ type: "release" | "prerelease";
1015
+ increment?: boolean | undefined;
1016
+ incrementLevel?: "patch" | "minor" | "major" | undefined;
1017
+ tag?: string | undefined;
1018
+ } | undefined;
1019
+ }> | undefined;
1020
+ link?: {
1021
+ dryRun?: boolean | undefined;
1022
+ scopeRoots?: Record<string, string> | undefined;
1023
+ packageArgument?: string | undefined;
1024
+ externals?: string[] | undefined;
1025
+ } | undefined;
1026
+ unlink?: {
1027
+ dryRun?: boolean | undefined;
1028
+ scopeRoots?: Record<string, string> | undefined;
1029
+ packageArgument?: string | undefined;
1030
+ externals?: string[] | undefined;
1031
+ workspaceFile?: string | undefined;
1032
+ cleanNodeModules?: boolean | undefined;
1033
+ } | undefined;
1034
+ tree?: {
1035
+ status?: boolean | undefined;
1036
+ packageArgument?: string | undefined;
1037
+ externals?: string[] | undefined;
1038
+ cleanNodeModules?: boolean | undefined;
1039
+ directories?: string[] | undefined;
1040
+ exclude?: string[] | undefined;
1041
+ startFrom?: string | undefined;
1042
+ stopAt?: string | undefined;
1043
+ cmd?: string | undefined;
1044
+ builtInCommand?: string | undefined;
1045
+ continue?: boolean | undefined;
1046
+ promote?: string | undefined;
1047
+ parallel?: boolean | undefined;
1048
+ maxConcurrency?: number | undefined;
1049
+ retry?: {
1050
+ maxAttempts?: number | undefined;
1051
+ initialDelayMs?: number | undefined;
1052
+ maxDelayMs?: number | undefined;
1053
+ backoffMultiplier?: number | undefined;
1054
+ retriableErrors?: string[] | undefined;
1055
+ } | undefined;
1056
+ recovery?: {
1057
+ checkpointInterval?: "package" | "batch" | undefined;
1058
+ autoRetry?: boolean | undefined;
1059
+ continueOnError?: boolean | undefined;
1060
+ } | undefined;
1061
+ monitoring?: {
1062
+ showProgress?: boolean | undefined;
1063
+ showMetrics?: boolean | undefined;
1064
+ logLevel?: "verbose" | "minimal" | "normal" | undefined;
1065
+ } | undefined;
1066
+ markCompleted?: string[] | undefined;
1067
+ skipPackages?: string[] | undefined;
1068
+ retryFailed?: boolean | undefined;
1069
+ skipFailed?: boolean | undefined;
1070
+ resetPackage?: string | undefined;
1071
+ statusParallel?: boolean | undefined;
1072
+ auditBranches?: boolean | undefined;
1073
+ validateState?: boolean | undefined;
1074
+ } | undefined;
1075
+ development?: {
1076
+ noMilestones?: boolean | undefined;
1077
+ targetVersion?: string | undefined;
1078
+ tagWorkingBranch?: boolean | undefined;
1079
+ createRetroactiveTags?: boolean | undefined;
1080
+ workingTagPrefix?: string | undefined;
1081
+ } | undefined;
1082
+ versions?: {
1083
+ directories?: string[] | undefined;
1084
+ subcommand?: string | undefined;
1085
+ } | undefined;
1086
+ updates?: {
1087
+ directories?: string[] | undefined;
1088
+ scope?: string | undefined;
1089
+ interProject?: boolean | undefined;
1090
+ } | undefined;
1091
+ excludedPatterns?: string[] | undefined;
1092
+ traits?: any;
1093
+ stopContext?: {
1094
+ enabled?: boolean | undefined;
1095
+ strings?: string[] | undefined;
1096
+ patterns?: {
1097
+ regex: string;
1098
+ flags?: string | undefined;
1099
+ description?: string | undefined;
1100
+ }[] | undefined;
1101
+ caseSensitive?: boolean | undefined;
1102
+ replacement?: string | undefined;
1103
+ warnOnFilter?: boolean | undefined;
1104
+ } | undefined;
1105
+ }>;
1106
+ export declare const SecureConfigSchema: z.ZodObject<{
1107
+ openaiApiKey: z.ZodOptional<z.ZodString>;
1108
+ }, "strip", z.ZodTypeAny, {
1109
+ openaiApiKey?: string | undefined;
1110
+ }, {
1111
+ openaiApiKey?: string | undefined;
1112
+ }>;
1113
+ export declare const CommandConfigSchema: z.ZodObject<{
1114
+ commandName: z.ZodOptional<z.ZodString>;
1115
+ }, "strip", z.ZodTypeAny, {
1116
+ commandName?: string | undefined;
1117
+ }, {
1118
+ commandName?: string | undefined;
1119
+ }>;
1120
+ export type Config = z.infer<typeof ConfigSchema> & Cardigantime.Config & {
1121
+ discoveredConfigDirs?: string[];
1122
+ };
1123
+ export type SecureConfig = z.infer<typeof SecureConfigSchema>;
1124
+ export type CommandConfig = z.infer<typeof CommandConfigSchema>;
1125
+ export type MergeMethod = 'merge' | 'squash' | 'rebase';
1126
+ export interface PullRequest {
1127
+ html_url: string;
1128
+ number: number;
1129
+ labels?: {
1130
+ name: string;
1131
+ }[];
1132
+ }
1133
+ export type ReleaseSummary = {
1134
+ title: string;
1135
+ body: string;
1136
+ };
1137
+ export type ReleaseConfig = {
1138
+ from?: string;
1139
+ to?: string;
1140
+ context?: string;
1141
+ contextFiles?: string[];
1142
+ interactive?: boolean;
1143
+ focus?: string;
1144
+ messageLimit?: number;
1145
+ maxDiffBytes?: number;
1146
+ model?: string;
1147
+ openaiReasoning?: 'low' | 'medium' | 'high';
1148
+ openaiMaxOutputTokens?: number;
1149
+ currentBranch?: string;
1150
+ maxAgenticIterations?: number;
1151
+ selfReflection?: boolean;
1152
+ };
1153
+ export type ReviewConfig = {
1154
+ includeCommitHistory?: boolean;
1155
+ includeRecentDiffs?: boolean;
1156
+ includeReleaseNotes?: boolean;
1157
+ includeGithubIssues?: boolean;
1158
+ commitHistoryLimit?: number;
1159
+ diffHistoryLimit?: number;
1160
+ releaseNotesLimit?: number;
1161
+ githubIssuesLimit?: number;
1162
+ context?: string;
1163
+ sendit?: boolean;
1164
+ note?: string;
1165
+ editorTimeout?: number;
1166
+ maxContextErrors?: number;
1167
+ model?: string;
1168
+ openaiReasoning?: 'low' | 'medium' | 'high';
1169
+ openaiMaxOutputTokens?: number;
1170
+ };
1171
+ export type AudioReviewConfig = {
1172
+ includeCommitHistory?: boolean;
1173
+ includeRecentDiffs?: boolean;
1174
+ includeReleaseNotes?: boolean;
1175
+ includeGithubIssues?: boolean;
1176
+ commitHistoryLimit?: number;
1177
+ diffHistoryLimit?: number;
1178
+ releaseNotesLimit?: number;
1179
+ githubIssuesLimit?: number;
1180
+ context?: string;
1181
+ sendit?: boolean;
1182
+ maxRecordingTime?: number;
1183
+ audioDevice?: string;
1184
+ file?: string;
1185
+ directory?: string;
1186
+ keepTemp?: boolean;
1187
+ model?: string;
1188
+ openaiReasoning?: 'low' | 'medium' | 'high';
1189
+ openaiMaxOutputTokens?: number;
1190
+ };
1191
+ export type CommitConfig = {
1192
+ add?: boolean;
1193
+ cached?: boolean;
1194
+ sendit?: boolean;
1195
+ interactive?: boolean;
1196
+ amend?: boolean;
1197
+ push?: string | boolean;
1198
+ messageLimit?: number;
1199
+ context?: string;
1200
+ contextFiles?: string[];
1201
+ direction?: string;
1202
+ skipFileCheck?: boolean;
1203
+ maxDiffBytes?: number;
1204
+ model?: string;
1205
+ openaiReasoning?: 'low' | 'medium' | 'high';
1206
+ openaiMaxOutputTokens?: number;
1207
+ maxAgenticIterations?: number;
1208
+ allowCommitSplitting?: boolean;
1209
+ autoSplit?: boolean;
1210
+ toolTimeout?: number;
1211
+ selfReflection?: boolean;
1212
+ };
1213
+ export type AudioCommitConfig = {
1214
+ maxRecordingTime?: number;
1215
+ audioDevice?: string;
1216
+ file?: string;
1217
+ keepTemp?: boolean;
1218
+ model?: string;
1219
+ openaiReasoning?: 'low' | 'medium' | 'high';
1220
+ openaiMaxOutputTokens?: number;
1221
+ };
1222
+ export type LinkConfig = {
1223
+ scopeRoots?: Record<string, string>;
1224
+ dryRun?: boolean;
1225
+ packageArgument?: string;
1226
+ externalLinkPatterns?: string[];
1227
+ };
1228
+ export type UnlinkConfig = {
1229
+ scopeRoots?: Record<string, string>;
1230
+ workspaceFile?: string;
1231
+ dryRun?: boolean;
1232
+ cleanNodeModules?: boolean;
1233
+ packageArgument?: string;
1234
+ };
1235
+ export type PublishConfig = {
1236
+ mergeMethod?: 'merge' | 'squash' | 'rebase';
1237
+ from?: string;
1238
+ targetVersion?: string;
1239
+ interactive?: boolean;
1240
+ skipAlreadyPublished?: boolean;
1241
+ forceRepublish?: boolean;
1242
+ syncTarget?: boolean;
1243
+ dependencyUpdatePatterns?: string[];
1244
+ scopedDependencyUpdates?: string[];
1245
+ requiredEnvVars?: string[];
1246
+ linkWorkspacePackages?: boolean;
1247
+ unlinkWorkspacePackages?: boolean;
1248
+ checksTimeout?: number;
1249
+ skipUserConfirmation?: boolean;
1250
+ sendit?: boolean;
1251
+ waitForReleaseWorkflows?: boolean;
1252
+ releaseWorkflowsTimeout?: number;
1253
+ releaseWorkflowNames?: string[];
1254
+ targetBranch?: string;
1255
+ noMilestones?: boolean;
1256
+ updateDeps?: string;
1257
+ agenticPublish?: boolean;
1258
+ agenticPublishMaxIterations?: number;
1259
+ };
1260
+ export type VersionTargetConfig = {
1261
+ type: 'release' | 'prerelease';
1262
+ increment?: boolean;
1263
+ tag?: string;
1264
+ };
1265
+ export type BranchTargetConfig = {
1266
+ targetBranch: string;
1267
+ developmentBranch?: boolean;
1268
+ version?: VersionTargetConfig;
1269
+ };
1270
+ export type TargetsConfig = Record<string, BranchTargetConfig>;
1271
+ export type TreeConfig = {
1272
+ directories?: string[];
1273
+ excludedPatterns?: string[];
1274
+ exclude?: string[];
1275
+ startFrom?: string;
1276
+ stopAt?: string;
1277
+ cmd?: string;
1278
+ builtInCommand?: string;
1279
+ continue?: boolean;
1280
+ status?: boolean;
1281
+ promote?: string;
1282
+ packageArgument?: string;
1283
+ cleanNodeModules?: boolean;
1284
+ externalLinkPatterns?: string[];
1285
+ externals?: string[];
1286
+ parallel?: boolean;
1287
+ maxConcurrency?: number;
1288
+ retry?: {
1289
+ maxAttempts: number;
1290
+ initialDelayMs: number;
1291
+ maxDelayMs: number;
1292
+ backoffMultiplier: number;
1293
+ retriableErrors?: string[];
1294
+ };
1295
+ recovery?: {
1296
+ checkpointInterval: 'package' | 'batch';
1297
+ autoRetry: boolean;
1298
+ continueOnError: boolean;
1299
+ };
1300
+ monitoring?: {
1301
+ showProgress: boolean;
1302
+ showMetrics: boolean;
1303
+ logLevel: 'minimal' | 'normal' | 'verbose';
1304
+ };
1305
+ markCompleted?: string[];
1306
+ skipPackages?: string[];
1307
+ retryFailed?: boolean;
1308
+ skipFailed?: boolean;
1309
+ resetPackage?: string;
1310
+ statusParallel?: boolean;
1311
+ auditBranches?: boolean;
1312
+ validateState?: boolean;
1313
+ };
1314
+ export type DevelopmentConfig = {
1315
+ targetVersion?: string;
1316
+ noMilestones?: boolean;
1317
+ tagWorkingBranch?: boolean;
1318
+ createRetroactiveTags?: boolean;
1319
+ workingTagPrefix?: string;
1320
+ };
1321
+ export type VersionsConfig = {
1322
+ subcommand?: string;
1323
+ directories?: string[];
1324
+ };
1325
+ export type UpdatesConfig = {
1326
+ scope?: string;
1327
+ directories?: string[];
1328
+ interProject?: boolean;
1329
+ };
1330
+ export type StopContextPattern = {
1331
+ regex: string;
1332
+ flags?: string;
1333
+ description?: string;
1334
+ };
1335
+ export type StopContextConfig = {
1336
+ enabled?: boolean;
1337
+ strings?: string[];
1338
+ patterns?: StopContextPattern[];
1339
+ caseSensitive?: boolean;
1340
+ replacement?: string;
1341
+ warnOnFilter?: boolean;
1342
+ };
1343
+ //# sourceMappingURL=types.d.ts.map