@camerontaylor/paseo-protocol 0.9.1-fork.1 → 0.10.2-fork.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.
@@ -3228,6 +3228,17 @@ export declare const CheckoutRenameBranchRequestSchema: z.ZodObject<{
3228
3228
  branch: z.ZodString;
3229
3229
  requestId: z.ZodString;
3230
3230
  }, z.core.$strip>;
3231
+ /**
3232
+ * Change the branch a checkout is compared with. Paseo-owned worktrees persist it in
3233
+ * worktree.json; plain checkouts persist it in the repository's git config, where every
3234
+ * comparison against that repository reads it.
3235
+ */
3236
+ export declare const CheckoutBaseRefSetRequestSchema: z.ZodObject<{
3237
+ type: z.ZodLiteral<"checkout.base_ref.set.request">;
3238
+ cwd: z.ZodString;
3239
+ baseRef: z.ZodString;
3240
+ requestId: z.ZodString;
3241
+ }, z.core.$strip>;
3231
3242
  export declare const StashSaveRequestSchema: z.ZodObject<{
3232
3243
  type: z.ZodLiteral<"stash_save_request">;
3233
3244
  cwd: z.ZodString;
@@ -3254,6 +3265,12 @@ export declare const BranchSuggestionsRequestSchema: z.ZodObject<{
3254
3265
  requestId: z.ZodString;
3255
3266
  }, z.core.$strip>;
3256
3267
  export declare const GitHubSearchItemSchema: z.ZodObject<{
3268
+ checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3269
+ name: z.ZodString;
3270
+ status: z.ZodString;
3271
+ url: z.ZodNullable<z.ZodString>;
3272
+ workflow: z.ZodOptional<z.ZodString>;
3273
+ }, z.core.$strip>>>;
3257
3274
  kind: z.ZodEnum<{
3258
3275
  issue: "issue";
3259
3276
  pr: "pr";
@@ -3271,6 +3288,12 @@ export declare const GitHubSearchItemSchema: z.ZodObject<{
3271
3288
  updatedAt: z.ZodOptional<z.ZodString>;
3272
3289
  }, z.core.$strip>;
3273
3290
  export declare const ForgeSearchItemSchema: z.ZodObject<{
3291
+ checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3292
+ name: z.ZodString;
3293
+ status: z.ZodString;
3294
+ url: z.ZodNullable<z.ZodString>;
3295
+ workflow: z.ZodOptional<z.ZodString>;
3296
+ }, z.core.$strip>>>;
3274
3297
  forge: z.ZodOptional<z.ZodString>;
3275
3298
  number: z.ZodNumber;
3276
3299
  title: z.ZodString;
@@ -6122,6 +6145,11 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
6122
6145
  cwd: z.ZodString;
6123
6146
  branch: z.ZodString;
6124
6147
  requestId: z.ZodString;
6148
+ }, z.core.$strip>, z.ZodObject<{
6149
+ type: z.ZodLiteral<"checkout.base_ref.set.request">;
6150
+ cwd: z.ZodString;
6151
+ baseRef: z.ZodString;
6152
+ requestId: z.ZodString;
6125
6153
  }, z.core.$strip>, z.ZodObject<{
6126
6154
  type: z.ZodLiteral<"stash_save_request">;
6127
6155
  cwd: z.ZodString;
@@ -7508,6 +7536,7 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
7508
7536
  }, z.core.$loose>;
7509
7537
  export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
7510
7538
  status: z.ZodLiteral<"server_info">;
7539
+ protocolVersion: z.ZodOptional<z.ZodNumber>;
7511
7540
  serverId: z.ZodString;
7512
7541
  hostname: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodTransform<string | null, unknown>>>;
7513
7542
  version: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodTransform<string | null, unknown>>>;
@@ -7547,11 +7576,14 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
7547
7576
  workspaceLabels: z.ZodOptional<z.ZodBoolean>;
7548
7577
  workspaceSetupRun: z.ZodOptional<z.ZodBoolean>;
7549
7578
  workspaceTerminals: z.ZodOptional<z.ZodBoolean>;
7579
+ packageJsonScripts: z.ZodOptional<z.ZodBoolean>;
7580
+ checkoutBaseRefSet: z.ZodOptional<z.ZodBoolean>;
7550
7581
  checkoutForgeSetAutoMerge: z.ZodOptional<z.ZodBoolean>;
7551
7582
  checkoutGithubSetAutoMerge: z.ZodOptional<z.ZodBoolean>;
7552
7583
  githubCheckDetails: z.ZodOptional<z.ZodBoolean>;
7553
7584
  forgeCheckDetails: z.ZodOptional<z.ZodBoolean>;
7554
7585
  forgeSearch: z.ZodOptional<z.ZodBoolean>;
7586
+ forgeSearchChecks: z.ZodOptional<z.ZodBoolean>;
7555
7587
  daemonStatusRpc: z.ZodOptional<z.ZodBoolean>;
7556
7588
  daemonConfigReload: z.ZodOptional<z.ZodBoolean>;
7557
7589
  relayConfig: z.ZodOptional<z.ZodBoolean>;
@@ -7624,6 +7656,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
7624
7656
  version: string | null;
7625
7657
  status: "server_info";
7626
7658
  serverId: string;
7659
+ protocolVersion?: number | undefined;
7627
7660
  permissions?: ("daemon.read" | "daemon.manage" | "tunnel.manage" | "access.manage" | "workspace.read" | "workspace.write" | "workspace.manage" | "automation.manage" | "hub.execute")[] | undefined;
7628
7661
  desktopManaged?: boolean | undefined;
7629
7662
  capabilities?: {
@@ -7650,11 +7683,14 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
7650
7683
  workspaceLabels?: boolean | undefined;
7651
7684
  workspaceSetupRun?: boolean | undefined;
7652
7685
  workspaceTerminals?: boolean | undefined;
7686
+ packageJsonScripts?: boolean | undefined;
7687
+ checkoutBaseRefSet?: boolean | undefined;
7653
7688
  checkoutForgeSetAutoMerge?: boolean | undefined;
7654
7689
  checkoutGithubSetAutoMerge?: boolean | undefined;
7655
7690
  githubCheckDetails?: boolean | undefined;
7656
7691
  forgeCheckDetails?: boolean | undefined;
7657
7692
  forgeSearch?: boolean | undefined;
7693
+ forgeSearchChecks?: boolean | undefined;
7658
7694
  daemonStatusRpc?: boolean | undefined;
7659
7695
  daemonConfigReload?: boolean | undefined;
7660
7696
  relayConfig?: boolean | undefined;
@@ -7726,6 +7762,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
7726
7762
  [x: string]: unknown;
7727
7763
  status: "server_info";
7728
7764
  serverId: string;
7765
+ protocolVersion?: number | undefined;
7729
7766
  hostname?: string | null | undefined;
7730
7767
  version?: string | null | undefined;
7731
7768
  permissions?: ("daemon.read" | "daemon.manage" | "tunnel.manage" | "access.manage" | "workspace.read" | "workspace.write" | "workspace.manage" | "automation.manage" | "hub.execute")[] | undefined;
@@ -7754,11 +7791,14 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
7754
7791
  workspaceLabels?: boolean | undefined;
7755
7792
  workspaceSetupRun?: boolean | undefined;
7756
7793
  workspaceTerminals?: boolean | undefined;
7794
+ packageJsonScripts?: boolean | undefined;
7795
+ checkoutBaseRefSet?: boolean | undefined;
7757
7796
  checkoutForgeSetAutoMerge?: boolean | undefined;
7758
7797
  checkoutGithubSetAutoMerge?: boolean | undefined;
7759
7798
  githubCheckDetails?: boolean | undefined;
7760
7799
  forgeCheckDetails?: boolean | undefined;
7761
7800
  forgeSearch?: boolean | undefined;
7801
+ forgeSearchChecks?: boolean | undefined;
7762
7802
  daemonStatusRpc?: boolean | undefined;
7763
7803
  daemonConfigReload?: boolean | undefined;
7764
7804
  relayConfig?: boolean | undefined;
@@ -8613,6 +8653,10 @@ export declare const WorkspaceScriptHealthSchema: z.ZodEnum<{
8613
8653
  }>;
8614
8654
  export declare const WorkspaceScriptPayloadSchema: z.ZodObject<{
8615
8655
  scriptName: z.ZodString;
8656
+ packageJson: z.ZodOptional<z.ZodObject<{
8657
+ path: z.ZodString;
8658
+ script: z.ZodString;
8659
+ }, z.core.$strip>>;
8616
8660
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
8617
8661
  script: "script";
8618
8662
  service: "service";
@@ -8723,6 +8767,10 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
8723
8767
  }, z.core.$strip>>>;
8724
8768
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
8725
8769
  scriptName: z.ZodString;
8770
+ packageJson: z.ZodOptional<z.ZodObject<{
8771
+ path: z.ZodString;
8772
+ script: z.ZodString;
8773
+ }, z.core.$strip>>;
8726
8774
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
8727
8775
  script: "script";
8728
8776
  service: "service";
@@ -8908,6 +8956,10 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
8908
8956
  health: "healthy" | "unhealthy" | null;
8909
8957
  exitCode: number | null;
8910
8958
  terminalId: string | null;
8959
+ packageJson?: {
8960
+ path: string;
8961
+ script: string;
8962
+ } | undefined;
8911
8963
  localProxyUrl?: string | null | undefined;
8912
8964
  publicProxyUrl?: string | null | undefined;
8913
8965
  }[];
@@ -9018,6 +9070,10 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
9018
9070
  health: "healthy" | "unhealthy" | null;
9019
9071
  exitCode: number | null;
9020
9072
  terminalId: string | null;
9073
+ packageJson?: {
9074
+ path: string;
9075
+ script: string;
9076
+ } | undefined;
9021
9077
  localProxyUrl?: string | null | undefined;
9022
9078
  publicProxyUrl?: string | null | undefined;
9023
9079
  }[];
@@ -9947,6 +10003,10 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
9947
10003
  }, z.core.$strip>>>;
9948
10004
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
9949
10005
  scriptName: z.ZodString;
10006
+ packageJson: z.ZodOptional<z.ZodObject<{
10007
+ path: z.ZodString;
10008
+ script: z.ZodString;
10009
+ }, z.core.$strip>>;
9950
10010
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
9951
10011
  script: "script";
9952
10012
  service: "service";
@@ -10132,6 +10192,10 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
10132
10192
  health: "healthy" | "unhealthy" | null;
10133
10193
  exitCode: number | null;
10134
10194
  terminalId: string | null;
10195
+ packageJson?: {
10196
+ path: string;
10197
+ script: string;
10198
+ } | undefined;
10135
10199
  localProxyUrl?: string | null | undefined;
10136
10200
  publicProxyUrl?: string | null | undefined;
10137
10201
  }[];
@@ -10242,6 +10306,10 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
10242
10306
  health: "healthy" | "unhealthy" | null;
10243
10307
  exitCode: number | null;
10244
10308
  terminalId: string | null;
10309
+ packageJson?: {
10310
+ path: string;
10311
+ script: string;
10312
+ } | undefined;
10245
10313
  localProxyUrl?: string | null | undefined;
10246
10314
  publicProxyUrl?: string | null | undefined;
10247
10315
  }[];
@@ -10417,6 +10485,10 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
10417
10485
  }, z.core.$strip>>>;
10418
10486
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
10419
10487
  scriptName: z.ZodString;
10488
+ packageJson: z.ZodOptional<z.ZodObject<{
10489
+ path: z.ZodString;
10490
+ script: z.ZodString;
10491
+ }, z.core.$strip>>;
10420
10492
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
10421
10493
  script: "script";
