@cnc-tools/storm 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build-info.js +1 -1
- package/dist/commands/exec/cleanup.d.ts +3 -3
- package/dist/commands/exec/cleanup.js +1 -1
- package/dist/commands/exec/command.d.ts +771 -1
- package/dist/commands/exec/command.js +1 -1
- package/dist/commands/exec/live-view.js +3 -2
- package/dist/commands/exec/metadata.d.ts +1 -1
- package/dist/commands/exec/metadata.js +4 -0
- package/dist/commands/exec/mint-failed.d.ts +28 -0
- package/dist/commands/exec/outcomes.d.ts +476 -0
- package/dist/commands/exec/progress.js +3 -5
- package/dist/commands/exec/run-command.d.ts +2 -2
- package/dist/commands/exec/run-metadata.d.ts +1 -1
- package/dist/commands/exec/run-metadata.js +1 -1
- package/dist/commands/exec/tests-summary.d.ts +1 -1
- package/dist/commands/exec/tests-summary.js +1 -1
- package/dist/commands/runs/list/command.d.ts +129 -1
- package/dist/commands/runs/list/command.js +1 -1
- package/dist/commands/runs/list/outcomes.d.ts +16 -0
- package/dist/commands/runs/logs/command.d.ts +263 -1
- package/dist/commands/runs/logs/command.js +1 -1
- package/dist/commands/runs/logs/outcomes.d.ts +105 -0
- package/dist/commands/runs/show/command.d.ts +329 -1
- package/dist/commands/runs/show/command.js +1 -1
- package/dist/commands/runs/show/outcomes.d.ts +71 -0
- package/dist/commands/vitest/command.d.ts +886 -1
- package/dist/commands/vitest/command.js +1 -1
- package/dist/commands/vitest/metadata.d.ts +1 -1
- package/dist/commands/vitest/metadata.js +4 -0
- package/dist/commands/vitest/outcomes.d.ts +295 -0
- package/dist/config/errors.d.ts +73 -0
- package/dist/config/schema.d.ts +1 -1
- package/dist/config-file/define.d.ts +4 -3
- package/dist/config-file/define.js +1 -1
- package/dist/config-file/toolchain.js +1 -1
- package/dist/core/command-slots.d.ts +8 -2
- package/dist/core/command-slots.js +6 -2
- package/dist/core/index.d.ts +1 -1
- package/dist/credential/index.d.ts +1 -0
- package/dist/credential/index.js +1 -0
- package/dist/credential/settle.d.ts +20 -0
- package/dist/credential/target.d.ts +6 -0
- package/dist/credential/target.js +7 -0
- package/dist/resources/github/command.d.ts +54 -2
- package/dist/resources/github/config.js +1 -1
- package/dist/resources/github/index.js +1 -1
- package/dist/resources/github/resource.js +2 -2
- package/dist/resources/testserver/command.d.ts +208 -10
- package/dist/resources/testserver/command.js +7 -0
- package/dist/resources/testserver/commands/create/command.d.ts +808 -1
- package/dist/resources/testserver/commands/create/command.js +64 -23
- package/dist/resources/testserver/commands/create/metadata.js +6 -2
- package/dist/resources/testserver/commands/create/outcomes.d.ts +347 -0
- package/dist/resources/testserver/commands/create/outcomes.js +14 -1
- package/dist/resources/testserver/commands/list/command.d.ts +84 -1
- package/dist/resources/testserver/commands/list/command.js +1 -1
- package/dist/resources/testserver/commands/list/outcomes.d.ts +16 -0
- package/dist/resources/testserver/config.js +14 -4
- package/dist/resources/testserver/events.d.ts +9 -0
- package/dist/resources/testserver/index.js +8 -7
- package/dist/resources/testserver/lane.js +1 -0
- package/dist/resources/testserver/live/gateways.d.ts +2 -0
- package/dist/resources/testserver/live/gateways.js +16 -3
- package/dist/resources/testserver/pool/channels.d.ts +5 -2
- package/dist/resources/testserver/pool/channels.js +1 -1
- package/dist/resources/testserver/pool/create.d.ts +6 -2
- package/dist/resources/testserver/pool/create.js +6 -5
- package/dist/resources/testserver/pool/index.d.ts +1 -0
- package/dist/resources/testserver/pool/index.js +1 -0
- package/dist/resources/testserver/pool/pull-request.d.ts +89 -0
- package/dist/resources/testserver/pool/pull-request.js +85 -0
- package/dist/resources/testserver/pr-build-facts.d.ts +130 -0
- package/dist/resources/testserver/pr-build-facts.js +261 -0
- package/dist/resources/testserver/presentation.d.ts +2 -2
- package/dist/resources/testserver/presentation.js +12 -3
- package/dist/resources/testserver/provider.d.ts +16 -6
- package/dist/resources/testserver/provider.js +46 -15
- package/dist/resources/testserver/pull-request/gateways.d.ts +117 -0
- package/dist/resources/testserver/pull-request/gateways.js +5 -0
- package/dist/resources/testserver/pull-request/index.d.ts +5 -0
- package/dist/resources/testserver/pull-request/index.js +6 -0
- package/dist/resources/testserver/pull-request/live/github-rest.d.ts +28 -0
- package/dist/resources/testserver/pull-request/live/github-rest.js +114 -0
- package/dist/resources/testserver/pull-request/live/github-token-gateway.d.ts +12 -0
- package/dist/resources/testserver/pull-request/live/github-token-gateway.js +39 -0
- package/dist/resources/testserver/pull-request/live/pull-request-gateway.d.ts +10 -0
- package/dist/resources/testserver/pull-request/live/pull-request-gateway.js +27 -0
- package/dist/resources/testserver/pull-request/live/testserver-workflow-gateway.d.ts +21 -0
- package/dist/resources/testserver/pull-request/live/testserver-workflow-gateway.js +64 -0
- package/dist/resources/testserver/ran.d.ts +5 -0
- package/dist/resources/testserver/ran.js +19 -3
- package/dist/resources/testserver/resource.d.ts +5 -1
- package/dist/resources/testserver/resource.js +2 -2
- package/dist/resources/testserver/sandbox/build-reference.d.ts +38 -0
- package/dist/resources/testserver/sandbox/build-reference.js +79 -0
- package/dist/resources/testserver/sandbox/index.d.ts +1 -0
- package/dist/resources/testserver/sandbox/index.js +1 -0
- package/dist/resources.d.ts +265 -15
- package/dist/sdk/index.js +2 -2
- package/dist/story/command-line.d.ts +34 -0
- package/dist/story/command-line.js +100 -0
- package/dist/story/index.d.ts +1 -0
- package/dist/story/index.js +3 -2
- package/dist/vercel-cli/context.js +1 -1
- package/dist/vercel-cli/index.js +1 -1
- package/dist/vitest/config.js +2 -2
- package/dist/vitest/fixtures.d.ts +1 -1
- package/dist/vitest/fixtures.js +1 -1
- package/dist/vitest/index.js +3 -3
- package/dist/vitest/plan.js +1 -1
- package/package.json +3 -3
- package/skills/overview.md +2 -0
- package/skills/testserver-builds.md +80 -0
|
@@ -198,4 +198,332 @@ export declare function command(cmd: CommandBuilder<StormApp>): import("@vercel/
|
|
|
198
198
|
}>;
|
|
199
199
|
}, z.core.$strip>], "kind">;
|
|
200
200
|
}, z.core.$strip>;
|
|
201
|
-
}
|
|
201
|
+
}, {
|
|
202
|
+
readonly runsUnreadable: {
|
|
203
|
+
readonly exitCode: 1;
|
|
204
|
+
readonly description: "storm couldn't read the run directories.";
|
|
205
|
+
readonly schema: z.ZodObject<{
|
|
206
|
+
path: z.ZodString;
|
|
207
|
+
message: z.ZodString;
|
|
208
|
+
}, z.core.$strip>;
|
|
209
|
+
readonly render: ({ path, message }: {
|
|
210
|
+
readonly path: string;
|
|
211
|
+
readonly message: string;
|
|
212
|
+
}) => {
|
|
213
|
+
message: string;
|
|
214
|
+
rows: (readonly ["Path", string])[];
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
readonly runNotFound: {
|
|
218
|
+
readonly exitCode: 1;
|
|
219
|
+
readonly description: "No run directory has the id given: it was never a run on this machine, or it was removed.";
|
|
220
|
+
readonly schema: z.ZodObject<{
|
|
221
|
+
id: z.ZodString;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
readonly render: ({ id }: {
|
|
224
|
+
readonly id: string;
|
|
225
|
+
}) => {
|
|
226
|
+
message: string;
|
|
227
|
+
next: {
|
|
228
|
+
type: "command";
|
|
229
|
+
argv: string[];
|
|
230
|
+
label: string;
|
|
231
|
+
}[];
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
readonly noRuns: {
|
|
235
|
+
readonly exitCode: 1;
|
|
236
|
+
readonly description: "Without an id, no run in the scope has finished.";
|
|
237
|
+
readonly schema: z.ZodObject<{
|
|
238
|
+
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
239
|
+
kind: z.ZodLiteral<"config">;
|
|
240
|
+
configFile: z.ZodString;
|
|
241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
242
|
+
kind: z.ZodLiteral<"all">;
|
|
243
|
+
why: z.ZodEnum<{
|
|
244
|
+
flag: "flag";
|
|
245
|
+
"no-config-file": "no-config-file";
|
|
246
|
+
}>;
|
|
247
|
+
}, z.core.$strip>], "kind">;
|
|
248
|
+
}, z.core.$strip>;
|
|
249
|
+
readonly render: ({ scope }: {
|
|
250
|
+
scope: {
|
|
251
|
+
kind: "config";
|
|
252
|
+
configFile: string;
|
|
253
|
+
} | {
|
|
254
|
+
kind: "all";
|
|
255
|
+
why: "flag" | "no-config-file";
|
|
256
|
+
};
|
|
257
|
+
}) => {
|
|
258
|
+
message: string;
|
|
259
|
+
next: {
|
|
260
|
+
type: "command";
|
|
261
|
+
argv: string[];
|
|
262
|
+
label: string;
|
|
263
|
+
}[];
|
|
264
|
+
} | {
|
|
265
|
+
message: string;
|
|
266
|
+
next: {
|
|
267
|
+
type: "text";
|
|
268
|
+
text: string;
|
|
269
|
+
}[];
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
}>, import("@vercel/clinkr").OutcomeOf<import("@vercel/clinkr").Outcomes<{
|
|
273
|
+
shown: z.ZodObject<{
|
|
274
|
+
id: z.ZodString;
|
|
275
|
+
path: z.ZodString;
|
|
276
|
+
active: z.ZodBoolean;
|
|
277
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
278
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
279
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
280
|
+
argv: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
281
|
+
where: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
282
|
+
kind: z.ZodLiteral<"local">;
|
|
283
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
284
|
+
kind: z.ZodLiteral<"runner">;
|
|
285
|
+
team: z.ZodString;
|
|
286
|
+
project: z.ZodString;
|
|
287
|
+
region: z.ZodString;
|
|
288
|
+
runtime: z.ZodString;
|
|
289
|
+
vcpus: z.ZodNumber;
|
|
290
|
+
base: z.ZodString;
|
|
291
|
+
baseRef: z.ZodString;
|
|
292
|
+
sandbox: z.ZodNullable<z.ZodString>;
|
|
293
|
+
sandboxUrl: z.ZodNullable<z.ZodString>;
|
|
294
|
+
keptUntil: z.ZodNullable<z.ZodString>;
|
|
295
|
+
keptMinutesLeft: z.ZodNullable<z.ZodNumber>;
|
|
296
|
+
snapshot: z.ZodNullable<z.ZodObject<{
|
|
297
|
+
id: z.ZodString;
|
|
298
|
+
base: z.ZodString;
|
|
299
|
+
built: z.ZodBoolean;
|
|
300
|
+
branch: z.ZodNullable<z.ZodString>;
|
|
301
|
+
head: z.ZodNullable<z.ZodString>;
|
|
302
|
+
url: z.ZodString;
|
|
303
|
+
}, z.core.$strip>>;
|
|
304
|
+
save: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
305
|
+
kind: z.ZodLiteral<"saved">;
|
|
306
|
+
snapshotId: z.ZodString;
|
|
307
|
+
base: z.ZodString;
|
|
308
|
+
branch: z.ZodString;
|
|
309
|
+
head: z.ZodString;
|
|
310
|
+
ms: z.ZodNumber;
|
|
311
|
+
sizeBytes: z.ZodNumber;
|
|
312
|
+
entryWritten: z.ZodBoolean;
|
|
313
|
+
url: z.ZodString;
|
|
314
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
315
|
+
kind: z.ZodLiteral<"skipped">;
|
|
316
|
+
reason: z.ZodLiteral<"detached-head">;
|
|
317
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
318
|
+
kind: z.ZodLiteral<"failed">;
|
|
319
|
+
step: z.ZodEnum<{
|
|
320
|
+
"save-snapshot": "save-snapshot";
|
|
321
|
+
scrub: "scrub";
|
|
322
|
+
}>;
|
|
323
|
+
message: z.ZodString;
|
|
324
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
325
|
+
kind: z.ZodLiteral<"stopped">;
|
|
326
|
+
}, z.core.$strip>], "kind">>;
|
|
327
|
+
}, z.core.$strip>], "kind">>;
|
|
328
|
+
git: z.ZodNullable<z.ZodObject<{
|
|
329
|
+
branch: z.ZodNullable<z.ZodString>;
|
|
330
|
+
commit: z.ZodString;
|
|
331
|
+
dirty: z.ZodBoolean;
|
|
332
|
+
}, z.core.$strip>>;
|
|
333
|
+
ended: z.ZodNullable<z.ZodObject<{
|
|
334
|
+
outcome: z.ZodString;
|
|
335
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
336
|
+
signal: z.ZodNullable<z.ZodString>;
|
|
337
|
+
ms: z.ZodNullable<z.ZodNumber>;
|
|
338
|
+
tests: z.ZodNullable<z.ZodObject<{
|
|
339
|
+
passed: z.ZodNumber;
|
|
340
|
+
failed: z.ZodNumber;
|
|
341
|
+
skipped: z.ZodNumber;
|
|
342
|
+
}, z.core.$strip>>;
|
|
343
|
+
testsIncomplete: z.ZodNullable<z.ZodString>;
|
|
344
|
+
resources: z.ZodNullable<z.ZodType<import("../../../core/resource.ts").ResourceRanFacts<import("../../../resources.ts").Resources>, import("../../../core/resource.ts").ResourceRanFacts<import("../../../resources.ts").Resources>, z.core.$ZodTypeInternals<import("../../../core/resource.ts").ResourceRanFacts<import("../../../resources.ts").Resources>, import("../../../core/resource.ts").ResourceRanFacts<import("../../../resources.ts").Resources>>>>;
|
|
345
|
+
}, z.core.$strip>>;
|
|
346
|
+
finished: z.ZodBoolean;
|
|
347
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
348
|
+
step: z.ZodEnum<{
|
|
349
|
+
apply: "apply";
|
|
350
|
+
build: "build";
|
|
351
|
+
command: "command";
|
|
352
|
+
install: "install";
|
|
353
|
+
snapshot: "snapshot";
|
|
354
|
+
}>;
|
|
355
|
+
path: z.ZodString;
|
|
356
|
+
}, z.core.$strip>>;
|
|
357
|
+
unreadableTestLines: z.ZodNumber;
|
|
358
|
+
timeline: z.ZodNullable<z.ZodObject<{
|
|
359
|
+
startedAt: z.ZodString;
|
|
360
|
+
totalMs: z.ZodNumber;
|
|
361
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
362
|
+
name: z.ZodEnum<{
|
|
363
|
+
cleanup: "cleanup";
|
|
364
|
+
mint: "mint";
|
|
365
|
+
runner: "runner";
|
|
366
|
+
tests: "tests";
|
|
367
|
+
testserver: "testserver";
|
|
368
|
+
}>;
|
|
369
|
+
startMs: z.ZodNumber;
|
|
370
|
+
endMs: z.ZodNumber;
|
|
371
|
+
outcome: z.ZodEnum<{
|
|
372
|
+
done: "done";
|
|
373
|
+
failed: "failed";
|
|
374
|
+
stopped: "stopped";
|
|
375
|
+
unfinished: "unfinished";
|
|
376
|
+
}>;
|
|
377
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
378
|
+
name: z.ZodEnum<{
|
|
379
|
+
[x: string]: string;
|
|
380
|
+
}>;
|
|
381
|
+
startMs: z.ZodNumber;
|
|
382
|
+
endMs: z.ZodNumber;
|
|
383
|
+
outcome: z.ZodEnum<{
|
|
384
|
+
done: "done";
|
|
385
|
+
failed: "failed";
|
|
386
|
+
stopped: "stopped";
|
|
387
|
+
unfinished: "unfinished";
|
|
388
|
+
}>;
|
|
389
|
+
}, z.core.$strip>>;
|
|
390
|
+
idleMs: z.ZodNumber;
|
|
391
|
+
snapshot: z.ZodOptional<z.ZodEnum<{
|
|
392
|
+
built: "built";
|
|
393
|
+
reused: "reused";
|
|
394
|
+
}>>;
|
|
395
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
396
|
+
reused: z.ZodNumber;
|
|
397
|
+
created: z.ZodNumber;
|
|
398
|
+
}, z.core.$strip>>;
|
|
399
|
+
}, z.core.$strip>>;
|
|
400
|
+
criticalPath: z.ZodArray<z.ZodEnum<{
|
|
401
|
+
cleanup: "cleanup";
|
|
402
|
+
mint: "mint";
|
|
403
|
+
runner: "runner";
|
|
404
|
+
tests: "tests";
|
|
405
|
+
testserver: "testserver";
|
|
406
|
+
}>>;
|
|
407
|
+
}, z.core.$strip>>;
|
|
408
|
+
selection: z.ZodObject<{
|
|
409
|
+
failed: z.ZodBoolean;
|
|
410
|
+
test: z.ZodNullable<z.ZodString>;
|
|
411
|
+
}, z.core.$strip>;
|
|
412
|
+
tests: z.ZodArray<z.ZodObject<{
|
|
413
|
+
id: z.ZodString;
|
|
414
|
+
file: z.ZodString;
|
|
415
|
+
test: z.ZodString;
|
|
416
|
+
state: z.ZodEnum<{
|
|
417
|
+
fail: "fail";
|
|
418
|
+
pass: "pass";
|
|
419
|
+
skip: "skip";
|
|
420
|
+
}>;
|
|
421
|
+
retryCount: z.ZodNumber;
|
|
422
|
+
flaky: z.ZodBoolean;
|
|
423
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
424
|
+
name: z.ZodString;
|
|
425
|
+
message: z.ZodString;
|
|
426
|
+
stack: z.ZodNullable<z.ZodString>;
|
|
427
|
+
diff: z.ZodNullable<z.ZodString>;
|
|
428
|
+
}, z.core.$strip>>;
|
|
429
|
+
selected: z.ZodBoolean;
|
|
430
|
+
output: z.ZodNullable<z.ZodObject<{
|
|
431
|
+
text: z.ZodString;
|
|
432
|
+
droppedChars: z.ZodNumber;
|
|
433
|
+
}, z.core.$strip>>;
|
|
434
|
+
}, z.core.$strip>>;
|
|
435
|
+
}, z.core.$strip>;
|
|
436
|
+
}, {
|
|
437
|
+
shown: unknown;
|
|
438
|
+
}, {
|
|
439
|
+
runsUnreadable: z.ZodObject<{
|
|
440
|
+
path: z.ZodString;
|
|
441
|
+
message: z.ZodString;
|
|
442
|
+
}, z.core.$strip>;
|
|
443
|
+
runNotFound: z.ZodObject<{
|
|
444
|
+
id: z.ZodString;
|
|
445
|
+
}, z.core.$strip>;
|
|
446
|
+
noRuns: z.ZodObject<{
|
|
447
|
+
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
448
|
+
kind: z.ZodLiteral<"config">;
|
|
449
|
+
configFile: z.ZodString;
|
|
450
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
451
|
+
kind: z.ZodLiteral<"all">;
|
|
452
|
+
why: z.ZodEnum<{
|
|
453
|
+
flag: "flag";
|
|
454
|
+
"no-config-file": "no-config-file";
|
|
455
|
+
}>;
|
|
456
|
+
}, z.core.$strip>], "kind">;
|
|
457
|
+
}, z.core.$strip>;
|
|
458
|
+
}, {
|
|
459
|
+
readonly runsUnreadable: {
|
|
460
|
+
readonly exitCode: 1;
|
|
461
|
+
readonly description: "storm couldn't read the run directories.";
|
|
462
|
+
readonly schema: z.ZodObject<{
|
|
463
|
+
path: z.ZodString;
|
|
464
|
+
message: z.ZodString;
|
|
465
|
+
}, z.core.$strip>;
|
|
466
|
+
readonly render: ({ path, message }: {
|
|
467
|
+
readonly path: string;
|
|
468
|
+
readonly message: string;
|
|
469
|
+
}) => {
|
|
470
|
+
message: string;
|
|
471
|
+
rows: (readonly ["Path", string])[];
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
readonly runNotFound: {
|
|
475
|
+
readonly exitCode: 1;
|
|
476
|
+
readonly description: "No run directory has the id given: it was never a run on this machine, or it was removed.";
|
|
477
|
+
readonly schema: z.ZodObject<{
|
|
478
|
+
id: z.ZodString;
|
|
479
|
+
}, z.core.$strip>;
|
|
480
|
+
readonly render: ({ id }: {
|
|
481
|
+
readonly id: string;
|
|
482
|
+
}) => {
|
|
483
|
+
message: string;
|
|
484
|
+
next: {
|
|
485
|
+
type: "command";
|
|
486
|
+
argv: string[];
|
|
487
|
+
label: string;
|
|
488
|
+
}[];
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
readonly noRuns: {
|
|
492
|
+
readonly exitCode: 1;
|
|
493
|
+
readonly description: "Without an id, no run in the scope has finished.";
|
|
494
|
+
readonly schema: z.ZodObject<{
|
|
495
|
+
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
496
|
+
kind: z.ZodLiteral<"config">;
|
|
497
|
+
configFile: z.ZodString;
|
|
498
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
499
|
+
kind: z.ZodLiteral<"all">;
|
|
500
|
+
why: z.ZodEnum<{
|
|
501
|
+
flag: "flag";
|
|
502
|
+
"no-config-file": "no-config-file";
|
|
503
|
+
}>;
|
|
504
|
+
}, z.core.$strip>], "kind">;
|
|
505
|
+
}, z.core.$strip>;
|
|
506
|
+
readonly render: ({ scope }: {
|
|
507
|
+
scope: {
|
|
508
|
+
kind: "config";
|
|
509
|
+
configFile: string;
|
|
510
|
+
} | {
|
|
511
|
+
kind: "all";
|
|
512
|
+
why: "flag" | "no-config-file";
|
|
513
|
+
};
|
|
514
|
+
}) => {
|
|
515
|
+
message: string;
|
|
516
|
+
next: {
|
|
517
|
+
type: "command";
|
|
518
|
+
argv: string[];
|
|
519
|
+
label: string;
|
|
520
|
+
}[];
|
|
521
|
+
} | {
|
|
522
|
+
message: string;
|
|
523
|
+
next: {
|
|
524
|
+
type: "text";
|
|
525
|
+
text: string;
|
|
526
|
+
}[];
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
}>>, StormApp, false>;
|
|
@@ -186,4 +186,75 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
186
186
|
}>;
|
|
187
187
|
}, z.core.$strip>], "kind">;
|
|
188
188
|
}, z.core.$strip>;
|
|
189
|
+
}, {
|
|
190
|
+
readonly runsUnreadable: {
|
|
191
|
+
readonly exitCode: 1;
|
|
192
|
+
readonly description: "storm couldn't read the run directories.";
|
|
193
|
+
readonly schema: z.ZodObject<{
|
|
194
|
+
path: z.ZodString;
|
|
195
|
+
message: z.ZodString;
|
|
196
|
+
}, z.core.$strip>;
|
|
197
|
+
readonly render: ({ path, message }: {
|
|
198
|
+
readonly path: string;
|
|
199
|
+
readonly message: string;
|
|
200
|
+
}) => {
|
|
201
|
+
message: string;
|
|
202
|
+
rows: (readonly ["Path", string])[];
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
readonly runNotFound: {
|
|
206
|
+
readonly exitCode: 1;
|
|
207
|
+
readonly description: "No run directory has the id given: it was never a run on this machine, or it was removed.";
|
|
208
|
+
readonly schema: z.ZodObject<{
|
|
209
|
+
id: z.ZodString;
|
|
210
|
+
}, z.core.$strip>;
|
|
211
|
+
readonly render: ({ id }: {
|
|
212
|
+
readonly id: string;
|
|
213
|
+
}) => {
|
|
214
|
+
message: string;
|
|
215
|
+
next: {
|
|
216
|
+
type: "command";
|
|
217
|
+
argv: string[];
|
|
218
|
+
label: string;
|
|
219
|
+
}[];
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
readonly noRuns: {
|
|
223
|
+
readonly exitCode: 1;
|
|
224
|
+
readonly description: "Without an id, no run in the scope has finished.";
|
|
225
|
+
readonly schema: z.ZodObject<{
|
|
226
|
+
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
227
|
+
kind: z.ZodLiteral<"config">;
|
|
228
|
+
configFile: z.ZodString;
|
|
229
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
230
|
+
kind: z.ZodLiteral<"all">;
|
|
231
|
+
why: z.ZodEnum<{
|
|
232
|
+
flag: "flag";
|
|
233
|
+
"no-config-file": "no-config-file";
|
|
234
|
+
}>;
|
|
235
|
+
}, z.core.$strip>], "kind">;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
|
+
readonly render: ({ scope }: {
|
|
238
|
+
scope: {
|
|
239
|
+
kind: "config";
|
|
240
|
+
configFile: string;
|
|
241
|
+
} | {
|
|
242
|
+
kind: "all";
|
|
243
|
+
why: "flag" | "no-config-file";
|
|
244
|
+
};
|
|
245
|
+
}) => {
|
|
246
|
+
message: string;
|
|
247
|
+
next: {
|
|
248
|
+
type: "command";
|
|
249
|
+
argv: string[];
|
|
250
|
+
label: string;
|
|
251
|
+
}[];
|
|
252
|
+
} | {
|
|
253
|
+
message: string;
|
|
254
|
+
next: {
|
|
255
|
+
type: "text";
|
|
256
|
+
text: string;
|
|
257
|
+
}[];
|
|
258
|
+
};
|
|
259
|
+
};
|
|
189
260
|
}>;
|