@kb-labs/release-manager-contracts 0.6.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.
@@ -0,0 +1,3321 @@
1
+ import { z } from 'zod';
2
+
3
+ /**
4
+ * Release Manager plugin contracts manifest
5
+ * Level 2: Contracts типизация с as const для извлечения типов
6
+ */
7
+ declare const pluginContractsManifest: {
8
+ readonly schema: "kb.plugin.contracts/1";
9
+ readonly pluginId: "@kb-labs/release-manager";
10
+ readonly contractsVersion: "1.0.0";
11
+ readonly artifacts: {
12
+ readonly 'release.plan.json': {
13
+ readonly id: "release.plan.json";
14
+ readonly kind: "json";
15
+ readonly description: "Serialized release plan generated by `kb release plan`.";
16
+ readonly pathPattern: ".kb/release/plan.json";
17
+ readonly mediaType: "application/json";
18
+ };
19
+ readonly 'release.report.json': {
20
+ readonly id: "release.report.json";
21
+ readonly kind: "json";
22
+ readonly description: "Execution report emitted by `kb release run`.";
23
+ readonly pathPattern: ".kb/release/report.json";
24
+ readonly mediaType: "application/json";
25
+ };
26
+ readonly 'release.changelog.md': {
27
+ readonly id: "release.changelog.md";
28
+ readonly kind: "markdown";
29
+ readonly description: "Workspace changelog output produced during release.";
30
+ readonly pathPattern: ".kb/release/changelog.md";
31
+ readonly mediaType: "text/markdown";
32
+ };
33
+ };
34
+ readonly commands: {
35
+ readonly 'release:plan': {
36
+ readonly id: "release:plan";
37
+ readonly description: "Analyze changes and prepare release plan";
38
+ readonly examples: ["kb release plan", "kb release plan --scope packages/*", "kb release plan --bump minor", "kb release plan --json"];
39
+ };
40
+ readonly 'release:run': {
41
+ readonly id: "release:run";
42
+ readonly description: "Execute release process (plan, check, publish)";
43
+ readonly examples: ["kb release run", "kb release run --scope packages/*", "kb release run --dry-run", "kb release run --strict"];
44
+ };
45
+ readonly 'release:rollback': {
46
+ readonly id: "release:rollback";
47
+ readonly description: "Rollback last release";
48
+ readonly examples: ["kb release rollback"];
49
+ };
50
+ readonly 'release:report': {
51
+ readonly id: "release:report";
52
+ readonly description: "Show release report";
53
+ readonly examples: ["kb release report"];
54
+ };
55
+ readonly 'release:changelog': {
56
+ readonly id: "release:changelog";
57
+ readonly description: "Generate changelog";
58
+ readonly examples: ["kb release changelog"];
59
+ };
60
+ readonly 'release:preview': {
61
+ readonly id: "release:preview";
62
+ readonly description: "Preview release plan without executing";
63
+ readonly examples: ["kb release preview", "kb release preview --scope packages/*"];
64
+ };
65
+ readonly 'release:verify': {
66
+ readonly id: "release:verify";
67
+ readonly description: "Verify release readiness (checks, tests, etc.)";
68
+ readonly examples: ["kb release verify", "kb release verify --scope packages/*"];
69
+ };
70
+ };
71
+ };
72
+ type PluginArtifactIds = keyof typeof pluginContractsManifest.artifacts;
73
+ type PluginCommandIds = keyof typeof pluginContractsManifest.commands;
74
+
75
+ declare const contractsSchemaId: "kb.plugin.contracts/1";
76
+ declare const contractsVersion: "1.0.0";
77
+
78
+ type ArtifactKind = 'file' | 'json' | 'markdown' | 'binary' | 'dir' | 'log' | 'text';
79
+ interface ArtifactExample {
80
+ summary?: string;
81
+ payload?: unknown;
82
+ }
83
+ interface PluginArtifactContract {
84
+ id: string;
85
+ kind: ArtifactKind;
86
+ description?: string;
87
+ pathPattern?: string;
88
+ mediaType?: string;
89
+ schemaRef?: string;
90
+ example?: ArtifactExample;
91
+ }
92
+ type ArtifactContractsMap = Record<string, PluginArtifactContract>;
93
+ interface SchemaReference {
94
+ ref: string;
95
+ format?: 'zod' | 'json-schema' | 'openapi';
96
+ description?: string;
97
+ }
98
+ interface CommandContract {
99
+ id: string;
100
+ description?: string;
101
+ input?: SchemaReference;
102
+ output?: SchemaReference;
103
+ produces?: string[];
104
+ consumes?: string[];
105
+ examples?: string[];
106
+ }
107
+ type CommandContractsMap = Record<string, CommandContract>;
108
+ interface PluginContracts {
109
+ schema: 'kb.plugin.contracts/1';
110
+ pluginId: string;
111
+ contractsVersion: string;
112
+ artifacts: ArtifactContractsMap;
113
+ commands?: CommandContractsMap;
114
+ workflows?: Record<string, unknown>;
115
+ api?: {
116
+ rest?: {
117
+ basePath: string;
118
+ routes: Record<string, {
119
+ id: string;
120
+ method: string;
121
+ path: string;
122
+ description?: string;
123
+ request?: SchemaReference;
124
+ response?: SchemaReference;
125
+ }>;
126
+ };
127
+ };
128
+ }
129
+
130
+ /**
131
+ * @module @kb-labs/release-manager-contracts/routes
132
+ * REST API route constants for release manager plugin
133
+ */
134
+ /**
135
+ * REST API base path for release manager plugin
136
+ */
137
+ declare const RELEASE_BASE_PATH: "/v1/plugins/release";
138
+ /**
139
+ * REST API route paths (relative to basePath)
140
+ *
141
+ * These are used in both:
142
+ * - manifest.rest.routes[].path (route definitions)
143
+ * - manifest.studio.widgets[].data.source.routeId (widget data sources)
144
+ * - manifest.studio.widgets[].actions[].endpoint.routeId (widget actions)
145
+ */
146
+ declare const RELEASE_ROUTES: {
147
+ /** GET /scopes - List available scopes (packages/repos) */
148
+ readonly SCOPES: "/scopes";
149
+ /** GET /status - Get current status */
150
+ readonly STATUS: "/status";
151
+ /** GET /plan - Get current release plan */
152
+ readonly PLAN: "/plan";
153
+ /** POST /generate - Generate new release plan */
154
+ readonly GENERATE: "/generate";
155
+ /** DELETE /plan - Delete current plan */
156
+ readonly RESET: "/plan";
157
+ /** GET /preview - Preview release plan without changes */
158
+ readonly PREVIEW: "/preview";
159
+ /** GET /verify - Validate release readiness */
160
+ readonly VERIFY: "/verify";
161
+ /** GET /changelog - Get current changelog */
162
+ readonly CHANGELOG: "/changelog";
163
+ /** POST /changelog/generate - Generate changelog using AI */
164
+ readonly CHANGELOG_GENERATE: "/changelog/generate";
165
+ /** POST /changelog/save - Save edited changelog */
166
+ readonly CHANGELOG_SAVE: "/changelog/save";
167
+ /** POST /run - Execute full release process */
168
+ readonly RUN: "/run";
169
+ /** POST /publish - Publish packages to npm */
170
+ readonly PUBLISH: "/publish";
171
+ /** POST /rollback - Rollback last release */
172
+ readonly ROLLBACK: "/rollback";
173
+ /** GET /report - Get latest release report */
174
+ readonly REPORT: "/report";
175
+ /** GET /history - List all releases (supports ?scope= filter) */
176
+ readonly HISTORY: "/history";
177
+ /** GET /history/:scope/:id/report - Get specific release report */
178
+ readonly HISTORY_REPORT: "/history/:scope/:id/report";
179
+ /** GET /history/:scope/:id/plan - Get specific release plan */
180
+ readonly HISTORY_PLAN: "/history/:scope/:id/plan";
181
+ /** GET /history/:scope/:id/changelog - Get specific release changelog */
182
+ readonly HISTORY_CHANGELOG: "/history/:scope/:id/changelog";
183
+ /** GET /git-timeline - Get git commit timeline and version preview */
184
+ readonly GIT_TIMELINE: "/git-timeline";
185
+ /** POST /build - Trigger package build */
186
+ readonly BUILD: "/build";
187
+ /** GET /checklist - Get unified release checklist status */
188
+ readonly CHECKLIST: "/checklist";
189
+ /** GET /checks - Get list of configured checks (without running them) */
190
+ readonly CHECKS: "/checks";
191
+ /** POST /checks/run - Run pre-release checks from kb.config.json */
192
+ readonly CHECKS_RUN: "/checks/run";
193
+ };
194
+ /**
195
+ * Full REST API URLs (basePath + route)
196
+ * Useful for testing and documentation
197
+ */
198
+ declare const RELEASE_FULL_ROUTES: {
199
+ readonly SCOPES: "/v1/plugins/release/scopes";
200
+ readonly STATUS: "/v1/plugins/release/status";
201
+ readonly PLAN: "/v1/plugins/release/plan";
202
+ readonly GENERATE: "/v1/plugins/release/generate";
203
+ readonly RESET: "/v1/plugins/release/plan";
204
+ readonly PREVIEW: "/v1/plugins/release/preview";
205
+ readonly VERIFY: "/v1/plugins/release/verify";
206
+ readonly CHANGELOG: "/v1/plugins/release/changelog";
207
+ readonly CHANGELOG_GENERATE: "/v1/plugins/release/changelog/generate";
208
+ readonly CHANGELOG_SAVE: "/v1/plugins/release/changelog/save";
209
+ readonly RUN: "/v1/plugins/release/run";
210
+ readonly PUBLISH: "/v1/plugins/release/publish";
211
+ readonly ROLLBACK: "/v1/plugins/release/rollback";
212
+ readonly REPORT: "/v1/plugins/release/report";
213
+ readonly HISTORY: "/v1/plugins/release/history";
214
+ readonly HISTORY_REPORT: "/v1/plugins/release/history/:scope/:id/report";
215
+ readonly HISTORY_PLAN: "/v1/plugins/release/history/:scope/:id/plan";
216
+ readonly HISTORY_CHANGELOG: "/v1/plugins/release/history/:scope/:id/changelog";
217
+ readonly GIT_TIMELINE: "/v1/plugins/release/git-timeline";
218
+ readonly BUILD: "/v1/plugins/release/build";
219
+ readonly CHECKLIST: "/v1/plugins/release/checklist";
220
+ readonly CHECKS: "/v1/plugins/release/checks";
221
+ readonly CHECKS_RUN: "/v1/plugins/release/checks/run";
222
+ };
223
+ /**
224
+ * Widget-friendly route IDs (without leading slash)
225
+ * Use these in manifest.studio.widgets[].data.source.routeId
226
+ */
227
+ declare const RELEASE_WIDGET_ROUTES: {
228
+ readonly SCOPES: "scopes";
229
+ readonly STATUS: "status";
230
+ readonly PLAN: "plan";
231
+ readonly GENERATE: "generate";
232
+ readonly RESET: "plan";
233
+ readonly PREVIEW: "preview";
234
+ readonly VERIFY: "verify";
235
+ readonly CHANGELOG: "changelog";
236
+ readonly CHANGELOG_GENERATE: "changelog/generate";
237
+ readonly CHANGELOG_SAVE: "changelog/save";
238
+ readonly RUN: "run";
239
+ readonly PUBLISH: "publish";
240
+ readonly ROLLBACK: "rollback";
241
+ readonly REPORT: "report";
242
+ readonly HISTORY: "history";
243
+ readonly HISTORY_REPORT: "history/:scope/:id/report";
244
+ readonly HISTORY_PLAN: "history/:scope/:id/plan";
245
+ readonly HISTORY_CHANGELOG: "history/:scope/:id/changelog";
246
+ readonly GIT_TIMELINE: "git-timeline";
247
+ readonly BUILD: "build";
248
+ readonly CHECKLIST: "checklist";
249
+ readonly CHECKS_RUN: "checks/run";
250
+ };
251
+ type ReleaseRoute = typeof RELEASE_ROUTES[keyof typeof RELEASE_ROUTES];
252
+ type ReleaseWidgetRoute = typeof RELEASE_WIDGET_ROUTES[keyof typeof RELEASE_WIDGET_ROUTES];
253
+
254
+ /**
255
+ * @module @kb-labs/release-manager-contracts/schema/rest
256
+ * Zod schemas for REST API validation
257
+ */
258
+
259
+ declare const ReleaseScopeInfoSchema: z.ZodObject<{
260
+ id: z.ZodString;
261
+ name: z.ZodString;
262
+ path: z.ZodString;
263
+ currentVersion: z.ZodOptional<z.ZodString>;
264
+ description: z.ZodOptional<z.ZodString>;
265
+ type: z.ZodEnum<["package", "monorepo", "root"]>;
266
+ }, "strip", z.ZodTypeAny, {
267
+ id: string;
268
+ name: string;
269
+ path: string;
270
+ type: "package" | "monorepo" | "root";
271
+ currentVersion?: string | undefined;
272
+ description?: string | undefined;
273
+ }, {
274
+ id: string;
275
+ name: string;
276
+ path: string;
277
+ type: "package" | "monorepo" | "root";
278
+ currentVersion?: string | undefined;
279
+ description?: string | undefined;
280
+ }>;
281
+ type ReleaseScopeInfo = z.infer<typeof ReleaseScopeInfoSchema>;
282
+ declare const ScopesResponseSchema: z.ZodObject<{
283
+ scopes: z.ZodArray<z.ZodObject<{
284
+ id: z.ZodString;
285
+ name: z.ZodString;
286
+ path: z.ZodString;
287
+ currentVersion: z.ZodOptional<z.ZodString>;
288
+ description: z.ZodOptional<z.ZodString>;
289
+ type: z.ZodEnum<["package", "monorepo", "root"]>;
290
+ }, "strip", z.ZodTypeAny, {
291
+ id: string;
292
+ name: string;
293
+ path: string;
294
+ type: "package" | "monorepo" | "root";
295
+ currentVersion?: string | undefined;
296
+ description?: string | undefined;
297
+ }, {
298
+ id: string;
299
+ name: string;
300
+ path: string;
301
+ type: "package" | "monorepo" | "root";
302
+ currentVersion?: string | undefined;
303
+ description?: string | undefined;
304
+ }>, "many">;
305
+ }, "strip", z.ZodTypeAny, {
306
+ scopes: {
307
+ id: string;
308
+ name: string;
309
+ path: string;
310
+ type: "package" | "monorepo" | "root";
311
+ currentVersion?: string | undefined;
312
+ description?: string | undefined;
313
+ }[];
314
+ }, {
315
+ scopes: {
316
+ id: string;
317
+ name: string;
318
+ path: string;
319
+ type: "package" | "monorepo" | "root";
320
+ currentVersion?: string | undefined;
321
+ description?: string | undefined;
322
+ }[];
323
+ }>;
324
+ type ScopesResponse = z.infer<typeof ScopesResponseSchema>;
325
+ declare const PlanStatusSchema: z.ZodEnum<["idle", "ready", "running", "completed", "failed"]>;
326
+ type PlanStatus = z.infer<typeof PlanStatusSchema>;
327
+ declare const StatusInputSchema: z.ZodObject<{
328
+ scope: z.ZodDefault<z.ZodString>;
329
+ }, "strip", z.ZodTypeAny, {
330
+ scope: string;
331
+ }, {
332
+ scope?: string | undefined;
333
+ }>;
334
+ type StatusInput = z.infer<typeof StatusInputSchema>;
335
+ declare const StatusResponseSchema: z.ZodObject<{
336
+ scope: z.ZodString;
337
+ scopeInfo: z.ZodOptional<z.ZodObject<{
338
+ id: z.ZodString;
339
+ name: z.ZodString;
340
+ path: z.ZodString;
341
+ currentVersion: z.ZodOptional<z.ZodString>;
342
+ description: z.ZodOptional<z.ZodString>;
343
+ type: z.ZodEnum<["package", "monorepo", "root"]>;
344
+ }, "strip", z.ZodTypeAny, {
345
+ id: string;
346
+ name: string;
347
+ path: string;
348
+ type: "package" | "monorepo" | "root";
349
+ currentVersion?: string | undefined;
350
+ description?: string | undefined;
351
+ }, {
352
+ id: string;
353
+ name: string;
354
+ path: string;
355
+ type: "package" | "monorepo" | "root";
356
+ currentVersion?: string | undefined;
357
+ description?: string | undefined;
358
+ }>>;
359
+ hasPlan: z.ZodBoolean;
360
+ hasReport: z.ZodBoolean;
361
+ hasChangelog: z.ZodBoolean;
362
+ planStatus: z.ZodEnum<["idle", "ready", "running", "completed", "failed"]>;
363
+ packagesInPlan: z.ZodNumber;
364
+ lastReleaseAt: z.ZodOptional<z.ZodString>;
365
+ }, "strip", z.ZodTypeAny, {
366
+ scope: string;
367
+ hasPlan: boolean;
368
+ hasReport: boolean;
369
+ hasChangelog: boolean;
370
+ planStatus: "idle" | "ready" | "running" | "completed" | "failed";
371
+ packagesInPlan: number;
372
+ scopeInfo?: {
373
+ id: string;
374
+ name: string;
375
+ path: string;
376
+ type: "package" | "monorepo" | "root";
377
+ currentVersion?: string | undefined;
378
+ description?: string | undefined;
379
+ } | undefined;
380
+ lastReleaseAt?: string | undefined;
381
+ }, {
382
+ scope: string;
383
+ hasPlan: boolean;
384
+ hasReport: boolean;
385
+ hasChangelog: boolean;
386
+ planStatus: "idle" | "ready" | "running" | "completed" | "failed";
387
+ packagesInPlan: number;
388
+ scopeInfo?: {
389
+ id: string;
390
+ name: string;
391
+ path: string;
392
+ type: "package" | "monorepo" | "root";
393
+ currentVersion?: string | undefined;
394
+ description?: string | undefined;
395
+ } | undefined;
396
+ lastReleaseAt?: string | undefined;
397
+ }>;
398
+ type StatusResponse = z.infer<typeof StatusResponseSchema>;
399
+ declare const VersionBumpSchema: z.ZodEnum<["patch", "minor", "major", "auto"]>;
400
+ type VersionBump = z.infer<typeof VersionBumpSchema>;
401
+ declare const PackageVersionSchema: z.ZodObject<{
402
+ name: z.ZodString;
403
+ path: z.ZodString;
404
+ currentVersion: z.ZodString;
405
+ nextVersion: z.ZodString;
406
+ bump: z.ZodEnum<["patch", "minor", "major", "auto"]>;
407
+ isPublished: z.ZodBoolean;
408
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
409
+ reason: z.ZodOptional<z.ZodString>;
410
+ }, "strip", z.ZodTypeAny, {
411
+ name: string;
412
+ path: string;
413
+ currentVersion: string;
414
+ nextVersion: string;
415
+ bump: "patch" | "minor" | "major" | "auto";
416
+ isPublished: boolean;
417
+ dependencies?: string[] | undefined;
418
+ reason?: string | undefined;
419
+ }, {
420
+ name: string;
421
+ path: string;
422
+ currentVersion: string;
423
+ nextVersion: string;
424
+ bump: "patch" | "minor" | "major" | "auto";
425
+ isPublished: boolean;
426
+ dependencies?: string[] | undefined;
427
+ reason?: string | undefined;
428
+ }>;
429
+ type PackageVersion = z.infer<typeof PackageVersionSchema>;
430
+ declare const ReleasePlanSchema: z.ZodObject<{
431
+ schemaVersion: z.ZodLiteral<"1.0">;
432
+ scope: z.ZodString;
433
+ packages: z.ZodArray<z.ZodObject<{
434
+ name: z.ZodString;
435
+ path: z.ZodString;
436
+ currentVersion: z.ZodString;
437
+ nextVersion: z.ZodString;
438
+ bump: z.ZodEnum<["patch", "minor", "major", "auto"]>;
439
+ isPublished: z.ZodBoolean;
440
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
441
+ reason: z.ZodOptional<z.ZodString>;
442
+ }, "strip", z.ZodTypeAny, {
443
+ name: string;
444
+ path: string;
445
+ currentVersion: string;
446
+ nextVersion: string;
447
+ bump: "patch" | "minor" | "major" | "auto";
448
+ isPublished: boolean;
449
+ dependencies?: string[] | undefined;
450
+ reason?: string | undefined;
451
+ }, {
452
+ name: string;
453
+ path: string;
454
+ currentVersion: string;
455
+ nextVersion: string;
456
+ bump: "patch" | "minor" | "major" | "auto";
457
+ isPublished: boolean;
458
+ dependencies?: string[] | undefined;
459
+ reason?: string | undefined;
460
+ }>, "many">;
461
+ strategy: z.ZodLiteral<"semver">;
462
+ registry: z.ZodString;
463
+ rollbackEnabled: z.ZodBoolean;
464
+ createdAt: z.ZodString;
465
+ }, "strip", z.ZodTypeAny, {
466
+ scope: string;
467
+ schemaVersion: "1.0";
468
+ packages: {
469
+ name: string;
470
+ path: string;
471
+ currentVersion: string;
472
+ nextVersion: string;
473
+ bump: "patch" | "minor" | "major" | "auto";
474
+ isPublished: boolean;
475
+ dependencies?: string[] | undefined;
476
+ reason?: string | undefined;
477
+ }[];
478
+ strategy: "semver";
479
+ registry: string;
480
+ rollbackEnabled: boolean;
481
+ createdAt: string;
482
+ }, {
483
+ scope: string;
484
+ schemaVersion: "1.0";
485
+ packages: {
486
+ name: string;
487
+ path: string;
488
+ currentVersion: string;
489
+ nextVersion: string;
490
+ bump: "patch" | "minor" | "major" | "auto";
491
+ isPublished: boolean;
492
+ dependencies?: string[] | undefined;
493
+ reason?: string | undefined;
494
+ }[];
495
+ strategy: "semver";
496
+ registry: string;
497
+ rollbackEnabled: boolean;
498
+ createdAt: string;
499
+ }>;
500
+ type ReleasePlan = z.infer<typeof ReleasePlanSchema>;
501
+ declare const PlanInputSchema: z.ZodObject<{
502
+ scope: z.ZodDefault<z.ZodString>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ scope: string;
505
+ }, {
506
+ scope?: string | undefined;
507
+ }>;
508
+ type PlanInput = z.infer<typeof PlanInputSchema>;
509
+ declare const PlanResponseSchema: z.ZodObject<{
510
+ hasPlan: z.ZodBoolean;
511
+ plan: z.ZodOptional<z.ZodObject<{
512
+ schemaVersion: z.ZodLiteral<"1.0">;
513
+ scope: z.ZodString;
514
+ packages: z.ZodArray<z.ZodObject<{
515
+ name: z.ZodString;
516
+ path: z.ZodString;
517
+ currentVersion: z.ZodString;
518
+ nextVersion: z.ZodString;
519
+ bump: z.ZodEnum<["patch", "minor", "major", "auto"]>;
520
+ isPublished: z.ZodBoolean;
521
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
522
+ reason: z.ZodOptional<z.ZodString>;
523
+ }, "strip", z.ZodTypeAny, {
524
+ name: string;
525
+ path: string;
526
+ currentVersion: string;
527
+ nextVersion: string;
528
+ bump: "patch" | "minor" | "major" | "auto";
529
+ isPublished: boolean;
530
+ dependencies?: string[] | undefined;
531
+ reason?: string | undefined;
532
+ }, {
533
+ name: string;
534
+ path: string;
535
+ currentVersion: string;
536
+ nextVersion: string;
537
+ bump: "patch" | "minor" | "major" | "auto";
538
+ isPublished: boolean;
539
+ dependencies?: string[] | undefined;
540
+ reason?: string | undefined;
541
+ }>, "many">;
542
+ strategy: z.ZodLiteral<"semver">;
543
+ registry: z.ZodString;
544
+ rollbackEnabled: z.ZodBoolean;
545
+ createdAt: z.ZodString;
546
+ }, "strip", z.ZodTypeAny, {
547
+ scope: string;
548
+ schemaVersion: "1.0";
549
+ packages: {
550
+ name: string;
551
+ path: string;
552
+ currentVersion: string;
553
+ nextVersion: string;
554
+ bump: "patch" | "minor" | "major" | "auto";
555
+ isPublished: boolean;
556
+ dependencies?: string[] | undefined;
557
+ reason?: string | undefined;
558
+ }[];
559
+ strategy: "semver";
560
+ registry: string;
561
+ rollbackEnabled: boolean;
562
+ createdAt: string;
563
+ }, {
564
+ scope: string;
565
+ schemaVersion: "1.0";
566
+ packages: {
567
+ name: string;
568
+ path: string;
569
+ currentVersion: string;
570
+ nextVersion: string;
571
+ bump: "patch" | "minor" | "major" | "auto";
572
+ isPublished: boolean;
573
+ dependencies?: string[] | undefined;
574
+ reason?: string | undefined;
575
+ }[];
576
+ strategy: "semver";
577
+ registry: string;
578
+ rollbackEnabled: boolean;
579
+ createdAt: string;
580
+ }>>;
581
+ scope: z.ZodString;
582
+ }, "strip", z.ZodTypeAny, {
583
+ scope: string;
584
+ hasPlan: boolean;
585
+ plan?: {
586
+ scope: string;
587
+ schemaVersion: "1.0";
588
+ packages: {
589
+ name: string;
590
+ path: string;
591
+ currentVersion: string;
592
+ nextVersion: string;
593
+ bump: "patch" | "minor" | "major" | "auto";
594
+ isPublished: boolean;
595
+ dependencies?: string[] | undefined;
596
+ reason?: string | undefined;
597
+ }[];
598
+ strategy: "semver";
599
+ registry: string;
600
+ rollbackEnabled: boolean;
601
+ createdAt: string;
602
+ } | undefined;
603
+ }, {
604
+ scope: string;
605
+ hasPlan: boolean;
606
+ plan?: {
607
+ scope: string;
608
+ schemaVersion: "1.0";
609
+ packages: {
610
+ name: string;
611
+ path: string;
612
+ currentVersion: string;
613
+ nextVersion: string;
614
+ bump: "patch" | "minor" | "major" | "auto";
615
+ isPublished: boolean;
616
+ dependencies?: string[] | undefined;
617
+ reason?: string | undefined;
618
+ }[];
619
+ strategy: "semver";
620
+ registry: string;
621
+ rollbackEnabled: boolean;
622
+ createdAt: string;
623
+ } | undefined;
624
+ }>;
625
+ type PlanResponse = z.infer<typeof PlanResponseSchema>;
626
+ declare const GeneratePlanRequestSchema: z.ZodObject<{
627
+ scope: z.ZodString;
628
+ scopePath: z.ZodOptional<z.ZodString>;
629
+ bump: z.ZodOptional<z.ZodEnum<["patch", "minor", "major", "auto"]>>;
630
+ strict: z.ZodOptional<z.ZodBoolean>;
631
+ useLLM: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
632
+ }, "strip", z.ZodTypeAny, {
633
+ scope: string;
634
+ useLLM: boolean;
635
+ bump?: "patch" | "minor" | "major" | "auto" | undefined;
636
+ scopePath?: string | undefined;
637
+ strict?: boolean | undefined;
638
+ }, {
639
+ scope: string;
640
+ bump?: "patch" | "minor" | "major" | "auto" | undefined;
641
+ scopePath?: string | undefined;
642
+ strict?: boolean | undefined;
643
+ useLLM?: boolean | undefined;
644
+ }>;
645
+ type GeneratePlanRequest = z.infer<typeof GeneratePlanRequestSchema>;
646
+ declare const GeneratePlanResponseSchema: z.ZodObject<{
647
+ plan: z.ZodObject<{
648
+ schemaVersion: z.ZodLiteral<"1.0">;
649
+ scope: z.ZodString;
650
+ packages: z.ZodArray<z.ZodObject<{
651
+ name: z.ZodString;
652
+ path: z.ZodString;
653
+ currentVersion: z.ZodString;
654
+ nextVersion: z.ZodString;
655
+ bump: z.ZodEnum<["patch", "minor", "major", "auto"]>;
656
+ isPublished: z.ZodBoolean;
657
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
658
+ reason: z.ZodOptional<z.ZodString>;
659
+ }, "strip", z.ZodTypeAny, {
660
+ name: string;
661
+ path: string;
662
+ currentVersion: string;
663
+ nextVersion: string;
664
+ bump: "patch" | "minor" | "major" | "auto";
665
+ isPublished: boolean;
666
+ dependencies?: string[] | undefined;
667
+ reason?: string | undefined;
668
+ }, {
669
+ name: string;
670
+ path: string;
671
+ currentVersion: string;
672
+ nextVersion: string;
673
+ bump: "patch" | "minor" | "major" | "auto";
674
+ isPublished: boolean;
675
+ dependencies?: string[] | undefined;
676
+ reason?: string | undefined;
677
+ }>, "many">;
678
+ strategy: z.ZodLiteral<"semver">;
679
+ registry: z.ZodString;
680
+ rollbackEnabled: z.ZodBoolean;
681
+ createdAt: z.ZodString;
682
+ }, "strip", z.ZodTypeAny, {
683
+ scope: string;
684
+ schemaVersion: "1.0";
685
+ packages: {
686
+ name: string;
687
+ path: string;
688
+ currentVersion: string;
689
+ nextVersion: string;
690
+ bump: "patch" | "minor" | "major" | "auto";
691
+ isPublished: boolean;
692
+ dependencies?: string[] | undefined;
693
+ reason?: string | undefined;
694
+ }[];
695
+ strategy: "semver";
696
+ registry: string;
697
+ rollbackEnabled: boolean;
698
+ createdAt: string;
699
+ }, {
700
+ scope: string;
701
+ schemaVersion: "1.0";
702
+ packages: {
703
+ name: string;
704
+ path: string;
705
+ currentVersion: string;
706
+ nextVersion: string;
707
+ bump: "patch" | "minor" | "major" | "auto";
708
+ isPublished: boolean;
709
+ dependencies?: string[] | undefined;
710
+ reason?: string | undefined;
711
+ }[];
712
+ strategy: "semver";
713
+ registry: string;
714
+ rollbackEnabled: boolean;
715
+ createdAt: string;
716
+ }>;
717
+ planPath: z.ZodString;
718
+ scope: z.ZodString;
719
+ tokensUsed: z.ZodOptional<z.ZodNumber>;
720
+ confidence: z.ZodOptional<z.ZodNumber>;
721
+ }, "strip", z.ZodTypeAny, {
722
+ plan: {
723
+ scope: string;
724
+ schemaVersion: "1.0";
725
+ packages: {
726
+ name: string;
727
+ path: string;
728
+ currentVersion: string;
729
+ nextVersion: string;
730
+ bump: "patch" | "minor" | "major" | "auto";
731
+ isPublished: boolean;
732
+ dependencies?: string[] | undefined;
733
+ reason?: string | undefined;
734
+ }[];
735
+ strategy: "semver";
736
+ registry: string;
737
+ rollbackEnabled: boolean;
738
+ createdAt: string;
739
+ };
740
+ scope: string;
741
+ planPath: string;
742
+ tokensUsed?: number | undefined;
743
+ confidence?: number | undefined;
744
+ }, {
745
+ plan: {
746
+ scope: string;
747
+ schemaVersion: "1.0";
748
+ packages: {
749
+ name: string;
750
+ path: string;
751
+ currentVersion: string;
752
+ nextVersion: string;
753
+ bump: "patch" | "minor" | "major" | "auto";
754
+ isPublished: boolean;
755
+ dependencies?: string[] | undefined;
756
+ reason?: string | undefined;
757
+ }[];
758
+ strategy: "semver";
759
+ registry: string;
760
+ rollbackEnabled: boolean;
761
+ createdAt: string;
762
+ };
763
+ scope: string;
764
+ planPath: string;
765
+ tokensUsed?: number | undefined;
766
+ confidence?: number | undefined;
767
+ }>;
768
+ type GeneratePlanResponse = z.infer<typeof GeneratePlanResponseSchema>;
769
+ declare const ResetPlanRequestSchema: z.ZodObject<{
770
+ scope: z.ZodDefault<z.ZodString>;
771
+ }, "strip", z.ZodTypeAny, {
772
+ scope: string;
773
+ }, {
774
+ scope?: string | undefined;
775
+ }>;
776
+ type ResetPlanRequest = z.infer<typeof ResetPlanRequestSchema>;
777
+ declare const ResetPlanResponseSchema: z.ZodObject<{
778
+ success: z.ZodBoolean;
779
+ scope: z.ZodString;
780
+ message: z.ZodString;
781
+ }, "strip", z.ZodTypeAny, {
782
+ message: string;
783
+ scope: string;
784
+ success: boolean;
785
+ }, {
786
+ message: string;
787
+ scope: string;
788
+ success: boolean;
789
+ }>;
790
+ type ResetPlanResponse = z.infer<typeof ResetPlanResponseSchema>;
791
+ declare const ChangelogInputSchema: z.ZodObject<{
792
+ scope: z.ZodDefault<z.ZodString>;
793
+ from: z.ZodOptional<z.ZodString>;
794
+ to: z.ZodOptional<z.ZodString>;
795
+ }, "strip", z.ZodTypeAny, {
796
+ scope: string;
797
+ from?: string | undefined;
798
+ to?: string | undefined;
799
+ }, {
800
+ scope?: string | undefined;
801
+ from?: string | undefined;
802
+ to?: string | undefined;
803
+ }>;
804
+ type ChangelogInput = z.infer<typeof ChangelogInputSchema>;
805
+ declare const ChangelogResponseSchema: z.ZodObject<{
806
+ scope: z.ZodString;
807
+ markdown: z.ZodOptional<z.ZodString>;
808
+ from: z.ZodOptional<z.ZodString>;
809
+ to: z.ZodOptional<z.ZodString>;
810
+ generatedAt: z.ZodOptional<z.ZodString>;
811
+ }, "strip", z.ZodTypeAny, {
812
+ scope: string;
813
+ markdown?: string | undefined;
814
+ from?: string | undefined;
815
+ to?: string | undefined;
816
+ generatedAt?: string | undefined;
817
+ }, {
818
+ scope: string;
819
+ markdown?: string | undefined;
820
+ from?: string | undefined;
821
+ to?: string | undefined;
822
+ generatedAt?: string | undefined;
823
+ }>;
824
+ type ChangelogResponse = z.infer<typeof ChangelogResponseSchema>;
825
+ declare const GenerateChangelogRequestSchema: z.ZodObject<{
826
+ scope: z.ZodString;
827
+ from: z.ZodOptional<z.ZodString>;
828
+ to: z.ZodOptional<z.ZodString>;
829
+ template: z.ZodOptional<z.ZodString>;
830
+ locale: z.ZodOptional<z.ZodEnum<["en", "ru"]>>;
831
+ useLLM: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
832
+ }, "strip", z.ZodTypeAny, {
833
+ scope: string;
834
+ useLLM: boolean;
835
+ from?: string | undefined;
836
+ to?: string | undefined;
837
+ template?: string | undefined;
838
+ locale?: "en" | "ru" | undefined;
839
+ }, {
840
+ scope: string;
841
+ useLLM?: boolean | undefined;
842
+ from?: string | undefined;
843
+ to?: string | undefined;
844
+ template?: string | undefined;
845
+ locale?: "en" | "ru" | undefined;
846
+ }>;
847
+ type GenerateChangelogRequest = z.infer<typeof GenerateChangelogRequestSchema>;
848
+ declare const GenerateChangelogResponseSchema: z.ZodObject<{
849
+ scope: z.ZodString;
850
+ markdown: z.ZodString;
851
+ changelogPath: z.ZodString;
852
+ tokensUsed: z.ZodOptional<z.ZodNumber>;
853
+ usedLLM: z.ZodOptional<z.ZodBoolean>;
854
+ commitsCount: z.ZodOptional<z.ZodNumber>;
855
+ }, "strip", z.ZodTypeAny, {
856
+ markdown: string;
857
+ scope: string;
858
+ changelogPath: string;
859
+ tokensUsed?: number | undefined;
860
+ usedLLM?: boolean | undefined;
861
+ commitsCount?: number | undefined;
862
+ }, {
863
+ markdown: string;
864
+ scope: string;
865
+ changelogPath: string;
866
+ tokensUsed?: number | undefined;
867
+ usedLLM?: boolean | undefined;
868
+ commitsCount?: number | undefined;
869
+ }>;
870
+ type GenerateChangelogResponse = z.infer<typeof GenerateChangelogResponseSchema>;
871
+ declare const SaveChangelogRequestSchema: z.ZodObject<{
872
+ scope: z.ZodString;
873
+ markdown: z.ZodString;
874
+ }, "strip", z.ZodTypeAny, {
875
+ markdown: string;
876
+ scope: string;
877
+ }, {
878
+ markdown: string;
879
+ scope: string;
880
+ }>;
881
+ type SaveChangelogRequest = z.infer<typeof SaveChangelogRequestSchema>;
882
+ declare const SaveChangelogResponseSchema: z.ZodObject<{
883
+ success: z.ZodBoolean;
884
+ scope: z.ZodString;
885
+ path: z.ZodString;
886
+ }, "strip", z.ZodTypeAny, {
887
+ path: string;
888
+ scope: string;
889
+ success: boolean;
890
+ }, {
891
+ path: string;
892
+ scope: string;
893
+ success: boolean;
894
+ }>;
895
+ type SaveChangelogResponse = z.infer<typeof SaveChangelogResponseSchema>;
896
+ declare const CheckResultSchema: z.ZodObject<{
897
+ id: z.ZodString;
898
+ ok: z.ZodBoolean;
899
+ details: z.ZodOptional<z.ZodUnknown>;
900
+ hint: z.ZodOptional<z.ZodString>;
901
+ timingMs: z.ZodOptional<z.ZodNumber>;
902
+ }, "strip", z.ZodTypeAny, {
903
+ id: string;
904
+ ok: boolean;
905
+ details?: unknown;
906
+ hint?: string | undefined;
907
+ timingMs?: number | undefined;
908
+ }, {
909
+ id: string;
910
+ ok: boolean;
911
+ details?: unknown;
912
+ hint?: string | undefined;
913
+ timingMs?: number | undefined;
914
+ }>;
915
+ type CheckResult = z.infer<typeof CheckResultSchema>;
916
+ declare const ReleaseStageSchema: z.ZodEnum<["planning", "checking", "versioning", "publishing", "verifying", "rollback"]>;
917
+ type ReleaseStage = z.infer<typeof ReleaseStageSchema>;
918
+ declare const ReleaseReportSchema: z.ZodObject<{
919
+ schemaVersion: z.ZodLiteral<"1.0">;
920
+ ts: z.ZodString;
921
+ scope: z.ZodString;
922
+ context: z.ZodObject<{
923
+ repo: z.ZodString;
924
+ cwd: z.ZodString;
925
+ branch: z.ZodString;
926
+ profile: z.ZodOptional<z.ZodString>;
927
+ dryRun: z.ZodOptional<z.ZodBoolean>;
928
+ }, "strip", z.ZodTypeAny, {
929
+ repo: string;
930
+ cwd: string;
931
+ branch: string;
932
+ profile?: string | undefined;
933
+ dryRun?: boolean | undefined;
934
+ }, {
935
+ repo: string;
936
+ cwd: string;
937
+ branch: string;
938
+ profile?: string | undefined;
939
+ dryRun?: boolean | undefined;
940
+ }>;
941
+ stage: z.ZodEnum<["planning", "checking", "versioning", "publishing", "verifying", "rollback"]>;
942
+ plan: z.ZodOptional<z.ZodObject<{
943
+ schemaVersion: z.ZodLiteral<"1.0">;
944
+ scope: z.ZodString;
945
+ packages: z.ZodArray<z.ZodObject<{
946
+ name: z.ZodString;
947
+ path: z.ZodString;
948
+ currentVersion: z.ZodString;
949
+ nextVersion: z.ZodString;
950
+ bump: z.ZodEnum<["patch", "minor", "major", "auto"]>;
951
+ isPublished: z.ZodBoolean;
952
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
953
+ reason: z.ZodOptional<z.ZodString>;
954
+ }, "strip", z.ZodTypeAny, {
955
+ name: string;
956
+ path: string;
957
+ currentVersion: string;
958
+ nextVersion: string;
959
+ bump: "patch" | "minor" | "major" | "auto";
960
+ isPublished: boolean;
961
+ dependencies?: string[] | undefined;
962
+ reason?: string | undefined;
963
+ }, {
964
+ name: string;
965
+ path: string;
966
+ currentVersion: string;
967
+ nextVersion: string;
968
+ bump: "patch" | "minor" | "major" | "auto";
969
+ isPublished: boolean;
970
+ dependencies?: string[] | undefined;
971
+ reason?: string | undefined;
972
+ }>, "many">;
973
+ strategy: z.ZodLiteral<"semver">;
974
+ registry: z.ZodString;
975
+ rollbackEnabled: z.ZodBoolean;
976
+ createdAt: z.ZodString;
977
+ }, "strip", z.ZodTypeAny, {
978
+ scope: string;
979
+ schemaVersion: "1.0";
980
+ packages: {
981
+ name: string;
982
+ path: string;
983
+ currentVersion: string;
984
+ nextVersion: string;
985
+ bump: "patch" | "minor" | "major" | "auto";
986
+ isPublished: boolean;
987
+ dependencies?: string[] | undefined;
988
+ reason?: string | undefined;
989
+ }[];
990
+ strategy: "semver";
991
+ registry: string;
992
+ rollbackEnabled: boolean;
993
+ createdAt: string;
994
+ }, {
995
+ scope: string;
996
+ schemaVersion: "1.0";
997
+ packages: {
998
+ name: string;
999
+ path: string;
1000
+ currentVersion: string;
1001
+ nextVersion: string;
1002
+ bump: "patch" | "minor" | "major" | "auto";
1003
+ isPublished: boolean;
1004
+ dependencies?: string[] | undefined;
1005
+ reason?: string | undefined;
1006
+ }[];
1007
+ strategy: "semver";
1008
+ registry: string;
1009
+ rollbackEnabled: boolean;
1010
+ createdAt: string;
1011
+ }>>;
1012
+ result: z.ZodObject<{
1013
+ ok: z.ZodBoolean;
1014
+ version: z.ZodOptional<z.ZodString>;
1015
+ published: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1016
+ skipped: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1017
+ changelog: z.ZodOptional<z.ZodString>;
1018
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1019
+ id: z.ZodString;
1020
+ ok: z.ZodBoolean;
1021
+ details: z.ZodOptional<z.ZodUnknown>;
1022
+ hint: z.ZodOptional<z.ZodString>;
1023
+ timingMs: z.ZodOptional<z.ZodNumber>;
1024
+ }, "strip", z.ZodTypeAny, {
1025
+ id: string;
1026
+ ok: boolean;
1027
+ details?: unknown;
1028
+ hint?: string | undefined;
1029
+ timingMs?: number | undefined;
1030
+ }, {
1031
+ id: string;
1032
+ ok: boolean;
1033
+ details?: unknown;
1034
+ hint?: string | undefined;
1035
+ timingMs?: number | undefined;
1036
+ }>>>;
1037
+ git: z.ZodOptional<z.ZodObject<{
1038
+ committed: z.ZodBoolean;
1039
+ tagged: z.ZodArray<z.ZodString, "many">;
1040
+ pushed: z.ZodBoolean;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ committed: boolean;
1043
+ tagged: string[];
1044
+ pushed: boolean;
1045
+ }, {
1046
+ committed: boolean;
1047
+ tagged: string[];
1048
+ pushed: boolean;
1049
+ }>>;
1050
+ timingMs: z.ZodNumber;
1051
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1052
+ }, "strip", z.ZodTypeAny, {
1053
+ ok: boolean;
1054
+ timingMs: number;
1055
+ changelog?: string | undefined;
1056
+ version?: string | undefined;
1057
+ published?: string[] | undefined;
1058
+ skipped?: string[] | undefined;
1059
+ checks?: Record<string, {
1060
+ id: string;
1061
+ ok: boolean;
1062
+ details?: unknown;
1063
+ hint?: string | undefined;
1064
+ timingMs?: number | undefined;
1065
+ }> | undefined;
1066
+ git?: {
1067
+ committed: boolean;
1068
+ tagged: string[];
1069
+ pushed: boolean;
1070
+ } | undefined;
1071
+ errors?: string[] | undefined;
1072
+ }, {
1073
+ ok: boolean;
1074
+ timingMs: number;
1075
+ changelog?: string | undefined;
1076
+ version?: string | undefined;
1077
+ published?: string[] | undefined;
1078
+ skipped?: string[] | undefined;
1079
+ checks?: Record<string, {
1080
+ id: string;
1081
+ ok: boolean;
1082
+ details?: unknown;
1083
+ hint?: string | undefined;
1084
+ timingMs?: number | undefined;
1085
+ }> | undefined;
1086
+ git?: {
1087
+ committed: boolean;
1088
+ tagged: string[];
1089
+ pushed: boolean;
1090
+ } | undefined;
1091
+ errors?: string[] | undefined;
1092
+ }>;
1093
+ }, "strip", z.ZodTypeAny, {
1094
+ scope: string;
1095
+ schemaVersion: "1.0";
1096
+ ts: string;
1097
+ context: {
1098
+ repo: string;
1099
+ cwd: string;
1100
+ branch: string;
1101
+ profile?: string | undefined;
1102
+ dryRun?: boolean | undefined;
1103
+ };
1104
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
1105
+ result: {
1106
+ ok: boolean;
1107
+ timingMs: number;
1108
+ changelog?: string | undefined;
1109
+ version?: string | undefined;
1110
+ published?: string[] | undefined;
1111
+ skipped?: string[] | undefined;
1112
+ checks?: Record<string, {
1113
+ id: string;
1114
+ ok: boolean;
1115
+ details?: unknown;
1116
+ hint?: string | undefined;
1117
+ timingMs?: number | undefined;
1118
+ }> | undefined;
1119
+ git?: {
1120
+ committed: boolean;
1121
+ tagged: string[];
1122
+ pushed: boolean;
1123
+ } | undefined;
1124
+ errors?: string[] | undefined;
1125
+ };
1126
+ plan?: {
1127
+ scope: string;
1128
+ schemaVersion: "1.0";
1129
+ packages: {
1130
+ name: string;
1131
+ path: string;
1132
+ currentVersion: string;
1133
+ nextVersion: string;
1134
+ bump: "patch" | "minor" | "major" | "auto";
1135
+ isPublished: boolean;
1136
+ dependencies?: string[] | undefined;
1137
+ reason?: string | undefined;
1138
+ }[];
1139
+ strategy: "semver";
1140
+ registry: string;
1141
+ rollbackEnabled: boolean;
1142
+ createdAt: string;
1143
+ } | undefined;
1144
+ }, {
1145
+ scope: string;
1146
+ schemaVersion: "1.0";
1147
+ ts: string;
1148
+ context: {
1149
+ repo: string;
1150
+ cwd: string;
1151
+ branch: string;
1152
+ profile?: string | undefined;
1153
+ dryRun?: boolean | undefined;
1154
+ };
1155
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
1156
+ result: {
1157
+ ok: boolean;
1158
+ timingMs: number;
1159
+ changelog?: string | undefined;
1160
+ version?: string | undefined;
1161
+ published?: string[] | undefined;
1162
+ skipped?: string[] | undefined;
1163
+ checks?: Record<string, {
1164
+ id: string;
1165
+ ok: boolean;
1166
+ details?: unknown;
1167
+ hint?: string | undefined;
1168
+ timingMs?: number | undefined;
1169
+ }> | undefined;
1170
+ git?: {
1171
+ committed: boolean;
1172
+ tagged: string[];
1173
+ pushed: boolean;
1174
+ } | undefined;
1175
+ errors?: string[] | undefined;
1176
+ };
1177
+ plan?: {
1178
+ scope: string;
1179
+ schemaVersion: "1.0";
1180
+ packages: {
1181
+ name: string;
1182
+ path: string;
1183
+ currentVersion: string;
1184
+ nextVersion: string;
1185
+ bump: "patch" | "minor" | "major" | "auto";
1186
+ isPublished: boolean;
1187
+ dependencies?: string[] | undefined;
1188
+ reason?: string | undefined;
1189
+ }[];
1190
+ strategy: "semver";
1191
+ registry: string;
1192
+ rollbackEnabled: boolean;
1193
+ createdAt: string;
1194
+ } | undefined;
1195
+ }>;
1196
+ type ReleaseReport = z.infer<typeof ReleaseReportSchema>;
1197
+ declare const RunReleaseRequestSchema: z.ZodObject<{
1198
+ scope: z.ZodString;
1199
+ strict: z.ZodOptional<z.ZodBoolean>;
1200
+ dryRun: z.ZodOptional<z.ZodBoolean>;
1201
+ skipChecks: z.ZodOptional<z.ZodBoolean>;
1202
+ otp: z.ZodOptional<z.ZodString>;
1203
+ }, "strip", z.ZodTypeAny, {
1204
+ scope: string;
1205
+ strict?: boolean | undefined;
1206
+ dryRun?: boolean | undefined;
1207
+ skipChecks?: boolean | undefined;
1208
+ otp?: string | undefined;
1209
+ }, {
1210
+ scope: string;
1211
+ strict?: boolean | undefined;
1212
+ dryRun?: boolean | undefined;
1213
+ skipChecks?: boolean | undefined;
1214
+ otp?: string | undefined;
1215
+ }>;
1216
+ type RunReleaseRequest = z.infer<typeof RunReleaseRequestSchema>;
1217
+ declare const RunReleaseResponseSchema: z.ZodObject<{
1218
+ scope: z.ZodString;
1219
+ report: z.ZodObject<{
1220
+ schemaVersion: z.ZodLiteral<"1.0">;
1221
+ ts: z.ZodString;
1222
+ scope: z.ZodString;
1223
+ context: z.ZodObject<{
1224
+ repo: z.ZodString;
1225
+ cwd: z.ZodString;
1226
+ branch: z.ZodString;
1227
+ profile: z.ZodOptional<z.ZodString>;
1228
+ dryRun: z.ZodOptional<z.ZodBoolean>;
1229
+ }, "strip", z.ZodTypeAny, {
1230
+ repo: string;
1231
+ cwd: string;
1232
+ branch: string;
1233
+ profile?: string | undefined;
1234
+ dryRun?: boolean | undefined;
1235
+ }, {
1236
+ repo: string;
1237
+ cwd: string;
1238
+ branch: string;
1239
+ profile?: string | undefined;
1240
+ dryRun?: boolean | undefined;
1241
+ }>;
1242
+ stage: z.ZodEnum<["planning", "checking", "versioning", "publishing", "verifying", "rollback"]>;
1243
+ plan: z.ZodOptional<z.ZodObject<{
1244
+ schemaVersion: z.ZodLiteral<"1.0">;
1245
+ scope: z.ZodString;
1246
+ packages: z.ZodArray<z.ZodObject<{
1247
+ name: z.ZodString;
1248
+ path: z.ZodString;
1249
+ currentVersion: z.ZodString;
1250
+ nextVersion: z.ZodString;
1251
+ bump: z.ZodEnum<["patch", "minor", "major", "auto"]>;
1252
+ isPublished: z.ZodBoolean;
1253
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1254
+ reason: z.ZodOptional<z.ZodString>;
1255
+ }, "strip", z.ZodTypeAny, {
1256
+ name: string;
1257
+ path: string;
1258
+ currentVersion: string;
1259
+ nextVersion: string;
1260
+ bump: "patch" | "minor" | "major" | "auto";
1261
+ isPublished: boolean;
1262
+ dependencies?: string[] | undefined;
1263
+ reason?: string | undefined;
1264
+ }, {
1265
+ name: string;
1266
+ path: string;
1267
+ currentVersion: string;
1268
+ nextVersion: string;
1269
+ bump: "patch" | "minor" | "major" | "auto";
1270
+ isPublished: boolean;
1271
+ dependencies?: string[] | undefined;
1272
+ reason?: string | undefined;
1273
+ }>, "many">;
1274
+ strategy: z.ZodLiteral<"semver">;
1275
+ registry: z.ZodString;
1276
+ rollbackEnabled: z.ZodBoolean;
1277
+ createdAt: z.ZodString;
1278
+ }, "strip", z.ZodTypeAny, {
1279
+ scope: string;
1280
+ schemaVersion: "1.0";
1281
+ packages: {
1282
+ name: string;
1283
+ path: string;
1284
+ currentVersion: string;
1285
+ nextVersion: string;
1286
+ bump: "patch" | "minor" | "major" | "auto";
1287
+ isPublished: boolean;
1288
+ dependencies?: string[] | undefined;
1289
+ reason?: string | undefined;
1290
+ }[];
1291
+ strategy: "semver";
1292
+ registry: string;
1293
+ rollbackEnabled: boolean;
1294
+ createdAt: string;
1295
+ }, {
1296
+ scope: string;
1297
+ schemaVersion: "1.0";
1298
+ packages: {
1299
+ name: string;
1300
+ path: string;
1301
+ currentVersion: string;
1302
+ nextVersion: string;
1303
+ bump: "patch" | "minor" | "major" | "auto";
1304
+ isPublished: boolean;
1305
+ dependencies?: string[] | undefined;
1306
+ reason?: string | undefined;
1307
+ }[];
1308
+ strategy: "semver";
1309
+ registry: string;
1310
+ rollbackEnabled: boolean;
1311
+ createdAt: string;
1312
+ }>>;
1313
+ result: z.ZodObject<{
1314
+ ok: z.ZodBoolean;
1315
+ version: z.ZodOptional<z.ZodString>;
1316
+ published: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1317
+ skipped: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1318
+ changelog: z.ZodOptional<z.ZodString>;
1319
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1320
+ id: z.ZodString;
1321
+ ok: z.ZodBoolean;
1322
+ details: z.ZodOptional<z.ZodUnknown>;
1323
+ hint: z.ZodOptional<z.ZodString>;
1324
+ timingMs: z.ZodOptional<z.ZodNumber>;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ id: string;
1327
+ ok: boolean;
1328
+ details?: unknown;
1329
+ hint?: string | undefined;
1330
+ timingMs?: number | undefined;
1331
+ }, {
1332
+ id: string;
1333
+ ok: boolean;
1334
+ details?: unknown;
1335
+ hint?: string | undefined;
1336
+ timingMs?: number | undefined;
1337
+ }>>>;
1338
+ git: z.ZodOptional<z.ZodObject<{
1339
+ committed: z.ZodBoolean;
1340
+ tagged: z.ZodArray<z.ZodString, "many">;
1341
+ pushed: z.ZodBoolean;
1342
+ }, "strip", z.ZodTypeAny, {
1343
+ committed: boolean;
1344
+ tagged: string[];
1345
+ pushed: boolean;
1346
+ }, {
1347
+ committed: boolean;
1348
+ tagged: string[];
1349
+ pushed: boolean;
1350
+ }>>;
1351
+ timingMs: z.ZodNumber;
1352
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1353
+ }, "strip", z.ZodTypeAny, {
1354
+ ok: boolean;
1355
+ timingMs: number;
1356
+ changelog?: string | undefined;
1357
+ version?: string | undefined;
1358
+ published?: string[] | undefined;
1359
+ skipped?: string[] | undefined;
1360
+ checks?: Record<string, {
1361
+ id: string;
1362
+ ok: boolean;
1363
+ details?: unknown;
1364
+ hint?: string | undefined;
1365
+ timingMs?: number | undefined;
1366
+ }> | undefined;
1367
+ git?: {
1368
+ committed: boolean;
1369
+ tagged: string[];
1370
+ pushed: boolean;
1371
+ } | undefined;
1372
+ errors?: string[] | undefined;
1373
+ }, {
1374
+ ok: boolean;
1375
+ timingMs: number;
1376
+ changelog?: string | undefined;
1377
+ version?: string | undefined;
1378
+ published?: string[] | undefined;
1379
+ skipped?: string[] | undefined;
1380
+ checks?: Record<string, {
1381
+ id: string;
1382
+ ok: boolean;
1383
+ details?: unknown;
1384
+ hint?: string | undefined;
1385
+ timingMs?: number | undefined;
1386
+ }> | undefined;
1387
+ git?: {
1388
+ committed: boolean;
1389
+ tagged: string[];
1390
+ pushed: boolean;
1391
+ } | undefined;
1392
+ errors?: string[] | undefined;
1393
+ }>;
1394
+ }, "strip", z.ZodTypeAny, {
1395
+ scope: string;
1396
+ schemaVersion: "1.0";
1397
+ ts: string;
1398
+ context: {
1399
+ repo: string;
1400
+ cwd: string;
1401
+ branch: string;
1402
+ profile?: string | undefined;
1403
+ dryRun?: boolean | undefined;
1404
+ };
1405
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
1406
+ result: {
1407
+ ok: boolean;
1408
+ timingMs: number;
1409
+ changelog?: string | undefined;
1410
+ version?: string | undefined;
1411
+ published?: string[] | undefined;
1412
+ skipped?: string[] | undefined;
1413
+ checks?: Record<string, {
1414
+ id: string;
1415
+ ok: boolean;
1416
+ details?: unknown;
1417
+ hint?: string | undefined;
1418
+ timingMs?: number | undefined;
1419
+ }> | undefined;
1420
+ git?: {
1421
+ committed: boolean;
1422
+ tagged: string[];
1423
+ pushed: boolean;
1424
+ } | undefined;
1425
+ errors?: string[] | undefined;
1426
+ };
1427
+ plan?: {
1428
+ scope: string;
1429
+ schemaVersion: "1.0";
1430
+ packages: {
1431
+ name: string;
1432
+ path: string;
1433
+ currentVersion: string;
1434
+ nextVersion: string;
1435
+ bump: "patch" | "minor" | "major" | "auto";
1436
+ isPublished: boolean;
1437
+ dependencies?: string[] | undefined;
1438
+ reason?: string | undefined;
1439
+ }[];
1440
+ strategy: "semver";
1441
+ registry: string;
1442
+ rollbackEnabled: boolean;
1443
+ createdAt: string;
1444
+ } | undefined;
1445
+ }, {
1446
+ scope: string;
1447
+ schemaVersion: "1.0";
1448
+ ts: string;
1449
+ context: {
1450
+ repo: string;
1451
+ cwd: string;
1452
+ branch: string;
1453
+ profile?: string | undefined;
1454
+ dryRun?: boolean | undefined;
1455
+ };
1456
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
1457
+ result: {
1458
+ ok: boolean;
1459
+ timingMs: number;
1460
+ changelog?: string | undefined;
1461
+ version?: string | undefined;
1462
+ published?: string[] | undefined;
1463
+ skipped?: string[] | undefined;
1464
+ checks?: Record<string, {
1465
+ id: string;
1466
+ ok: boolean;
1467
+ details?: unknown;
1468
+ hint?: string | undefined;
1469
+ timingMs?: number | undefined;
1470
+ }> | undefined;
1471
+ git?: {
1472
+ committed: boolean;
1473
+ tagged: string[];
1474
+ pushed: boolean;
1475
+ } | undefined;
1476
+ errors?: string[] | undefined;
1477
+ };
1478
+ plan?: {
1479
+ scope: string;
1480
+ schemaVersion: "1.0";
1481
+ packages: {
1482
+ name: string;
1483
+ path: string;
1484
+ currentVersion: string;
1485
+ nextVersion: string;
1486
+ bump: "patch" | "minor" | "major" | "auto";
1487
+ isPublished: boolean;
1488
+ dependencies?: string[] | undefined;
1489
+ reason?: string | undefined;
1490
+ }[];
1491
+ strategy: "semver";
1492
+ registry: string;
1493
+ rollbackEnabled: boolean;
1494
+ createdAt: string;
1495
+ } | undefined;
1496
+ }>;
1497
+ success: z.ZodBoolean;
1498
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1499
+ }, "strip", z.ZodTypeAny, {
1500
+ report: {
1501
+ scope: string;
1502
+ schemaVersion: "1.0";
1503
+ ts: string;
1504
+ context: {
1505
+ repo: string;
1506
+ cwd: string;
1507
+ branch: string;
1508
+ profile?: string | undefined;
1509
+ dryRun?: boolean | undefined;
1510
+ };
1511
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
1512
+ result: {
1513
+ ok: boolean;
1514
+ timingMs: number;
1515
+ changelog?: string | undefined;
1516
+ version?: string | undefined;
1517
+ published?: string[] | undefined;
1518
+ skipped?: string[] | undefined;
1519
+ checks?: Record<string, {
1520
+ id: string;
1521
+ ok: boolean;
1522
+ details?: unknown;
1523
+ hint?: string | undefined;
1524
+ timingMs?: number | undefined;
1525
+ }> | undefined;
1526
+ git?: {
1527
+ committed: boolean;
1528
+ tagged: string[];
1529
+ pushed: boolean;
1530
+ } | undefined;
1531
+ errors?: string[] | undefined;
1532
+ };
1533
+ plan?: {
1534
+ scope: string;
1535
+ schemaVersion: "1.0";
1536
+ packages: {
1537
+ name: string;
1538
+ path: string;
1539
+ currentVersion: string;
1540
+ nextVersion: string;
1541
+ bump: "patch" | "minor" | "major" | "auto";
1542
+ isPublished: boolean;
1543
+ dependencies?: string[] | undefined;
1544
+ reason?: string | undefined;
1545
+ }[];
1546
+ strategy: "semver";
1547
+ registry: string;
1548
+ rollbackEnabled: boolean;
1549
+ createdAt: string;
1550
+ } | undefined;
1551
+ };
1552
+ scope: string;
1553
+ success: boolean;
1554
+ errors?: string[] | undefined;
1555
+ }, {
1556
+ report: {
1557
+ scope: string;
1558
+ schemaVersion: "1.0";
1559
+ ts: string;
1560
+ context: {
1561
+ repo: string;
1562
+ cwd: string;
1563
+ branch: string;
1564
+ profile?: string | undefined;
1565
+ dryRun?: boolean | undefined;
1566
+ };
1567
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
1568
+ result: {
1569
+ ok: boolean;
1570
+ timingMs: number;
1571
+ changelog?: string | undefined;
1572
+ version?: string | undefined;
1573
+ published?: string[] | undefined;
1574
+ skipped?: string[] | undefined;
1575
+ checks?: Record<string, {
1576
+ id: string;
1577
+ ok: boolean;
1578
+ details?: unknown;
1579
+ hint?: string | undefined;
1580
+ timingMs?: number | undefined;
1581
+ }> | undefined;
1582
+ git?: {
1583
+ committed: boolean;
1584
+ tagged: string[];
1585
+ pushed: boolean;
1586
+ } | undefined;
1587
+ errors?: string[] | undefined;
1588
+ };
1589
+ plan?: {
1590
+ scope: string;
1591
+ schemaVersion: "1.0";
1592
+ packages: {
1593
+ name: string;
1594
+ path: string;
1595
+ currentVersion: string;
1596
+ nextVersion: string;
1597
+ bump: "patch" | "minor" | "major" | "auto";
1598
+ isPublished: boolean;
1599
+ dependencies?: string[] | undefined;
1600
+ reason?: string | undefined;
1601
+ }[];
1602
+ strategy: "semver";
1603
+ registry: string;
1604
+ rollbackEnabled: boolean;
1605
+ createdAt: string;
1606
+ } | undefined;
1607
+ };
1608
+ scope: string;
1609
+ success: boolean;
1610
+ errors?: string[] | undefined;
1611
+ }>;
1612
+ type RunReleaseResponse = z.infer<typeof RunReleaseResponseSchema>;
1613
+ declare const ReportResponseSchema: z.ZodObject<{
1614
+ hasReport: z.ZodBoolean;
1615
+ report: z.ZodOptional<z.ZodObject<{
1616
+ schemaVersion: z.ZodLiteral<"1.0">;
1617
+ ts: z.ZodString;
1618
+ scope: z.ZodString;
1619
+ context: z.ZodObject<{
1620
+ repo: z.ZodString;
1621
+ cwd: z.ZodString;
1622
+ branch: z.ZodString;
1623
+ profile: z.ZodOptional<z.ZodString>;
1624
+ dryRun: z.ZodOptional<z.ZodBoolean>;
1625
+ }, "strip", z.ZodTypeAny, {
1626
+ repo: string;
1627
+ cwd: string;
1628
+ branch: string;
1629
+ profile?: string | undefined;
1630
+ dryRun?: boolean | undefined;
1631
+ }, {
1632
+ repo: string;
1633
+ cwd: string;
1634
+ branch: string;
1635
+ profile?: string | undefined;
1636
+ dryRun?: boolean | undefined;
1637
+ }>;
1638
+ stage: z.ZodEnum<["planning", "checking", "versioning", "publishing", "verifying", "rollback"]>;
1639
+ plan: z.ZodOptional<z.ZodObject<{
1640
+ schemaVersion: z.ZodLiteral<"1.0">;
1641
+ scope: z.ZodString;
1642
+ packages: z.ZodArray<z.ZodObject<{
1643
+ name: z.ZodString;
1644
+ path: z.ZodString;
1645
+ currentVersion: z.ZodString;
1646
+ nextVersion: z.ZodString;
1647
+ bump: z.ZodEnum<["patch", "minor", "major", "auto"]>;
1648
+ isPublished: z.ZodBoolean;
1649
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1650
+ reason: z.ZodOptional<z.ZodString>;
1651
+ }, "strip", z.ZodTypeAny, {
1652
+ name: string;
1653
+ path: string;
1654
+ currentVersion: string;
1655
+ nextVersion: string;
1656
+ bump: "patch" | "minor" | "major" | "auto";
1657
+ isPublished: boolean;
1658
+ dependencies?: string[] | undefined;
1659
+ reason?: string | undefined;
1660
+ }, {
1661
+ name: string;
1662
+ path: string;
1663
+ currentVersion: string;
1664
+ nextVersion: string;
1665
+ bump: "patch" | "minor" | "major" | "auto";
1666
+ isPublished: boolean;
1667
+ dependencies?: string[] | undefined;
1668
+ reason?: string | undefined;
1669
+ }>, "many">;
1670
+ strategy: z.ZodLiteral<"semver">;
1671
+ registry: z.ZodString;
1672
+ rollbackEnabled: z.ZodBoolean;
1673
+ createdAt: z.ZodString;
1674
+ }, "strip", z.ZodTypeAny, {
1675
+ scope: string;
1676
+ schemaVersion: "1.0";
1677
+ packages: {
1678
+ name: string;
1679
+ path: string;
1680
+ currentVersion: string;
1681
+ nextVersion: string;
1682
+ bump: "patch" | "minor" | "major" | "auto";
1683
+ isPublished: boolean;
1684
+ dependencies?: string[] | undefined;
1685
+ reason?: string | undefined;
1686
+ }[];
1687
+ strategy: "semver";
1688
+ registry: string;
1689
+ rollbackEnabled: boolean;
1690
+ createdAt: string;
1691
+ }, {
1692
+ scope: string;
1693
+ schemaVersion: "1.0";
1694
+ packages: {
1695
+ name: string;
1696
+ path: string;
1697
+ currentVersion: string;
1698
+ nextVersion: string;
1699
+ bump: "patch" | "minor" | "major" | "auto";
1700
+ isPublished: boolean;
1701
+ dependencies?: string[] | undefined;
1702
+ reason?: string | undefined;
1703
+ }[];
1704
+ strategy: "semver";
1705
+ registry: string;
1706
+ rollbackEnabled: boolean;
1707
+ createdAt: string;
1708
+ }>>;
1709
+ result: z.ZodObject<{
1710
+ ok: z.ZodBoolean;
1711
+ version: z.ZodOptional<z.ZodString>;
1712
+ published: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1713
+ skipped: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1714
+ changelog: z.ZodOptional<z.ZodString>;
1715
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1716
+ id: z.ZodString;
1717
+ ok: z.ZodBoolean;
1718
+ details: z.ZodOptional<z.ZodUnknown>;
1719
+ hint: z.ZodOptional<z.ZodString>;
1720
+ timingMs: z.ZodOptional<z.ZodNumber>;
1721
+ }, "strip", z.ZodTypeAny, {
1722
+ id: string;
1723
+ ok: boolean;
1724
+ details?: unknown;
1725
+ hint?: string | undefined;
1726
+ timingMs?: number | undefined;
1727
+ }, {
1728
+ id: string;
1729
+ ok: boolean;
1730
+ details?: unknown;
1731
+ hint?: string | undefined;
1732
+ timingMs?: number | undefined;
1733
+ }>>>;
1734
+ git: z.ZodOptional<z.ZodObject<{
1735
+ committed: z.ZodBoolean;
1736
+ tagged: z.ZodArray<z.ZodString, "many">;
1737
+ pushed: z.ZodBoolean;
1738
+ }, "strip", z.ZodTypeAny, {
1739
+ committed: boolean;
1740
+ tagged: string[];
1741
+ pushed: boolean;
1742
+ }, {
1743
+ committed: boolean;
1744
+ tagged: string[];
1745
+ pushed: boolean;
1746
+ }>>;
1747
+ timingMs: z.ZodNumber;
1748
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1749
+ }, "strip", z.ZodTypeAny, {
1750
+ ok: boolean;
1751
+ timingMs: number;
1752
+ changelog?: string | undefined;
1753
+ version?: string | undefined;
1754
+ published?: string[] | undefined;
1755
+ skipped?: string[] | undefined;
1756
+ checks?: Record<string, {
1757
+ id: string;
1758
+ ok: boolean;
1759
+ details?: unknown;
1760
+ hint?: string | undefined;
1761
+ timingMs?: number | undefined;
1762
+ }> | undefined;
1763
+ git?: {
1764
+ committed: boolean;
1765
+ tagged: string[];
1766
+ pushed: boolean;
1767
+ } | undefined;
1768
+ errors?: string[] | undefined;
1769
+ }, {
1770
+ ok: boolean;
1771
+ timingMs: number;
1772
+ changelog?: string | undefined;
1773
+ version?: string | undefined;
1774
+ published?: string[] | undefined;
1775
+ skipped?: string[] | undefined;
1776
+ checks?: Record<string, {
1777
+ id: string;
1778
+ ok: boolean;
1779
+ details?: unknown;
1780
+ hint?: string | undefined;
1781
+ timingMs?: number | undefined;
1782
+ }> | undefined;
1783
+ git?: {
1784
+ committed: boolean;
1785
+ tagged: string[];
1786
+ pushed: boolean;
1787
+ } | undefined;
1788
+ errors?: string[] | undefined;
1789
+ }>;
1790
+ }, "strip", z.ZodTypeAny, {
1791
+ scope: string;
1792
+ schemaVersion: "1.0";
1793
+ ts: string;
1794
+ context: {
1795
+ repo: string;
1796
+ cwd: string;
1797
+ branch: string;
1798
+ profile?: string | undefined;
1799
+ dryRun?: boolean | undefined;
1800
+ };
1801
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
1802
+ result: {
1803
+ ok: boolean;
1804
+ timingMs: number;
1805
+ changelog?: string | undefined;
1806
+ version?: string | undefined;
1807
+ published?: string[] | undefined;
1808
+ skipped?: string[] | undefined;
1809
+ checks?: Record<string, {
1810
+ id: string;
1811
+ ok: boolean;
1812
+ details?: unknown;
1813
+ hint?: string | undefined;
1814
+ timingMs?: number | undefined;
1815
+ }> | undefined;
1816
+ git?: {
1817
+ committed: boolean;
1818
+ tagged: string[];
1819
+ pushed: boolean;
1820
+ } | undefined;
1821
+ errors?: string[] | undefined;
1822
+ };
1823
+ plan?: {
1824
+ scope: string;
1825
+ schemaVersion: "1.0";
1826
+ packages: {
1827
+ name: string;
1828
+ path: string;
1829
+ currentVersion: string;
1830
+ nextVersion: string;
1831
+ bump: "patch" | "minor" | "major" | "auto";
1832
+ isPublished: boolean;
1833
+ dependencies?: string[] | undefined;
1834
+ reason?: string | undefined;
1835
+ }[];
1836
+ strategy: "semver";
1837
+ registry: string;
1838
+ rollbackEnabled: boolean;
1839
+ createdAt: string;
1840
+ } | undefined;
1841
+ }, {
1842
+ scope: string;
1843
+ schemaVersion: "1.0";
1844
+ ts: string;
1845
+ context: {
1846
+ repo: string;
1847
+ cwd: string;
1848
+ branch: string;
1849
+ profile?: string | undefined;
1850
+ dryRun?: boolean | undefined;
1851
+ };
1852
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
1853
+ result: {
1854
+ ok: boolean;
1855
+ timingMs: number;
1856
+ changelog?: string | undefined;
1857
+ version?: string | undefined;
1858
+ published?: string[] | undefined;
1859
+ skipped?: string[] | undefined;
1860
+ checks?: Record<string, {
1861
+ id: string;
1862
+ ok: boolean;
1863
+ details?: unknown;
1864
+ hint?: string | undefined;
1865
+ timingMs?: number | undefined;
1866
+ }> | undefined;
1867
+ git?: {
1868
+ committed: boolean;
1869
+ tagged: string[];
1870
+ pushed: boolean;
1871
+ } | undefined;
1872
+ errors?: string[] | undefined;
1873
+ };
1874
+ plan?: {
1875
+ scope: string;
1876
+ schemaVersion: "1.0";
1877
+ packages: {
1878
+ name: string;
1879
+ path: string;
1880
+ currentVersion: string;
1881
+ nextVersion: string;
1882
+ bump: "patch" | "minor" | "major" | "auto";
1883
+ isPublished: boolean;
1884
+ dependencies?: string[] | undefined;
1885
+ reason?: string | undefined;
1886
+ }[];
1887
+ strategy: "semver";
1888
+ registry: string;
1889
+ rollbackEnabled: boolean;
1890
+ createdAt: string;
1891
+ } | undefined;
1892
+ }>>;
1893
+ scope: z.ZodOptional<z.ZodString>;
1894
+ }, "strip", z.ZodTypeAny, {
1895
+ hasReport: boolean;
1896
+ report?: {
1897
+ scope: string;
1898
+ schemaVersion: "1.0";
1899
+ ts: string;
1900
+ context: {
1901
+ repo: string;
1902
+ cwd: string;
1903
+ branch: string;
1904
+ profile?: string | undefined;
1905
+ dryRun?: boolean | undefined;
1906
+ };
1907
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
1908
+ result: {
1909
+ ok: boolean;
1910
+ timingMs: number;
1911
+ changelog?: string | undefined;
1912
+ version?: string | undefined;
1913
+ published?: string[] | undefined;
1914
+ skipped?: string[] | undefined;
1915
+ checks?: Record<string, {
1916
+ id: string;
1917
+ ok: boolean;
1918
+ details?: unknown;
1919
+ hint?: string | undefined;
1920
+ timingMs?: number | undefined;
1921
+ }> | undefined;
1922
+ git?: {
1923
+ committed: boolean;
1924
+ tagged: string[];
1925
+ pushed: boolean;
1926
+ } | undefined;
1927
+ errors?: string[] | undefined;
1928
+ };
1929
+ plan?: {
1930
+ scope: string;
1931
+ schemaVersion: "1.0";
1932
+ packages: {
1933
+ name: string;
1934
+ path: string;
1935
+ currentVersion: string;
1936
+ nextVersion: string;
1937
+ bump: "patch" | "minor" | "major" | "auto";
1938
+ isPublished: boolean;
1939
+ dependencies?: string[] | undefined;
1940
+ reason?: string | undefined;
1941
+ }[];
1942
+ strategy: "semver";
1943
+ registry: string;
1944
+ rollbackEnabled: boolean;
1945
+ createdAt: string;
1946
+ } | undefined;
1947
+ } | undefined;
1948
+ scope?: string | undefined;
1949
+ }, {
1950
+ hasReport: boolean;
1951
+ report?: {
1952
+ scope: string;
1953
+ schemaVersion: "1.0";
1954
+ ts: string;
1955
+ context: {
1956
+ repo: string;
1957
+ cwd: string;
1958
+ branch: string;
1959
+ profile?: string | undefined;
1960
+ dryRun?: boolean | undefined;
1961
+ };
1962
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
1963
+ result: {
1964
+ ok: boolean;
1965
+ timingMs: number;
1966
+ changelog?: string | undefined;
1967
+ version?: string | undefined;
1968
+ published?: string[] | undefined;
1969
+ skipped?: string[] | undefined;
1970
+ checks?: Record<string, {
1971
+ id: string;
1972
+ ok: boolean;
1973
+ details?: unknown;
1974
+ hint?: string | undefined;
1975
+ timingMs?: number | undefined;
1976
+ }> | undefined;
1977
+ git?: {
1978
+ committed: boolean;
1979
+ tagged: string[];
1980
+ pushed: boolean;
1981
+ } | undefined;
1982
+ errors?: string[] | undefined;
1983
+ };
1984
+ plan?: {
1985
+ scope: string;
1986
+ schemaVersion: "1.0";
1987
+ packages: {
1988
+ name: string;
1989
+ path: string;
1990
+ currentVersion: string;
1991
+ nextVersion: string;
1992
+ bump: "patch" | "minor" | "major" | "auto";
1993
+ isPublished: boolean;
1994
+ dependencies?: string[] | undefined;
1995
+ reason?: string | undefined;
1996
+ }[];
1997
+ strategy: "semver";
1998
+ registry: string;
1999
+ rollbackEnabled: boolean;
2000
+ createdAt: string;
2001
+ } | undefined;
2002
+ } | undefined;
2003
+ scope?: string | undefined;
2004
+ }>;
2005
+ type ReportResponse = z.infer<typeof ReportResponseSchema>;
2006
+ declare const ReleaseHistoryItemSchema: z.ZodObject<{
2007
+ id: z.ZodString;
2008
+ timestamp: z.ZodString;
2009
+ scope: z.ZodString;
2010
+ version: z.ZodOptional<z.ZodString>;
2011
+ packages: z.ZodArray<z.ZodString, "many">;
2012
+ success: z.ZodBoolean;
2013
+ stage: z.ZodEnum<["planning", "checking", "versioning", "publishing", "verifying", "rollback"]>;
2014
+ error: z.ZodOptional<z.ZodString>;
2015
+ }, "strip", z.ZodTypeAny, {
2016
+ id: string;
2017
+ scope: string;
2018
+ packages: string[];
2019
+ success: boolean;
2020
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
2021
+ timestamp: string;
2022
+ version?: string | undefined;
2023
+ error?: string | undefined;
2024
+ }, {
2025
+ id: string;
2026
+ scope: string;
2027
+ packages: string[];
2028
+ success: boolean;
2029
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
2030
+ timestamp: string;
2031
+ version?: string | undefined;
2032
+ error?: string | undefined;
2033
+ }>;
2034
+ type ReleaseHistoryItem = z.infer<typeof ReleaseHistoryItemSchema>;
2035
+ declare const HistoryResponseSchema: z.ZodObject<{
2036
+ releases: z.ZodArray<z.ZodObject<{
2037
+ id: z.ZodString;
2038
+ timestamp: z.ZodString;
2039
+ scope: z.ZodString;
2040
+ version: z.ZodOptional<z.ZodString>;
2041
+ packages: z.ZodArray<z.ZodString, "many">;
2042
+ success: z.ZodBoolean;
2043
+ stage: z.ZodEnum<["planning", "checking", "versioning", "publishing", "verifying", "rollback"]>;
2044
+ error: z.ZodOptional<z.ZodString>;
2045
+ }, "strip", z.ZodTypeAny, {
2046
+ id: string;
2047
+ scope: string;
2048
+ packages: string[];
2049
+ success: boolean;
2050
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
2051
+ timestamp: string;
2052
+ version?: string | undefined;
2053
+ error?: string | undefined;
2054
+ }, {
2055
+ id: string;
2056
+ scope: string;
2057
+ packages: string[];
2058
+ success: boolean;
2059
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
2060
+ timestamp: string;
2061
+ version?: string | undefined;
2062
+ error?: string | undefined;
2063
+ }>, "many">;
2064
+ }, "strip", z.ZodTypeAny, {
2065
+ releases: {
2066
+ id: string;
2067
+ scope: string;
2068
+ packages: string[];
2069
+ success: boolean;
2070
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
2071
+ timestamp: string;
2072
+ version?: string | undefined;
2073
+ error?: string | undefined;
2074
+ }[];
2075
+ }, {
2076
+ releases: {
2077
+ id: string;
2078
+ scope: string;
2079
+ packages: string[];
2080
+ success: boolean;
2081
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
2082
+ timestamp: string;
2083
+ version?: string | undefined;
2084
+ error?: string | undefined;
2085
+ }[];
2086
+ }>;
2087
+ type HistoryResponse = z.infer<typeof HistoryResponseSchema>;
2088
+ declare const HistoryReportResponseSchema: z.ZodObject<{
2089
+ id: z.ZodString;
2090
+ report: z.ZodObject<{
2091
+ schemaVersion: z.ZodLiteral<"1.0">;
2092
+ ts: z.ZodString;
2093
+ scope: z.ZodString;
2094
+ context: z.ZodObject<{
2095
+ repo: z.ZodString;
2096
+ cwd: z.ZodString;
2097
+ branch: z.ZodString;
2098
+ profile: z.ZodOptional<z.ZodString>;
2099
+ dryRun: z.ZodOptional<z.ZodBoolean>;
2100
+ }, "strip", z.ZodTypeAny, {
2101
+ repo: string;
2102
+ cwd: string;
2103
+ branch: string;
2104
+ profile?: string | undefined;
2105
+ dryRun?: boolean | undefined;
2106
+ }, {
2107
+ repo: string;
2108
+ cwd: string;
2109
+ branch: string;
2110
+ profile?: string | undefined;
2111
+ dryRun?: boolean | undefined;
2112
+ }>;
2113
+ stage: z.ZodEnum<["planning", "checking", "versioning", "publishing", "verifying", "rollback"]>;
2114
+ plan: z.ZodOptional<z.ZodObject<{
2115
+ schemaVersion: z.ZodLiteral<"1.0">;
2116
+ scope: z.ZodString;
2117
+ packages: z.ZodArray<z.ZodObject<{
2118
+ name: z.ZodString;
2119
+ path: z.ZodString;
2120
+ currentVersion: z.ZodString;
2121
+ nextVersion: z.ZodString;
2122
+ bump: z.ZodEnum<["patch", "minor", "major", "auto"]>;
2123
+ isPublished: z.ZodBoolean;
2124
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2125
+ reason: z.ZodOptional<z.ZodString>;
2126
+ }, "strip", z.ZodTypeAny, {
2127
+ name: string;
2128
+ path: string;
2129
+ currentVersion: string;
2130
+ nextVersion: string;
2131
+ bump: "patch" | "minor" | "major" | "auto";
2132
+ isPublished: boolean;
2133
+ dependencies?: string[] | undefined;
2134
+ reason?: string | undefined;
2135
+ }, {
2136
+ name: string;
2137
+ path: string;
2138
+ currentVersion: string;
2139
+ nextVersion: string;
2140
+ bump: "patch" | "minor" | "major" | "auto";
2141
+ isPublished: boolean;
2142
+ dependencies?: string[] | undefined;
2143
+ reason?: string | undefined;
2144
+ }>, "many">;
2145
+ strategy: z.ZodLiteral<"semver">;
2146
+ registry: z.ZodString;
2147
+ rollbackEnabled: z.ZodBoolean;
2148
+ createdAt: z.ZodString;
2149
+ }, "strip", z.ZodTypeAny, {
2150
+ scope: string;
2151
+ schemaVersion: "1.0";
2152
+ packages: {
2153
+ name: string;
2154
+ path: string;
2155
+ currentVersion: string;
2156
+ nextVersion: string;
2157
+ bump: "patch" | "minor" | "major" | "auto";
2158
+ isPublished: boolean;
2159
+ dependencies?: string[] | undefined;
2160
+ reason?: string | undefined;
2161
+ }[];
2162
+ strategy: "semver";
2163
+ registry: string;
2164
+ rollbackEnabled: boolean;
2165
+ createdAt: string;
2166
+ }, {
2167
+ scope: string;
2168
+ schemaVersion: "1.0";
2169
+ packages: {
2170
+ name: string;
2171
+ path: string;
2172
+ currentVersion: string;
2173
+ nextVersion: string;
2174
+ bump: "patch" | "minor" | "major" | "auto";
2175
+ isPublished: boolean;
2176
+ dependencies?: string[] | undefined;
2177
+ reason?: string | undefined;
2178
+ }[];
2179
+ strategy: "semver";
2180
+ registry: string;
2181
+ rollbackEnabled: boolean;
2182
+ createdAt: string;
2183
+ }>>;
2184
+ result: z.ZodObject<{
2185
+ ok: z.ZodBoolean;
2186
+ version: z.ZodOptional<z.ZodString>;
2187
+ published: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2188
+ skipped: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2189
+ changelog: z.ZodOptional<z.ZodString>;
2190
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2191
+ id: z.ZodString;
2192
+ ok: z.ZodBoolean;
2193
+ details: z.ZodOptional<z.ZodUnknown>;
2194
+ hint: z.ZodOptional<z.ZodString>;
2195
+ timingMs: z.ZodOptional<z.ZodNumber>;
2196
+ }, "strip", z.ZodTypeAny, {
2197
+ id: string;
2198
+ ok: boolean;
2199
+ details?: unknown;
2200
+ hint?: string | undefined;
2201
+ timingMs?: number | undefined;
2202
+ }, {
2203
+ id: string;
2204
+ ok: boolean;
2205
+ details?: unknown;
2206
+ hint?: string | undefined;
2207
+ timingMs?: number | undefined;
2208
+ }>>>;
2209
+ git: z.ZodOptional<z.ZodObject<{
2210
+ committed: z.ZodBoolean;
2211
+ tagged: z.ZodArray<z.ZodString, "many">;
2212
+ pushed: z.ZodBoolean;
2213
+ }, "strip", z.ZodTypeAny, {
2214
+ committed: boolean;
2215
+ tagged: string[];
2216
+ pushed: boolean;
2217
+ }, {
2218
+ committed: boolean;
2219
+ tagged: string[];
2220
+ pushed: boolean;
2221
+ }>>;
2222
+ timingMs: z.ZodNumber;
2223
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2224
+ }, "strip", z.ZodTypeAny, {
2225
+ ok: boolean;
2226
+ timingMs: number;
2227
+ changelog?: string | undefined;
2228
+ version?: string | undefined;
2229
+ published?: string[] | undefined;
2230
+ skipped?: string[] | undefined;
2231
+ checks?: Record<string, {
2232
+ id: string;
2233
+ ok: boolean;
2234
+ details?: unknown;
2235
+ hint?: string | undefined;
2236
+ timingMs?: number | undefined;
2237
+ }> | undefined;
2238
+ git?: {
2239
+ committed: boolean;
2240
+ tagged: string[];
2241
+ pushed: boolean;
2242
+ } | undefined;
2243
+ errors?: string[] | undefined;
2244
+ }, {
2245
+ ok: boolean;
2246
+ timingMs: number;
2247
+ changelog?: string | undefined;
2248
+ version?: string | undefined;
2249
+ published?: string[] | undefined;
2250
+ skipped?: string[] | undefined;
2251
+ checks?: Record<string, {
2252
+ id: string;
2253
+ ok: boolean;
2254
+ details?: unknown;
2255
+ hint?: string | undefined;
2256
+ timingMs?: number | undefined;
2257
+ }> | undefined;
2258
+ git?: {
2259
+ committed: boolean;
2260
+ tagged: string[];
2261
+ pushed: boolean;
2262
+ } | undefined;
2263
+ errors?: string[] | undefined;
2264
+ }>;
2265
+ }, "strip", z.ZodTypeAny, {
2266
+ scope: string;
2267
+ schemaVersion: "1.0";
2268
+ ts: string;
2269
+ context: {
2270
+ repo: string;
2271
+ cwd: string;
2272
+ branch: string;
2273
+ profile?: string | undefined;
2274
+ dryRun?: boolean | undefined;
2275
+ };
2276
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
2277
+ result: {
2278
+ ok: boolean;
2279
+ timingMs: number;
2280
+ changelog?: string | undefined;
2281
+ version?: string | undefined;
2282
+ published?: string[] | undefined;
2283
+ skipped?: string[] | undefined;
2284
+ checks?: Record<string, {
2285
+ id: string;
2286
+ ok: boolean;
2287
+ details?: unknown;
2288
+ hint?: string | undefined;
2289
+ timingMs?: number | undefined;
2290
+ }> | undefined;
2291
+ git?: {
2292
+ committed: boolean;
2293
+ tagged: string[];
2294
+ pushed: boolean;
2295
+ } | undefined;
2296
+ errors?: string[] | undefined;
2297
+ };
2298
+ plan?: {
2299
+ scope: string;
2300
+ schemaVersion: "1.0";
2301
+ packages: {
2302
+ name: string;
2303
+ path: string;
2304
+ currentVersion: string;
2305
+ nextVersion: string;
2306
+ bump: "patch" | "minor" | "major" | "auto";
2307
+ isPublished: boolean;
2308
+ dependencies?: string[] | undefined;
2309
+ reason?: string | undefined;
2310
+ }[];
2311
+ strategy: "semver";
2312
+ registry: string;
2313
+ rollbackEnabled: boolean;
2314
+ createdAt: string;
2315
+ } | undefined;
2316
+ }, {
2317
+ scope: string;
2318
+ schemaVersion: "1.0";
2319
+ ts: string;
2320
+ context: {
2321
+ repo: string;
2322
+ cwd: string;
2323
+ branch: string;
2324
+ profile?: string | undefined;
2325
+ dryRun?: boolean | undefined;
2326
+ };
2327
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
2328
+ result: {
2329
+ ok: boolean;
2330
+ timingMs: number;
2331
+ changelog?: string | undefined;
2332
+ version?: string | undefined;
2333
+ published?: string[] | undefined;
2334
+ skipped?: string[] | undefined;
2335
+ checks?: Record<string, {
2336
+ id: string;
2337
+ ok: boolean;
2338
+ details?: unknown;
2339
+ hint?: string | undefined;
2340
+ timingMs?: number | undefined;
2341
+ }> | undefined;
2342
+ git?: {
2343
+ committed: boolean;
2344
+ tagged: string[];
2345
+ pushed: boolean;
2346
+ } | undefined;
2347
+ errors?: string[] | undefined;
2348
+ };
2349
+ plan?: {
2350
+ scope: string;
2351
+ schemaVersion: "1.0";
2352
+ packages: {
2353
+ name: string;
2354
+ path: string;
2355
+ currentVersion: string;
2356
+ nextVersion: string;
2357
+ bump: "patch" | "minor" | "major" | "auto";
2358
+ isPublished: boolean;
2359
+ dependencies?: string[] | undefined;
2360
+ reason?: string | undefined;
2361
+ }[];
2362
+ strategy: "semver";
2363
+ registry: string;
2364
+ rollbackEnabled: boolean;
2365
+ createdAt: string;
2366
+ } | undefined;
2367
+ }>;
2368
+ }, "strip", z.ZodTypeAny, {
2369
+ report: {
2370
+ scope: string;
2371
+ schemaVersion: "1.0";
2372
+ ts: string;
2373
+ context: {
2374
+ repo: string;
2375
+ cwd: string;
2376
+ branch: string;
2377
+ profile?: string | undefined;
2378
+ dryRun?: boolean | undefined;
2379
+ };
2380
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
2381
+ result: {
2382
+ ok: boolean;
2383
+ timingMs: number;
2384
+ changelog?: string | undefined;
2385
+ version?: string | undefined;
2386
+ published?: string[] | undefined;
2387
+ skipped?: string[] | undefined;
2388
+ checks?: Record<string, {
2389
+ id: string;
2390
+ ok: boolean;
2391
+ details?: unknown;
2392
+ hint?: string | undefined;
2393
+ timingMs?: number | undefined;
2394
+ }> | undefined;
2395
+ git?: {
2396
+ committed: boolean;
2397
+ tagged: string[];
2398
+ pushed: boolean;
2399
+ } | undefined;
2400
+ errors?: string[] | undefined;
2401
+ };
2402
+ plan?: {
2403
+ scope: string;
2404
+ schemaVersion: "1.0";
2405
+ packages: {
2406
+ name: string;
2407
+ path: string;
2408
+ currentVersion: string;
2409
+ nextVersion: string;
2410
+ bump: "patch" | "minor" | "major" | "auto";
2411
+ isPublished: boolean;
2412
+ dependencies?: string[] | undefined;
2413
+ reason?: string | undefined;
2414
+ }[];
2415
+ strategy: "semver";
2416
+ registry: string;
2417
+ rollbackEnabled: boolean;
2418
+ createdAt: string;
2419
+ } | undefined;
2420
+ };
2421
+ id: string;
2422
+ }, {
2423
+ report: {
2424
+ scope: string;
2425
+ schemaVersion: "1.0";
2426
+ ts: string;
2427
+ context: {
2428
+ repo: string;
2429
+ cwd: string;
2430
+ branch: string;
2431
+ profile?: string | undefined;
2432
+ dryRun?: boolean | undefined;
2433
+ };
2434
+ stage: "rollback" | "planning" | "checking" | "versioning" | "publishing" | "verifying";
2435
+ result: {
2436
+ ok: boolean;
2437
+ timingMs: number;
2438
+ changelog?: string | undefined;
2439
+ version?: string | undefined;
2440
+ published?: string[] | undefined;
2441
+ skipped?: string[] | undefined;
2442
+ checks?: Record<string, {
2443
+ id: string;
2444
+ ok: boolean;
2445
+ details?: unknown;
2446
+ hint?: string | undefined;
2447
+ timingMs?: number | undefined;
2448
+ }> | undefined;
2449
+ git?: {
2450
+ committed: boolean;
2451
+ tagged: string[];
2452
+ pushed: boolean;
2453
+ } | undefined;
2454
+ errors?: string[] | undefined;
2455
+ };
2456
+ plan?: {
2457
+ scope: string;
2458
+ schemaVersion: "1.0";
2459
+ packages: {
2460
+ name: string;
2461
+ path: string;
2462
+ currentVersion: string;
2463
+ nextVersion: string;
2464
+ bump: "patch" | "minor" | "major" | "auto";
2465
+ isPublished: boolean;
2466
+ dependencies?: string[] | undefined;
2467
+ reason?: string | undefined;
2468
+ }[];
2469
+ strategy: "semver";
2470
+ registry: string;
2471
+ rollbackEnabled: boolean;
2472
+ createdAt: string;
2473
+ } | undefined;
2474
+ };
2475
+ id: string;
2476
+ }>;
2477
+ type HistoryReportResponse = z.infer<typeof HistoryReportResponseSchema>;
2478
+ declare const HistoryPlanResponseSchema: z.ZodObject<{
2479
+ id: z.ZodString;
2480
+ plan: z.ZodObject<{
2481
+ schemaVersion: z.ZodLiteral<"1.0">;
2482
+ scope: z.ZodString;
2483
+ packages: z.ZodArray<z.ZodObject<{
2484
+ name: z.ZodString;
2485
+ path: z.ZodString;
2486
+ currentVersion: z.ZodString;
2487
+ nextVersion: z.ZodString;
2488
+ bump: z.ZodEnum<["patch", "minor", "major", "auto"]>;
2489
+ isPublished: z.ZodBoolean;
2490
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2491
+ reason: z.ZodOptional<z.ZodString>;
2492
+ }, "strip", z.ZodTypeAny, {
2493
+ name: string;
2494
+ path: string;
2495
+ currentVersion: string;
2496
+ nextVersion: string;
2497
+ bump: "patch" | "minor" | "major" | "auto";
2498
+ isPublished: boolean;
2499
+ dependencies?: string[] | undefined;
2500
+ reason?: string | undefined;
2501
+ }, {
2502
+ name: string;
2503
+ path: string;
2504
+ currentVersion: string;
2505
+ nextVersion: string;
2506
+ bump: "patch" | "minor" | "major" | "auto";
2507
+ isPublished: boolean;
2508
+ dependencies?: string[] | undefined;
2509
+ reason?: string | undefined;
2510
+ }>, "many">;
2511
+ strategy: z.ZodLiteral<"semver">;
2512
+ registry: z.ZodString;
2513
+ rollbackEnabled: z.ZodBoolean;
2514
+ createdAt: z.ZodString;
2515
+ }, "strip", z.ZodTypeAny, {
2516
+ scope: string;
2517
+ schemaVersion: "1.0";
2518
+ packages: {
2519
+ name: string;
2520
+ path: string;
2521
+ currentVersion: string;
2522
+ nextVersion: string;
2523
+ bump: "patch" | "minor" | "major" | "auto";
2524
+ isPublished: boolean;
2525
+ dependencies?: string[] | undefined;
2526
+ reason?: string | undefined;
2527
+ }[];
2528
+ strategy: "semver";
2529
+ registry: string;
2530
+ rollbackEnabled: boolean;
2531
+ createdAt: string;
2532
+ }, {
2533
+ scope: string;
2534
+ schemaVersion: "1.0";
2535
+ packages: {
2536
+ name: string;
2537
+ path: string;
2538
+ currentVersion: string;
2539
+ nextVersion: string;
2540
+ bump: "patch" | "minor" | "major" | "auto";
2541
+ isPublished: boolean;
2542
+ dependencies?: string[] | undefined;
2543
+ reason?: string | undefined;
2544
+ }[];
2545
+ strategy: "semver";
2546
+ registry: string;
2547
+ rollbackEnabled: boolean;
2548
+ createdAt: string;
2549
+ }>;
2550
+ }, "strip", z.ZodTypeAny, {
2551
+ plan: {
2552
+ scope: string;
2553
+ schemaVersion: "1.0";
2554
+ packages: {
2555
+ name: string;
2556
+ path: string;
2557
+ currentVersion: string;
2558
+ nextVersion: string;
2559
+ bump: "patch" | "minor" | "major" | "auto";
2560
+ isPublished: boolean;
2561
+ dependencies?: string[] | undefined;
2562
+ reason?: string | undefined;
2563
+ }[];
2564
+ strategy: "semver";
2565
+ registry: string;
2566
+ rollbackEnabled: boolean;
2567
+ createdAt: string;
2568
+ };
2569
+ id: string;
2570
+ }, {
2571
+ plan: {
2572
+ scope: string;
2573
+ schemaVersion: "1.0";
2574
+ packages: {
2575
+ name: string;
2576
+ path: string;
2577
+ currentVersion: string;
2578
+ nextVersion: string;
2579
+ bump: "patch" | "minor" | "major" | "auto";
2580
+ isPublished: boolean;
2581
+ dependencies?: string[] | undefined;
2582
+ reason?: string | undefined;
2583
+ }[];
2584
+ strategy: "semver";
2585
+ registry: string;
2586
+ rollbackEnabled: boolean;
2587
+ createdAt: string;
2588
+ };
2589
+ id: string;
2590
+ }>;
2591
+ type HistoryPlanResponse = z.infer<typeof HistoryPlanResponseSchema>;
2592
+ declare const HistoryChangelogResponseSchema: z.ZodObject<{
2593
+ id: z.ZodString;
2594
+ markdown: z.ZodString;
2595
+ scope: z.ZodString;
2596
+ }, "strip", z.ZodTypeAny, {
2597
+ markdown: string;
2598
+ id: string;
2599
+ scope: string;
2600
+ }, {
2601
+ markdown: string;
2602
+ id: string;
2603
+ scope: string;
2604
+ }>;
2605
+ type HistoryChangelogResponse = z.infer<typeof HistoryChangelogResponseSchema>;
2606
+ declare const VerifyCheckSchema: z.ZodObject<{
2607
+ name: z.ZodString;
2608
+ passed: z.ZodBoolean;
2609
+ warning: z.ZodOptional<z.ZodString>;
2610
+ error: z.ZodOptional<z.ZodString>;
2611
+ }, "strip", z.ZodTypeAny, {
2612
+ name: string;
2613
+ passed: boolean;
2614
+ error?: string | undefined;
2615
+ warning?: string | undefined;
2616
+ }, {
2617
+ name: string;
2618
+ passed: boolean;
2619
+ error?: string | undefined;
2620
+ warning?: string | undefined;
2621
+ }>;
2622
+ type VerifyCheck = z.infer<typeof VerifyCheckSchema>;
2623
+ declare const VerifyResponseSchema: z.ZodObject<{
2624
+ scope: z.ZodString;
2625
+ passed: z.ZodBoolean;
2626
+ checks: z.ZodArray<z.ZodObject<{
2627
+ name: z.ZodString;
2628
+ passed: z.ZodBoolean;
2629
+ warning: z.ZodOptional<z.ZodString>;
2630
+ error: z.ZodOptional<z.ZodString>;
2631
+ }, "strip", z.ZodTypeAny, {
2632
+ name: string;
2633
+ passed: boolean;
2634
+ error?: string | undefined;
2635
+ warning?: string | undefined;
2636
+ }, {
2637
+ name: string;
2638
+ passed: boolean;
2639
+ error?: string | undefined;
2640
+ warning?: string | undefined;
2641
+ }>, "many">;
2642
+ warnings: z.ZodArray<z.ZodString, "many">;
2643
+ errors: z.ZodArray<z.ZodString, "many">;
2644
+ }, "strip", z.ZodTypeAny, {
2645
+ scope: string;
2646
+ checks: {
2647
+ name: string;
2648
+ passed: boolean;
2649
+ error?: string | undefined;
2650
+ warning?: string | undefined;
2651
+ }[];
2652
+ errors: string[];
2653
+ passed: boolean;
2654
+ warnings: string[];
2655
+ }, {
2656
+ scope: string;
2657
+ checks: {
2658
+ name: string;
2659
+ passed: boolean;
2660
+ error?: string | undefined;
2661
+ warning?: string | undefined;
2662
+ }[];
2663
+ errors: string[];
2664
+ passed: boolean;
2665
+ warnings: string[];
2666
+ }>;
2667
+ type VerifyResponse = z.infer<typeof VerifyResponseSchema>;
2668
+ declare const PublishRequestSchema: z.ZodObject<{
2669
+ scope: z.ZodString;
2670
+ packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2671
+ registry: z.ZodOptional<z.ZodString>;
2672
+ dryRun: z.ZodOptional<z.ZodBoolean>;
2673
+ }, "strip", z.ZodTypeAny, {
2674
+ scope: string;
2675
+ packages?: string[] | undefined;
2676
+ registry?: string | undefined;
2677
+ dryRun?: boolean | undefined;
2678
+ }, {
2679
+ scope: string;
2680
+ packages?: string[] | undefined;
2681
+ registry?: string | undefined;
2682
+ dryRun?: boolean | undefined;
2683
+ }>;
2684
+ type PublishRequest = z.infer<typeof PublishRequestSchema>;
2685
+ declare const PublishResponseSchema: z.ZodObject<{
2686
+ scope: z.ZodString;
2687
+ published: z.ZodArray<z.ZodString, "many">;
2688
+ failed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2689
+ success: z.ZodBoolean;
2690
+ }, "strip", z.ZodTypeAny, {
2691
+ scope: string;
2692
+ success: boolean;
2693
+ published: string[];
2694
+ failed?: string[] | undefined;
2695
+ }, {
2696
+ scope: string;
2697
+ success: boolean;
2698
+ published: string[];
2699
+ failed?: string[] | undefined;
2700
+ }>;
2701
+ type PublishResponse = z.infer<typeof PublishResponseSchema>;
2702
+ declare const RollbackRequestSchema: z.ZodObject<{
2703
+ scope: z.ZodString;
2704
+ releaseId: z.ZodOptional<z.ZodString>;
2705
+ }, "strip", z.ZodTypeAny, {
2706
+ scope: string;
2707
+ releaseId?: string | undefined;
2708
+ }, {
2709
+ scope: string;
2710
+ releaseId?: string | undefined;
2711
+ }>;
2712
+ type RollbackRequest = z.infer<typeof RollbackRequestSchema>;
2713
+ declare const RollbackResponseSchema: z.ZodObject<{
2714
+ scope: z.ZodString;
2715
+ success: z.ZodBoolean;
2716
+ message: z.ZodString;
2717
+ rolledBackPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2718
+ }, "strip", z.ZodTypeAny, {
2719
+ message: string;
2720
+ scope: string;
2721
+ success: boolean;
2722
+ rolledBackPackages?: string[] | undefined;
2723
+ }, {
2724
+ message: string;
2725
+ scope: string;
2726
+ success: boolean;
2727
+ rolledBackPackages?: string[] | undefined;
2728
+ }>;
2729
+ type RollbackResponse = z.infer<typeof RollbackResponseSchema>;
2730
+ declare const GitCommitSchema: z.ZodObject<{
2731
+ sha: z.ZodString;
2732
+ shortSha: z.ZodString;
2733
+ message: z.ZodString;
2734
+ type: z.ZodEnum<["feat", "fix", "chore", "docs", "refactor", "test", "style", "perf", "ci", "build", "revert", "BREAKING", "unknown"]>;
2735
+ bump: z.ZodEnum<["major", "minor", "patch", "none"]>;
2736
+ scope: z.ZodOptional<z.ZodString>;
2737
+ author: z.ZodString;
2738
+ date: z.ZodString;
2739
+ }, "strip", z.ZodTypeAny, {
2740
+ type: "build" | "unknown" | "feat" | "fix" | "chore" | "docs" | "refactor" | "test" | "style" | "perf" | "ci" | "revert" | "BREAKING";
2741
+ message: string;
2742
+ date: string;
2743
+ bump: "patch" | "minor" | "major" | "none";
2744
+ sha: string;
2745
+ shortSha: string;
2746
+ author: string;
2747
+ scope?: string | undefined;
2748
+ }, {
2749
+ type: "build" | "unknown" | "feat" | "fix" | "chore" | "docs" | "refactor" | "test" | "style" | "perf" | "ci" | "revert" | "BREAKING";
2750
+ message: string;
2751
+ date: string;
2752
+ bump: "patch" | "minor" | "major" | "none";
2753
+ sha: string;
2754
+ shortSha: string;
2755
+ author: string;
2756
+ scope?: string | undefined;
2757
+ }>;
2758
+ type GitCommit = z.infer<typeof GitCommitSchema>;
2759
+ declare const GitTimelineInputSchema: z.ZodObject<{
2760
+ scope: z.ZodDefault<z.ZodString>;
2761
+ }, "strip", z.ZodTypeAny, {
2762
+ scope: string;
2763
+ }, {
2764
+ scope?: string | undefined;
2765
+ }>;
2766
+ type GitTimelineInput = z.infer<typeof GitTimelineInputSchema>;
2767
+ declare const GitTimelineResponseSchema: z.ZodObject<{
2768
+ scope: z.ZodString;
2769
+ currentVersion: z.ZodOptional<z.ZodString>;
2770
+ suggestedVersion: z.ZodOptional<z.ZodString>;
2771
+ suggestedBump: z.ZodOptional<z.ZodEnum<["major", "minor", "patch", "none"]>>;
2772
+ commits: z.ZodArray<z.ZodObject<{
2773
+ sha: z.ZodString;
2774
+ shortSha: z.ZodString;
2775
+ message: z.ZodString;
2776
+ type: z.ZodEnum<["feat", "fix", "chore", "docs", "refactor", "test", "style", "perf", "ci", "build", "revert", "BREAKING", "unknown"]>;
2777
+ bump: z.ZodEnum<["major", "minor", "patch", "none"]>;
2778
+ scope: z.ZodOptional<z.ZodString>;
2779
+ author: z.ZodString;
2780
+ date: z.ZodString;
2781
+ }, "strip", z.ZodTypeAny, {
2782
+ type: "build" | "unknown" | "feat" | "fix" | "chore" | "docs" | "refactor" | "test" | "style" | "perf" | "ci" | "revert" | "BREAKING";
2783
+ message: string;
2784
+ date: string;
2785
+ bump: "patch" | "minor" | "major" | "none";
2786
+ sha: string;
2787
+ shortSha: string;
2788
+ author: string;
2789
+ scope?: string | undefined;
2790
+ }, {
2791
+ type: "build" | "unknown" | "feat" | "fix" | "chore" | "docs" | "refactor" | "test" | "style" | "perf" | "ci" | "revert" | "BREAKING";
2792
+ message: string;
2793
+ date: string;
2794
+ bump: "patch" | "minor" | "major" | "none";
2795
+ sha: string;
2796
+ shortSha: string;
2797
+ author: string;
2798
+ scope?: string | undefined;
2799
+ }>, "many">;
2800
+ unreleased: z.ZodNumber;
2801
+ lastTag: z.ZodOptional<z.ZodString>;
2802
+ hasUnreleasedChanges: z.ZodBoolean;
2803
+ }, "strip", z.ZodTypeAny, {
2804
+ scope: string;
2805
+ commits: {
2806
+ type: "build" | "unknown" | "feat" | "fix" | "chore" | "docs" | "refactor" | "test" | "style" | "perf" | "ci" | "revert" | "BREAKING";
2807
+ message: string;
2808
+ date: string;
2809
+ bump: "patch" | "minor" | "major" | "none";
2810
+ sha: string;
2811
+ shortSha: string;
2812
+ author: string;
2813
+ scope?: string | undefined;
2814
+ }[];
2815
+ unreleased: number;
2816
+ hasUnreleasedChanges: boolean;
2817
+ currentVersion?: string | undefined;
2818
+ suggestedVersion?: string | undefined;
2819
+ suggestedBump?: "patch" | "minor" | "major" | "none" | undefined;
2820
+ lastTag?: string | undefined;
2821
+ }, {
2822
+ scope: string;
2823
+ commits: {
2824
+ type: "build" | "unknown" | "feat" | "fix" | "chore" | "docs" | "refactor" | "test" | "style" | "perf" | "ci" | "revert" | "BREAKING";
2825
+ message: string;
2826
+ date: string;
2827
+ bump: "patch" | "minor" | "major" | "none";
2828
+ sha: string;
2829
+ shortSha: string;
2830
+ author: string;
2831
+ scope?: string | undefined;
2832
+ }[];
2833
+ unreleased: number;
2834
+ hasUnreleasedChanges: boolean;
2835
+ currentVersion?: string | undefined;
2836
+ suggestedVersion?: string | undefined;
2837
+ suggestedBump?: "patch" | "minor" | "major" | "none" | undefined;
2838
+ lastTag?: string | undefined;
2839
+ }>;
2840
+ type GitTimelineResponse = z.infer<typeof GitTimelineResponseSchema>;
2841
+ declare const PackageFileSchema: z.ZodObject<{
2842
+ path: z.ZodString;
2843
+ size: z.ZodNumber;
2844
+ }, "strip", z.ZodTypeAny, {
2845
+ path: string;
2846
+ size: number;
2847
+ }, {
2848
+ path: string;
2849
+ size: number;
2850
+ }>;
2851
+ type PackageFile = z.infer<typeof PackageFileSchema>;
2852
+ declare const BuildStatusSchema: z.ZodEnum<["ready", "not_built", "outdated", "building"]>;
2853
+ type BuildStatus = z.infer<typeof BuildStatusSchema>;
2854
+ declare const PackagePreviewSchema: z.ZodObject<{
2855
+ name: z.ZodString;
2856
+ version: z.ZodString;
2857
+ path: z.ZodString;
2858
+ buildStatus: z.ZodEnum<["ready", "not_built", "outdated", "building"]>;
2859
+ files: z.ZodArray<z.ZodObject<{
2860
+ path: z.ZodString;
2861
+ size: z.ZodNumber;
2862
+ }, "strip", z.ZodTypeAny, {
2863
+ path: string;
2864
+ size: number;
2865
+ }, {
2866
+ path: string;
2867
+ size: number;
2868
+ }>, "many">;
2869
+ expectedFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2870
+ totalSize: z.ZodNumber;
2871
+ fileCount: z.ZodNumber;
2872
+ }, "strip", z.ZodTypeAny, {
2873
+ name: string;
2874
+ path: string;
2875
+ version: string;
2876
+ buildStatus: "ready" | "not_built" | "outdated" | "building";
2877
+ files: {
2878
+ path: string;
2879
+ size: number;
2880
+ }[];
2881
+ totalSize: number;
2882
+ fileCount: number;
2883
+ expectedFiles?: string[] | undefined;
2884
+ }, {
2885
+ name: string;
2886
+ path: string;
2887
+ version: string;
2888
+ buildStatus: "ready" | "not_built" | "outdated" | "building";
2889
+ files: {
2890
+ path: string;
2891
+ size: number;
2892
+ }[];
2893
+ totalSize: number;
2894
+ fileCount: number;
2895
+ expectedFiles?: string[] | undefined;
2896
+ }>;
2897
+ type PackagePreview = z.infer<typeof PackagePreviewSchema>;
2898
+ declare const PreviewInputSchema: z.ZodObject<{
2899
+ scope: z.ZodDefault<z.ZodString>;
2900
+ }, "strip", z.ZodTypeAny, {
2901
+ scope: string;
2902
+ }, {
2903
+ scope?: string | undefined;
2904
+ }>;
2905
+ type PreviewInput = z.infer<typeof PreviewInputSchema>;
2906
+ declare const PreviewResponseSchema: z.ZodObject<{
2907
+ scope: z.ZodString;
2908
+ packages: z.ZodArray<z.ZodObject<{
2909
+ name: z.ZodString;
2910
+ version: z.ZodString;
2911
+ path: z.ZodString;
2912
+ buildStatus: z.ZodEnum<["ready", "not_built", "outdated", "building"]>;
2913
+ files: z.ZodArray<z.ZodObject<{
2914
+ path: z.ZodString;
2915
+ size: z.ZodNumber;
2916
+ }, "strip", z.ZodTypeAny, {
2917
+ path: string;
2918
+ size: number;
2919
+ }, {
2920
+ path: string;
2921
+ size: number;
2922
+ }>, "many">;
2923
+ expectedFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2924
+ totalSize: z.ZodNumber;
2925
+ fileCount: z.ZodNumber;
2926
+ }, "strip", z.ZodTypeAny, {
2927
+ name: string;
2928
+ path: string;
2929
+ version: string;
2930
+ buildStatus: "ready" | "not_built" | "outdated" | "building";
2931
+ files: {
2932
+ path: string;
2933
+ size: number;
2934
+ }[];
2935
+ totalSize: number;
2936
+ fileCount: number;
2937
+ expectedFiles?: string[] | undefined;
2938
+ }, {
2939
+ name: string;
2940
+ path: string;
2941
+ version: string;
2942
+ buildStatus: "ready" | "not_built" | "outdated" | "building";
2943
+ files: {
2944
+ path: string;
2945
+ size: number;
2946
+ }[];
2947
+ totalSize: number;
2948
+ fileCount: number;
2949
+ expectedFiles?: string[] | undefined;
2950
+ }>, "many">;
2951
+ totalSize: z.ZodNumber;
2952
+ totalFiles: z.ZodNumber;
2953
+ allBuilt: z.ZodBoolean;
2954
+ }, "strip", z.ZodTypeAny, {
2955
+ scope: string;
2956
+ packages: {
2957
+ name: string;
2958
+ path: string;
2959
+ version: string;
2960
+ buildStatus: "ready" | "not_built" | "outdated" | "building";
2961
+ files: {
2962
+ path: string;
2963
+ size: number;
2964
+ }[];
2965
+ totalSize: number;
2966
+ fileCount: number;
2967
+ expectedFiles?: string[] | undefined;
2968
+ }[];
2969
+ totalSize: number;
2970
+ totalFiles: number;
2971
+ allBuilt: boolean;
2972
+ }, {
2973
+ scope: string;
2974
+ packages: {
2975
+ name: string;
2976
+ path: string;
2977
+ version: string;
2978
+ buildStatus: "ready" | "not_built" | "outdated" | "building";
2979
+ files: {
2980
+ path: string;
2981
+ size: number;
2982
+ }[];
2983
+ totalSize: number;
2984
+ fileCount: number;
2985
+ expectedFiles?: string[] | undefined;
2986
+ }[];
2987
+ totalSize: number;
2988
+ totalFiles: number;
2989
+ allBuilt: boolean;
2990
+ }>;
2991
+ type PreviewResponse = z.infer<typeof PreviewResponseSchema>;
2992
+ declare const BuildRequestSchema: z.ZodObject<{
2993
+ scope: z.ZodString;
2994
+ }, "strip", z.ZodTypeAny, {
2995
+ scope: string;
2996
+ }, {
2997
+ scope: string;
2998
+ }>;
2999
+ type BuildRequest = z.infer<typeof BuildRequestSchema>;
3000
+ declare const BuildResponseSchema: z.ZodObject<{
3001
+ scope: z.ZodString;
3002
+ success: z.ZodBoolean;
3003
+ packages: z.ZodArray<z.ZodObject<{
3004
+ name: z.ZodString;
3005
+ success: z.ZodBoolean;
3006
+ error: z.ZodOptional<z.ZodString>;
3007
+ durationMs: z.ZodOptional<z.ZodNumber>;
3008
+ }, "strip", z.ZodTypeAny, {
3009
+ name: string;
3010
+ success: boolean;
3011
+ error?: string | undefined;
3012
+ durationMs?: number | undefined;
3013
+ }, {
3014
+ name: string;
3015
+ success: boolean;
3016
+ error?: string | undefined;
3017
+ durationMs?: number | undefined;
3018
+ }>, "many">;
3019
+ builtCount: z.ZodNumber;
3020
+ totalCount: z.ZodNumber;
3021
+ totalDurationMs: z.ZodNumber;
3022
+ }, "strip", z.ZodTypeAny, {
3023
+ scope: string;
3024
+ packages: {
3025
+ name: string;
3026
+ success: boolean;
3027
+ error?: string | undefined;
3028
+ durationMs?: number | undefined;
3029
+ }[];
3030
+ success: boolean;
3031
+ builtCount: number;
3032
+ totalCount: number;
3033
+ totalDurationMs: number;
3034
+ }, {
3035
+ scope: string;
3036
+ packages: {
3037
+ name: string;
3038
+ success: boolean;
3039
+ error?: string | undefined;
3040
+ durationMs?: number | undefined;
3041
+ }[];
3042
+ success: boolean;
3043
+ builtCount: number;
3044
+ totalCount: number;
3045
+ totalDurationMs: number;
3046
+ }>;
3047
+ type BuildResponse = z.infer<typeof BuildResponseSchema>;
3048
+ declare const ChecklistItemStatusSchema: z.ZodEnum<["pending", "ready", "warning", "error", "running"]>;
3049
+ type ChecklistItemStatus = z.infer<typeof ChecklistItemStatusSchema>;
3050
+ declare const ReleaseChecklistSchema: z.ZodObject<{
3051
+ scope: z.ZodString;
3052
+ plan: z.ZodObject<{
3053
+ status: z.ZodEnum<["pending", "ready", "warning", "error", "running"]>;
3054
+ message: z.ZodString;
3055
+ packagesCount: z.ZodOptional<z.ZodNumber>;
3056
+ bump: z.ZodOptional<z.ZodString>;
3057
+ }, "strip", z.ZodTypeAny, {
3058
+ status: "ready" | "running" | "error" | "warning" | "pending";
3059
+ message: string;
3060
+ bump?: string | undefined;
3061
+ packagesCount?: number | undefined;
3062
+ }, {
3063
+ status: "ready" | "running" | "error" | "warning" | "pending";
3064
+ message: string;
3065
+ bump?: string | undefined;
3066
+ packagesCount?: number | undefined;
3067
+ }>;
3068
+ changelog: z.ZodObject<{
3069
+ status: z.ZodEnum<["pending", "ready", "warning", "error", "running"]>;
3070
+ message: z.ZodString;
3071
+ commitsCount: z.ZodOptional<z.ZodNumber>;
3072
+ }, "strip", z.ZodTypeAny, {
3073
+ status: "ready" | "running" | "error" | "warning" | "pending";
3074
+ message: string;
3075
+ commitsCount?: number | undefined;
3076
+ }, {
3077
+ status: "ready" | "running" | "error" | "warning" | "pending";
3078
+ message: string;
3079
+ commitsCount?: number | undefined;
3080
+ }>;
3081
+ build: z.ZodObject<{
3082
+ status: z.ZodEnum<["pending", "ready", "warning", "error", "running"]>;
3083
+ message: z.ZodString;
3084
+ builtCount: z.ZodOptional<z.ZodNumber>;
3085
+ totalCount: z.ZodOptional<z.ZodNumber>;
3086
+ }, "strip", z.ZodTypeAny, {
3087
+ status: "ready" | "running" | "error" | "warning" | "pending";
3088
+ message: string;
3089
+ builtCount?: number | undefined;
3090
+ totalCount?: number | undefined;
3091
+ }, {
3092
+ status: "ready" | "running" | "error" | "warning" | "pending";
3093
+ message: string;
3094
+ builtCount?: number | undefined;
3095
+ totalCount?: number | undefined;
3096
+ }>;
3097
+ preview: z.ZodObject<{
3098
+ status: z.ZodEnum<["pending", "ready", "warning", "error", "running"]>;
3099
+ message: z.ZodString;
3100
+ filesCount: z.ZodOptional<z.ZodNumber>;
3101
+ totalSize: z.ZodOptional<z.ZodNumber>;
3102
+ }, "strip", z.ZodTypeAny, {
3103
+ status: "ready" | "running" | "error" | "warning" | "pending";
3104
+ message: string;
3105
+ totalSize?: number | undefined;
3106
+ filesCount?: number | undefined;
3107
+ }, {
3108
+ status: "ready" | "running" | "error" | "warning" | "pending";
3109
+ message: string;
3110
+ totalSize?: number | undefined;
3111
+ filesCount?: number | undefined;
3112
+ }>;
3113
+ npm: z.ZodObject<{
3114
+ status: z.ZodEnum<["pending", "ready", "warning", "error", "running"]>;
3115
+ message: z.ZodString;
3116
+ }, "strip", z.ZodTypeAny, {
3117
+ status: "ready" | "running" | "error" | "warning" | "pending";
3118
+ message: string;
3119
+ }, {
3120
+ status: "ready" | "running" | "error" | "warning" | "pending";
3121
+ message: string;
3122
+ }>;
3123
+ canPublish: z.ZodBoolean;
3124
+ }, "strip", z.ZodTypeAny, {
3125
+ plan: {
3126
+ status: "ready" | "running" | "error" | "warning" | "pending";
3127
+ message: string;
3128
+ bump?: string | undefined;
3129
+ packagesCount?: number | undefined;
3130
+ };
3131
+ preview: {
3132
+ status: "ready" | "running" | "error" | "warning" | "pending";
3133
+ message: string;
3134
+ totalSize?: number | undefined;
3135
+ filesCount?: number | undefined;
3136
+ };
3137
+ changelog: {
3138
+ status: "ready" | "running" | "error" | "warning" | "pending";
3139
+ message: string;
3140
+ commitsCount?: number | undefined;
3141
+ };
3142
+ build: {
3143
+ status: "ready" | "running" | "error" | "warning" | "pending";
3144
+ message: string;
3145
+ builtCount?: number | undefined;
3146
+ totalCount?: number | undefined;
3147
+ };
3148
+ scope: string;
3149
+ npm: {
3150
+ status: "ready" | "running" | "error" | "warning" | "pending";
3151
+ message: string;
3152
+ };
3153
+ canPublish: boolean;
3154
+ }, {
3155
+ plan: {
3156
+ status: "ready" | "running" | "error" | "warning" | "pending";
3157
+ message: string;
3158
+ bump?: string | undefined;
3159
+ packagesCount?: number | undefined;
3160
+ };
3161
+ preview: {
3162
+ status: "ready" | "running" | "error" | "warning" | "pending";
3163
+ message: string;
3164
+ totalSize?: number | undefined;
3165
+ filesCount?: number | undefined;
3166
+ };
3167
+ changelog: {
3168
+ status: "ready" | "running" | "error" | "warning" | "pending";
3169
+ message: string;
3170
+ commitsCount?: number | undefined;
3171
+ };
3172
+ build: {
3173
+ status: "ready" | "running" | "error" | "warning" | "pending";
3174
+ message: string;
3175
+ builtCount?: number | undefined;
3176
+ totalCount?: number | undefined;
3177
+ };
3178
+ scope: string;
3179
+ npm: {
3180
+ status: "ready" | "running" | "error" | "warning" | "pending";
3181
+ message: string;
3182
+ };
3183
+ canPublish: boolean;
3184
+ }>;
3185
+ type ReleaseChecklist = z.infer<typeof ReleaseChecklistSchema>;
3186
+ declare const RunChecksRequestSchema: z.ZodObject<{
3187
+ scope: z.ZodString;
3188
+ }, "strip", z.ZodTypeAny, {
3189
+ scope: string;
3190
+ }, {
3191
+ scope: string;
3192
+ }>;
3193
+ type RunChecksRequest = z.infer<typeof RunChecksRequestSchema>;
3194
+ declare const CheckResultItemSchema: z.ZodObject<{
3195
+ id: z.ZodString;
3196
+ name: z.ZodString;
3197
+ success: z.ZodBoolean;
3198
+ error: z.ZodOptional<z.ZodString>;
3199
+ durationMs: z.ZodNumber;
3200
+ optional: z.ZodOptional<z.ZodBoolean>;
3201
+ }, "strip", z.ZodTypeAny, {
3202
+ id: string;
3203
+ name: string;
3204
+ success: boolean;
3205
+ durationMs: number;
3206
+ error?: string | undefined;
3207
+ optional?: boolean | undefined;
3208
+ }, {
3209
+ id: string;
3210
+ name: string;
3211
+ success: boolean;
3212
+ durationMs: number;
3213
+ error?: string | undefined;
3214
+ optional?: boolean | undefined;
3215
+ }>;
3216
+ type CheckResultItem = z.infer<typeof CheckResultItemSchema>;
3217
+ declare const RunChecksResponseSchema: z.ZodObject<{
3218
+ scope: z.ZodString;
3219
+ success: z.ZodBoolean;
3220
+ checks: z.ZodArray<z.ZodObject<{
3221
+ id: z.ZodString;
3222
+ name: z.ZodString;
3223
+ success: z.ZodBoolean;
3224
+ error: z.ZodOptional<z.ZodString>;
3225
+ durationMs: z.ZodNumber;
3226
+ optional: z.ZodOptional<z.ZodBoolean>;
3227
+ }, "strip", z.ZodTypeAny, {
3228
+ id: string;
3229
+ name: string;
3230
+ success: boolean;
3231
+ durationMs: number;
3232
+ error?: string | undefined;
3233
+ optional?: boolean | undefined;
3234
+ }, {
3235
+ id: string;
3236
+ name: string;
3237
+ success: boolean;
3238
+ durationMs: number;
3239
+ error?: string | undefined;
3240
+ optional?: boolean | undefined;
3241
+ }>, "many">;
3242
+ totalDurationMs: z.ZodNumber;
3243
+ }, "strip", z.ZodTypeAny, {
3244
+ scope: string;
3245
+ success: boolean;
3246
+ checks: {
3247
+ id: string;
3248
+ name: string;
3249
+ success: boolean;
3250
+ durationMs: number;
3251
+ error?: string | undefined;
3252
+ optional?: boolean | undefined;
3253
+ }[];
3254
+ totalDurationMs: number;
3255
+ }, {
3256
+ scope: string;
3257
+ success: boolean;
3258
+ checks: {
3259
+ id: string;
3260
+ name: string;
3261
+ success: boolean;
3262
+ durationMs: number;
3263
+ error?: string | undefined;
3264
+ optional?: boolean | undefined;
3265
+ }[];
3266
+ totalDurationMs: number;
3267
+ }>;
3268
+ type RunChecksResponse = z.infer<typeof RunChecksResponseSchema>;
3269
+ declare const CheckDefinitionSchema: z.ZodObject<{
3270
+ id: z.ZodString;
3271
+ name: z.ZodString;
3272
+ optional: z.ZodOptional<z.ZodBoolean>;
3273
+ }, "strip", z.ZodTypeAny, {
3274
+ id: string;
3275
+ name: string;
3276
+ optional?: boolean | undefined;
3277
+ }, {
3278
+ id: string;
3279
+ name: string;
3280
+ optional?: boolean | undefined;
3281
+ }>;
3282
+ type CheckDefinition = z.infer<typeof CheckDefinitionSchema>;
3283
+ declare const GetChecksResponseSchema: z.ZodObject<{
3284
+ scope: z.ZodString;
3285
+ checks: z.ZodArray<z.ZodObject<{
3286
+ id: z.ZodString;
3287
+ name: z.ZodString;
3288
+ optional: z.ZodOptional<z.ZodBoolean>;
3289
+ }, "strip", z.ZodTypeAny, {
3290
+ id: string;
3291
+ name: string;
3292
+ optional?: boolean | undefined;
3293
+ }, {
3294
+ id: string;
3295
+ name: string;
3296
+ optional?: boolean | undefined;
3297
+ }>, "many">;
3298
+ }, "strip", z.ZodTypeAny, {
3299
+ scope: string;
3300
+ checks: {
3301
+ id: string;
3302
+ name: string;
3303
+ optional?: boolean | undefined;
3304
+ }[];
3305
+ }, {
3306
+ scope: string;
3307
+ checks: {
3308
+ id: string;
3309
+ name: string;
3310
+ optional?: boolean | undefined;
3311
+ }[];
3312
+ }>;
3313
+ type GetChecksResponse = z.infer<typeof GetChecksResponseSchema>;
3314
+
3315
+ /**
3316
+ * Cache namespace prefix for release manager
3317
+ * Used for platform cache permissions and cache key prefixing
3318
+ */
3319
+ declare const RELEASE_CACHE_PREFIX: "release:";
3320
+
3321
+ export { type ArtifactContractsMap, type ArtifactExample, type ArtifactKind, type BuildRequest, BuildRequestSchema, type BuildResponse, BuildResponseSchema, type BuildStatus, BuildStatusSchema, type ChangelogInput, ChangelogInputSchema, type ChangelogResponse, ChangelogResponseSchema, type CheckDefinition, CheckDefinitionSchema, type CheckResult, type CheckResultItem, CheckResultItemSchema, CheckResultSchema, type ChecklistItemStatus, ChecklistItemStatusSchema, type CommandContract, type CommandContractsMap, type GenerateChangelogRequest, GenerateChangelogRequestSchema, type GenerateChangelogResponse, GenerateChangelogResponseSchema, type GeneratePlanRequest, GeneratePlanRequestSchema, type GeneratePlanResponse, GeneratePlanResponseSchema, type GetChecksResponse, GetChecksResponseSchema, type GitCommit, GitCommitSchema, type GitTimelineInput, GitTimelineInputSchema, type GitTimelineResponse, GitTimelineResponseSchema, type HistoryChangelogResponse, HistoryChangelogResponseSchema, type HistoryPlanResponse, HistoryPlanResponseSchema, type HistoryReportResponse, HistoryReportResponseSchema, type HistoryResponse, HistoryResponseSchema, type PackageFile, PackageFileSchema, type PackagePreview, PackagePreviewSchema, type PackageVersion, PackageVersionSchema, type PlanInput, PlanInputSchema, type PlanResponse, PlanResponseSchema, type PlanStatus, PlanStatusSchema, type PluginArtifactContract, type PluginArtifactIds, type PluginCommandIds, type PluginContracts, type PreviewInput, PreviewInputSchema, type PreviewResponse, PreviewResponseSchema, type PublishRequest, PublishRequestSchema, type PublishResponse, PublishResponseSchema, RELEASE_BASE_PATH, RELEASE_CACHE_PREFIX, RELEASE_FULL_ROUTES, RELEASE_ROUTES, RELEASE_WIDGET_ROUTES, type ReleaseChecklist, ReleaseChecklistSchema, type ReleaseHistoryItem, ReleaseHistoryItemSchema, type ReleasePlan, ReleasePlanSchema, type ReleaseReport, ReleaseReportSchema, type ReleaseRoute, type ReleaseScopeInfo, ReleaseScopeInfoSchema, type ReleaseStage, ReleaseStageSchema, type ReleaseWidgetRoute, type ReportResponse, ReportResponseSchema, type ResetPlanRequest, ResetPlanRequestSchema, type ResetPlanResponse, ResetPlanResponseSchema, type RollbackRequest, RollbackRequestSchema, type RollbackResponse, RollbackResponseSchema, type RunChecksRequest, RunChecksRequestSchema, type RunChecksResponse, RunChecksResponseSchema, type RunReleaseRequest, RunReleaseRequestSchema, type RunReleaseResponse, RunReleaseResponseSchema, type SaveChangelogRequest, SaveChangelogRequestSchema, type SaveChangelogResponse, SaveChangelogResponseSchema, type SchemaReference, type ScopesResponse, ScopesResponseSchema, type StatusInput, StatusInputSchema, type StatusResponse, StatusResponseSchema, type VerifyCheck, VerifyCheckSchema, type VerifyResponse, VerifyResponseSchema, type VersionBump, VersionBumpSchema, contractsSchemaId, contractsVersion, pluginContractsManifest };