10422
10494
  service: "service";
@@ -10602,6 +10674,10 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
10602
10674
  health: "healthy" | "unhealthy" | null;
10603
10675
  exitCode: number | null;
10604
10676
  terminalId: string | null;
10677
+ packageJson?: {
10678
+ path: string;
10679
+ script: string;
10680
+ } | undefined;
10605
10681
  localProxyUrl?: string | null | undefined;
10606
10682
  publicProxyUrl?: string | null | undefined;
10607
10683
  }[];
@@ -10712,6 +10788,10 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
10712
10788
  health: "healthy" | "unhealthy" | null;
10713
10789
  exitCode: number | null;
10714
10790
  terminalId: string | null;
10791
+ packageJson?: {
10792
+ path: string;
10793
+ script: string;
10794
+ } | undefined;
10715
10795
  localProxyUrl?: string | null | undefined;
10716
10796
  publicProxyUrl?: string | null | undefined;
10717
10797
  }[];
@@ -11027,6 +11107,10 @@ export declare const ScriptStatusUpdateMessageSchema: z.ZodObject<{
11027
11107
  workspaceId: z.ZodString;
11028
11108
  scripts: z.ZodArray<z.ZodObject<{
11029
11109
  scriptName: z.ZodString;
11110
+ packageJson: z.ZodOptional<z.ZodObject<{
11111
+ path: z.ZodString;
11112
+ script: z.ZodString;
11113
+ }, z.core.$strip>>;
11030
11114
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
11031
11115
  script: "script";
11032
11116
  service: "service";
@@ -11219,6 +11303,10 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
11219
11303
  }, z.core.$strip>>>;
11220
11304
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
11221
11305
  scriptName: z.ZodString;
11306
+ packageJson: z.ZodOptional<z.ZodObject<{
11307
+ path: z.ZodString;
11308
+ script: z.ZodString;
11309
+ }, z.core.$strip>>;
11222
11310
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
11223
11311
  script: "script";
11224
11312
  service: "service";
@@ -11404,6 +11492,10 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
11404
11492
  health: "healthy" | "unhealthy" | null;
11405
11493
  exitCode: number | null;
11406
11494
  terminalId: string | null;
11495
+ packageJson?: {
11496
+ path: string;
11497
+ script: string;
11498
+ } | undefined;
11407
11499
  localProxyUrl?: string | null | undefined;
11408
11500
  publicProxyUrl?: string | null | undefined;
11409
11501
  }[];
@@ -11514,6 +11606,10 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
11514
11606
  health: "healthy" | "unhealthy" | null;
11515
11607
  exitCode: number | null;
11516
11608
  terminalId: string | null;
11609
+ packageJson?: {
11610
+ path: string;
11611
+ script: string;
11612
+ } | undefined;
11517
11613
  localProxyUrl?: string | null | undefined;
11518
11614
  publicProxyUrl?: string | null | undefined;
11519
11615
  }[];
@@ -11786,6 +11882,10 @@ export declare const WorkspaceScriptListResponseMessageSchema: z.ZodObject<{
11786
11882
  scriptName: z.ZodOptional<z.ZodString>;
11787
11883
  script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11788
11884
  scriptName: z.ZodString;
11885
+ packageJson: z.ZodOptional<z.ZodObject<{
11886
+ path: z.ZodString;
11887
+ script: z.ZodString;
11888
+ }, z.core.$strip>>;
11789
11889
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
11790
11890
  script: "script";
11791
11891
  service: "service";
@@ -11808,6 +11908,10 @@ export declare const WorkspaceScriptListResponseMessageSchema: z.ZodObject<{
11808
11908
  }, z.core.$strip>>>;
11809
11909
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
11810
11910
  scriptName: z.ZodString;
11911
+ packageJson: z.ZodOptional<z.ZodObject<{
11912
+ path: z.ZodString;
11913
+ script: z.ZodString;
11914
+ }, z.core.$strip>>;
11811
11915
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
11812
11916
  script: "script";
11813
11917
  service: "service";
@@ -11839,6 +11943,10 @@ export declare const WorkspaceScriptStartResponseMessageSchema: z.ZodObject<{
11839
11943
  scriptName: z.ZodOptional<z.ZodString>;
11840
11944
  script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11841
11945
  scriptName: z.ZodString;
11946
+ packageJson: z.ZodOptional<z.ZodObject<{
11947
+ path: z.ZodString;
11948
+ script: z.ZodString;
11949
+ }, z.core.$strip>>;
11842
11950
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
11843
11951
  script: "script";
11844
11952
  service: "service";
@@ -11861,6 +11969,10 @@ export declare const WorkspaceScriptStartResponseMessageSchema: z.ZodObject<{
11861
11969
  }, z.core.$strip>>>;
11862
11970
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
11863
11971
  scriptName: z.ZodString;
11972
+ packageJson: z.ZodOptional<z.ZodObject<{
11973
+ path: z.ZodString;
11974
+ script: z.ZodString;
11975
+ }, z.core.$strip>>;
11864
11976
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
11865
11977
  script: "script";
11866
11978
  service: "service";
@@ -11892,6 +12004,10 @@ export declare const WorkspaceScriptStopResponseMessageSchema: z.ZodObject<{
11892
12004
  scriptName: z.ZodOptional<z.ZodString>;
11893
12005
  script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11894
12006
  scriptName: z.ZodString;
12007
+ packageJson: z.ZodOptional<z.ZodObject<{
12008
+ path: z.ZodString;
12009
+ script: z.ZodString;
12010
+ }, z.core.$strip>>;
11895
12011
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
11896
12012
  script: "script";
11897
12013
  service: "service";
@@ -11914,6 +12030,10 @@ export declare const WorkspaceScriptStopResponseMessageSchema: z.ZodObject<{
11914
12030
  }, z.core.$strip>>>;
11915
12031
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
11916
12032
  scriptName: z.ZodString;
12033
+ packageJson: z.ZodOptional<z.ZodObject<{
12034
+ path: z.ZodString;
12035
+ script: z.ZodString;
12036
+ }, z.core.$strip>>;
11917
12037
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
11918
12038
  script: "script";
11919
12039
  service: "service";
@@ -12962,6 +13082,10 @@ export declare const CreationSnapshotSchema: z.ZodObject<{
12962
13082
  }, z.core.$strip>>>;
12963
13083
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
12964
13084
  scriptName: z.ZodString;
13085
+ packageJson: z.ZodOptional<z.ZodObject<{
13086
+ path: z.ZodString;
13087
+ script: z.ZodString;
13088
+ }, z.core.$strip>>;
12965
13089
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
12966
13090
  script: "script";
12967
13091
  service: "service";
@@ -13147,6 +13271,10 @@ export declare const CreationSnapshotSchema: z.ZodObject<{
13147
13271
  health: "healthy" | "unhealthy" | null;
13148
13272
  exitCode: number | null;
13149
13273
  terminalId: string | null;
13274
+ packageJson?: {
13275
+ path: string;
13276
+ script: string;
13277
+ } | undefined;
13150
13278
  localProxyUrl?: string | null | undefined;
13151
13279
  publicProxyUrl?: string | null | undefined;
13152
13280
  }[];
@@ -13257,6 +13385,10 @@ export declare const CreationSnapshotSchema: z.ZodObject<{
13257
13385
  health: "healthy" | "unhealthy" | null;
13258
13386
  exitCode: number | null;
13259
13387
  terminalId: string | null;
13388
+ packageJson?: {
13389
+ path: string;
13390
+ script: string;
13391
+ } | undefined;
13260
13392
  localProxyUrl?: string | null | undefined;
13261
13393
  publicProxyUrl?: string | null | undefined;
13262
13394
  }[];
@@ -13485,6 +13617,10 @@ export declare const WorkspaceCreationUpdateSchema: z.ZodObject<{
13485
13617
  }, z.core.$strip>>>;
13486
13618
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
13487
13619
  scriptName: z.ZodString;
13620
+ packageJson: z.ZodOptional<z.ZodObject<{
13621
+ path: z.ZodString;
13622
+ script: z.ZodString;
13623
+ }, z.core.$strip>>;
13488
13624
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
13489
13625
  script: "script";
13490
13626
  service: "service";
@@ -13670,6 +13806,10 @@ export declare const WorkspaceCreationUpdateSchema: z.ZodObject<{
13670
13806
  health: "healthy" | "unhealthy" | null;
13671
13807
  exitCode: number | null;
13672
13808
  terminalId: string | null;
13809
+ packageJson?: {
13810
+ path: string;
13811
+ script: string;
13812
+ } | undefined;
13673
13813
  localProxyUrl?: string | null | undefined;
13674
13814
  publicProxyUrl?: string | null | undefined;
13675
13815
  }[];
@@ -13780,6 +13920,10 @@ export declare const WorkspaceCreationUpdateSchema: z.ZodObject<{
13780
13920
  health: "healthy" | "unhealthy" | null;
13781
13921
  exitCode: number | null;
13782
13922
  terminalId: string | null;
13923
+ packageJson?: {
13924
+ path: string;
13925
+ script: string;
13926
+ } | undefined;
13783
13927
  localProxyUrl?: string | null | undefined;
13784
13928
  publicProxyUrl?: string | null | undefined;
13785
13929
  }[];
@@ -14006,6 +14150,10 @@ export declare const AgentCreationUpdateSchema: z.ZodObject<{
14006
14150
  }, z.core.$strip>>>;
14007
14151
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
14008
14152
  scriptName: z.ZodString;
14153
+ packageJson: z.ZodOptional<z.ZodObject<{
14154
+ path: z.ZodString;
14155
+ script: z.ZodString;
14156
+ }, z.core.$strip>>;
14009
14157
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
14010
14158
  script: "script";
14011
14159
  service: "service";
@@ -14191,6 +14339,10 @@ export declare const AgentCreationUpdateSchema: z.ZodObject<{
14191
14339
  health: "healthy" | "unhealthy" | null;
14192
14340
  exitCode: number | null;
14193
14341
  terminalId: string | null;
14342
+ packageJson?: {
14343
+ path: string;
14344
+ script: string;
14345
+ } | undefined;
14194
14346
  localProxyUrl?: string | null | undefined;
14195
14347
  publicProxyUrl?: string | null | undefined;
14196
14348
  }[];
@@ -14301,6 +14453,10 @@ export declare const AgentCreationUpdateSchema: z.ZodObject<{
14301
14453
  health: "healthy" | "unhealthy" | null;
14302
14454
  exitCode: number | null;
14303
14455
  terminalId: string | null;
14456
+ packageJson?: {
14457
+ path: string;
14458
+ script: string;
14459
+ } | undefined;
14304
14460
  localProxyUrl?: string | null | undefined;
14305
14461
  publicProxyUrl?: string | null | undefined;
14306
14462
  }[];
@@ -14532,6 +14688,10 @@ export declare const CreationSubscribeResponseSchema: z.ZodObject<{
14532
14688
  }, z.core.$strip>>>;
14533
14689
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
14534
14690
  scriptName: z.ZodString;
14691
+ packageJson: z.ZodOptional<z.ZodObject<{
14692
+ path: z.ZodString;
14693
+ script: z.ZodString;
14694
+ }, z.core.$strip>>;
14535
14695
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
14536
14696
  script: "script";
14537
14697
  service: "service";
@@ -14717,6 +14877,10 @@ export declare const CreationSubscribeResponseSchema: z.ZodObject<{
14717
14877
  health: "healthy" | "unhealthy" | null;
14718
14878
  exitCode: number | null;
14719
14879
  terminalId: string | null;
14880
+ packageJson?: {
14881
+ path: string;
14882
+ script: string;
14883
+ } | undefined;
14720
14884
  localProxyUrl?: string | null | undefined;
14721
14885
  publicProxyUrl?: string | null | undefined;
14722
14886
  }[];
@@ -14827,6 +14991,10 @@ export declare const CreationSubscribeResponseSchema: z.ZodObject<{
14827
14991
  health: "healthy" | "unhealthy" | null;
14828
14992
  exitCode: number | null;
14829
14993
  terminalId: string | null;
14994
+ packageJson?: {
14995
+ path: string;
14996
+ script: string;
14997
+ } | undefined;
14830
14998
  localProxyUrl?: string | null | undefined;
14831
14999
  publicProxyUrl?: string | null | undefined;
14832
15000
  }[];
@@ -15124,6 +15292,10 @@ export declare const AgentCreateResponseSchema: z.ZodObject<{
15124
15292
  }, z.core.$strip>>>;
15125
15293
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
15126
15294
  scriptName: z.ZodString;
15295
+ packageJson: z.ZodOptional<z.ZodObject<{
15296
+ path: z.ZodString;
15297
+ script: z.ZodString;
15298
+ }, z.core.$strip>>;
15127
15299
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
15128
15300
  script: "script";
15129
15301
  service: "service";
@@ -15309,6 +15481,10 @@ export declare const AgentCreateResponseSchema: z.ZodObject<{
15309
15481
  health: "healthy" | "unhealthy" | null;
15310
15482
  exitCode: number | null;
15311
15483
  terminalId: string | null;
15484
+ packageJson?: {
15485
+ path: string;
15486
+ script: string;
15487
+ } | undefined;
15312
15488
  localProxyUrl?: string | null | undefined;
15313
15489
  publicProxyUrl?: string | null | undefined;
15314
15490
  }[];
@@ -15419,6 +15595,10 @@ export declare const AgentCreateResponseSchema: z.ZodObject<{
15419
15595
  health: "healthy" | "unhealthy" | null;
15420
15596
  exitCode: number | null;
15421
15597
  terminalId: string | null;
15598
+ packageJson?: {
15599
+ path: string;
15600
+ script: string;
15601
+ } | undefined;
15422
15602
  localProxyUrl?: string | null | undefined;
15423
15603
  publicProxyUrl?: string | null | undefined;
15424
15604
  }[];
@@ -15713,6 +15893,10 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
15713
15893
  }, z.core.$strip>>>;
15714
15894
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
15715
15895
  scriptName: z.ZodString;
15896
+ packageJson: z.ZodOptional<z.ZodObject<{
15897
+ path: z.ZodString;
15898
+ script: z.ZodString;
15899
+ }, z.core.$strip>>;
15716
15900
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
15717
15901
  script: "script";
15718
15902
  service: "service";
@@ -15898,6 +16082,10 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
15898
16082
  health: "healthy" | "unhealthy" | null;
15899
16083
  exitCode: number | null;
15900
16084
  terminalId: string | null;
16085
+ packageJson?: {
16086
+ path: string;
16087
+ script: string;
16088
+ } | undefined;
15901
16089
  localProxyUrl?: string | null | undefined;
15902
16090
  publicProxyUrl?: string | null | undefined;
15903
16091
  }[];
@@ -16008,6 +16196,10 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
16008
16196
  health: "healthy" | "unhealthy" | null;
16009
16197
  exitCode: number | null;
16010
16198
  terminalId: string | null;
16199
+ packageJson?: {
16200
+ path: string;
16201
+ script: string;
16202
+ } | undefined;
16011
16203
  localProxyUrl?: string | null | undefined;
16012
16204
  publicProxyUrl?: string | null | undefined;
16013
16205
  }[];
