eve 0.17.2 → 0.18.1
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/CHANGELOG.md +20 -0
- package/dist/src/compiled/.vendor-stamp.json +1 -1
- package/dist/src/compiled/@vercel/sandbox/api-client/api-client.d.ts +19 -16
- package/dist/src/compiled/@vercel/sandbox/api-client/index.d.ts +1 -1
- package/dist/src/compiled/@vercel/sandbox/api-client/validators.d.ts +37 -23
- package/dist/src/compiled/@vercel/sandbox/command.d.ts +2 -8
- package/dist/src/compiled/@vercel/sandbox/index.js +5 -5
- package/dist/src/compiled/@vercel/sandbox/sandbox.d.ts +43 -16
- package/dist/src/compiled/@vercel/sandbox/snapshot.d.ts +5 -5
- package/dist/src/compiled/_chunks/node/{auth-DF_ft5ea.js → auth-CWHn3Yve.js} +1 -1
- package/dist/src/compiled/_chunks/node/{version-TugPKZua.js → version-DD-FX9rK.js} +1 -1
- package/dist/src/execution/sandbox/bindings/vercel-create-sdk.js +1 -1
- package/dist/src/execution/sandbox/bindings/vercel.js +1 -1
- package/dist/src/internal/application/package.js +1 -1
- package/dist/src/internal/nitro/dev-runtime-source-snapshot-copy.js +1 -1
- package/dist/src/public/channels/auth.d.ts +2 -2
- package/dist/src/public/channels/slack/defaults.d.ts +3 -1
- package/dist/src/public/channels/slack/defaults.js +3 -3
- package/dist/src/public/channels/slack/hitl.d.ts +10 -4
- package/dist/src/public/channels/slack/hitl.js +4 -1
- package/dist/src/public/channels/slack/interactions.js +1 -1
- package/dist/src/public/channels/slack/limits.d.ts +5 -0
- package/dist/src/public/channels/slack/limits.js +1 -1
- package/dist/src/public/sandbox/vercel-sandbox.d.ts +4 -1
- package/dist/src/runtime/governance/auth/oidc.js +1 -1
- package/dist/src/setup/boxes/link-project.d.ts +7 -3
- package/dist/src/setup/boxes/link-project.js +1 -1
- package/dist/src/setup/onboarding.js +1 -1
- package/dist/src/setup/scaffold/create/project.js +1 -1
- package/dist/src/setup/vercel-project-framework.d.ts +10 -0
- package/dist/src/setup/vercel-project-framework.js +1 -0
- package/dist/src/setup/vercel-project.d.ts +8 -3
- package/dist/src/setup/vercel-project.js +0 -0
- package/docs/sandbox.mdx +1 -1
- package/package.json +3 -31
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# eve
|
|
2
2
|
|
|
3
|
+
## 0.18.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 68365e8: Show tool call input in Slack approval prompts so operators can inspect approval-gated actions before approving.
|
|
8
|
+
- 68365e8: Harden Slack HITL posting against API limits: large approval batches now split across multiple messages instead of exceeding Slack's 50-block cap, and long freeform answers are truncated so the answered-card update cannot fail.
|
|
9
|
+
|
|
10
|
+
## 0.18.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- a75dd47: Vercel sandbox: drop the `runtime` option. eve now always boots its hosted sandboxes from the published eve image.
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- afc7ded: Allow `eve dev` to start from a package-less flat agent that only has `instructions.md`. Development runtime snapshots now generate private package metadata when the authored app has none.
|
|
19
|
+
- 7d1084d: fix(eve): remove unnecessary preview deployment check that prevented production access from `eve dev`
|
|
20
|
+
- 63f94f0: Remove optional framework peer dependencies from the published package metadata so installs no longer resolve unused framework packages.
|
|
21
|
+
- ba2e0ce: Create new Vercel projects through `vercel link` instead of posting directly to the projects API. This lets the Vercel CLI apply its framework and local config handling while eve reads the resulting link metadata, keeps framework-specific eve host integrations when detected, and otherwise ensures new projects use the eve framework preset.
|
|
22
|
+
|
|
3
23
|
## 0.17.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"turndown": "7.2.4",
|
|
26
26
|
"@vercel/detect-agent": "1.2.3",
|
|
27
27
|
"@vercel/oidc": "3.5.0",
|
|
28
|
-
"@vercel/sandbox": "2.
|
|
28
|
+
"@vercel/sandbox": "2.3.0",
|
|
29
29
|
"@workflow/core": "5.0.0-beta.26",
|
|
30
30
|
"@workflow/errors": "5.0.0-beta.8",
|
|
31
31
|
"@workflow/serde": "5.0.0-beta.2",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseClient, Parsed, RequestParams } from "./base-client.js";
|
|
2
|
-
import { CommandData, CommandFinishedData, CommandFinishedResponse, CommandResponse, CreateSnapshotResponse, InteractiveSessionResponse,
|
|
2
|
+
import { CommandData, CommandFinishedData, CommandFinishedResponse, CommandResponse, CreateSnapshotResponse, InteractiveSessionResponse, LogOutputLine, SessionResponse, SnapshotResponse, StopSessionResponse } from "./validators.js";
|
|
3
3
|
import { FileWriter } from "./file-writer.js";
|
|
4
4
|
import { NetworkPolicy } from "../network-policy.js";
|
|
5
5
|
import { WithPrivate } from "../utils/types.js";
|
|
@@ -35,7 +35,7 @@ declare class APIClient extends BaseClient {
|
|
|
35
35
|
region: string;
|
|
36
36
|
runtime: string;
|
|
37
37
|
timeout: number;
|
|
38
|
-
status: "
|
|
38
|
+
status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
|
|
39
39
|
requestedAt: number;
|
|
40
40
|
createdAt: number;
|
|
41
41
|
cwd: string;
|
|
@@ -170,6 +170,7 @@ declare class APIClient extends BaseClient {
|
|
|
170
170
|
};
|
|
171
171
|
persistent?: boolean;
|
|
172
172
|
runtime?: RUNTIMES | (string & {});
|
|
173
|
+
image?: string;
|
|
173
174
|
networkPolicy?: NetworkPolicy;
|
|
174
175
|
env?: Record<string, string>;
|
|
175
176
|
tags?: Record<string, string>;
|
|
@@ -187,7 +188,7 @@ declare class APIClient extends BaseClient {
|
|
|
187
188
|
createdAt: number;
|
|
188
189
|
updatedAt: number;
|
|
189
190
|
currentSessionId: string;
|
|
190
|
-
status: "
|
|
191
|
+
status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
|
|
191
192
|
region?: string | undefined;
|
|
192
193
|
vcpus?: number | undefined;
|
|
193
194
|
memory?: number | undefined;
|
|
@@ -302,7 +303,7 @@ declare class APIClient extends BaseClient {
|
|
|
302
303
|
region: string;
|
|
303
304
|
runtime: string;
|
|
304
305
|
timeout: number;
|
|
305
|
-
status: "
|
|
306
|
+
status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
|
|
306
307
|
requestedAt: number;
|
|
307
308
|
createdAt: number;
|
|
308
309
|
cwd: string;
|
|
@@ -422,6 +423,8 @@ declare class APIClient extends BaseClient {
|
|
|
422
423
|
env: Record<string, string>;
|
|
423
424
|
sudo: boolean;
|
|
424
425
|
wait: true;
|
|
426
|
+
logs?: boolean;
|
|
427
|
+
onLog?: (log: LogOutputLine) => void;
|
|
425
428
|
timeout?: number;
|
|
426
429
|
signal?: AbortSignal;
|
|
427
430
|
}): Promise<{
|
|
@@ -502,7 +505,7 @@ declare class APIClient extends BaseClient {
|
|
|
502
505
|
region: string;
|
|
503
506
|
runtime: string;
|
|
504
507
|
timeout: number;
|
|
505
|
-
status: "
|
|
508
|
+
status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
|
|
506
509
|
requestedAt: number;
|
|
507
510
|
createdAt: number;
|
|
508
511
|
cwd: string;
|
|
@@ -641,7 +644,7 @@ declare class APIClient extends BaseClient {
|
|
|
641
644
|
id: string;
|
|
642
645
|
sourceSessionId: string;
|
|
643
646
|
region: string;
|
|
644
|
-
status: "
|
|
647
|
+
status: "failed" | "created" | "deleted";
|
|
645
648
|
sizeBytes: number;
|
|
646
649
|
createdAt: number;
|
|
647
650
|
updatedAt: number;
|
|
@@ -679,7 +682,7 @@ declare class APIClient extends BaseClient {
|
|
|
679
682
|
id: string;
|
|
680
683
|
sourceSessionId: string;
|
|
681
684
|
region: string;
|
|
682
|
-
status: "
|
|
685
|
+
status: "failed" | "created" | "deleted";
|
|
683
686
|
sizeBytes: number;
|
|
684
687
|
createdAt: number;
|
|
685
688
|
updatedAt: number;
|
|
@@ -692,7 +695,7 @@ declare class APIClient extends BaseClient {
|
|
|
692
695
|
id: string;
|
|
693
696
|
sourceSessionId: string;
|
|
694
697
|
region: string;
|
|
695
|
-
status: "
|
|
698
|
+
status: "failed" | "created" | "deleted";
|
|
696
699
|
sizeBytes: number;
|
|
697
700
|
createdAt: number;
|
|
698
701
|
updatedAt: number;
|
|
@@ -712,7 +715,7 @@ declare class APIClient extends BaseClient {
|
|
|
712
715
|
id: string;
|
|
713
716
|
sourceSessionId: string;
|
|
714
717
|
region: string;
|
|
715
|
-
status: "
|
|
718
|
+
status: "failed" | "created" | "deleted";
|
|
716
719
|
sizeBytes: number;
|
|
717
720
|
createdAt: number;
|
|
718
721
|
updatedAt: number;
|
|
@@ -725,7 +728,7 @@ declare class APIClient extends BaseClient {
|
|
|
725
728
|
id: string;
|
|
726
729
|
sourceSessionId: string;
|
|
727
730
|
region: string;
|
|
728
|
-
status: "
|
|
731
|
+
status: "failed" | "created" | "deleted";
|
|
729
732
|
sizeBytes: number;
|
|
730
733
|
createdAt: number;
|
|
731
734
|
updatedAt: number;
|
|
@@ -774,7 +777,7 @@ declare class APIClient extends BaseClient {
|
|
|
774
777
|
sessionId: string;
|
|
775
778
|
cmdId: string;
|
|
776
779
|
signal?: AbortSignal;
|
|
777
|
-
}): AsyncGenerator<
|
|
780
|
+
}): AsyncGenerator<LogOutputLine, void, void> & Disposable & {
|
|
778
781
|
close(): void;
|
|
779
782
|
};
|
|
780
783
|
stopSession(params: {
|
|
@@ -816,7 +819,7 @@ declare class APIClient extends BaseClient {
|
|
|
816
819
|
createdAt: number;
|
|
817
820
|
updatedAt: number;
|
|
818
821
|
currentSessionId: string;
|
|
819
|
-
status: "
|
|
822
|
+
status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
|
|
820
823
|
region?: string | undefined;
|
|
821
824
|
vcpus?: number | undefined;
|
|
822
825
|
memory?: number | undefined;
|
|
@@ -931,7 +934,7 @@ declare class APIClient extends BaseClient {
|
|
|
931
934
|
region: string;
|
|
932
935
|
runtime: string;
|
|
933
936
|
timeout: number;
|
|
934
|
-
status: "
|
|
937
|
+
status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
|
|
935
938
|
requestedAt: number;
|
|
936
939
|
createdAt: number;
|
|
937
940
|
cwd: string;
|
|
@@ -1059,7 +1062,7 @@ declare class APIClient extends BaseClient {
|
|
|
1059
1062
|
createdAt: number;
|
|
1060
1063
|
updatedAt: number;
|
|
1061
1064
|
currentSessionId: string;
|
|
1062
|
-
status: "
|
|
1065
|
+
status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
|
|
1063
1066
|
region?: string | undefined;
|
|
1064
1067
|
vcpus?: number | undefined;
|
|
1065
1068
|
memory?: number | undefined;
|
|
@@ -1199,7 +1202,7 @@ declare class APIClient extends BaseClient {
|
|
|
1199
1202
|
createdAt: number;
|
|
1200
1203
|
updatedAt: number;
|
|
1201
1204
|
currentSessionId: string;
|
|
1202
|
-
status: "
|
|
1205
|
+
status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
|
|
1203
1206
|
region?: string | undefined;
|
|
1204
1207
|
vcpus?: number | undefined;
|
|
1205
1208
|
memory?: number | undefined;
|
|
@@ -1323,7 +1326,7 @@ declare class APIClient extends BaseClient {
|
|
|
1323
1326
|
createdAt: number;
|
|
1324
1327
|
updatedAt: number;
|
|
1325
1328
|
currentSessionId: string;
|
|
1326
|
-
status: "
|
|
1329
|
+
status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
|
|
1327
1330
|
region?: string | undefined;
|
|
1328
1331
|
vcpus?: number | undefined;
|
|
1329
1332
|
memory?: number | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Command, CommandData, CommandFinishedData, CommandFinishedResponse, CommandResponse, CreateSnapshotResponse, InteractiveSessionResponse,
|
|
1
|
+
import { Command, CommandData, CommandFinishedData, CommandFinishedResponse, CommandResponse, CreateSnapshotResponse, InteractiveSessionResponse, LogError, LogLine, LogLineData, LogOutputLine, Sandbox, SandboxMetaData, SandboxRoute, SandboxRouteData, Session, SessionMetaData, SessionResponse, Snapshot, SnapshotMetadata, SnapshotResponse, SnapshotTreeNode, SnapshotTreeNodeData, StopSessionResponse } from "./validators.js";
|
|
2
2
|
import { APIClient } from "./api-client.js";
|
|
@@ -10,12 +10,12 @@ declare const Session: z.ZodObject<{
|
|
|
10
10
|
runtime: z.ZodString;
|
|
11
11
|
timeout: z.ZodNumber;
|
|
12
12
|
status: z.ZodEnum<{
|
|
13
|
-
failed: "failed";
|
|
14
|
-
aborted: "aborted";
|
|
15
13
|
pending: "pending";
|
|
16
14
|
running: "running";
|
|
17
15
|
stopping: "stopping";
|
|
18
16
|
stopped: "stopped";
|
|
17
|
+
failed: "failed";
|
|
18
|
+
aborted: "aborted";
|
|
19
19
|
snapshotting: "snapshotting";
|
|
20
20
|
}>;
|
|
21
21
|
requestedAt: z.ZodNumber;
|
|
@@ -131,9 +131,9 @@ declare const Snapshot: z.ZodObject<{
|
|
|
131
131
|
sourceSessionId: z.ZodString;
|
|
132
132
|
region: z.ZodString;
|
|
133
133
|
status: z.ZodEnum<{
|
|
134
|
+
failed: "failed";
|
|
134
135
|
created: "created";
|
|
135
136
|
deleted: "deleted";
|
|
136
|
-
failed: "failed";
|
|
137
137
|
}>;
|
|
138
138
|
sizeBytes: z.ZodNumber;
|
|
139
139
|
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -162,12 +162,12 @@ declare const SessionResponse: z.ZodObject<{
|
|
|
162
162
|
runtime: z.ZodString;
|
|
163
163
|
timeout: z.ZodNumber;
|
|
164
164
|
status: z.ZodEnum<{
|
|
165
|
-
failed: "failed";
|
|
166
|
-
aborted: "aborted";
|
|
167
165
|
pending: "pending";
|
|
168
166
|
running: "running";
|
|
169
167
|
stopping: "stopping";
|
|
170
168
|
stopped: "stopped";
|
|
169
|
+
failed: "failed";
|
|
170
|
+
aborted: "aborted";
|
|
171
171
|
snapshotting: "snapshotting";
|
|
172
172
|
}>;
|
|
173
173
|
requestedAt: z.ZodNumber;
|
|
@@ -299,23 +299,37 @@ declare const CommandFinishedResponse: z.ZodObject<{
|
|
|
299
299
|
exitCode: z.ZodNumber;
|
|
300
300
|
}, z.core.$strip>;
|
|
301
301
|
}, z.core.$strip>;
|
|
302
|
-
declare const
|
|
302
|
+
declare const LogError: z.ZodObject<{
|
|
303
|
+
stream: z.ZodLiteral<"error">;
|
|
304
|
+
data: z.ZodObject<{
|
|
305
|
+
code: z.ZodString;
|
|
306
|
+
message: z.ZodString;
|
|
307
|
+
}, z.core.$strip>;
|
|
308
|
+
}, z.core.$strip>;
|
|
309
|
+
declare const LogLine: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
303
310
|
data: z.ZodString;
|
|
304
311
|
stream: z.ZodLiteral<"stdout">;
|
|
305
|
-
}, z.core.$strip
|
|
306
|
-
declare const LogLineStderr: z.ZodObject<{
|
|
312
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
307
313
|
data: z.ZodString;
|
|
308
314
|
stream: z.ZodLiteral<"stderr">;
|
|
309
|
-
}, z.core.$strip
|
|
315
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
316
|
+
stream: z.ZodLiteral<"error">;
|
|
317
|
+
data: z.ZodObject<{
|
|
318
|
+
code: z.ZodString;
|
|
319
|
+
message: z.ZodString;
|
|
320
|
+
}, z.core.$strip>;
|
|
321
|
+
}, z.core.$strip>], "stream">;
|
|
322
|
+
type LogLineData = z.infer<typeof LogLine>;
|
|
323
|
+
type LogOutputLine = Exclude<LogLineData, z.infer<typeof LogError>>;
|
|
310
324
|
declare const SnapshotTreeNode: z.ZodObject<{
|
|
311
325
|
snapshot: z.ZodObject<{
|
|
312
326
|
id: z.ZodString;
|
|
313
327
|
sourceSessionId: z.ZodString;
|
|
314
328
|
region: z.ZodString;
|
|
315
329
|
status: z.ZodEnum<{
|
|
330
|
+
failed: "failed";
|
|
316
331
|
created: "created";
|
|
317
332
|
deleted: "deleted";
|
|
318
|
-
failed: "failed";
|
|
319
333
|
}>;
|
|
320
334
|
sizeBytes: z.ZodNumber;
|
|
321
335
|
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -330,9 +344,9 @@ declare const SnapshotTreeNode: z.ZodObject<{
|
|
|
330
344
|
sourceSessionId: z.ZodString;
|
|
331
345
|
region: z.ZodString;
|
|
332
346
|
status: z.ZodEnum<{
|
|
347
|
+
failed: "failed";
|
|
333
348
|
created: "created";
|
|
334
349
|
deleted: "deleted";
|
|
335
|
-
failed: "failed";
|
|
336
350
|
}>;
|
|
337
351
|
sizeBytes: z.ZodNumber;
|
|
338
352
|
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -351,9 +365,9 @@ declare const CreateSnapshotResponse: z.ZodObject<{
|
|
|
351
365
|
sourceSessionId: z.ZodString;
|
|
352
366
|
region: z.ZodString;
|
|
353
367
|
status: z.ZodEnum<{
|
|
368
|
+
failed: "failed";
|
|
354
369
|
created: "created";
|
|
355
370
|
deleted: "deleted";
|
|
356
|
-
failed: "failed";
|
|
357
371
|
}>;
|
|
358
372
|
sizeBytes: z.ZodNumber;
|
|
359
373
|
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -371,12 +385,12 @@ declare const CreateSnapshotResponse: z.ZodObject<{
|
|
|
371
385
|
runtime: z.ZodString;
|
|
372
386
|
timeout: z.ZodNumber;
|
|
373
387
|
status: z.ZodEnum<{
|
|
374
|
-
failed: "failed";
|
|
375
|
-
aborted: "aborted";
|
|
376
388
|
pending: "pending";
|
|
377
389
|
running: "running";
|
|
378
390
|
stopping: "stopping";
|
|
379
391
|
stopped: "stopped";
|
|
392
|
+
failed: "failed";
|
|
393
|
+
aborted: "aborted";
|
|
380
394
|
snapshotting: "snapshotting";
|
|
381
395
|
}>;
|
|
382
396
|
requestedAt: z.ZodNumber;
|
|
@@ -487,9 +501,9 @@ declare const SnapshotResponse: z.ZodObject<{
|
|
|
487
501
|
sourceSessionId: z.ZodString;
|
|
488
502
|
region: z.ZodString;
|
|
489
503
|
status: z.ZodEnum<{
|
|
504
|
+
failed: "failed";
|
|
490
505
|
created: "created";
|
|
491
506
|
deleted: "deleted";
|
|
492
|
-
failed: "failed";
|
|
493
507
|
}>;
|
|
494
508
|
sizeBytes: z.ZodNumber;
|
|
495
509
|
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -600,12 +614,12 @@ declare const Sandbox: z.ZodObject<{
|
|
|
600
614
|
currentSessionId: z.ZodString;
|
|
601
615
|
currentSnapshotId: z.ZodOptional<z.ZodString>;
|
|
602
616
|
status: z.ZodEnum<{
|
|
603
|
-
failed: "failed";
|
|
604
|
-
aborted: "aborted";
|
|
605
617
|
pending: "pending";
|
|
606
618
|
running: "running";
|
|
607
619
|
stopping: "stopping";
|
|
608
620
|
stopped: "stopped";
|
|
621
|
+
failed: "failed";
|
|
622
|
+
aborted: "aborted";
|
|
609
623
|
snapshotting: "snapshotting";
|
|
610
624
|
}>;
|
|
611
625
|
statusUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -628,12 +642,12 @@ declare const StopSessionResponse: z.ZodObject<{
|
|
|
628
642
|
runtime: z.ZodString;
|
|
629
643
|
timeout: z.ZodNumber;
|
|
630
644
|
status: z.ZodEnum<{
|
|
631
|
-
failed: "failed";
|
|
632
|
-
aborted: "aborted";
|
|
633
645
|
pending: "pending";
|
|
634
646
|
running: "running";
|
|
635
647
|
stopping: "stopping";
|
|
636
648
|
stopped: "stopped";
|
|
649
|
+
failed: "failed";
|
|
650
|
+
aborted: "aborted";
|
|
637
651
|
snapshotting: "snapshotting";
|
|
638
652
|
}>;
|
|
639
653
|
requestedAt: z.ZodNumber;
|
|
@@ -837,12 +851,12 @@ declare const StopSessionResponse: z.ZodObject<{
|
|
|
837
851
|
currentSessionId: z.ZodString;
|
|
838
852
|
currentSnapshotId: z.ZodOptional<z.ZodString>;
|
|
839
853
|
status: z.ZodEnum<{
|
|
840
|
-
failed: "failed";
|
|
841
|
-
aborted: "aborted";
|
|
842
854
|
pending: "pending";
|
|
843
855
|
running: "running";
|
|
844
856
|
stopping: "stopping";
|
|
845
857
|
stopped: "stopped";
|
|
858
|
+
failed: "failed";
|
|
859
|
+
aborted: "aborted";
|
|
846
860
|
snapshotting: "snapshotting";
|
|
847
861
|
}>;
|
|
848
862
|
statusUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -860,9 +874,9 @@ declare const StopSessionResponse: z.ZodObject<{
|
|
|
860
874
|
sourceSessionId: z.ZodString;
|
|
861
875
|
region: z.ZodString;
|
|
862
876
|
status: z.ZodEnum<{
|
|
877
|
+
failed: "failed";
|
|
863
878
|
created: "created";
|
|
864
879
|
deleted: "deleted";
|
|
865
|
-
failed: "failed";
|
|
866
880
|
}>;
|
|
867
881
|
sizeBytes: z.ZodNumber;
|
|
868
882
|
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -874,5 +888,5 @@ declare const StopSessionResponse: z.ZodObject<{
|
|
|
874
888
|
}, z.core.$strip>>;
|
|
875
889
|
}, z.core.$strip>;
|
|
876
890
|
//#endregion
|
|
877
|
-
export { Command, CommandData, CommandFinishedData, CommandFinishedResponse, CommandResponse, CreateSnapshotResponse, InteractiveSessionResponse,
|
|
891
|
+
export { Command, CommandData, CommandFinishedData, CommandFinishedResponse, CommandResponse, CreateSnapshotResponse, InteractiveSessionResponse, LogError, LogLine, LogLineData, LogOutputLine, Sandbox, SandboxMetaData, SandboxRoute, SandboxRouteData, Session, SessionMetaData, SessionResponse, Snapshot, SnapshotMetadata, SnapshotResponse, SnapshotTreeNode, SnapshotTreeNodeData, StopSessionResponse };
|
|
878
892
|
//# sourceMappingURL=validators.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommandData } from "./api-client/validators.js";
|
|
1
|
+
import { CommandData, LogOutputLine } from "./api-client/validators.js";
|
|
2
2
|
import { APIClient } from "./api-client/api-client.js";
|
|
3
3
|
import "./api-client/index.js";
|
|
4
4
|
import { Signal } from "./utils/resolveSignal.js";
|
|
@@ -134,13 +134,7 @@ declare class Command {
|
|
|
134
134
|
*/
|
|
135
135
|
logs(opts?: {
|
|
136
136
|
signal?: AbortSignal;
|
|
137
|
-
}): AsyncGenerator<{
|
|
138
|
-
data: string;
|
|
139
|
-
stream: "stdout";
|
|
140
|
-
} | {
|
|
141
|
-
data: string;
|
|
142
|
-
stream: "stderr";
|
|
143
|
-
}, void, void> & Disposable & {
|
|
137
|
+
}): AsyncGenerator<LogOutputLine, void, void> & Disposable & {
|
|
144
138
|
close(): void;
|
|
145
139
|
};
|
|
146
140
|
/**
|