@usestatemachines/cli 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +34 -2
  3. package/dist/agents/bundled.d.ts +5 -0
  4. package/dist/agents/bundled.js +6 -0
  5. package/dist/agents/destinations.d.ts +13 -0
  6. package/dist/agents/destinations.js +16 -0
  7. package/dist/api-internal.d.ts +62 -0
  8. package/dist/api-internal.js +348 -0
  9. package/dist/bin.d.ts +2 -0
  10. package/dist/bin.js +4 -0
  11. package/dist/command.d.ts +119 -0
  12. package/dist/command.js +195 -0
  13. package/dist/commands/api/command.d.ts +15 -0
  14. package/dist/commands/api/command.js +38 -0
  15. package/dist/commands/api/run.d.ts +4 -0
  16. package/dist/commands/api/run.js +24 -0
  17. package/dist/commands/apps/command.d.ts +19 -0
  18. package/dist/commands/apps/command.js +29 -0
  19. package/dist/commands/apps/list.d.ts +8 -0
  20. package/dist/commands/apps/list.js +10 -0
  21. package/dist/commands/connect/command.d.ts +34 -0
  22. package/dist/commands/connect/command.js +70 -0
  23. package/dist/commands/connect/run.d.ts +10 -0
  24. package/dist/commands/connect/run.js +71 -0
  25. package/dist/commands/doctor/command.d.ts +29 -0
  26. package/dist/commands/doctor/command.js +36 -0
  27. package/dist/commands/doctor/run.d.ts +13 -0
  28. package/dist/commands/doctor/run.js +12 -0
  29. package/dist/commands/env/command.d.ts +5 -0
  30. package/dist/commands/env/command.js +19 -0
  31. package/dist/commands/env/pull.d.ts +6 -0
  32. package/dist/commands/env/pull.js +6 -0
  33. package/dist/commands/environments/command.d.ts +121 -0
  34. package/dist/commands/environments/command.js +170 -0
  35. package/dist/commands/environments/create.d.ts +9 -0
  36. package/dist/commands/environments/create.js +42 -0
  37. package/dist/commands/environments/delete.d.ts +7 -0
  38. package/dist/commands/environments/delete.js +48 -0
  39. package/dist/commands/environments/get.d.ts +39 -0
  40. package/dist/commands/environments/get.js +5 -0
  41. package/dist/commands/environments/list.d.ts +41 -0
  42. package/dist/commands/environments/list.js +18 -0
  43. package/dist/commands/environments/wait.d.ts +39 -0
  44. package/dist/commands/environments/wait.js +21 -0
  45. package/dist/commands/init/command.d.ts +68 -0
  46. package/dist/commands/init/command.js +90 -0
  47. package/dist/commands/init/run.d.ts +8 -0
  48. package/dist/commands/init/run.js +422 -0
  49. package/dist/commands/link/command.d.ts +13 -0
  50. package/dist/commands/link/command.js +32 -0
  51. package/dist/commands/link/run.d.ts +12 -0
  52. package/dist/commands/link/run.js +7 -0
  53. package/dist/commands/login/command.d.ts +1 -0
  54. package/dist/commands/login/command.js +43 -0
  55. package/dist/commands/login/run.d.ts +30 -0
  56. package/dist/commands/login/run.js +43 -0
  57. package/dist/commands/login/schema.d.ts +33 -0
  58. package/dist/commands/login/schema.js +33 -0
  59. package/dist/commands/logout/command.d.ts +1 -0
  60. package/dist/commands/logout/command.js +24 -0
  61. package/dist/commands/logout/run.d.ts +10 -0
  62. package/dist/commands/logout/run.js +19 -0
  63. package/dist/commands/logout/schema.d.ts +10 -0
  64. package/dist/commands/logout/schema.js +10 -0
  65. package/dist/commands/profiles/command.d.ts +2 -0
  66. package/dist/commands/profiles/command.js +29 -0
  67. package/dist/commands/profiles/list.d.ts +20 -0
  68. package/dist/commands/profiles/list.js +10 -0
  69. package/dist/commands/profiles/schema.d.ts +24 -0
  70. package/dist/commands/profiles/schema.js +19 -0
  71. package/dist/commands/profiles/use.d.ts +7 -0
  72. package/dist/commands/profiles/use.js +7 -0
  73. package/dist/commands/requests/command.d.ts +39 -0
  74. package/dist/commands/requests/command.js +65 -0
  75. package/dist/commands/requests/get.d.ts +32 -0
  76. package/dist/commands/requests/get.js +15 -0
  77. package/dist/commands/requests/list.d.ts +27 -0
  78. package/dist/commands/requests/list.js +25 -0
  79. package/dist/commands/snapshots/command.d.ts +48 -0
  80. package/dist/commands/snapshots/command.js +80 -0
  81. package/dist/commands/snapshots/create.d.ts +7 -0
  82. package/dist/commands/snapshots/create.js +26 -0
  83. package/dist/commands/snapshots/delete.d.ts +34 -0
  84. package/dist/commands/snapshots/delete.js +8 -0
  85. package/dist/commands/snapshots/get.d.ts +35 -0
  86. package/dist/commands/snapshots/get.js +5 -0
  87. package/dist/commands/snapshots/list.d.ts +37 -0
  88. package/dist/commands/snapshots/list.js +10 -0
  89. package/dist/commands/unlink/command.d.ts +1 -0
  90. package/dist/commands/unlink/command.js +15 -0
  91. package/dist/commands/unlink/run.d.ts +7 -0
  92. package/dist/commands/unlink/run.js +8 -0
  93. package/dist/commands/whoami/command.d.ts +28 -0
  94. package/dist/commands/whoami/command.js +44 -0
  95. package/dist/commands/whoami/run.d.ts +5 -0
  96. package/dist/commands/whoami/run.js +39 -0
  97. package/dist/commands/workspaces/command.d.ts +33 -0
  98. package/dist/commands/workspaces/command.js +73 -0
  99. package/dist/commands/workspaces/list.d.ts +5 -0
  100. package/dist/commands/workspaces/list.js +42 -0
  101. package/dist/commands/workspaces/use.d.ts +5 -0
  102. package/dist/commands/workspaces/use.js +18 -0
  103. package/dist/config/project.d.ts +21 -0
  104. package/dist/config/project.js +105 -0
  105. package/dist/config/schema.d.ts +616 -0
  106. package/dist/config/schema.js +282 -0
  107. package/dist/context-types.d.ts +89 -0
  108. package/dist/context-types.js +56 -0
  109. package/dist/context.d.ts +13 -0
  110. package/dist/context.js +290 -0
  111. package/dist/credentials/sealing.d.ts +10 -0
  112. package/dist/credentials/sealing.js +72 -0
  113. package/dist/credentials/store.d.ts +17 -0
  114. package/dist/credentials/store.js +156 -0
  115. package/dist/doctor.d.ts +4 -0
  116. package/dist/doctor.js +239 -0
  117. package/dist/env-file.d.ts +10 -0
  118. package/dist/env-file.js +254 -0
  119. package/dist/errors.d.ts +784 -0
  120. package/dist/errors.js +459 -0
  121. package/dist/flags.d.ts +22 -0
  122. package/dist/flags.js +56 -0
  123. package/dist/generated/internal.d.ts +138 -0
  124. package/dist/generated/internal.js +2627 -0
  125. package/dist/generated/retry.d.ts +1 -0
  126. package/dist/generated/retry.js +11 -0
  127. package/dist/help.d.ts +408 -0
  128. package/dist/help.js +220 -0
  129. package/dist/io-types.d.ts +127 -0
  130. package/dist/io-types.js +1 -0
  131. package/dist/io.d.ts +13 -0
  132. package/dist/io.js +1017 -0
  133. package/dist/keys.d.ts +50 -0
  134. package/dist/keys.js +691 -0
  135. package/dist/link.d.ts +6 -0
  136. package/dist/link.js +58 -0
  137. package/dist/login.d.ts +92 -0
  138. package/dist/login.js +965 -0
  139. package/dist/main.d.ts +2 -0
  140. package/dist/main.js +126 -0
  141. package/dist/native-helper.d.ts +1 -0
  142. package/dist/native-helper.js +2 -0
  143. package/dist/output.d.ts +8 -0
  144. package/dist/output.js +135 -0
  145. package/dist/parser.d.ts +28 -0
  146. package/dist/parser.js +250 -0
  147. package/dist/program-types.d.ts +67 -0
  148. package/dist/program-types.js +14 -0
  149. package/dist/programs.d.ts +2 -0
  150. package/dist/programs.js +44 -0
  151. package/dist/project-roots.d.ts +3 -0
  152. package/dist/project-roots.js +26 -0
  153. package/dist/prompt.d.ts +3 -0
  154. package/dist/prompt.js +61 -0
  155. package/dist/registry.d.ts +2 -0
  156. package/dist/registry.js +44 -0
  157. package/dist/resources/create.d.ts +9 -0
  158. package/dist/resources/create.js +55 -0
  159. package/dist/resources/read.d.ts +15 -0
  160. package/dist/resources/read.js +69 -0
  161. package/dist/resources/schema.d.ts +177 -0
  162. package/dist/resources/schema.js +158 -0
  163. package/dist/text.d.ts +3 -0
  164. package/dist/text.js +19 -0
  165. package/dist/update.d.ts +22 -0
  166. package/dist/update.js +126 -0
  167. package/dist/version.d.ts +2 -0
  168. package/dist/version.js +2 -0
  169. package/package.json +52 -3