@@ -16214,6 +16406,10 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
16214
16406
  }, z.core.$strip>>>;
16215
16407
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
16216
16408
  scriptName: z.ZodString;
16409
+ packageJson: z.ZodOptional<z.ZodObject<{
16410
+ path: z.ZodString;
16411
+ script: z.ZodString;
16412
+ }, z.core.$strip>>;
16217
16413
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
16218
16414
  script: "script";
16219
16415
  service: "service";
@@ -16399,6 +16595,10 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
16399
16595
  health: "healthy" | "unhealthy" | null;
16400
16596
  exitCode: number | null;
16401
16597
  terminalId: string | null;
16598
+ packageJson?: {
16599
+ path: string;
16600
+ script: string;
16601
+ } | undefined;
16402
16602
  localProxyUrl?: string | null | undefined;
16403
16603
  publicProxyUrl?: string | null | undefined;
16404
16604
  }[];
@@ -16509,6 +16709,10 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
16509
16709
  health: "healthy" | "unhealthy" | null;
16510
16710
  exitCode: number | null;
16511
16711
  terminalId: string | null;
16712
+ packageJson?: {
16713
+ path: string;
16714
+ script: string;
16715
+ } | undefined;
16512
16716
  localProxyUrl?: string | null | undefined;
16513
16717
  publicProxyUrl?: string | null | undefined;
16514
16718
  }[];
@@ -18482,6 +18686,24 @@ export declare const CheckoutRenameBranchResponseSchema: z.ZodObject<{
18482
18686
  }, z.core.$strip>>;
18483
18687
  }, z.core.$strip>;
18484
18688
  }, z.core.$strip>;
18689
+ export declare const CheckoutBaseRefSetResponseSchema: z.ZodObject<{
18690
+ type: z.ZodLiteral<"checkout.base_ref.set.response">;
18691
+ payload: z.ZodObject<{
18692
+ requestId: z.ZodString;
18693
+ success: z.ZodBoolean;
18694
+ cwd: z.ZodString;
18695
+ baseRef: z.ZodNullable<z.ZodString>;
18696
+ error: z.ZodNullable<z.ZodObject<{
18697
+ code: z.ZodEnum<{
18698
+ NOT_GIT_REPO: "NOT_GIT_REPO";
18699
+ NOT_ALLOWED: "NOT_ALLOWED";
18700
+ MERGE_CONFLICT: "MERGE_CONFLICT";
18701
+ UNKNOWN: "UNKNOWN";
18702
+ }>;
18703
+ message: z.ZodString;
18704
+ }, z.core.$strip>>;
18705
+ }, z.core.$strip>;
18706
+ }, z.core.$strip>;
18485
18707
  declare const StashEntrySchema: z.ZodObject<{
18486
18708
  index: z.ZodNumber;
18487
18709
  message: z.ZodString;
@@ -18563,6 +18785,8 @@ export declare const BranchSuggestionsResponseSchema: z.ZodObject<{
18563
18785
  committerDate: z.ZodNumber;
18564
18786
  hasLocal: z.ZodOptional<z.ZodBoolean>;
18565
18787
  hasRemote: z.ZodOptional<z.ZodBoolean>;
18788
+ localRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
18789
+ remoteRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
18566
18790
  localAhead: z.ZodOptional<z.ZodNumber>;
18567
18791
  localBehind: z.ZodOptional<z.ZodNumber>;
18568
18792
  }, z.core.$strip>>>;
@@ -18686,6 +18910,10 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
18686
18910
  }, z.core.$strip>>>;
18687
18911
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
18688
18912
  scriptName: z.ZodString;
18913
+ packageJson: z.ZodOptional<z.ZodObject<{
18914
+ path: z.ZodString;
18915
+ script: z.ZodString;
18916
+ }, z.core.$strip>>;
18689
18917
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
18690
18918
  script: "script";
18691
18919
  service: "service";
@@ -18871,6 +19099,10 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
18871
19099
  health: "healthy" | "unhealthy" | null;
18872
19100
  exitCode: number | null;
18873
19101
  terminalId: string | null;
19102
+ packageJson?: {
19103
+ path: string;
19104
+ script: string;
19105
+ } | undefined;
18874
19106
  localProxyUrl?: string | null | undefined;
18875
19107
  publicProxyUrl?: string | null | undefined;
18876
19108
  }[];
@@ -18981,6 +19213,10 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
18981
19213
  health: "healthy" | "unhealthy" | null;
18982
19214
  exitCode: number | null;
18983
19215
  terminalId: string | null;
19216
+ packageJson?: {
19217
+ path: string;
19218
+ script: string;
19219
+ } | undefined;
18984
19220
  localProxyUrl?: string | null | undefined;
18985
19221
  publicProxyUrl?: string | null | undefined;
18986
19222
  }[];
@@ -22840,6 +23076,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
22840
23076
  }, z.core.$strip>>>;
22841
23077
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
22842
23078
  scriptName: z.ZodString;
23079
+ packageJson: z.ZodOptional<z.ZodObject<{
23080
+ path: z.ZodString;
23081
+ script: z.ZodString;
23082
+ }, z.core.$strip>>;
22843
23083
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
22844
23084
  script: "script";
22845
23085
  service: "service";
@@ -23025,6 +23265,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
23025
23265
  health: "healthy" | "unhealthy" | null;
23026
23266
  exitCode: number | null;
23027
23267
  terminalId: string | null;
23268
+ packageJson?: {
23269
+ path: string;
23270
+ script: string;
23271
+ } | undefined;
23028
23272
  localProxyUrl?: string | null | undefined;
23029
23273
  publicProxyUrl?: string | null | undefined;
23030
23274
  }[];
@@ -23135,6 +23379,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
23135
23379
  health: "healthy" | "unhealthy" | null;
23136
23380
  exitCode: number | null;
23137
23381
  terminalId: string | null;
23382
+ packageJson?: {
23383
+ path: string;
23384
+ script: string;
23385
+ } | undefined;
23138
23386
  localProxyUrl?: string | null | undefined;
23139
23387
  publicProxyUrl?: string | null | undefined;
23140
23388
  }[];
@@ -23441,6 +23689,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
23441
23689
  workspaceId: z.ZodString;
23442
23690
  scripts: z.ZodArray<z.ZodObject<{
23443
23691
  scriptName: z.ZodString;
23692
+ packageJson: z.ZodOptional<z.ZodObject<{
23693
+ path: z.ZodString;
23694
+ script: z.ZodString;
23695
+ }, z.core.$strip>>;
23444
23696
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
23445
23697
  script: "script";
23446
23698
  service: "service";
@@ -24120,6 +24372,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
24120
24372
  }, z.core.$strip>>>;
24121
24373
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
24122
24374
  scriptName: z.ZodString;
24375
+ packageJson: z.ZodOptional<z.ZodObject<{
24376
+ path: z.ZodString;
24377
+ script: z.ZodString;
24378
+ }, z.core.$strip>>;
24123
24379
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
24124
24380
  script: "script";
24125
24381
  service: "service";
@@ -24305,6 +24561,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
24305
24561
  health: "healthy" | "unhealthy" | null;
24306
24562
  exitCode: number | null;
24307
24563
  terminalId: string | null;
24564
+ packageJson?: {
24565
+ path: string;
24566
+ script: string;
24567
+ } | undefined;
24308
24568
  localProxyUrl?: string | null | undefined;
24309
24569
  publicProxyUrl?: string | null | undefined;
24310
24570
  }[];
@@ -24415,6 +24675,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
24415
24675
  health: "healthy" | "unhealthy" | null;
24416
24676
  exitCode: number | null;
24417
24677
  terminalId: string | null;
24678
+ packageJson?: {
24679
+ path: string;
24680
+ script: string;
24681
+ } | undefined;
24418
24682
  localProxyUrl?: string | null | undefined;
24419
24683
  publicProxyUrl?: string | null | undefined;
24420
24684
  }[];
