@getpaseo/protocol 0.2.1 → 0.2.3
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/generated/validation/ws-outbound.aot.js +34929 -34108
- package/dist/messages.d.ts +805 -13
- package/dist/messages.js +65 -1
- package/dist/validation/ws-outbound-schema-metadata.d.ts +168 -0
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -2665,6 +2665,23 @@ export declare const StartWorkspaceScriptRequestSchema: z.ZodObject<{
|
|
|
2665
2665
|
scriptName: z.ZodString;
|
|
2666
2666
|
requestId: z.ZodString;
|
|
2667
2667
|
}, z.core.$strip>;
|
|
2668
|
+
export declare const WorkspaceScriptListRequestSchema: z.ZodObject<{
|
|
2669
|
+
type: z.ZodLiteral<"workspace.script.list.request">;
|
|
2670
|
+
workspaceId: z.ZodString;
|
|
2671
|
+
requestId: z.ZodString;
|
|
2672
|
+
}, z.core.$strip>;
|
|
2673
|
+
export declare const WorkspaceScriptStartRequestSchema: z.ZodObject<{
|
|
2674
|
+
type: z.ZodLiteral<"workspace.script.start.request">;
|
|
2675
|
+
workspaceId: z.ZodString;
|
|
2676
|
+
scriptName: z.ZodString;
|
|
2677
|
+
requestId: z.ZodString;
|
|
2678
|
+
}, z.core.$strip>;
|
|
2679
|
+
export declare const WorkspaceScriptStopRequestSchema: z.ZodObject<{
|
|
2680
|
+
type: z.ZodLiteral<"workspace.script.stop.request">;
|
|
2681
|
+
workspaceId: z.ZodString;
|
|
2682
|
+
scriptName: z.ZodString;
|
|
2683
|
+
requestId: z.ZodString;
|
|
2684
|
+
}, z.core.$strip>;
|
|
2668
2685
|
export declare const SubscribeTerminalRequestSchema: z.ZodObject<{
|
|
2669
2686
|
type: z.ZodLiteral<"subscribe_terminal_request">;
|
|
2670
2687
|
terminalId: z.ZodString;
|
|
@@ -2745,9 +2762,23 @@ export declare const HubExecutionAgentCreateRequestSchema: z.ZodObject<{
|
|
|
2745
2762
|
mode: z.ZodLiteral<"checkout-pr">;
|
|
2746
2763
|
prNumber: z.ZodNumber;
|
|
2747
2764
|
}, z.core.$strip>], "mode">>;
|
|
2748
|
-
autoArchive: z.ZodOptional<z.ZodBoolean>;
|
|
2749
2765
|
}, z.core.$strip>;
|
|
2750
2766
|
export type HubExecutionAgentCreateRequest = z.infer<typeof HubExecutionAgentCreateRequestSchema>;
|
|
2767
|
+
export declare const HubExecutionControlActionSchema: z.ZodEnum<{
|
|
2768
|
+
archive: "archive";
|
|
2769
|
+
interrupt: "interrupt";
|
|
2770
|
+
}>;
|
|
2771
|
+
export type HubExecutionControlAction = z.infer<typeof HubExecutionControlActionSchema>;
|
|
2772
|
+
export declare const HubExecutionControlRequestSchema: z.ZodObject<{
|
|
2773
|
+
type: z.ZodLiteral<"hub.execution.control.request">;
|
|
2774
|
+
requestId: z.ZodString;
|
|
2775
|
+
executionId: z.ZodString;
|
|
2776
|
+
action: z.ZodEnum<{
|
|
2777
|
+
archive: "archive";
|
|
2778
|
+
interrupt: "interrupt";
|
|
2779
|
+
}>;
|
|
2780
|
+
}, z.core.$strip>;
|
|
2781
|
+
export type HubExecutionControlRequest = z.infer<typeof HubExecutionControlRequestSchema>;
|
|
2751
2782
|
export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2752
2783
|
type: z.ZodLiteral<"hub.execution.agent.create.request">;
|
|
2753
2784
|
requestId: z.ZodString;
|
|
@@ -2772,7 +2803,14 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2772
2803
|
mode: z.ZodLiteral<"checkout-pr">;
|
|
2773
2804
|
prNumber: z.ZodNumber;
|
|
2774
2805
|
}, z.core.$strip>], "mode">>;
|
|
2775
|
-
|
|
2806
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2807
|
+
type: z.ZodLiteral<"hub.execution.control.request">;
|
|
2808
|
+
requestId: z.ZodString;
|
|
2809
|
+
executionId: z.ZodString;
|
|
2810
|
+
action: z.ZodEnum<{
|
|
2811
|
+
archive: "archive";
|
|
2812
|
+
interrupt: "interrupt";
|
|
2813
|
+
}>;
|
|
2776
2814
|
}, z.core.$strip>, z.ZodObject<{
|
|
2777
2815
|
type: z.ZodLiteral<"browser.automation.execute.response">;
|
|
2778
2816
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4388,6 +4426,20 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4388
4426
|
workspaceId: z.ZodString;
|
|
4389
4427
|
scriptName: z.ZodString;
|
|
4390
4428
|
requestId: z.ZodString;
|
|
4429
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4430
|
+
type: z.ZodLiteral<"workspace.script.list.request">;
|
|
4431
|
+
workspaceId: z.ZodString;
|
|
4432
|
+
requestId: z.ZodString;
|
|
4433
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4434
|
+
type: z.ZodLiteral<"workspace.script.start.request">;
|
|
4435
|
+
workspaceId: z.ZodString;
|
|
4436
|
+
scriptName: z.ZodString;
|
|
4437
|
+
requestId: z.ZodString;
|
|
4438
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4439
|
+
type: z.ZodLiteral<"workspace.script.stop.request">;
|
|
4440
|
+
workspaceId: z.ZodString;
|
|
4441
|
+
scriptName: z.ZodString;
|
|
4442
|
+
requestId: z.ZodString;
|
|
4391
4443
|
}, z.core.$strip>, z.ZodObject<{
|
|
4392
4444
|
type: z.ZodLiteral<"subscribe_terminal_request">;
|
|
4393
4445
|
terminalId: z.ZodString;
|
|
@@ -4807,6 +4859,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4807
4859
|
forgeProviders: z.ZodOptional<z.ZodBoolean>;
|
|
4808
4860
|
selectiveAgentTimeline: z.ZodOptional<z.ZodBoolean>;
|
|
4809
4861
|
stableProjectIdentity: z.ZodOptional<z.ZodBoolean>;
|
|
4862
|
+
workspaceScriptManagement: z.ZodOptional<z.ZodBoolean>;
|
|
4810
4863
|
}, z.core.$strip>>;
|
|
4811
4864
|
}, z.core.$loose>, z.ZodTransform<{
|
|
4812
4865
|
hostname: string | null;
|
|
@@ -4863,6 +4916,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4863
4916
|
forgeProviders?: boolean | undefined;
|
|
4864
4917
|
selectiveAgentTimeline?: boolean | undefined;
|
|
4865
4918
|
stableProjectIdentity?: boolean | undefined;
|
|
4919
|
+
workspaceScriptManagement?: boolean | undefined;
|
|
4866
4920
|
} | undefined;
|
|
4867
4921
|
}, {
|
|
4868
4922
|
[x: string]: unknown;
|
|
@@ -4920,6 +4974,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4920
4974
|
forgeProviders?: boolean | undefined;
|
|
4921
4975
|
selectiveAgentTimeline?: boolean | undefined;
|
|
4922
4976
|
stableProjectIdentity?: boolean | undefined;
|
|
4977
|
+
workspaceScriptManagement?: boolean | undefined;
|
|
4923
4978
|
} | undefined;
|
|
4924
4979
|
}>>;
|
|
4925
4980
|
export declare const StatusMessageSchema: z.ZodObject<{
|
|
@@ -8283,6 +8338,165 @@ export declare const StartWorkspaceScriptResponseMessageSchema: z.ZodObject<{
|
|
|
8283
8338
|
error: z.ZodNullable<z.ZodString>;
|
|
8284
8339
|
}, z.core.$strip>;
|
|
8285
8340
|
}, z.core.$strip>;
|
|
8341
|
+
export declare const WorkspaceScriptListResponseMessageSchema: z.ZodObject<{
|
|
8342
|
+
type: z.ZodLiteral<"workspace.script.list.response">;
|
|
8343
|
+
payload: z.ZodObject<{
|
|
8344
|
+
requestId: z.ZodString;
|
|
8345
|
+
workspaceId: z.ZodString;
|
|
8346
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
8347
|
+
script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8348
|
+
scriptName: z.ZodString;
|
|
8349
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
8350
|
+
script: "script";
|
|
8351
|
+
service: "service";
|
|
8352
|
+
}>>>;
|
|
8353
|
+
hostname: z.ZodString;
|
|
8354
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
8355
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8356
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8357
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8358
|
+
lifecycle: z.ZodEnum<{
|
|
8359
|
+
running: "running";
|
|
8360
|
+
stopped: "stopped";
|
|
8361
|
+
}>;
|
|
8362
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
8363
|
+
healthy: "healthy";
|
|
8364
|
+
unhealthy: "unhealthy";
|
|
8365
|
+
}>>;
|
|
8366
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8367
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8368
|
+
}, z.core.$strip>>>;
|
|
8369
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8370
|
+
scriptName: z.ZodString;
|
|
8371
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
8372
|
+
script: "script";
|
|
8373
|
+
service: "service";
|
|
8374
|
+
}>>>;
|
|
8375
|
+
hostname: z.ZodString;
|
|
8376
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
8377
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8378
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8379
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8380
|
+
lifecycle: z.ZodEnum<{
|
|
8381
|
+
running: "running";
|
|
8382
|
+
stopped: "stopped";
|
|
8383
|
+
}>;
|
|
8384
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
8385
|
+
healthy: "healthy";
|
|
8386
|
+
unhealthy: "unhealthy";
|
|
8387
|
+
}>>;
|
|
8388
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8389
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8390
|
+
}, z.core.$strip>>>;
|
|
8391
|
+
error: z.ZodNullable<z.ZodString>;
|
|
8392
|
+
}, z.core.$strip>;
|
|
8393
|
+
}, z.core.$strip>;
|
|
8394
|
+
export declare const WorkspaceScriptStartResponseMessageSchema: z.ZodObject<{
|
|
8395
|
+
type: z.ZodLiteral<"workspace.script.start.response">;
|
|
8396
|
+
payload: z.ZodObject<{
|
|
8397
|
+
requestId: z.ZodString;
|
|
8398
|
+
workspaceId: z.ZodString;
|
|
8399
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
8400
|
+
script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8401
|
+
scriptName: z.ZodString;
|
|
8402
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
8403
|
+
script: "script";
|
|
8404
|
+
service: "service";
|
|
8405
|
+
}>>>;
|
|
8406
|
+
hostname: z.ZodString;
|
|
8407
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
8408
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8409
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8410
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8411
|
+
lifecycle: z.ZodEnum<{
|
|
8412
|
+
running: "running";
|
|
8413
|
+
stopped: "stopped";
|
|
8414
|
+
}>;
|
|
8415
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
8416
|
+
healthy: "healthy";
|
|
8417
|
+
unhealthy: "unhealthy";
|
|
8418
|
+
}>>;
|
|
8419
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8420
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8421
|
+
}, z.core.$strip>>>;
|
|
8422
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8423
|
+
scriptName: z.ZodString;
|
|
8424
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
8425
|
+
script: "script";
|
|
8426
|
+
service: "service";
|
|
8427
|
+
}>>>;
|
|
8428
|
+
hostname: z.ZodString;
|
|
8429
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
8430
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8431
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8432
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8433
|
+
lifecycle: z.ZodEnum<{
|
|
8434
|
+
running: "running";
|
|
8435
|
+
stopped: "stopped";
|
|
8436
|
+
}>;
|
|
8437
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
8438
|
+
healthy: "healthy";
|
|
8439
|
+
unhealthy: "unhealthy";
|
|
8440
|
+
}>>;
|
|
8441
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8442
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8443
|
+
}, z.core.$strip>>>;
|
|
8444
|
+
error: z.ZodNullable<z.ZodString>;
|
|
8445
|
+
}, z.core.$strip>;
|
|
8446
|
+
}, z.core.$strip>;
|
|
8447
|
+
export declare const WorkspaceScriptStopResponseMessageSchema: z.ZodObject<{
|
|
8448
|
+
type: z.ZodLiteral<"workspace.script.stop.response">;
|
|
8449
|
+
payload: z.ZodObject<{
|
|
8450
|
+
requestId: z.ZodString;
|
|
8451
|
+
workspaceId: z.ZodString;
|
|
8452
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
8453
|
+
script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8454
|
+
scriptName: z.ZodString;
|
|
8455
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
8456
|
+
script: "script";
|
|
8457
|
+
service: "service";
|
|
8458
|
+
}>>>;
|
|
8459
|
+
hostname: z.ZodString;
|
|
8460
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
8461
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8462
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8463
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8464
|
+
lifecycle: z.ZodEnum<{
|
|
8465
|
+
running: "running";
|
|
8466
|
+
stopped: "stopped";
|
|
8467
|
+
}>;
|
|
8468
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
8469
|
+
healthy: "healthy";
|
|
8470
|
+
unhealthy: "unhealthy";
|
|
8471
|
+
}>>;
|
|
8472
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8473
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8474
|
+
}, z.core.$strip>>>;
|
|
8475
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8476
|
+
scriptName: z.ZodString;
|
|
8477
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
8478
|
+
script: "script";
|
|
8479
|
+
service: "service";
|
|
8480
|
+
}>>>;
|
|
8481
|
+
hostname: z.ZodString;
|
|
8482
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
8483
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8484
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8485
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8486
|
+
lifecycle: z.ZodEnum<{
|
|
8487
|
+
running: "running";
|
|
8488
|
+
stopped: "stopped";
|
|
8489
|
+
}>;
|
|
8490
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
8491
|
+
healthy: "healthy";
|
|
8492
|
+
unhealthy: "unhealthy";
|
|
8493
|
+
}>>;
|
|
8494
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8495
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8496
|
+
}, z.core.$strip>>>;
|
|
8497
|
+
error: z.ZodNullable<z.ZodString>;
|
|
8498
|
+
}, z.core.$strip>;
|
|
8499
|
+
}, z.core.$strip>;
|
|
8286
8500
|
export declare const LegacyListAvailableEditorsResponseMessageSchema: z.ZodObject<{
|
|
8287
8501
|
type: z.ZodLiteral<"list_available_editors_response">;
|
|
8288
8502
|
payload: z.ZodObject<{
|
|
@@ -12338,6 +12552,19 @@ export declare const HubExecutionAgentCreateResponseSchema: z.ZodObject<{
|
|
|
12338
12552
|
error: z.ZodNullable<z.ZodString>;
|
|
12339
12553
|
}, z.core.$strip>;
|
|
12340
12554
|
}, z.core.$strip>;
|
|
12555
|
+
export declare const HubExecutionControlResponseSchema: z.ZodObject<{
|
|
12556
|
+
type: z.ZodLiteral<"hub.execution.control.response">;
|
|
12557
|
+
payload: z.ZodObject<{
|
|
12558
|
+
requestId: z.ZodString;
|
|
12559
|
+
executionId: z.ZodString;
|
|
12560
|
+
action: z.ZodEnum<{
|
|
12561
|
+
archive: "archive";
|
|
12562
|
+
interrupt: "interrupt";
|
|
12563
|
+
}>;
|
|
12564
|
+
success: z.ZodBoolean;
|
|
12565
|
+
error: z.ZodNullable<z.ZodString>;
|
|
12566
|
+
}, z.core.$strip>;
|
|
12567
|
+
}, z.core.$strip>;
|
|
12341
12568
|
export declare const HubExecutionAgentUpdateSchema: z.ZodObject<{
|
|
12342
12569
|
type: z.ZodLiteral<"hub.execution.agent.update">;
|
|
12343
12570
|
payload: z.ZodObject<{
|
|
@@ -12474,6 +12701,7 @@ export declare const HubExecutionAgentStreamSchema: z.ZodObject<{
|
|
|
12474
12701
|
}, z.core.$strip>;
|
|
12475
12702
|
}, z.core.$strip>;
|
|
12476
12703
|
export type HubExecutionAgentCreateResponse = z.infer<typeof HubExecutionAgentCreateResponseSchema>;
|
|
12704
|
+
export type HubExecutionControlResponse = z.infer<typeof HubExecutionControlResponseSchema>;
|
|
12477
12705
|
export type HubExecutionAgentUpdate = z.infer<typeof HubExecutionAgentUpdateSchema>;
|
|
12478
12706
|
export type HubExecutionAgentStream = z.infer<typeof HubExecutionAgentStreamSchema>;
|
|
12479
12707
|
export declare const HubExecutionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -12547,6 +12775,18 @@ export declare const HubExecutionOutboundMessageSchema: z.ZodDiscriminatedUnion<
|
|
|
12547
12775
|
success: z.ZodBoolean;
|
|
12548
12776
|
error: z.ZodNullable<z.ZodString>;
|
|
12549
12777
|
}, z.core.$strip>;
|
|
12778
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12779
|
+
type: z.ZodLiteral<"hub.execution.control.response">;
|
|
12780
|
+
payload: z.ZodObject<{
|
|
12781
|
+
requestId: z.ZodString;
|
|
12782
|
+
executionId: z.ZodString;
|
|
12783
|
+
action: z.ZodEnum<{
|
|
12784
|
+
archive: "archive";
|
|
12785
|
+
interrupt: "interrupt";
|
|
12786
|
+
}>;
|
|
12787
|
+
success: z.ZodBoolean;
|
|
12788
|
+
error: z.ZodNullable<z.ZodString>;
|
|
12789
|
+
}, z.core.$strip>;
|
|
12550
12790
|
}, z.core.$strip>, z.ZodObject<{
|
|
12551
12791
|
type: z.ZodLiteral<"hub.execution.agent.update">;
|
|
12552
12792
|
payload: z.ZodObject<{
|
|
@@ -12758,6 +12998,18 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
12758
12998
|
success: z.ZodBoolean;
|
|
12759
12999
|
error: z.ZodNullable<z.ZodString>;
|
|
12760
13000
|
}, z.core.$strip>;
|
|
13001
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13002
|
+
type: z.ZodLiteral<"hub.execution.control.response">;
|
|
13003
|
+
payload: z.ZodObject<{
|
|
13004
|
+
requestId: z.ZodString;
|
|
13005
|
+
executionId: z.ZodString;
|
|
13006
|
+
action: z.ZodEnum<{
|
|
13007
|
+
archive: "archive";
|
|
13008
|
+
interrupt: "interrupt";
|
|
13009
|
+
}>;
|
|
13010
|
+
success: z.ZodBoolean;
|
|
13011
|
+
error: z.ZodNullable<z.ZodString>;
|
|
13012
|
+
}, z.core.$strip>;
|
|
12761
13013
|
}, z.core.$strip>, z.ZodObject<{
|
|
12762
13014
|
type: z.ZodLiteral<"hub.execution.agent.update">;
|
|
12763
13015
|
payload: z.ZodObject<{
|
|
@@ -15305,22 +15557,178 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
15305
15557
|
error: z.ZodNullable<z.ZodString>;
|
|
15306
15558
|
}, z.core.$strip>;
|
|
15307
15559
|
}, z.core.$strip>, z.ZodObject<{
|
|
15308
|
-
type: z.ZodLiteral<"
|
|
15560
|
+
type: z.ZodLiteral<"workspace.script.list.response">;
|
|
15309
15561
|
payload: z.ZodObject<{
|
|
15310
15562
|
requestId: z.ZodString;
|
|
15311
|
-
|
|
15312
|
-
|
|
15313
|
-
|
|
15314
|
-
|
|
15563
|
+
workspaceId: z.ZodString;
|
|
15564
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
15565
|
+
script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15566
|
+
scriptName: z.ZodString;
|
|
15567
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
15568
|
+
script: "script";
|
|
15569
|
+
service: "service";
|
|
15570
|
+
}>>>;
|
|
15571
|
+
hostname: z.ZodString;
|
|
15572
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
15573
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15574
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15575
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15576
|
+
lifecycle: z.ZodEnum<{
|
|
15577
|
+
running: "running";
|
|
15578
|
+
stopped: "stopped";
|
|
15579
|
+
}>;
|
|
15580
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
15581
|
+
healthy: "healthy";
|
|
15582
|
+
unhealthy: "unhealthy";
|
|
15583
|
+
}>>;
|
|
15584
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
15585
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15586
|
+
}, z.core.$strip>>>;
|
|
15587
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15588
|
+
scriptName: z.ZodString;
|
|
15589
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
15590
|
+
script: "script";
|
|
15591
|
+
service: "service";
|
|
15592
|
+
}>>>;
|
|
15593
|
+
hostname: z.ZodString;
|
|
15594
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
15595
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15596
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15597
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15598
|
+
lifecycle: z.ZodEnum<{
|
|
15599
|
+
running: "running";
|
|
15600
|
+
stopped: "stopped";
|
|
15601
|
+
}>;
|
|
15602
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
15603
|
+
healthy: "healthy";
|
|
15604
|
+
unhealthy: "unhealthy";
|
|
15605
|
+
}>>;
|
|
15606
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
15607
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15608
|
+
}, z.core.$strip>>>;
|
|
15315
15609
|
error: z.ZodNullable<z.ZodString>;
|
|
15316
15610
|
}, z.core.$strip>;
|
|
15317
15611
|
}, z.core.$strip>, z.ZodObject<{
|
|
15318
|
-
type: z.ZodLiteral<"
|
|
15612
|
+
type: z.ZodLiteral<"workspace.script.start.response">;
|
|
15319
15613
|
payload: z.ZodObject<{
|
|
15320
15614
|
requestId: z.ZodString;
|
|
15321
|
-
|
|
15322
|
-
|
|
15323
|
-
|
|
15615
|
+
workspaceId: z.ZodString;
|
|
15616
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
15617
|
+
script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15618
|
+
scriptName: z.ZodString;
|
|
15619
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
15620
|
+
script: "script";
|
|
15621
|
+
service: "service";
|
|
15622
|
+
}>>>;
|
|
15623
|
+
hostname: z.ZodString;
|
|
15624
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
15625
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15626
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15627
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15628
|
+
lifecycle: z.ZodEnum<{
|
|
15629
|
+
running: "running";
|
|
15630
|
+
stopped: "stopped";
|
|
15631
|
+
}>;
|
|
15632
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
15633
|
+
healthy: "healthy";
|
|
15634
|
+
unhealthy: "unhealthy";
|
|
15635
|
+
}>>;
|
|
15636
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
15637
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15638
|
+
}, z.core.$strip>>>;
|
|
15639
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15640
|
+
scriptName: z.ZodString;
|
|
15641
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
15642
|
+
script: "script";
|
|
15643
|
+
service: "service";
|
|
15644
|
+
}>>>;
|
|
15645
|
+
hostname: z.ZodString;
|
|
15646
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
15647
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15648
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15649
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15650
|
+
lifecycle: z.ZodEnum<{
|
|
15651
|
+
running: "running";
|
|
15652
|
+
stopped: "stopped";
|
|
15653
|
+
}>;
|
|
15654
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
15655
|
+
healthy: "healthy";
|
|
15656
|
+
unhealthy: "unhealthy";
|
|
15657
|
+
}>>;
|
|
15658
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
15659
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15660
|
+
}, z.core.$strip>>>;
|
|
15661
|
+
error: z.ZodNullable<z.ZodString>;
|
|
15662
|
+
}, z.core.$strip>;
|
|
15663
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15664
|
+
type: z.ZodLiteral<"workspace.script.stop.response">;
|
|
15665
|
+
payload: z.ZodObject<{
|
|
15666
|
+
requestId: z.ZodString;
|
|
15667
|
+
workspaceId: z.ZodString;
|
|
15668
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
15669
|
+
script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15670
|
+
scriptName: z.ZodString;
|
|
15671
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
15672
|
+
script: "script";
|
|
15673
|
+
service: "service";
|
|
15674
|
+
}>>>;
|
|
15675
|
+
hostname: z.ZodString;
|
|
15676
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
15677
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15678
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15679
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15680
|
+
lifecycle: z.ZodEnum<{
|
|
15681
|
+
running: "running";
|
|
15682
|
+
stopped: "stopped";
|
|
15683
|
+
}>;
|
|
15684
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
15685
|
+
healthy: "healthy";
|
|
15686
|
+
unhealthy: "unhealthy";
|
|
15687
|
+
}>>;
|
|
15688
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
15689
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15690
|
+
}, z.core.$strip>>>;
|
|
15691
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15692
|
+
scriptName: z.ZodString;
|
|
15693
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
15694
|
+
script: "script";
|
|
15695
|
+
service: "service";
|
|
15696
|
+
}>>>;
|
|
15697
|
+
hostname: z.ZodString;
|
|
15698
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
15699
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15700
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15701
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15702
|
+
lifecycle: z.ZodEnum<{
|
|
15703
|
+
running: "running";
|
|
15704
|
+
stopped: "stopped";
|
|
15705
|
+
}>;
|
|
15706
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
15707
|
+
healthy: "healthy";
|
|
15708
|
+
unhealthy: "unhealthy";
|
|
15709
|
+
}>>;
|
|
15710
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
15711
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15712
|
+
}, z.core.$strip>>>;
|
|
15713
|
+
error: z.ZodNullable<z.ZodString>;
|
|
15714
|
+
}, z.core.$strip>;
|
|
15715
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15716
|
+
type: z.ZodLiteral<"list_available_editors_response">;
|
|
15717
|
+
payload: z.ZodObject<{
|
|
15718
|
+
requestId: z.ZodString;
|
|
15719
|
+
editors: z.ZodArray<z.ZodObject<{
|
|
15720
|
+
id: z.ZodString;
|
|
15721
|
+
label: z.ZodString;
|
|
15722
|
+
}, z.core.$strip>>;
|
|
15723
|
+
error: z.ZodNullable<z.ZodString>;
|
|
15724
|
+
}, z.core.$strip>;
|
|
15725
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15726
|
+
type: z.ZodLiteral<"open_in_editor_response">;
|
|
15727
|
+
payload: z.ZodObject<{
|
|
15728
|
+
requestId: z.ZodString;
|
|
15729
|
+
error: z.ZodNullable<z.ZodString>;
|
|
15730
|
+
}, z.core.$strip>;
|
|
15731
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15324
15732
|
type: z.ZodLiteral<"archive_workspace_response">;
|
|
15325
15733
|
payload: z.ZodObject<{
|
|
15326
15734
|
requestId: z.ZodString;
|
|
@@ -19855,6 +20263,12 @@ export type WorkspaceGithubSearchRepositoriesResponse = z.infer<typeof Workspace
|
|
|
19855
20263
|
export type GithubRepository = z.infer<typeof GithubRepositorySchema>;
|
|
19856
20264
|
export type ProjectGithubCloneResponse = z.infer<typeof ProjectGithubCloneResponseSchema>;
|
|
19857
20265
|
export type StartWorkspaceScriptResponseMessage = z.infer<typeof StartWorkspaceScriptResponseMessageSchema>;
|
|
20266
|
+
export type WorkspaceScriptListRequest = z.infer<typeof WorkspaceScriptListRequestSchema>;
|
|
20267
|
+
export type WorkspaceScriptStartRequest = z.infer<typeof WorkspaceScriptStartRequestSchema>;
|
|
20268
|
+
export type WorkspaceScriptStopRequest = z.infer<typeof WorkspaceScriptStopRequestSchema>;
|
|
20269
|
+
export type WorkspaceScriptListResponseMessage = z.infer<typeof WorkspaceScriptListResponseMessageSchema>;
|
|
20270
|
+
export type WorkspaceScriptStartResponseMessage = z.infer<typeof WorkspaceScriptStartResponseMessageSchema>;
|
|
20271
|
+
export type WorkspaceScriptStopResponseMessage = z.infer<typeof WorkspaceScriptStopResponseMessageSchema>;
|
|
19858
20272
|
export type LegacyListAvailableEditorsResponseMessage = z.infer<typeof LegacyListAvailableEditorsResponseMessageSchema>;
|
|
19859
20273
|
export type LegacyOpenInEditorResponseMessage = z.infer<typeof LegacyOpenInEditorResponseMessageSchema>;
|
|
19860
20274
|
export type ArchiveWorkspaceResponseMessage = z.infer<typeof ArchiveWorkspaceResponseMessageSchema>;
|
|
@@ -20198,7 +20612,14 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
20198
20612
|
mode: z.ZodLiteral<"checkout-pr">;
|
|
20199
20613
|
prNumber: z.ZodNumber;
|
|
20200
20614
|
}, z.core.$strip>], "mode">>;
|
|
20201
|
-
|
|
20615
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20616
|
+
type: z.ZodLiteral<"hub.execution.control.request">;
|
|
20617
|
+
requestId: z.ZodString;
|
|
20618
|
+
executionId: z.ZodString;
|
|
20619
|
+
action: z.ZodEnum<{
|
|
20620
|
+
archive: "archive";
|
|
20621
|
+
interrupt: "interrupt";
|
|
20622
|
+
}>;
|
|
20202
20623
|
}, z.core.$strip>, z.ZodObject<{
|
|
20203
20624
|
type: z.ZodLiteral<"browser.automation.execute.response">;
|
|
20204
20625
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -21814,6 +22235,20 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
21814
22235
|
workspaceId: z.ZodString;
|
|
21815
22236
|
scriptName: z.ZodString;
|
|
21816
22237
|
requestId: z.ZodString;
|
|
22238
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22239
|
+
type: z.ZodLiteral<"workspace.script.list.request">;
|
|
22240
|
+
workspaceId: z.ZodString;
|
|
22241
|
+
requestId: z.ZodString;
|
|
22242
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22243
|
+
type: z.ZodLiteral<"workspace.script.start.request">;
|
|
22244
|
+
workspaceId: z.ZodString;
|
|
22245
|
+
scriptName: z.ZodString;
|
|
22246
|
+
requestId: z.ZodString;
|
|
22247
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22248
|
+
type: z.ZodLiteral<"workspace.script.stop.request">;
|
|
22249
|
+
workspaceId: z.ZodString;
|
|
22250
|
+
scriptName: z.ZodString;
|
|
22251
|
+
requestId: z.ZodString;
|
|
21817
22252
|
}, z.core.$strip>, z.ZodObject<{
|
|
21818
22253
|
type: z.ZodLiteral<"subscribe_terminal_request">;
|
|
21819
22254
|
terminalId: z.ZodString;
|
|
@@ -22116,6 +22551,18 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22116
22551
|
success: z.ZodBoolean;
|
|
22117
22552
|
error: z.ZodNullable<z.ZodString>;
|
|
22118
22553
|
}, z.core.$strip>;
|
|
22554
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22555
|
+
type: z.ZodLiteral<"hub.execution.control.response">;
|
|
22556
|
+
payload: z.ZodObject<{
|
|
22557
|
+
requestId: z.ZodString;
|
|
22558
|
+
executionId: z.ZodString;
|
|
22559
|
+
action: z.ZodEnum<{
|
|
22560
|
+
archive: "archive";
|
|
22561
|
+
interrupt: "interrupt";
|
|
22562
|
+
}>;
|
|
22563
|
+
success: z.ZodBoolean;
|
|
22564
|
+
error: z.ZodNullable<z.ZodString>;
|
|
22565
|
+
}, z.core.$strip>;
|
|
22119
22566
|
}, z.core.$strip>, z.ZodObject<{
|
|
22120
22567
|
type: z.ZodLiteral<"hub.execution.agent.update">;
|
|
22121
22568
|
payload: z.ZodObject<{
|
|
@@ -24662,6 +25109,162 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
24662
25109
|
terminalId: z.ZodNullable<z.ZodString>;
|
|
24663
25110
|
error: z.ZodNullable<z.ZodString>;
|
|
24664
25111
|
}, z.core.$strip>;
|
|
25112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25113
|
+
type: z.ZodLiteral<"workspace.script.list.response">;
|
|
25114
|
+
payload: z.ZodObject<{
|
|
25115
|
+
requestId: z.ZodString;
|
|
25116
|
+
workspaceId: z.ZodString;
|
|
25117
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
25118
|
+
script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25119
|
+
scriptName: z.ZodString;
|
|
25120
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
25121
|
+
script: "script";
|
|
25122
|
+
service: "service";
|
|
25123
|
+
}>>>;
|
|
25124
|
+
hostname: z.ZodString;
|
|
25125
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
25126
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25127
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25128
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25129
|
+
lifecycle: z.ZodEnum<{
|
|
25130
|
+
running: "running";
|
|
25131
|
+
stopped: "stopped";
|
|
25132
|
+
}>;
|
|
25133
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
25134
|
+
healthy: "healthy";
|
|
25135
|
+
unhealthy: "unhealthy";
|
|
25136
|
+
}>>;
|
|
25137
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
25138
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25139
|
+
}, z.core.$strip>>>;
|
|
25140
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25141
|
+
scriptName: z.ZodString;
|
|
25142
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
25143
|
+
script: "script";
|
|
25144
|
+
service: "service";
|
|
25145
|
+
}>>>;
|
|
25146
|
+
hostname: z.ZodString;
|
|
25147
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
25148
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25149
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25150
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25151
|
+
lifecycle: z.ZodEnum<{
|
|
25152
|
+
running: "running";
|
|
25153
|
+
stopped: "stopped";
|
|
25154
|
+
}>;
|
|
25155
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
25156
|
+
healthy: "healthy";
|
|
25157
|
+
unhealthy: "unhealthy";
|
|
25158
|
+
}>>;
|
|
25159
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
25160
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25161
|
+
}, z.core.$strip>>>;
|
|
25162
|
+
error: z.ZodNullable<z.ZodString>;
|
|
25163
|
+
}, z.core.$strip>;
|
|
25164
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25165
|
+
type: z.ZodLiteral<"workspace.script.start.response">;
|
|
25166
|
+
payload: z.ZodObject<{
|
|
25167
|
+
requestId: z.ZodString;
|
|
25168
|
+
workspaceId: z.ZodString;
|
|
25169
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
25170
|
+
script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25171
|
+
scriptName: z.ZodString;
|
|
25172
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
25173
|
+
script: "script";
|
|
25174
|
+
service: "service";
|
|
25175
|
+
}>>>;
|
|
25176
|
+
hostname: z.ZodString;
|
|
25177
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
25178
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25179
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25180
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25181
|
+
lifecycle: z.ZodEnum<{
|
|
25182
|
+
running: "running";
|
|
25183
|
+
stopped: "stopped";
|
|
25184
|
+
}>;
|
|
25185
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
25186
|
+
healthy: "healthy";
|
|
25187
|
+
unhealthy: "unhealthy";
|
|
25188
|
+
}>>;
|
|
25189
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
25190
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25191
|
+
}, z.core.$strip>>>;
|
|
25192
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25193
|
+
scriptName: z.ZodString;
|
|
25194
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
25195
|
+
script: "script";
|
|
25196
|
+
service: "service";
|
|
25197
|
+
}>>>;
|
|
25198
|
+
hostname: z.ZodString;
|
|
25199
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
25200
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25201
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25202
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25203
|
+
lifecycle: z.ZodEnum<{
|
|
25204
|
+
running: "running";
|
|
25205
|
+
stopped: "stopped";
|
|
25206
|
+
}>;
|
|
25207
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
25208
|
+
healthy: "healthy";
|
|
25209
|
+
unhealthy: "unhealthy";
|
|
25210
|
+
}>>;
|
|
25211
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
25212
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25213
|
+
}, z.core.$strip>>>;
|
|
25214
|
+
error: z.ZodNullable<z.ZodString>;
|
|
25215
|
+
}, z.core.$strip>;
|
|
25216
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25217
|
+
type: z.ZodLiteral<"workspace.script.stop.response">;
|
|
25218
|
+
payload: z.ZodObject<{
|
|
25219
|
+
requestId: z.ZodString;
|
|
25220
|
+
workspaceId: z.ZodString;
|
|
25221
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
25222
|
+
script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25223
|
+
scriptName: z.ZodString;
|
|
25224
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
25225
|
+
script: "script";
|
|
25226
|
+
service: "service";
|
|
25227
|
+
}>>>;
|
|
25228
|
+
hostname: z.ZodString;
|
|
25229
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
25230
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25231
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25232
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25233
|
+
lifecycle: z.ZodEnum<{
|
|
25234
|
+
running: "running";
|
|
25235
|
+
stopped: "stopped";
|
|
25236
|
+
}>;
|
|
25237
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
25238
|
+
healthy: "healthy";
|
|
25239
|
+
unhealthy: "unhealthy";
|
|
25240
|
+
}>>;
|
|
25241
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
25242
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25243
|
+
}, z.core.$strip>>>;
|
|
25244
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25245
|
+
scriptName: z.ZodString;
|
|
25246
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
25247
|
+
script: "script";
|
|
25248
|
+
service: "service";
|
|
25249
|
+
}>>>;
|
|
25250
|
+
hostname: z.ZodString;
|
|
25251
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
25252
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25253
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25254
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25255
|
+
lifecycle: z.ZodEnum<{
|
|
25256
|
+
running: "running";
|
|
25257
|
+
stopped: "stopped";
|
|
25258
|
+
}>;
|
|
25259
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
25260
|
+
healthy: "healthy";
|
|
25261
|
+
unhealthy: "unhealthy";
|
|
25262
|
+
}>>;
|
|
25263
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
25264
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25265
|
+
}, z.core.$strip>>>;
|
|
25266
|
+
error: z.ZodNullable<z.ZodString>;
|
|
25267
|
+
}, z.core.$strip>;
|
|
24665
25268
|
}, z.core.$strip>, z.ZodObject<{
|
|
24666
25269
|
type: z.ZodLiteral<"list_available_editors_response">;
|
|
24667
25270
|
payload: z.ZodObject<{
|
|
@@ -29232,7 +29835,14 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
29232
29835
|
mode: z.ZodLiteral<"checkout-pr">;
|
|
29233
29836
|
prNumber: z.ZodNumber;
|
|
29234
29837
|
}, z.core.$strip>], "mode">>;
|
|
29235
|
-
|
|
29838
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29839
|
+
type: z.ZodLiteral<"hub.execution.control.request">;
|
|
29840
|
+
requestId: z.ZodString;
|
|
29841
|
+
executionId: z.ZodString;
|
|
29842
|
+
action: z.ZodEnum<{
|
|
29843
|
+
archive: "archive";
|
|
29844
|
+
interrupt: "interrupt";
|
|
29845
|
+
}>;
|
|
29236
29846
|
}, z.core.$strip>, z.ZodObject<{
|
|
29237
29847
|
type: z.ZodLiteral<"browser.automation.execute.response">;
|
|
29238
29848
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -30848,6 +31458,20 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
30848
31458
|
workspaceId: z.ZodString;
|
|
30849
31459
|
scriptName: z.ZodString;
|
|
30850
31460
|
requestId: z.ZodString;
|
|
31461
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31462
|
+
type: z.ZodLiteral<"workspace.script.list.request">;
|
|
31463
|
+
workspaceId: z.ZodString;
|
|
31464
|
+
requestId: z.ZodString;
|
|
31465
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31466
|
+
type: z.ZodLiteral<"workspace.script.start.request">;
|
|
31467
|
+
workspaceId: z.ZodString;
|
|
31468
|
+
scriptName: z.ZodString;
|
|
31469
|
+
requestId: z.ZodString;
|
|
31470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31471
|
+
type: z.ZodLiteral<"workspace.script.stop.request">;
|
|
31472
|
+
workspaceId: z.ZodString;
|
|
31473
|
+
scriptName: z.ZodString;
|
|
31474
|
+
requestId: z.ZodString;
|
|
30851
31475
|
}, z.core.$strip>, z.ZodObject<{
|
|
30852
31476
|
type: z.ZodLiteral<"subscribe_terminal_request">;
|
|
30853
31477
|
terminalId: z.ZodString;
|
|
@@ -31152,6 +31776,18 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
31152
31776
|
success: z.ZodBoolean;
|
|
31153
31777
|
error: z.ZodNullable<z.ZodString>;
|
|
31154
31778
|
}, z.core.$strip>;
|
|
31779
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31780
|
+
type: z.ZodLiteral<"hub.execution.control.response">;
|
|
31781
|
+
payload: z.ZodObject<{
|
|
31782
|
+
requestId: z.ZodString;
|
|
31783
|
+
executionId: z.ZodString;
|
|
31784
|
+
action: z.ZodEnum<{
|
|
31785
|
+
archive: "archive";
|
|
31786
|
+
interrupt: "interrupt";
|
|
31787
|
+
}>;
|
|
31788
|
+
success: z.ZodBoolean;
|
|
31789
|
+
error: z.ZodNullable<z.ZodString>;
|
|
31790
|
+
}, z.core.$strip>;
|
|
31155
31791
|
}, z.core.$strip>, z.ZodObject<{
|
|
31156
31792
|
type: z.ZodLiteral<"hub.execution.agent.update">;
|
|
31157
31793
|
payload: z.ZodObject<{
|
|
@@ -33698,6 +34334,162 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
33698
34334
|
terminalId: z.ZodNullable<z.ZodString>;
|
|
33699
34335
|
error: z.ZodNullable<z.ZodString>;
|
|
33700
34336
|
}, z.core.$strip>;
|
|
34337
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34338
|
+
type: z.ZodLiteral<"workspace.script.list.response">;
|
|
34339
|
+
payload: z.ZodObject<{
|
|
34340
|
+
requestId: z.ZodString;
|
|
34341
|
+
workspaceId: z.ZodString;
|
|
34342
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
34343
|
+
script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34344
|
+
scriptName: z.ZodString;
|
|
34345
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
34346
|
+
script: "script";
|
|
34347
|
+
service: "service";
|
|
34348
|
+
}>>>;
|
|
34349
|
+
hostname: z.ZodString;
|
|
34350
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
34351
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34352
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34353
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34354
|
+
lifecycle: z.ZodEnum<{
|
|
34355
|
+
running: "running";
|
|
34356
|
+
stopped: "stopped";
|
|
34357
|
+
}>;
|
|
34358
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
34359
|
+
healthy: "healthy";
|
|
34360
|
+
unhealthy: "unhealthy";
|
|
34361
|
+
}>>;
|
|
34362
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
34363
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34364
|
+
}, z.core.$strip>>>;
|
|
34365
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
34366
|
+
scriptName: z.ZodString;
|
|
34367
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
34368
|
+
script: "script";
|
|
34369
|
+
service: "service";
|
|
34370
|
+
}>>>;
|
|
34371
|
+
hostname: z.ZodString;
|
|
34372
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
34373
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34374
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34375
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34376
|
+
lifecycle: z.ZodEnum<{
|
|
34377
|
+
running: "running";
|
|
34378
|
+
stopped: "stopped";
|
|
34379
|
+
}>;
|
|
34380
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
34381
|
+
healthy: "healthy";
|
|
34382
|
+
unhealthy: "unhealthy";
|
|
34383
|
+
}>>;
|
|
34384
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
34385
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34386
|
+
}, z.core.$strip>>>;
|
|
34387
|
+
error: z.ZodNullable<z.ZodString>;
|
|
34388
|
+
}, z.core.$strip>;
|
|
34389
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34390
|
+
type: z.ZodLiteral<"workspace.script.start.response">;
|
|
34391
|
+
payload: z.ZodObject<{
|
|
34392
|
+
requestId: z.ZodString;
|
|
34393
|
+
workspaceId: z.ZodString;
|
|
34394
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
34395
|
+
script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34396
|
+
scriptName: z.ZodString;
|
|
34397
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
34398
|
+
script: "script";
|
|
34399
|
+
service: "service";
|
|
34400
|
+
}>>>;
|
|
34401
|
+
hostname: z.ZodString;
|
|
34402
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
34403
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34404
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34405
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34406
|
+
lifecycle: z.ZodEnum<{
|
|
34407
|
+
running: "running";
|
|
34408
|
+
stopped: "stopped";
|
|
34409
|
+
}>;
|
|
34410
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
34411
|
+
healthy: "healthy";
|
|
34412
|
+
unhealthy: "unhealthy";
|
|
34413
|
+
}>>;
|
|
34414
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
34415
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34416
|
+
}, z.core.$strip>>>;
|
|
34417
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
34418
|
+
scriptName: z.ZodString;
|
|
34419
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
34420
|
+
script: "script";
|
|
34421
|
+
service: "service";
|
|
34422
|
+
}>>>;
|
|
34423
|
+
hostname: z.ZodString;
|
|
34424
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
34425
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34426
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34427
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34428
|
+
lifecycle: z.ZodEnum<{
|
|
34429
|
+
running: "running";
|
|
34430
|
+
stopped: "stopped";
|
|
34431
|
+
}>;
|
|
34432
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
34433
|
+
healthy: "healthy";
|
|
34434
|
+
unhealthy: "unhealthy";
|
|
34435
|
+
}>>;
|
|
34436
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
34437
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34438
|
+
}, z.core.$strip>>>;
|
|
34439
|
+
error: z.ZodNullable<z.ZodString>;
|
|
34440
|
+
}, z.core.$strip>;
|
|
34441
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34442
|
+
type: z.ZodLiteral<"workspace.script.stop.response">;
|
|
34443
|
+
payload: z.ZodObject<{
|
|
34444
|
+
requestId: z.ZodString;
|
|
34445
|
+
workspaceId: z.ZodString;
|
|
34446
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
34447
|
+
script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34448
|
+
scriptName: z.ZodString;
|
|
34449
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
34450
|
+
script: "script";
|
|
34451
|
+
service: "service";
|
|
34452
|
+
}>>>;
|
|
34453
|
+
hostname: z.ZodString;
|
|
34454
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
34455
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34456
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34457
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34458
|
+
lifecycle: z.ZodEnum<{
|
|
34459
|
+
running: "running";
|
|
34460
|
+
stopped: "stopped";
|
|
34461
|
+
}>;
|
|
34462
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
34463
|
+
healthy: "healthy";
|
|
34464
|
+
unhealthy: "unhealthy";
|
|
34465
|
+
}>>;
|
|
34466
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
34467
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34468
|
+
}, z.core.$strip>>>;
|
|
34469
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
34470
|
+
scriptName: z.ZodString;
|
|
34471
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
34472
|
+
script: "script";
|
|
34473
|
+
service: "service";
|
|
34474
|
+
}>>>;
|
|
34475
|
+
hostname: z.ZodString;
|
|
34476
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
34477
|
+
localProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34478
|
+
publicProxyUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34479
|
+
proxyUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34480
|
+
lifecycle: z.ZodEnum<{
|
|
34481
|
+
running: "running";
|
|
34482
|
+
stopped: "stopped";
|
|
34483
|
+
}>;
|
|
34484
|
+
health: z.ZodNullable<z.ZodEnum<{
|
|
34485
|
+
healthy: "healthy";
|
|
34486
|
+
unhealthy: "unhealthy";
|
|
34487
|
+
}>>;
|
|
34488
|
+
exitCode: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
34489
|
+
terminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34490
|
+
}, z.core.$strip>>>;
|
|
34491
|
+
error: z.ZodNullable<z.ZodString>;
|
|
34492
|
+
}, z.core.$strip>;
|
|
33701
34493
|
}, z.core.$strip>, z.ZodObject<{
|
|
33702
34494
|
type: z.ZodLiteral<"list_available_editors_response">;
|
|
33703
34495
|
payload: z.ZodObject<{
|