@@ -0,0 +1,784 @@
1
+ import type { JsonValue } from './command.js';
2
+ export type ExitCode = 0 | 1 | 2 | 3 | 130;
3
+ export type FailureExitCode = Exclude<ExitCode, 0>;
4
+ export interface NextCommand {
5
+ readonly command: string;
6
+ readonly reason: string;
7
+ }
8
+ export declare const errorCatalog: {
9
+ 'cli.resource_failed': {
10
+ message: string;
11
+ exitCode: 1;
12
+ retryable: false;
13
+ userActionRequired: false;
14
+ next: never[];
15
+ };
16
+ 'cli.unexpected_status': {
17
+ message: string;
18
+ exitCode: 1;
19
+ retryable: false;
20
+ userActionRequired: false;
21
+ next: never[];
22
+ };
23
+ 'cli.env_requires_login': {
24
+ message: string;
25
+ exitCode: 3;
26
+ retryable: false;
27
+ userActionRequired: true;
28
+ next: {
29
+ command: string;
30
+ reason: string;
31
+ }[];
32
+ };
33
+ 'cli.env_path_refused': {
34
+ message: string;
35
+ exitCode: 2;
36
+ retryable: false;
37
+ userActionRequired: true;
38
+ next: never[];
39
+ };
40
+ 'cli.env_invalid': {
41
+ message: string;
42
+ exitCode: 2;
43
+ retryable: false;
44
+ userActionRequired: true;
45
+ next: never[];
46
+ };
47
+ 'cli.env_changed': {
48
+ message: string;
49
+ exitCode: 1;
50
+ retryable: true;
51
+ userActionRequired: false;
52
+ next: never[];
53
+ };
54
+ 'cli.git': {
55
+ message: string;
56
+ exitCode: 1;
57
+ retryable: false;
58
+ userActionRequired: true;
59
+ next: never[];
60
+ };
61
+ 'cli.child_start': {
62
+ message: string;
63
+ exitCode: 1;
64
+ retryable: false;
65
+ userActionRequired: true;
66
+ next: never[];
67
+ };
68
+ 'cli.package_install': {
69
+ message: string;
70
+ exitCode: 1;
71
+ retryable: false;
72
+ userActionRequired: true;
73
+ next: never[];
74
+ };
75
+ 'cli.invalid_environment_credential': {
76
+ message: string;
77
+ exitCode: 3;
78
+ retryable: false;
79
+ userActionRequired: true;
80
+ next: {
81
+ command: string;
82
+ reason: string;
83
+ }[];
84
+ };
85
+ 'cli.no_credential': {
86
+ message: string;
87
+ exitCode: 3;
88
+ retryable: false;
89
+ userActionRequired: true;
90
+ next: {
91
+ command: string;
92
+ reason: string;
93
+ }[];
94
+ };
95
+ 'cli.credential_expired': {
96
+ message: string;
97
+ exitCode: 3;
98
+ retryable: false;
99
+ userActionRequired: true;
100
+ next: {
101
+ command: string;
102
+ reason: string;
103
+ }[];
104
+ };
105
+ 'cli.credential_revoked': {
106
+ message: string;
107
+ exitCode: 3;
108
+ retryable: false;
109
+ userActionRequired: true;
110
+ next: {
111
+ command: string;
112
+ reason: string;
113
+ }[];
114
+ };
115
+ 'cli.profile_not_found': {
116
+ message: string;
117
+ exitCode: 3;
118
+ retryable: false;
119
+ userActionRequired: true;
120
+ next: {
121
+ command: string;
122
+ reason: string;
123
+ }[];
124
+ };
125
+ 'cli.not_linked': {
126
+ message: string;
127
+ exitCode: 2;
128
+ retryable: false;
129
+ userActionRequired: true;
130
+ next: {
131
+ command: string;
132
+ reason: string;
133
+ }[];
134
+ };
135
+ 'cli.workspace_mismatch': {
136
+ message: string;
137
+ exitCode: 2;
138
+ retryable: false;
139
+ userActionRequired: true;
140
+ next: {
141
+ command: string;
142
+ reason: string;
143
+ }[];
144
+ };
145
+ 'cli.organization_mismatch': {
146
+ message: string;
147
+ exitCode: 2;
148
+ retryable: false;
149
+ userActionRequired: true;
150
+ next: {
151
+ command: string;
152
+ reason: string;
153
+ }[];
154
+ };
155
+ 'cli.origin_mismatch': {
156
+ message: string;
157
+ exitCode: 3;
158
+ retryable: false;
159
+ userActionRequired: true;
160
+ next: {
161
+ command: string;
162
+ reason: string;
163
+ }[];
164
+ };
165
+ 'cli.keychain_denied': {
166
+ message: string;
167
+ exitCode: 1;
168
+ retryable: false;
169
+ userActionRequired: true;
170
+ next: {
171
+ command: string;
172
+ reason: string;
173
+ }[];
174
+ };
175
+ 'cli.keychain_timeout': {
176
+ message: string;
177
+ exitCode: 1;
178
+ retryable: true;
179
+ userActionRequired: true;
180
+ next: {
181
+ command: string;
182
+ reason: string;
183
+ }[];
184
+ };
185
+ 'cli.keychain_unavailable': {
186
+ message: string;
187
+ exitCode: 1;
188
+ retryable: false;
189
+ userActionRequired: true;
190
+ next: {
191
+ command: string;
192
+ reason: string;
193
+ }[];
194
+ };
195
+ 'cli.credential_store_mismatch': {
196
+ message: string;
197
+ exitCode: 1;
198
+ retryable: false;
199
+ userActionRequired: true;
200
+ next: {
201
+ command: string;
202
+ reason: string;
203
+ }[];
204
+ };
205
+ 'cli.credentials_invalid': {
206
+ message: string;
207
+ exitCode: 1;
208
+ retryable: false;
209
+ userActionRequired: true;
210
+ next: {
211
+ command: string;
212
+ reason: string;
213
+ }[];
214
+ };
215
+ 'cli.input_required': {
216
+ message: string;
217
+ exitCode: 2;
218
+ retryable: false;
219
+ userActionRequired: true;
220
+ next: never[];
221
+ };
222
+ 'cli.invalid_arguments': {
223
+ message: string;
224
+ exitCode: 2;
225
+ retryable: false;
226
+ userActionRequired: false;
227
+ next: {
228
+ command: string;
229
+ reason: string;
230
+ }[];
231
+ };
232
+ 'cli.path_refused': {
233
+ message: string;
234
+ exitCode: 2;
235
+ retryable: false;
236
+ userActionRequired: false;
237
+ next: {
238
+ command: string;
239
+ reason: string;
240
+ }[];
241
+ };
242
+ 'cli.wait_timeout': {
243
+ message: string;
244
+ exitCode: 1;
245
+ retryable: true;
246
+ userActionRequired: false;
247
+ next: never[];
248
+ };
249
+ 'cli.config_too_new': {
250
+ message: string;
251
+ exitCode: 1;
252
+ retryable: false;
253
+ userActionRequired: true;
254
+ next: {
255
+ command: string;
256
+ reason: string;
257
+ }[];
258
+ };
259
+ 'cli.file_not_utf8': {
260
+ message: string;
261
+ exitCode: 2;
262
+ retryable: false;
263
+ userActionRequired: true;
264
+ next: never[];
265
+ };
266
+ 'cli.config_invalid': {
267
+ message: string;
268
+ exitCode: 1;
269
+ retryable: false;
270
+ userActionRequired: true;
271
+ next: {
272
+ command: string;
273
+ reason: string;
274
+ }[];
275
+ };
276
+ 'cli.config_locked': {
277
+ message: string;
278
+ exitCode: 1;
279
+ retryable: true;
280
+ userActionRequired: false;
281
+ next: never[];
282
+ };
283
+ 'cli.config_lock_invalid': {
284
+ message: string;
285
+ exitCode: 1;
286
+ retryable: false;
287
+ userActionRequired: true;
288
+ next: {
289
+ command: string;
290
+ reason: string;
291
+ }[];
292
+ };
293
+ 'cli.config_io': {
294
+ message: string;
295
+ exitCode: 1;
296
+ retryable: false;
297
+ userActionRequired: true;
298
+ next: {
299
+ command: string;
300
+ reason: string;
301
+ }[];
302
+ };
303
+ 'cli.login_busy': {
304
+ message: string;
305
+ exitCode: 1;
306
+ retryable: true;
307
+ userActionRequired: false;
308
+ next: never[];
309
+ };
310
+ 'cli.profile_changed': {
311
+ message: string;
312
+ exitCode: 1;
313
+ retryable: false;
314
+ userActionRequired: true;
315
+ next: {
316
+ command: string;
317
+ reason: string;
318
+ }[];
319
+ };
320
+ 'cli.logout_pending': {
321
+ message: string;
322
+ exitCode: 1;
323
+ retryable: true;
324
+ userActionRequired: true;
325
+ next: {
326
+ command: string;
327
+ reason: string;
328
+ }[];
329
+ };
330
+ 'cli.network': {
331
+ message: string;
332
+ exitCode: 1;
333
+ retryable: true;
334
+ userActionRequired: false;
335
+ next: never[];
336
+ };
337
+ 'cli.invalid_response': {
338
+ message: string;
339
+ exitCode: 1;
340
+ retryable: true;
341
+ userActionRequired: false;
342
+ next: never[];
343
+ };
344
+ 'cli.invalid_result': {
345
+ message: string;
346
+ exitCode: 1;
347
+ retryable: false;
348
+ userActionRequired: false;
349
+ next: never[];
350
+ };
351
+ 'cli.cancelled': {
352
+ message: string;
353
+ exitCode: 130;
354
+ retryable: false;
355
+ userActionRequired: false;
356
+ next: never[];
357
+ };
358
+ 'cli.internal': {
359
+ message: string;
360
+ exitCode: 1;
361
+ retryable: false;
362
+ userActionRequired: false;
363
+ next: never[];
364
+ };
365
+ };
366
+ export type CliErrorCode = keyof typeof errorCatalog;
367
+ export interface ErrorDocument {
368
+ readonly error: {
369
+ readonly code: string;
370
+ readonly message: string;
371
+ readonly requestId: string | null;
372
+ readonly retryable: boolean;
373
+ readonly next: readonly NextCommand[];
374
+ readonly userActionRequired: boolean;
375
+ readonly details: JsonValue;
376
+ };
377
+ }
378
+ export interface CliErrorOptions {
379
+ readonly message?: string;
380
+ readonly requestId?: string | null;
381
+ readonly next?: readonly NextCommand[];
382
+ readonly details?: JsonValue;
383
+ readonly userActionRequired?: boolean;
384
+ }
385
+ export declare class CliError extends Error {
386
+ readonly code: CliErrorCode;
387
+ readonly exitCode: FailureExitCode;
388
+ readonly document: ErrorDocument;
389
+ constructor(code: CliErrorCode, options?: CliErrorOptions);
390
+ }
391
+ export interface ApiErrorInput {
392
+ readonly status: number;
393
+ readonly code: string | null;
394
+ readonly message: string;
395
+ readonly requestId: string | null;
396
+ readonly details: JsonValue;
397
+ }
398
+ export declare class ApiError extends Error {
399
+ readonly status: number;
400
+ readonly exitCode: FailureExitCode;
401
+ readonly document: ErrorDocument;
402
+ constructor(input: ApiErrorInput);
403
+ }
404
+ export declare const keychainFailures: string[];
405
+ export declare function failedWith(error: unknown, codes: readonly string[]): boolean;
406
+ export declare function unconfirmedRevocations(count: number): {
407
+ problem: string;
408
+ remedy: string;
409
+ };
410
+ export declare function withErrorDetails(error: CliError | ApiError, details: JsonValue): CliError | ApiError;
411
+ export declare function normalizeError(error: unknown): CliError | ApiError;
412
+ export declare function errorHelp(): ({
413
+ message: string;
414
+ exitCode: 1;
415
+ retryable: false;
416
+ userActionRequired: false;
417
+ next: never[];
418
+ code: string;
419
+ } | {
420
+ message: string;
421
+ exitCode: 1;
422
+ retryable: false;
423
+ userActionRequired: false;
424
+ next: never[];
425
+ code: string;
426
+ } | {
427
+ message: string;
428
+ exitCode: 3;
429
+ retryable: false;
430
+ userActionRequired: true;
431
+ next: {
432
+ command: string;
433
+ reason: string;
434
+ }[];
435
+ code: string;
436
+ } | {
437
+ message: string;
438
+ exitCode: 2;
439
+ retryable: false;
440
+ userActionRequired: true;
441
+ next: never[];
442
+ code: string;
443
+ } | {
444
+ message: string;
445
+ exitCode: 2;
446
+ retryable: false;
447
+ userActionRequired: true;
448
+ next: never[];
449
+ code: string;
450
+ } | {
451
+ message: string;
452
+ exitCode: 1;
453
+ retryable: true;
454
+ userActionRequired: false;
455
+ next: never[];
456
+ code: string;
457
+ } | {
458
+ message: string;
459
+ exitCode: 1;
460
+ retryable: false;
461
+ userActionRequired: true;
462
+ next: never[];
463
+ code: string;
464
+ } | {
465
+ message: string;
466
+ exitCode: 1;
467
+ retryable: false;
468
+ userActionRequired: true;
469
+ next: never[];
470
+ code: string;
471
+ } | {
472
+ message: string;
473
+ exitCode: 1;
474
+ retryable: false;
475
+ userActionRequired: true;
476
+ next: never[];
477
+ code: string;
478
+ } | {
479
+ message: string;
480
+ exitCode: 3;
481
+ retryable: false;
482
+ userActionRequired: true;
483
+ next: {
484
+ command: string;
485
+ reason: string;
486
+ }[];
487
+ code: string;
488
+ } | {
489
+ message: string;
490
+ exitCode: 3;
491
+ retryable: false;
492
+ userActionRequired: true;
493
+ next: {
494
+ command: string;
495
+ reason: string;
496
+ }[];
497
+ code: string;
498
+ } | {
499
+ message: string;
500
+ exitCode: 3;
501
+ retryable: false;
502
+ userActionRequired: true;
503
+ next: {
504
+ command: string;
505
+ reason: string;
506
+ }[];
507
+ code: string;
508
+ } | {
509
+ message: string;
510
+ exitCode: 3;
511
+ retryable: false;
512
+ userActionRequired: true;
513
+ next: {
514
+ command: string;
515
+ reason: string;
516
+ }[];
517
+ code: string;
518
+ } | {
519
+ message: string;
520
+ exitCode: 3;
521
+ retryable: false;
522
+ userActionRequired: true;
523
+ next: {
524
+ command: string;
525
+ reason: string;
526
+ }[];
527
+ code: string;
528
+ } | {
529
+ message: string;
530
+ exitCode: 2;
531
+ retryable: false;
532
+ userActionRequired: true;
533
+ next: {
534
+ command: string;
535
+ reason: string;
536
+ }[];
537
+ code: string;
538
+ } | {
539
+ message: string;
540
+ exitCode: 2;
541
+ retryable: false;
542
+ userActionRequired: true;
543
+ next: {
544
+ command: string;
545
+ reason: string;
546
+ }[];
547
+ code: string;
548
+ } | {
549
+ message: string;
550
+ exitCode: 2;
551
+ retryable: false;
552
+ userActionRequired: true;
553
+ next: {
554
+ command: string;
555
+ reason: string;
556
+ }[];
557
+ code: string;
558
+ } | {
559
+ message: string;
560
+ exitCode: 3;
561
+ retryable: false;
562
+ userActionRequired: true;
563
+ next: {
564
+ command: string;
565
+ reason: string;
566
+ }[];
567
+ code: string;
568
+ } | {
569
+ message: string;
570
+ exitCode: 1;
571
+ retryable: false;
572
+ userActionRequired: true;
573
+ next: {
574
+ command: string;
575
+ reason: string;
576
+ }[];
577
+ code: string;
578
+ } | {
579
+ message: string;
580
+ exitCode: 1;
581
+ retryable: true;
582
+ userActionRequired: true;
583
+ next: {
584
+ command: string;
585
+ reason: string;
586
+ }[];
587
+ code: string;
588
+ } | {
589
+ message: string;
590
+ exitCode: 1;
591
+ retryable: false;
592
+ userActionRequired: true;
593
+ next: {
594
+ command: string;
595
+ reason: string;
596
+ }[];
597
+ code: string;
598
+ } | {
599
+ message: string;
600
+ exitCode: 1;
601
+ retryable: false;
602
+ userActionRequired: true;
603
+ next: {
604
+ command: string;
605
+ reason: string;
606
+ }[];
607
+ code: string;
608
+ } | {
609
+ message: string;
610
+ exitCode: 1;
611
+ retryable: false;
612
+ userActionRequired: true;
613
+ next: {
614
+ command: string;
615
+ reason: string;
616
+ }[];
617
+ code: string;
618
+ } | {
619
+ message: string;
620
+ exitCode: 2;
621
+ retryable: false;
622
+ userActionRequired: true;
623
+ next: never[];
624
+ code: string;
625
+ } | {
626
+ message: string;
627
+ exitCode: 2;
628
+ retryable: false;
629
+ userActionRequired: false;
630
+ next: {
631
+ command: string;
632
+ reason: string;
633
+ }[];
634
+ code: string;
635
+ } | {
636
+ message: string;
637
+ exitCode: 2;
638
+ retryable: false;
639
+ userActionRequired: false;
640
+ next: {
641
+ command: string;
642
+ reason: string;
643
+ }[];
644
+ code: string;
645
+ } | {
646
+ message: string;
647
+ exitCode: 1;
648
+ retryable: true;
649
+ userActionRequired: false;
650
+ next: never[];
651
+ code: string;
652
+ } | {
653
+ message: string;
654
+ exitCode: 1;
655
+ retryable: false;
656
+ userActionRequired: true;
657
+ next: {
658
+ command: string;
659
+ reason: string;
660
+ }[];
661
+ code: string;
662
+ } | {
663
+ message: string;
664
+ exitCode: 2;
665
+ retryable: false;
666
+ userActionRequired: true;
667
+ next: never[];
668
+ code: string;
669
+ } | {
670
+ message: string;
671
+ exitCode: 1;
672
+ retryable: false;
673
+ userActionRequired: true;
674
+ next: {
675
+ command: string;
676
+ reason: string;
677
+ }[];
678
+ code: string;
679
+ } | {
680
+ message: string;
681
+ exitCode: 1;
682
+ retryable: true;
683
+ userActionRequired: false;
684
+ next: never[];
685
+ code: string;
686
+ } | {
687
+ message: string;
688
+ exitCode: 1;
689
+ retryable: false;
690
+ userActionRequired: true;
691
+ next: {
692
+ command: string;
693
+ reason: string;
694
+ }[];
695
+ code: string;
696
+ } | {
697
+ message: string;
698
+ exitCode: 1;
699
+ retryable: false;
700
+ userActionRequired: true;
701
+ next: {
702
+ command: string;
703
+ reason: string;
704
+ }[];
705
+ code: string;
706
+ } | {
707
+ message: string;
708
+ exitCode: 1;
709
+ retryable: true;
710
+ userActionRequired: false;
711
+ next: never[];
712
+ code: string;
713
+ } | {
714
+ message: string;
715
+ exitCode: 1;
716
+ retryable: false;
717
+ userActionRequired: true;
718
+ next: {
719
+ command: string;
720
+ reason: string;
721
+ }[];
722
+ code: string;
723
+ } | {
724
+ message: string;
725
+ exitCode: 1;
726
+ retryable: true;
727
+ userActionRequired: true;
728
+ next: {
729
+ command: string;
730
+ reason: string;
731
+ }[];
732
+ code: string;
733
+ } | {
734
+ message: string;
735
+ exitCode: 1;
736
+ retryable: true;
737
+ userActionRequired: false;
738
+ next: never[];
739
+ code: string;
740
+ } | {
741
+ message: string;
742
+ exitCode: 1;
743
+ retryable: true;
744
+ userActionRequired: false;
745
+ next: never[];
746
+ code: string;
747
+ } | {
748
+ message: string;
749
+ exitCode: 1;
750
+ retryable: false;
751
+ userActionRequired: false;
752
+ next: never[];
753
+ code: string;
754
+ } | {
755
+ message: string;
756
+ exitCode: 130;
757
+ retryable: false;
758
+ userActionRequired: false;
759
+ next: never[];
760
+ code: string;
761
+ } | {
762
+ message: string;
763
+ exitCode: 1;
764
+ retryable: false;
765
+ userActionRequired: false;
766
+ next: never[];
767
+ code: string;
768
+ })[];
769
+ export declare const exitCodeHelp: ({
770
+ code: 0;
771
+ meaning: string;
772
+ } | {
773
+ code: 1;
774
+ meaning: string;
775
+ } | {
776
+ code: 2;
777
+ meaning: string;
778
+ } | {
779
+ code: 3;
780
+ meaning: string;
781
+ } | {
782
+ code: 130;
783
+ meaning: string;
784
+ })[];