@@ -24635,6 +24899,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
24635
24899
  }, z.core.$strip>>>;
24636
24900
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
24637
24901
  scriptName: z.ZodString;
24902
+ packageJson: z.ZodOptional<z.ZodObject<{
24903
+ path: z.ZodString;
24904
+ script: z.ZodString;
24905
+ }, z.core.$strip>>;
24638
24906
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
24639
24907
  script: "script";
24640
24908
  service: "service";
@@ -24820,6 +25088,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
24820
25088
  health: "healthy" | "unhealthy" | null;
24821
25089
  exitCode: number | null;
24822
25090
  terminalId: string | null;
25091
+ packageJson?: {
25092
+ path: string;
25093
+ script: string;
25094
+ } | undefined;
24823
25095
  localProxyUrl?: string | null | undefined;
24824
25096
  publicProxyUrl?: string | null | undefined;
24825
25097
  }[];
@@ -24930,6 +25202,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
24930
25202
  health: "healthy" | "unhealthy" | null;
24931
25203
  exitCode: number | null;
24932
25204
  terminalId: string | null;
25205
+ packageJson?: {
25206
+ path: string;
25207
+ script: string;
25208
+ } | undefined;
24933
25209
  localProxyUrl?: string | null | undefined;
24934
25210
  publicProxyUrl?: string | null | undefined;
24935
25211
  }[];
@@ -25141,6 +25417,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
25141
25417
  scriptName: z.ZodOptional<z.ZodString>;
25142
25418
  script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25143
25419
  scriptName: z.ZodString;
25420
+ packageJson: z.ZodOptional<z.ZodObject<{
25421
+ path: z.ZodString;
25422
+ script: z.ZodString;
25423
+ }, z.core.$strip>>;
25144
25424
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
25145
25425
  script: "script";
25146
25426
  service: "service";
@@ -25163,6 +25443,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
25163
25443
  }, z.core.$strip>>>;
25164
25444
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
25165
25445
  scriptName: z.ZodString;
25446
+ packageJson: z.ZodOptional<z.ZodObject<{
25447
+ path: z.ZodString;
25448
+ script: z.ZodString;
25449
+ }, z.core.$strip>>;
25166
25450
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
25167
25451
  script: "script";
25168
25452
  service: "service";
@@ -25193,6 +25477,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
25193
25477
  scriptName: z.ZodOptional<z.ZodString>;
25194
25478
  script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25195
25479
  scriptName: z.ZodString;
25480
+ packageJson: z.ZodOptional<z.ZodObject<{
25481
+ path: z.ZodString;
25482
+ script: z.ZodString;
25483
+ }, z.core.$strip>>;
25196
25484
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
25197
25485
  script: "script";
25198
25486
  service: "service";
@@ -25215,6 +25503,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
25215
25503
  }, z.core.$strip>>>;
25216
25504
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
25217
25505
  scriptName: z.ZodString;
25506
+ packageJson: z.ZodOptional<z.ZodObject<{
25507
+ path: z.ZodString;
25508
+ script: z.ZodString;
25509
+ }, z.core.$strip>>;
25218
25510
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
25219
25511
  script: "script";
25220
25512
  service: "service";
@@ -25245,6 +25537,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
25245
25537
  scriptName: z.ZodOptional<z.ZodString>;
25246
25538
  script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25247
25539
  scriptName: z.ZodString;
25540
+ packageJson: z.ZodOptional<z.ZodObject<{
25541
+ path: z.ZodString;
25542
+ script: z.ZodString;
25543
+ }, z.core.$strip>>;
25248
25544
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
25249
25545
  script: "script";
25250
25546
  service: "service";
@@ -25267,6 +25563,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
25267
25563
  }, z.core.$strip>>>;
25268
25564
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
25269
25565
  scriptName: z.ZodString;
25566
+ packageJson: z.ZodOptional<z.ZodObject<{
25567
+ path: z.ZodString;
25568
+ script: z.ZodString;
25569
+ }, z.core.$strip>>;
25270
25570
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
25271
25571
  script: "script";
25272
25572
  service: "service";
@@ -26252,6 +26552,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26252
26552
  }, z.core.$strip>>>;
26253
26553
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
26254
26554
  scriptName: z.ZodString;
26555
+ packageJson: z.ZodOptional<z.ZodObject<{
26556
+ path: z.ZodString;
26557
+ script: z.ZodString;
26558
+ }, z.core.$strip>>;
26255
26559
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
26256
26560
  script: "script";
26257
26561
  service: "service";
@@ -26437,6 +26741,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26437
26741
  health: "healthy" | "unhealthy" | null;
26438
26742
  exitCode: number | null;
26439
26743
  terminalId: string | null;
26744
+ packageJson?: {
26745
+ path: string;
26746
+ script: string;
26747
+ } | undefined;
26440
26748
  localProxyUrl?: string | null | undefined;
26441
26749
  publicProxyUrl?: string | null | undefined;
26442
26750
  }[];
@@ -26547,6 +26855,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26547
26855
  health: "healthy" | "unhealthy" | null;
26548
26856
  exitCode: number | null;
26549
26857
  terminalId: string | null;
26858
+ packageJson?: {
26859
+ path: string;
26860
+ script: string;
26861
+ } | undefined;
26550
26862
  localProxyUrl?: string | null | undefined;
26551
26863
  publicProxyUrl?: string | null | undefined;
26552
26864
  }[];
@@ -26753,6 +27065,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26753
27065
  }, z.core.$strip>>>;
26754
27066
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
26755
27067
  scriptName: z.ZodString;
27068
+ packageJson: z.ZodOptional<z.ZodObject<{
27069
+ path: z.ZodString;
27070
+ script: z.ZodString;
27071
+ }, z.core.$strip>>;
26756
27072
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
26757
27073
  script: "script";
26758
27074
  service: "service";
@@ -26938,6 +27254,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26938
27254
  health: "healthy" | "unhealthy" | null;
26939
27255
  exitCode: number | null;
26940
27256
  terminalId: string | null;
27257
+ packageJson?: {
27258
+ path: string;
27259
+ script: string;
27260
+ } | undefined;
26941
27261
  localProxyUrl?: string | null | undefined;
26942
27262
  publicProxyUrl?: string | null | undefined;
26943
27263
  }[];
@@ -27048,6 +27368,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27048
27368
  health: "healthy" | "unhealthy" | null;
27049
27369
  exitCode: number | null;
27050
27370
  terminalId: string | null;
27371
+ packageJson?: {
27372
+ path: string;
27373
+ script: string;
27374
+ } | undefined;
27051
27375
  localProxyUrl?: string | null | undefined;
27052
27376
  publicProxyUrl?: string | null | undefined;
27053
27377
  }[];
@@ -27272,6 +27596,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27272
27596
  }, z.core.$strip>>>;
27273
27597
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
27274
27598
  scriptName: z.ZodString;
27599
+ packageJson: z.ZodOptional<z.ZodObject<{
27600
+ path: z.ZodString;
27601
+ script: z.ZodString;
27602
+ }, z.core.$strip>>;
27275
27603
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
27276
27604
  script: "script";
27277
27605
  service: "service";
@@ -27457,6 +27785,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27457
27785
  health: "healthy" | "unhealthy" | null;
27458
27786
  exitCode: number | null;
27459
27787
  terminalId: string | null;
27788
+ packageJson?: {
27789
+ path: string;
27790
+ script: string;
27791
+ } | undefined;
27460
27792
  localProxyUrl?: string | null | undefined;
27461
27793
  publicProxyUrl?: string | null | undefined;
27462
27794
  }[];
@@ -27567,6 +27899,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27567
27899
  health: "healthy" | "unhealthy" | null;
27568
27900
  exitCode: number | null;
27569
27901
  terminalId: string | null;
27902
+ packageJson?: {
27903
+ path: string;
27904
+ script: string;
27905
+ } | undefined;
27570
27906
  localProxyUrl?: string | null | undefined;
27571
27907
  publicProxyUrl?: string | null | undefined;
27572
27908
  }[];
@@ -27793,6 +28129,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27793
28129
  }, z.core.$strip>>>;
27794
28130
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
27795
28131
  scriptName: z.ZodString;
28132
+ packageJson: z.ZodOptional<z.ZodObject<{
28133
+ path: z.ZodString;
28134
+ script: z.ZodString;
28135
+ }, z.core.$strip>>;
27796
28136
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
27797
28137
  script: "script";
27798
28138
  service: "service";
@@ -27978,6 +28318,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27978
28318
  health: "healthy" | "unhealthy" | null;
27979
28319
  exitCode: number | null;
27980
28320
  terminalId: string | null;
28321
+ packageJson?: {
28322
+ path: string;
28323
+ script: string;
28324
+ } | undefined;
27981
28325
  localProxyUrl?: string | null | undefined;
27982
28326
  publicProxyUrl?: string | null | undefined;
27983
28327
  }[];
@@ -28088,6 +28432,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28088
28432
  health: "healthy" | "unhealthy" | null;
28089
28433
  exitCode: number | null;
28090
28434
  terminalId: string | null;
28435
+ packageJson?: {
28436
+ path: string;
28437
+ script: string;
28438
+ } | undefined;
28091
28439
  localProxyUrl?: string | null | undefined;
28092
28440
  publicProxyUrl?: string | null | undefined;
28093
28441
  }[];
@@ -28313,6 +28661,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28313
28661
  }, z.core.$strip>>>;
28314
28662
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
28315
28663
  scriptName: z.ZodString;
28664
+ packageJson: z.ZodOptional<z.ZodObject<{
28665
+ path: z.ZodString;
28666
+ script: z.ZodString;
28667
+ }, z.core.$strip>>;
28316
28668
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
28317
28669
  script: "script";
28318
28670
  service: "service";
@@ -28498,6 +28850,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28498
28850
  health: "healthy" | "unhealthy" | null;
28499
28851
  exitCode: number | null;
28500
28852
  terminalId: string | null;
28853
+ packageJson?: {
28854
+ path: string;
28855
+ script: string;
28856
+ } | undefined;
28501
28857
  localProxyUrl?: string | null | undefined;
28502
28858
  publicProxyUrl?: string | null | undefined;
28503
28859
  }[];
@@ -28608,6 +28964,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28608
28964
  health: "healthy" | "unhealthy" | null;
28609
28965
  exitCode: number | null;
28610
28966
  terminalId: string | null;
28967
+ packageJson?: {
28968
+ path: string;
28969
+ script: string;
28970
+ } | undefined;
28611
28971
  localProxyUrl?: string | null | undefined;
28612
28972
  publicProxyUrl?: string | null | undefined;
28613
28973
  }[];
@@ -28838,6 +29198,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28838
29198
  }, z.core.$strip>>>;
28839
29199
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
28840
29200
  scriptName: z.ZodString;
29201
+ packageJson: z.ZodOptional<z.ZodObject<{
29202
+ path: z.ZodString;
29203
+ script: z.ZodString;
29204
+ }, z.core.$strip>>;
28841
29205
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
28842
29206
  script: "script";
28843
29207
  service: "service";
@@ -29023,6 +29387,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
29023
29387
  health: "healthy" | "unhealthy" | null;
29024
29388
  exitCode: number | null;
29025
29389
  terminalId: string | null;
29390
+ packageJson?: {
29391
+ path: string;
29392
+ script: string;
29393
+ } | undefined;
29026
29394
  localProxyUrl?: string | null | undefined;
29027
29395
  publicProxyUrl?: string | null | undefined;
29028
29396
  }[];
@@ -29133,6 +29501,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
29133
29501
  health: "healthy" | "unhealthy" | null;
29134
29502
  exitCode: number | null;
29135
29503
  terminalId: string | null;
29504
+ packageJson?: {
29505
+ path: string;
29506
+ script: string;
29507
+ } | undefined;
29136
29508
  localProxyUrl?: string | null | undefined;
29137
29509
  publicProxyUrl?: string | null | undefined;
29138
29510
  }[];
@@ -31013,6 +31385,23 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
31013
31385
  message: z.ZodString;
31014
31386
  }, z.core.$strip>>;
31015
31387
  }, z.core.$strip>;
31388
+ }, z.core.$strip>, z.ZodObject<{
31389
+ type: z.ZodLiteral<"checkout.base_ref.set.response">;
31390
+ payload: z.ZodObject<{
31391
+ requestId: z.ZodString;
31392
+ success: z.ZodBoolean;
31393
+ cwd: z.ZodString;
31394
+ baseRef: z.ZodNullable<z.ZodString>;
31395
+ error: z.ZodNullable<z.ZodObject<{
31396
+ code: z.ZodEnum<{
31397
+ NOT_GIT_REPO: "NOT_GIT_REPO";
31398
+ NOT_ALLOWED: "NOT_ALLOWED";
31399
+ MERGE_CONFLICT: "MERGE_CONFLICT";
31400
+ UNKNOWN: "UNKNOWN";
31401
+ }>;
31402
+ message: z.ZodString;
31403
+ }, z.core.$strip>>;
31404
+ }, z.core.$strip>;
31016
31405
  }, z.core.$strip>, z.ZodObject<{
31017
31406
  type: z.ZodLiteral<"stash_save_response">;
31018
31407
  payload: z.ZodObject<{
@@ -31084,6 +31473,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
31084
31473
  committerDate: z.ZodNumber;
31085
31474
  hasLocal: z.ZodOptional<z.ZodBoolean>;
31086
31475
  hasRemote: z.ZodOptional<z.ZodBoolean>;
31476
+ localRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
31477
+ remoteRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
31087
31478
  localAhead: z.ZodOptional<z.ZodNumber>;
31088
31479
  localBehind: z.ZodOptional<z.ZodNumber>;
31089
31480
  }, z.core.$strip>>>;
@@ -31201,6 +31592,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
31201
31592
  }, z.core.$strip>>>;
31202
31593
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
31203
31594
  scriptName: z.ZodString;
31595
+ packageJson: z.ZodOptional<z.ZodObject<{
31596
+ path: z.ZodString;
31597
+ script: z.ZodString;
31598
+ }, z.core.$strip>>;
31204
31599
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
31205
31600
  script: "script";
31206
31601
  service: "service";
@@ -31386,6 +31781,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
31386
31781
  health: "healthy" | "unhealthy" | null;
31387
31782
  exitCode: number | null;
31388
31783
  terminalId: string | null;
31784
+ packageJson?: {
31785
+ path: string;
31786
+ script: string;
31787
+ } | undefined;
31389
31788
  localProxyUrl?: string | null | undefined;
31390
31789
  publicProxyUrl?: string | null | undefined;
31391
31790
  }[];
@@ -31496,6 +31895,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
31496
31895
  health: "healthy" | "unhealthy" | null;
31497
31896
  exitCode: number | null;
31498
31897
  terminalId: string | null;
31898
+ packageJson?: {
31899
+ path: string;
31900
+ script: string;
31901
+ } | undefined;
31499
31902
  localProxyUrl?: string | null | undefined;
31500
31903
  publicProxyUrl?: string | null | undefined;
31501
31904
  }[];
@@ -33518,6 +33921,8 @@ export type CheckoutSwitchBranchRequest = z.infer<typeof CheckoutSwitchBranchReq
33518
33921
  export type CheckoutSwitchBranchResponse = z.infer<typeof CheckoutSwitchBranchResponseSchema>;
33519
33922
  export type CheckoutRenameBranchRequest = z.infer<typeof CheckoutRenameBranchRequestSchema>;
33520
33923
  export type CheckoutRenameBranchResponse = z.infer<typeof CheckoutRenameBranchResponseSchema>;
33924
+ export type CheckoutBaseRefSetRequest = z.infer<typeof CheckoutBaseRefSetRequestSchema>;
33925
+ export type CheckoutBaseRefSetResponse = z.infer<typeof CheckoutBaseRefSetResponseSchema>;
33521
33926
  export type StashSaveRequest = z.infer<typeof StashSaveRequestSchema>;
33522
33927
  export type StashSaveResponse = z.infer<typeof StashSaveResponseSchema>;
33523
33928
  export type StashPopRequest = z.infer<typeof StashPopRequestSchema>;
@@ -33640,9 +34045,17 @@ export declare const WSHelloMessageSchema: z.ZodObject<{
33640
34045
  hub: "hub";
33641
34046
  }>;
33642
34047
  protocolVersion: z.ZodNumber;
34048
+ auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
34049
+ kind: z.ZodLiteral<"password">;
34050
+ password: z.ZodString;
34051
+ }, z.core.$strip>, z.ZodObject<{
34052
+ kind: z.ZodLiteral<"localCredential">;
34053
+ token: z.ZodString;
34054
+ }, z.core.$strip>], "kind">>;
33643
34055
  appVersion: z.ZodOptional<z.ZodString>;
33644
34056
  capabilities: z.ZodOptional<z.ZodObject<{
33645
34057
  voice: z.ZodOptional<z.ZodBoolean>;
34058
+ hello_rejection: z.ZodOptional<z.ZodBoolean>;
33646
34059
  pushNotifications: z.ZodOptional<z.ZodBoolean>;
33647
34060
  explicit_event_subscriptions: z.ZodOptional<z.ZodBoolean>;
33648
34061
  all_providers: z.ZodOptional<z.ZodBoolean>;
@@ -35247,6 +35660,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
35247
35660
  cwd: z.ZodString;
35248
35661
  branch: z.ZodString;
35249
35662
  requestId: z.ZodString;
35663
+ }, z.core.$strip>, z.ZodObject<{
35664
+ type: z.ZodLiteral<"checkout.base_ref.set.request">;
35665
+ cwd: z.ZodString;
35666
+ baseRef: z.ZodString;
35667
+ requestId: z.ZodString;
35250
35668
  }, z.core.$strip>, z.ZodObject<{
35251
35669
  type: z.ZodLiteral<"stash_save_request">;
35252
35670
  cwd: z.ZodString;
@@ -37879,6 +38297,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
37879
38297
  }, z.core.$strip>>>;
37880
38298
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
37881
38299
  scriptName: z.ZodString;
38300
+ packageJson: z.ZodOptional<z.ZodObject<{
38301
+ path: z.ZodString;
38302
+ script: z.ZodString;
38303
+ }, z.core.$strip>>;
37882
38304
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
37883
38305
  script: "script";
37884
38306
  service: "service";
@@ -38064,6 +38486,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
38064
38486
  health: "healthy" | "unhealthy" | null;
38065
38487
  exitCode: number | null;
38066
38488
  terminalId: string | null;
38489
+ packageJson?: {
38490
+ path: string;
38491
+ script: string;
38492
+ } | undefined;
38067
38493
  localProxyUrl?: string | null | undefined;
38068
38494
  publicProxyUrl?: string | null | undefined;
38069
38495
  }[];
@@ -38174,6 +38600,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
38174
38600
  health: "healthy" | "unhealthy" | null;
38175
38601
  exitCode: number | null;
38176
38602
  terminalId: string | null;
38603
+ packageJson?: {
38604
+ path: string;
38605
+ script: string;
38606
+ } | undefined;
38177
38607
  localProxyUrl?: string | null | undefined;
38178
38608
  publicProxyUrl?: string | null | undefined;
38179
38609
  }[];
@@ -38480,6 +38910,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
38480
38910
  workspaceId: z.ZodString;
38481
38911
  scripts: z.ZodArray<z.ZodObject<{
38482
38912
  scriptName: z.ZodString;
38913
+ packageJson: z.ZodOptional<z.ZodObject<{
38914
+ path: z.ZodString;
38915
+ script: z.ZodString;
38916
+ }, z.core.$strip>>;
38483
38917
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
38484
38918
  script: "script";
38485
38919
  service: "service";
@@ -39159,6 +39593,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
39159
39593
  }, z.core.$strip>>>;
39160
39594
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
39161
39595
  scriptName: z.ZodString;
39596
+ packageJson: z.ZodOptional<z.ZodObject<{
39597
+ path: z.ZodString;
39598
+ script: z.ZodString;
39599
+ }, z.core.$strip>>;
39162
39600
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
39163
39601
  script: "script";
39164
39602
  service: "service";
@@ -39344,6 +39782,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
39344
39782
  health: "healthy" | "unhealthy" | null;
39345
39783
  exitCode: number | null;
39346
39784
  terminalId: string | null;
39785
+ packageJson?: {
39786
+ path: string;
39787
+ script: string;
39788
+ } | undefined;
39347
39789
  localProxyUrl?: string | null | undefined;
39348
39790
  publicProxyUrl?: string | null | undefined;
39349
39791
  }[];
@@ -39454,6 +39896,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
39454
39896
  health: "healthy" | "unhealthy" | null;
39455
39897
  exitCode: number | null;
39456
39898
  terminalId: string | null;
39899
+ packageJson?: {
39900
+ path: string;
39901
+ script: string;
39902
+ } | undefined;
39457
39903
  localProxyUrl?: string | null | undefined;
39458
39904
  publicProxyUrl?: string | null | undefined;
39459
39905
  }[];
@@ -39674,6 +40120,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
39674
40120
  }, z.core.$strip>>>;
39675
40121
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
39676
40122
  scriptName: z.ZodString;
40123
+ packageJson: z.ZodOptional<z.ZodObject<{
40124
+ path: z.ZodString;
40125
+ script: z.ZodString;
40126
+ }, z.core.$strip>>;
39677
40127
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
39678
40128
  script: "script";
39679
40129
  service: "service";
@@ -39859,6 +40309,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
39859
40309
  health: "healthy" | "unhealthy" | null;
39860
40310
  exitCode: number | null;
39861
40311
  terminalId: string | null;
40312
+ packageJson?: {
40313
+ path: string;
40314
+ script: string;
40315
+ } | undefined;
39862
40316
  localProxyUrl?: string | null | undefined;
39863
40317
  publicProxyUrl?: string | null | undefined;
39864
40318
  }[];
@@ -39969,6 +40423,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
39969
40423
  health: "healthy" | "unhealthy" | null;
39970
40424
  exitCode: number | null;
39971
40425
  terminalId: string | null;
40426
+ packageJson?: {
40427
+ path: string;
40428
+ script: string;
40429
+ } | undefined;
39972
40430
  localProxyUrl?: string | null | undefined;
39973
40431
  publicProxyUrl?: string | null | undefined;
39974
40432
  }[];
@@ -40180,6 +40638,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
40180
40638
  scriptName: z.ZodOptional<z.ZodString>;
40181
40639
  script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40182
40640
  scriptName: z.ZodString;
40641
+ packageJson: z.ZodOptional<z.ZodObject<{
40642
+ path: z.ZodString;
40643
+ script: z.ZodString;
40644
+ }, z.core.$strip>>;
40183
40645
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
40184
40646
  script: "script";
40185
40647
  service: "service";
@@ -40202,6 +40664,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
40202
40664
  }, z.core.$strip>>>;
40203
40665
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
40204
40666
  scriptName: z.ZodString;
40667
+ packageJson: z.ZodOptional<z.ZodObject<{
40668
+ path: z.ZodString;
40669
+ script: z.ZodString;
40670
+ }, z.core.$strip>>;
40205
40671
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
40206
40672
  script: "script";
40207
40673
  service: "service";
@@ -40232,6 +40698,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
40232
40698
  scriptName: z.ZodOptional<z.ZodString>;
40233
40699
  script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40234
40700
  scriptName: z.ZodString;
40701
+ packageJson: z.ZodOptional<z.ZodObject<{
40702
+ path: z.ZodString;
40703
+ script: z.ZodString;
40704
+ }, z.core.$strip>>;
40235
40705
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
40236
40706
  script: "script";
40237
40707
  service: "service";
@@ -40254,6 +40724,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
40254
40724
  }, z.core.$strip>>>;
40255
40725
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
40256
40726
  scriptName: z.ZodString;
40727
+ packageJson: z.ZodOptional<z.ZodObject<{
40728
+ path: z.ZodString;
40729
+ script: z.ZodString;
40730
+ }, z.core.$strip>>;
40257
40731
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
40258
40732
  script: "script";
40259
40733
  service: "service";
@@ -40284,6 +40758,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
40284
40758
  scriptName: z.ZodOptional<z.ZodString>;
40285
40759
  script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40286
40760
  scriptName: z.ZodString;
40761
+ packageJson: z.ZodOptional<z.ZodObject<{
40762
+ path: z.ZodString;
40763
+ script: z.ZodString;
40764
+ }, z.core.$strip>>;
40287
40765
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
40288
40766
  script: "script";
40289
40767
  service: "service";
@@ -40306,6 +40784,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
40306
40784
  }, z.core.$strip>>>;
40307
40785
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
40308
40786
  scriptName: z.ZodString;
40787
+ packageJson: z.ZodOptional<z.ZodObject<{
40788
+ path: z.ZodString;
40789
+ script: z.ZodString;
40790
+ }, z.core.$strip>>;
40309
40791
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
40310
40792
  script: "script";
40311
40793
  service: "service";
@@ -41291,6 +41773,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
41291
41773
  }, z.core.$strip>>>;
41292
41774
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
41293
41775
  scriptName: z.ZodString;
41776
+ packageJson: z.ZodOptional<z.ZodObject<{
41777
+ path: z.ZodString;
41778
+ script: z.ZodString;
41779
+ }, z.core.$strip>>;
41294
41780
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
41295
41781
  script: "script";
41296
41782
  service: "service";
@@ -41476,6 +41962,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
41476
41962
  health: "healthy" | "unhealthy" | null;
41477
41963
  exitCode: number | null;
41478
41964
  terminalId: string | null;
41965
+ packageJson?: {
41966
+ path: string;
41967
+ script: string;
41968
+ } | undefined;
41479
41969
  localProxyUrl?: string | null | undefined;
41480
41970
  publicProxyUrl?: string | null | undefined;
41481
41971
  }[];
@@ -41586,6 +42076,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
41586
42076
  health: "healthy" | "unhealthy" | null;
41587
42077
  exitCode: number | null;
41588
42078
  terminalId: string | null;
42079
+ packageJson?: {
42080
+ path: string;
42081
+ script: string;
42082
+ } | undefined;
41589
42083
  localProxyUrl?: string | null | undefined;
41590
42084
  publicProxyUrl?: string | null | undefined;
41591
42085
  }[];
@@ -41792,6 +42286,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
41792
42286
  }, z.core.$strip>>>;
41793
42287
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
41794
42288
  scriptName: z.ZodString;
42289
+ packageJson: z.ZodOptional<z.ZodObject<{
42290
+ path: z.ZodString;
42291
+ script: z.ZodString;
42292
+ }, z.core.$strip>>;
41795
42293
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
41796
42294
  script: "script";
41797
42295
  service: "service";
@@ -41977,6 +42475,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
41977
42475
  health: "healthy" | "unhealthy" | null;
41978
42476
  exitCode: number | null;
41979
42477
  terminalId: string | null;
42478
+ packageJson?: {
42479
+ path: string;
42480
+ script: string;
42481
+ } | undefined;
41980
42482
  localProxyUrl?: string | null | undefined;
41981
42483
  publicProxyUrl?: string | null | undefined;
41982
42484
  }[];
@@ -42087,6 +42589,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
42087
42589
  health: "healthy" | "unhealthy" | null;
42088
42590
  exitCode: number | null;
42089
42591
  terminalId: string | null;
42592
+ packageJson?: {
42593
+ path: string;
42594
+ script: string;
42595
+ } | undefined;
42090
42596
  localProxyUrl?: string | null | undefined;
42091
42597
  publicProxyUrl?: string | null | undefined;
42092
42598
  }[];
@@ -42311,6 +42817,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
42311
42817
  }, z.core.$strip>>>;
42312
42818
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
42313
42819
  scriptName: z.ZodString;
42820
+ packageJson: z.ZodOptional<z.ZodObject<{
42821
+ path: z.ZodString;
42822
+ script: z.ZodString;
42823
+ }, z.core.$strip>>;
42314
42824
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
42315
42825
  script: "script";
42316
42826
  service: "service";
@@ -42496,6 +43006,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
42496
43006
  health: "healthy" | "unhealthy" | null;
42497
43007
  exitCode: number | null;
42498
43008
  terminalId: string | null;
43009
+ packageJson?: {
43010
+ path: string;
43011
+ script: string;
43012
+ } | undefined;
42499
43013
  localProxyUrl?: string | null | undefined;
42500
43014
  publicProxyUrl?: string | null | undefined;
42501
43015
  }[];
@@ -42606,6 +43120,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
42606
43120
  health: "healthy" | "unhealthy" | null;
42607
43121
  exitCode: number | null;
42608
43122
  terminalId: string | null;
43123
+ packageJson?: {
43124
+ path: string;
43125
+ script: string;
43126
+ } | undefined;
42609
43127
  localProxyUrl?: string | null | undefined;
42610
43128
  publicProxyUrl?: string | null | undefined;
42611
43129
  }[];
@@ -42832,6 +43350,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
42832
43350
  }, z.core.$strip>>>;
42833
43351
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
42834
43352
  scriptName: z.ZodString;
43353
+ packageJson: z.ZodOptional<z.ZodObject<{
43354
+ path: z.ZodString;
43355
+ script: z.ZodString;
43356
+ }, z.core.$strip>>;
42835
43357
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
42836
43358
  script: "script";
42837
43359
  service: "service";
@@ -43017,6 +43539,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43017
43539
  health: "healthy" | "unhealthy" | null;
43018
43540
  exitCode: number | null;
43019
43541
  terminalId: string | null;
43542
+ packageJson?: {
43543
+ path: string;
43544
+ script: string;
43545
+ } | undefined;
43020
43546
  localProxyUrl?: string | null | undefined;
43021
43547
  publicProxyUrl?: string | null | undefined;
43022
43548
  }[];
@@ -43127,6 +43653,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43127
43653
  health: "healthy" | "unhealthy" | null;
43128
43654
  exitCode: number | null;
43129
43655
  terminalId: string | null;
43656
+ packageJson?: {
43657
+ path: string;
43658
+ script: string;
43659
+ } | undefined;
43130
43660
  localProxyUrl?: string | null | undefined;
43131
43661
  publicProxyUrl?: string | null | undefined;
43132
43662
  }[];
@@ -43352,6 +43882,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43352
43882
  }, z.core.$strip>>>;
43353
43883
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
43354
43884
  scriptName: z.ZodString;
43885
+ packageJson: z.ZodOptional<z.ZodObject<{
43886
+ path: z.ZodString;
43887
+ script: z.ZodString;
43888
+ }, z.core.$strip>>;
43355
43889
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
43356
43890
  script: "script";
43357
43891
  service: "service";
@@ -43537,6 +44071,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43537
44071
  health: "healthy" | "unhealthy" | null;
43538
44072
  exitCode: number | null;
43539
44073
  terminalId: string | null;
44074
+ packageJson?: {
44075
+ path: string;
44076
+ script: string;
44077
+ } | undefined;
43540
44078
  localProxyUrl?: string | null | undefined;
43541
44079
  publicProxyUrl?: string | null | undefined;
43542
44080
  }[];
@@ -43647,6 +44185,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43647
44185
  health: "healthy" | "unhealthy" | null;
43648
44186
  exitCode: number | null;
43649
44187
  terminalId: string | null;
44188
+ packageJson?: {
44189
+ path: string;
44190
+ script: string;
44191
+ } | undefined;
43650
44192
  localProxyUrl?: string | null | undefined;
43651
44193
  publicProxyUrl?: string | null | undefined;
43652
44194
  }[];
@@ -43877,6 +44419,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43877
44419
  }, z.core.$strip>>>;
43878
44420
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
43879
44421
  scriptName: z.ZodString;
44422
+ packageJson: z.ZodOptional<z.ZodObject<{
44423
+ path: z.ZodString;
44424
+ script: z.ZodString;
44425
+ }, z.core.$strip>>;
43880
44426
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
43881
44427
  script: "script";
43882
44428
  service: "service";
@@ -44062,6 +44608,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
44062
44608
  health: "healthy" | "unhealthy" | null;
44063
44609
  exitCode: number | null;
44064
44610
  terminalId: string | null;
44611
+ packageJson?: {
44612
+ path: string;
44613
+ script: string;
44614
+ } | undefined;
44065
44615
  localProxyUrl?: string | null | undefined;
44066
44616
  publicProxyUrl?: string | null | undefined;
44067
44617
  }[];
@@ -44172,6 +44722,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
44172
44722
  health: "healthy" | "unhealthy" | null;
44173
44723
  exitCode: number | null;
44174
44724
  terminalId: string | null;
44725
+ packageJson?: {
44726
+ path: string;
44727
+ script: string;
44728
+ } | undefined;
44175
44729
  localProxyUrl?: string | null | undefined;
44176
44730
  publicProxyUrl?: string | null | undefined;
44177
44731
  }[];
@@ -46052,6 +46606,23 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
46052
46606
  message: z.ZodString;
46053
46607
  }, z.core.$strip>>;
46054
46608
  }, z.core.$strip>;
46609
+ }, z.core.$strip>, z.ZodObject<{
46610
+ type: z.ZodLiteral<"checkout.base_ref.set.response">;
46611
+ payload: z.ZodObject<{
46612
+ requestId: z.ZodString;
46613
+ success: z.ZodBoolean;
46614
+ cwd: z.ZodString;
46615
+ baseRef: z.ZodNullable<z.ZodString>;
46616
+ error: z.ZodNullable<z.ZodObject<{
46617
+ code: z.ZodEnum<{
46618
+ NOT_GIT_REPO: "NOT_GIT_REPO";
46619
+ NOT_ALLOWED: "NOT_ALLOWED";
46620
+ MERGE_CONFLICT: "MERGE_CONFLICT";
46621
+ UNKNOWN: "UNKNOWN";
46622
+ }>;
46623
+ message: z.ZodString;
46624
+ }, z.core.$strip>>;
46625
+ }, z.core.$strip>;
46055
46626
  }, z.core.$strip>, z.ZodObject<{
46056
46627
  type: z.ZodLiteral<"stash_save_response">;
46057
46628
  payload: z.ZodObject<{
@@ -46123,6 +46694,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
46123
46694
  committerDate: z.ZodNumber;
46124
46695
  hasLocal: z.ZodOptional<z.ZodBoolean>;
46125
46696
  hasRemote: z.ZodOptional<z.ZodBoolean>;
46697
+ localRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
46698
+ remoteRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
46126
46699
  localAhead: z.ZodOptional<z.ZodNumber>;
46127
46700
  localBehind: z.ZodOptional<z.ZodNumber>;
46128
46701
  }, z.core.$strip>>>;
@@ -46240,6 +46813,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
46240
46813
  }, z.core.$strip>>>;
46241
46814
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
46242
46815
  scriptName: z.ZodString;
46816
+ packageJson: z.ZodOptional<z.ZodObject<{
46817
+ path: z.ZodString;
46818
+ script: z.ZodString;
46819
+ }, z.core.$strip>>;
46243
46820
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
46244
46821
  script: "script";
46245
46822
  service: "service";
@@ -46425,6 +47002,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
46425
47002
  health: "healthy" | "unhealthy" | null;
46426
47003
  exitCode: number | null;
46427
47004
  terminalId: string | null;
47005
+ packageJson?: {
47006
+ path: string;
47007
+ script: string;
47008
+ } | undefined;
46428
47009
  localProxyUrl?: string | null | undefined;
46429
47010
  publicProxyUrl?: string | null | undefined;
46430
47011
  }[];
@@ -46535,6 +47116,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
46535
47116
  health: "healthy" | "unhealthy" | null;
46536
47117
  exitCode: number | null;
46537
47118
  terminalId: string | null;
47119
+ packageJson?: {
47120
+ path: string;
47121
+ script: string;
47122
+ } | undefined;
46538
47123
  localProxyUrl?: string | null | undefined;
46539
47124
  publicProxyUrl?: string | null | undefined;
46540
47125
  }[];
@@ -48312,6 +48897,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
48312
48897
  }, z.core.$strip>;
48313
48898
  }, z.core.$strip>], "type">;
48314
48899
  }, z.core.$strip>;
48900
+ export declare const WSHelloRejectedMessageSchema: z.ZodObject<{
48901
+ type: z.ZodLiteral<"hello.rejected">;
48902
+ reason: z.ZodEnum<{
48903
+ password_required: "password_required";
48904
+ incorrect_password: "incorrect_password";
48905
+ incompatible_protocol: "incompatible_protocol";
48906
+ }>;
48907
+ accepts: z.ZodArray<z.ZodLiteral<"password">>;
48908
+ }, z.core.$strip>;
48315
48909
  export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
48316
48910
  type: z.ZodLiteral<"ping">;
48317
48911
  }, z.core.$strip>, z.ZodObject<{
@@ -48325,9 +48919,17 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
48325
48919
  hub: "hub";
48326
48920
  }>;
48327
48921
  protocolVersion: z.ZodNumber;
48922
+ auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
48923
+ kind: z.ZodLiteral<"password">;
48924
+ password: z.ZodString;
48925
+ }, z.core.$strip>, z.ZodObject<{
48926
+ kind: z.ZodLiteral<"localCredential">;
48927
+ token: z.ZodString;
48928
+ }, z.core.$strip>], "kind">>;
48328
48929
  appVersion: z.ZodOptional<z.ZodString>;
48329
48930
  capabilities: z.ZodOptional<z.ZodObject<{
48330
48931
  voice: z.ZodOptional<z.ZodBoolean>;
48932
+ hello_rejection: z.ZodOptional<z.ZodBoolean>;
48331
48933
  pushNotifications: z.ZodOptional<z.ZodBoolean>;
48332
48934
  explicit_event_subscriptions: z.ZodOptional<z.ZodBoolean>;
48333
48935
  all_providers: z.ZodOptional<z.ZodBoolean>;
@@ -49930,6 +50532,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
49930
50532
  cwd: z.ZodString;
49931
50533
  branch: z.ZodString;
49932
50534
  requestId: z.ZodString;
50535
+ }, z.core.$strip>, z.ZodObject<{
50536
+ type: z.ZodLiteral<"checkout.base_ref.set.request">;
50537
+ cwd: z.ZodString;
50538
+ baseRef: z.ZodString;
50539
+ requestId: z.ZodString;
49933
50540
  }, z.core.$strip>, z.ZodObject<{
49934
50541
  type: z.ZodLiteral<"stash_save_request">;
49935
50542
  cwd: z.ZodString;
@@ -52564,6 +53171,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
52564
53171
  }, z.core.$strip>>>;
52565
53172
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
52566
53173
  scriptName: z.ZodString;
53174
+ packageJson: z.ZodOptional<z.ZodObject<{
53175
+ path: z.ZodString;
53176
+ script: z.ZodString;
53177
+ }, z.core.$strip>>;
52567
53178
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
52568
53179
  script: "script";
52569
53180
  service: "service";
@@ -52749,6 +53360,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
52749
53360
  health: "healthy" | "unhealthy" | null;
52750
53361
  exitCode: number | null;
52751
53362
  terminalId: string | null;
53363
+ packageJson?: {
53364
+ path: string;
53365
+ script: string;
53366
+ } | undefined;
52752
53367
  localProxyUrl?: string | null | undefined;
52753
53368
  publicProxyUrl?: string | null | undefined;
52754
53369
  }[];
@@ -52859,6 +53474,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
52859
53474
  health: "healthy" | "unhealthy" | null;
52860
53475
  exitCode: number | null;
52861
53476
  terminalId: string | null;
53477
+ packageJson?: {
53478
+ path: string;
53479
+ script: string;
53480
+ } | undefined;
52862
53481
  localProxyUrl?: string | null | undefined;
52863
53482
  publicProxyUrl?: string | null | undefined;
52864
53483
  }[];
@@ -53165,6 +53784,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
53165
53784
  workspaceId: z.ZodString;
53166
53785
  scripts: z.ZodArray<z.ZodObject<{
53167
53786
  scriptName: z.ZodString;
53787
+ packageJson: z.ZodOptional<z.ZodObject<{
53788
+ path: z.ZodString;
53789
+ script: z.ZodString;
53790
+ }, z.core.$strip>>;
53168
53791
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
53169
53792
  script: "script";
53170
53793
  service: "service";
@@ -53844,6 +54467,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
53844
54467
  }, z.core.$strip>>>;
53845
54468
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
53846
54469
  scriptName: z.ZodString;
54470
+ packageJson: z.ZodOptional<z.ZodObject<{
54471
+ path: z.ZodString;
54472
+ script: z.ZodString;
54473
+ }, z.core.$strip>>;
53847
54474
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
53848
54475
  script: "script";
53849
54476
  service: "service";
@@ -54029,6 +54656,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
54029
54656
  health: "healthy" | "unhealthy" | null;
54030
54657
  exitCode: number | null;
54031
54658
  terminalId: string | null;
54659
+ packageJson?: {
54660
+ path: string;
54661
+ script: string;
54662
+ } | undefined;
54032
54663
  localProxyUrl?: string | null | undefined;
54033
54664
  publicProxyUrl?: string | null | undefined;
54034
54665
  }[];
@@ -54139,6 +54770,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
54139
54770
  health: "healthy" | "unhealthy" | null;
54140
54771
  exitCode: number | null;
54141
54772
  terminalId: string | null;
54773
+ packageJson?: {
54774
+ path: string;
54775
+ script: string;
54776
+ } | undefined;
54142
54777
  localProxyUrl?: string | null | undefined;
54143
54778
  publicProxyUrl?: string | null | undefined;
54144
54779
  }[];
@@ -54359,6 +54994,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
54359
54994
  }, z.core.$strip>>>;
54360
54995
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
54361
54996
  scriptName: z.ZodString;
54997
+ packageJson: z.ZodOptional<z.ZodObject<{
54998
+ path: z.ZodString;
54999
+ script: z.ZodString;
55000
+ }, z.core.$strip>>;
54362
55001
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
54363
55002
  script: "script";
54364
55003
  service: "service";
@@ -54544,6 +55183,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
54544
55183
  health: "healthy" | "unhealthy" | null;
54545
55184
  exitCode: number | null;
54546
55185
  terminalId: string | null;
55186
+ packageJson?: {
55187
+ path: string;
55188
+ script: string;
55189
+ } | undefined;
54547
55190
  localProxyUrl?: string | null | undefined;
54548
55191
  publicProxyUrl?: string | null | undefined;
54549
55192
  }[];
@@ -54654,6 +55297,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
54654
55297
  health: "healthy" | "unhealthy" | null;
54655
55298
  exitCode: number | null;
54656
55299
  terminalId: string | null;
55300
+ packageJson?: {
55301
+ path: string;
55302
+ script: string;
55303
+ } | undefined;
54657
55304
  localProxyUrl?: string | null | undefined;
54658
55305
  publicProxyUrl?: string | null | undefined;
54659
55306
  }[];
@@ -54865,6 +55512,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
54865
55512
  scriptName: z.ZodOptional<z.ZodString>;
54866
55513
  script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54867
55514
  scriptName: z.ZodString;
55515
+ packageJson: z.ZodOptional<z.ZodObject<{
55516
+ path: z.ZodString;
55517
+ script: z.ZodString;
55518
+ }, z.core.$strip>>;
54868
55519
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
54869
55520
  script: "script";
54870
55521
  service: "service";
@@ -54887,6 +55538,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
54887
55538
  }, z.core.$strip>>>;
54888
55539
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
54889
55540
  scriptName: z.ZodString;
55541
+ packageJson: z.ZodOptional<z.ZodObject<{
55542
+ path: z.ZodString;
55543
+ script: z.ZodString;
55544
+ }, z.core.$strip>>;
54890
55545
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
54891
55546
  script: "script";
54892
55547
  service: "service";
@@ -54917,6 +55572,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
54917
55572
  scriptName: z.ZodOptional<z.ZodString>;
54918
55573
  script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54919
55574
  scriptName: z.ZodString;
55575
+ packageJson: z.ZodOptional<z.ZodObject<{
55576
+ path: z.ZodString;
55577
+ script: z.ZodString;
55578
+ }, z.core.$strip>>;
54920
55579
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
54921
55580
  script: "script";
54922
55581
  service: "service";
@@ -54939,6 +55598,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
54939
55598
  }, z.core.$strip>>>;
54940
55599
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
54941
55600
  scriptName: z.ZodString;
55601
+ packageJson: z.ZodOptional<z.ZodObject<{
55602
+ path: z.ZodString;
55603
+ script: z.ZodString;
55604
+ }, z.core.$strip>>;
54942
55605
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
54943
55606
  script: "script";
54944
55607
  service: "service";
@@ -54969,6 +55632,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
54969
55632
  scriptName: z.ZodOptional<z.ZodString>;
54970
55633
  script: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54971
55634
  scriptName: z.ZodString;
55635
+ packageJson: z.ZodOptional<z.ZodObject<{
55636
+ path: z.ZodString;
55637
+ script: z.ZodString;
55638
+ }, z.core.$strip>>;
54972
55639
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
54973
55640
  script: "script";
54974
55641
  service: "service";
@@ -54991,6 +55658,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
54991
55658
  }, z.core.$strip>>>;
54992
55659
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
54993
55660
  scriptName: z.ZodString;
55661
+ packageJson: z.ZodOptional<z.ZodObject<{
55662
+ path: z.ZodString;
55663
+ script: z.ZodString;
55664
+ }, z.core.$strip>>;
54994
55665
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
54995
55666
  script: "script";
54996
55667
  service: "service";
@@ -55976,6 +56647,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
55976
56647
  }, z.core.$strip>>>;
55977
56648
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
55978
56649
  scriptName: z.ZodString;
56650
+ packageJson: z.ZodOptional<z.ZodObject<{
56651
+ path: z.ZodString;
56652
+ script: z.ZodString;
56653
+ }, z.core.$strip>>;
55979
56654
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
55980
56655
  script: "script";
55981
56656
  service: "service";
@@ -56161,6 +56836,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
56161
56836
  health: "healthy" | "unhealthy" | null;
56162
56837
  exitCode: number | null;
56163
56838
  terminalId: string | null;
56839
+ packageJson?: {
56840
+ path: string;
56841
+ script: string;
56842
+ } | undefined;
56164
56843
  localProxyUrl?: string | null | undefined;
56165
56844
  publicProxyUrl?: string | null | undefined;
56166
56845
  }[];
@@ -56271,6 +56950,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
56271
56950
  health: "healthy" | "unhealthy" | null;
56272
56951
  exitCode: number | null;
56273
56952
  terminalId: string | null;
56953
+ packageJson?: {
56954
+ path: string;
56955
+ script: string;
56956
+ } | undefined;
56274
56957
  localProxyUrl?: string | null | undefined;
56275
56958
  publicProxyUrl?: string | null | undefined;
56276
56959
  }[];
@@ -56477,6 +57160,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
56477
57160
  }, z.core.$strip>>>;
56478
57161
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
56479
57162
  scriptName: z.ZodString;
57163
+ packageJson: z.ZodOptional<z.ZodObject<{
57164
+ path: z.ZodString;
57165
+ script: z.ZodString;
57166
+ }, z.core.$strip>>;
56480
57167
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
56481
57168
  script: "script";
56482
57169
  service: "service";
@@ -56662,6 +57349,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
56662
57349
  health: "healthy" | "unhealthy" | null;
56663
57350
  exitCode: number | null;
56664
57351
  terminalId: string | null;
57352
+ packageJson?: {
57353
+ path: string;
57354
+ script: string;
57355
+ } | undefined;
56665
57356
  localProxyUrl?: string | null | undefined;
56666
57357
  publicProxyUrl?: string | null | undefined;
56667
57358
  }[];
@@ -56772,6 +57463,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
56772
57463
  health: "healthy" | "unhealthy" | null;
56773
57464
  exitCode: number | null;
56774
57465
  terminalId: string | null;
57466
+ packageJson?: {
57467
+ path: string;
57468
+ script: string;
57469
+ } | undefined;
56775
57470
  localProxyUrl?: string | null | undefined;
56776
57471
  publicProxyUrl?: string | null | undefined;
56777
57472
  }[];
@@ -56996,6 +57691,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
56996
57691
  }, z.core.$strip>>>;
56997
57692
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
56998
57693
  scriptName: z.ZodString;
57694
+ packageJson: z.ZodOptional<z.ZodObject<{
57695
+ path: z.ZodString;
57696
+ script: z.ZodString;
57697
+ }, z.core.$strip>>;
56999
57698
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
57000
57699
  script: "script";
57001
57700
  service: "service";
@@ -57181,6 +57880,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
57181
57880
  health: "healthy" | "unhealthy" | null;
57182
57881
  exitCode: number | null;
57183
57882
  terminalId: string | null;
57883
+ packageJson?: {
57884
+ path: string;
57885
+ script: string;
57886
+ } | undefined;
57184
57887
  localProxyUrl?: string | null | undefined;
57185
57888
  publicProxyUrl?: string | null | undefined;
57186
57889
  }[];
@@ -57291,6 +57994,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
57291
57994
  health: "healthy" | "unhealthy" | null;
57292
57995
  exitCode: number | null;
57293
57996
  terminalId: string | null;
57997
+ packageJson?: {
57998
+ path: string;
57999
+ script: string;
58000
+ } | undefined;
57294
58001
  localProxyUrl?: string | null | undefined;
57295
58002
  publicProxyUrl?: string | null | undefined;
57296
58003
  }[];
@@ -57517,6 +58224,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
57517
58224
  }, z.core.$strip>>>;
57518
58225
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
57519
58226
  scriptName: z.ZodString;
58227
+ packageJson: z.ZodOptional<z.ZodObject<{
58228
+ path: z.ZodString;
58229
+ script: z.ZodString;
58230
+ }, z.core.$strip>>;
57520
58231
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
57521
58232
  script: "script";
57522
58233
  service: "service";
@@ -57702,6 +58413,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
57702
58413
  health: "healthy" | "unhealthy" | null;
57703
58414
  exitCode: number | null;
57704
58415
  terminalId: string | null;
58416
+ packageJson?: {
58417
+ path: string;
58418
+ script: string;
58419
+ } | undefined;
57705
58420
  localProxyUrl?: string | null | undefined;
57706
58421
  publicProxyUrl?: string | null | undefined;
57707
58422
  }[];
@@ -57812,6 +58527,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
57812
58527
  health: "healthy" | "unhealthy" | null;
57813
58528
  exitCode: number | null;
57814
58529
  terminalId: string | null;
58530
+ packageJson?: {
58531
+ path: string;
58532
+ script: string;
58533
+ } | undefined;
57815
58534
  localProxyUrl?: string | null | undefined;
57816
58535
  publicProxyUrl?: string | null | undefined;
57817
58536
  }[];
@@ -58037,6 +58756,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
58037
58756
  }, z.core.$strip>>>;
58038
58757
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
58039
58758
  scriptName: z.ZodString;
58759
+ packageJson: z.ZodOptional<z.ZodObject<{
58760
+ path: z.ZodString;
58761
+ script: z.ZodString;
58762
+ }, z.core.$strip>>;
58040
58763
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
58041
58764
  script: "script";
58042
58765
  service: "service";
@@ -58222,6 +58945,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
58222
58945
  health: "healthy" | "unhealthy" | null;
58223
58946
  exitCode: number | null;
58224
58947
  terminalId: string | null;
58948
+ packageJson?: {
58949
+ path: string;
58950
+ script: string;
58951
+ } | undefined;
58225
58952
  localProxyUrl?: string | null | undefined;
58226
58953
  publicProxyUrl?: string | null | undefined;
58227
58954
  }[];
@@ -58332,6 +59059,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
58332
59059
  health: "healthy" | "unhealthy" | null;
58333
59060
  exitCode: number | null;
58334
59061
  terminalId: string | null;
59062
+ packageJson?: {
59063
+ path: string;
59064
+ script: string;
59065
+ } | undefined;
58335
59066
  localProxyUrl?: string | null | undefined;
58336
59067
  publicProxyUrl?: string | null | undefined;
58337
59068
  }[];
@@ -58562,6 +59293,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
58562
59293
  }, z.core.$strip>>>;
58563
59294
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
58564
59295
  scriptName: z.ZodString;
59296
+ packageJson: z.ZodOptional<z.ZodObject<{
59297
+ path: z.ZodString;
59298
+ script: z.ZodString;
59299
+ }, z.core.$strip>>;
58565
59300
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
58566
59301
  script: "script";
58567
59302
  service: "service";
@@ -58747,6 +59482,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
58747
59482
  health: "healthy" | "unhealthy" | null;
58748
59483
  exitCode: number | null;
58749
59484
  terminalId: string | null;
59485
+ packageJson?: {
59486
+ path: string;
59487
+ script: string;
59488
+ } | undefined;
58750
59489
  localProxyUrl?: string | null | undefined;
58751
59490
  publicProxyUrl?: string | null | undefined;
58752
59491
  }[];
@@ -58857,6 +59596,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
58857
59596
  health: "healthy" | "unhealthy" | null;
58858
59597
  exitCode: number | null;
58859
59598
  terminalId: string | null;
59599
+ packageJson?: {
59600
+ path: string;
59601
+ script: string;
59602
+ } | undefined;
58860
59603
  localProxyUrl?: string | null | undefined;
58861
59604
  publicProxyUrl?: string | null | undefined;
58862
59605
  }[];
@@ -60737,6 +61480,23 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
60737
61480
  message: z.ZodString;
60738
61481
  }, z.core.$strip>>;
60739
61482
  }, z.core.$strip>;
61483
+ }, z.core.$strip>, z.ZodObject<{
61484
+ type: z.ZodLiteral<"checkout.base_ref.set.response">;
61485
+ payload: z.ZodObject<{
61486
+ requestId: z.ZodString;
61487
+ success: z.ZodBoolean;
61488
+ cwd: z.ZodString;
61489
+ baseRef: z.ZodNullable<z.ZodString>;
61490
+ error: z.ZodNullable<z.ZodObject<{
61491
+ code: z.ZodEnum<{
61492
+ NOT_GIT_REPO: "NOT_GIT_REPO";
61493
+ NOT_ALLOWED: "NOT_ALLOWED";
61494
+ MERGE_CONFLICT: "MERGE_CONFLICT";
61495
+ UNKNOWN: "UNKNOWN";
61496
+ }>;
61497
+ message: z.ZodString;
61498
+ }, z.core.$strip>>;
61499
+ }, z.core.$strip>;
60740
61500
  }, z.core.$strip>, z.ZodObject<{
60741
61501
  type: z.ZodLiteral<"stash_save_response">;
60742
61502
  payload: z.ZodObject<{
@@ -60808,6 +61568,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
60808
61568
  committerDate: z.ZodNumber;
60809
61569
  hasLocal: z.ZodOptional<z.ZodBoolean>;
60810
61570
  hasRemote: z.ZodOptional<z.ZodBoolean>;
61571
+ localRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
61572
+ remoteRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
60811
61573
  localAhead: z.ZodOptional<z.ZodNumber>;
60812
61574
  localBehind: z.ZodOptional<z.ZodNumber>;
60813
61575
  }, z.core.$strip>>>;
@@ -60925,6 +61687,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
60925
61687
  }, z.core.$strip>>>;
60926
61688
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
60927
61689
  scriptName: z.ZodString;
61690
+ packageJson: z.ZodOptional<z.ZodObject<{
61691
+ path: z.ZodString;
61692
+ script: z.ZodString;
61693
+ }, z.core.$strip>>;
60928
61694
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
60929
61695
  script: "script";
60930
61696
  service: "service";
@@ -61110,6 +61876,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
61110
61876
  health: "healthy" | "unhealthy" | null;
61111
61877
  exitCode: number | null;
61112
61878
  terminalId: string | null;
61879
+ packageJson?: {
61880
+ path: string;
61881
+ script: string;
61882
+ } | undefined;
61113
61883
  localProxyUrl?: string | null | undefined;
61114
61884
  publicProxyUrl?: string | null | undefined;
61115
61885
  }[];
@@ -61220,6 +61990,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
61220
61990
  health: "healthy" | "unhealthy" | null;
61221
61991
  exitCode: number | null;
61222
61992
  terminalId: string | null;
61993
+ packageJson?: {
61994
+ path: string;
61995
+ script: string;
61996
+ } | undefined;
61223
61997
  localProxyUrl?: string | null | undefined;
61224
61998
  publicProxyUrl?: string | null | undefined;
61225
61999
  }[];
@@ -62996,6 +63770,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
62996
63770
  newVersion: z.ZodNullable<z.ZodString>;
62997
63771
  }, z.core.$strip>;
62998
63772
  }, z.core.$strip>], "type">;
63773
+ }, z.core.$strip>, z.ZodObject<{
63774
+ type: z.ZodLiteral<"hello.rejected">;
63775
+ reason: z.ZodEnum<{
63776
+ password_required: "password_required";
63777
+ incorrect_password: "incorrect_password";
63778
+ incompatible_protocol: "incompatible_protocol";
63779
+ }>;
63780
+ accepts: z.ZodArray<z.ZodLiteral<"password">>;
62999
63781
  }, z.core.$strip>], "type">;
63000
63782
  export type WSInboundMessage = z.infer<typeof WSInboundMessageSchema>;
63001
63783
  export type WSOutboundMessage = z.infer<typeof WSOutboundMessageSchema>;