@junctionpanel/server 0.1.39 → 0.1.40

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.
@@ -571,6 +571,8 @@ declare const GitSetupOptionsSchema: z.ZodObject<{
571
571
  newBranchName: z.ZodOptional<z.ZodString>;
572
572
  createWorktree: z.ZodOptional<z.ZodBoolean>;
573
573
  worktreeSlug: z.ZodOptional<z.ZodString>;
574
+ attachBranchName: z.ZodOptional<z.ZodString>;
575
+ attachBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
574
576
  }, "strip", z.ZodTypeAny, {
575
577
  baseBranch?: string | undefined;
576
578
  baseBranchSource?: "local" | "remote" | undefined;
@@ -579,6 +581,8 @@ declare const GitSetupOptionsSchema: z.ZodObject<{
579
581
  createNewBranch?: boolean | undefined;
580
582
  newBranchName?: string | undefined;
581
583
  createWorktree?: boolean | undefined;
584
+ attachBranchName?: string | undefined;
585
+ attachBranchSource?: "local" | "remote" | undefined;
582
586
  }, {
583
587
  baseBranch?: string | undefined;
584
588
  baseBranchSource?: "local" | "remote" | undefined;
@@ -587,6 +591,8 @@ declare const GitSetupOptionsSchema: z.ZodObject<{
587
591
  createNewBranch?: boolean | undefined;
588
592
  newBranchName?: string | undefined;
589
593
  createWorktree?: boolean | undefined;
594
+ attachBranchName?: string | undefined;
595
+ attachBranchSource?: "local" | "remote" | undefined;
590
596
  }>;
591
597
  export type GitSetupOptions = z.infer<typeof GitSetupOptionsSchema>;
592
598
  export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
@@ -767,6 +773,8 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
767
773
  newBranchName: z.ZodOptional<z.ZodString>;
768
774
  createWorktree: z.ZodOptional<z.ZodBoolean>;
769
775
  worktreeSlug: z.ZodOptional<z.ZodString>;
776
+ attachBranchName: z.ZodOptional<z.ZodString>;
777
+ attachBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
770
778
  }, "strip", z.ZodTypeAny, {
771
779
  baseBranch?: string | undefined;
772
780
  baseBranchSource?: "local" | "remote" | undefined;
@@ -775,6 +783,8 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
775
783
  createNewBranch?: boolean | undefined;
776
784
  newBranchName?: string | undefined;
777
785
  createWorktree?: boolean | undefined;
786
+ attachBranchName?: string | undefined;
787
+ attachBranchSource?: "local" | "remote" | undefined;
778
788
  }, {
779
789
  baseBranch?: string | undefined;
780
790
  baseBranchSource?: "local" | "remote" | undefined;
@@ -783,6 +793,8 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
783
793
  createNewBranch?: boolean | undefined;
784
794
  newBranchName?: string | undefined;
785
795
  createWorktree?: boolean | undefined;
796
+ attachBranchName?: string | undefined;
797
+ attachBranchSource?: "local" | "remote" | undefined;
786
798
  }>>;
787
799
  bootstrapSetupOverride: z.ZodOptional<z.ZodType<BootstrapSetupOverride, z.ZodTypeDef, BootstrapSetupOverride>>;
788
800
  generalPreferencesApplied: z.ZodOptional<z.ZodBoolean>;
@@ -847,6 +859,8 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
847
859
  createNewBranch?: boolean | undefined;
848
860
  newBranchName?: string | undefined;
849
861
  createWorktree?: boolean | undefined;
862
+ attachBranchName?: string | undefined;
863
+ attachBranchSource?: "local" | "remote" | undefined;
850
864
  } | undefined;
851
865
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
852
866
  }, {
@@ -908,6 +922,8 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
908
922
  createNewBranch?: boolean | undefined;
909
923
  newBranchName?: string | undefined;
910
924
  createWorktree?: boolean | undefined;
925
+ attachBranchName?: string | undefined;
926
+ attachBranchSource?: "local" | "remote" | undefined;
911
927
  } | undefined;
912
928
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
913
929
  }>;
@@ -1663,6 +1679,28 @@ export declare const CheckoutPrStatusRequestSchema: z.ZodObject<{
1663
1679
  requestId: string;
1664
1680
  remoteName?: string | undefined;
1665
1681
  }>;
1682
+ export declare const CheckoutPrSearchRequestSchema: z.ZodObject<{
1683
+ type: z.ZodLiteral<"checkout_pr_search_request">;
1684
+ cwd: z.ZodString;
1685
+ query: z.ZodOptional<z.ZodString>;
1686
+ limit: z.ZodOptional<z.ZodNumber>;
1687
+ remoteName: z.ZodOptional<z.ZodString>;
1688
+ requestId: z.ZodString;
1689
+ }, "strip", z.ZodTypeAny, {
1690
+ cwd: string;
1691
+ type: "checkout_pr_search_request";
1692
+ requestId: string;
1693
+ remoteName?: string | undefined;
1694
+ limit?: number | undefined;
1695
+ query?: string | undefined;
1696
+ }, {
1697
+ cwd: string;
1698
+ type: "checkout_pr_search_request";
1699
+ requestId: string;
1700
+ remoteName?: string | undefined;
1701
+ limit?: number | undefined;
1702
+ query?: string | undefined;
1703
+ }>;
1666
1704
  export declare const CheckoutPrFailureLogsRequestSchema: z.ZodObject<{
1667
1705
  type: z.ZodLiteral<"checkout_pr_failure_logs_request">;
1668
1706
  cwd: z.ZodString;
@@ -2769,6 +2807,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2769
2807
  newBranchName: z.ZodOptional<z.ZodString>;
2770
2808
  createWorktree: z.ZodOptional<z.ZodBoolean>;
2771
2809
  worktreeSlug: z.ZodOptional<z.ZodString>;
2810
+ attachBranchName: z.ZodOptional<z.ZodString>;
2811
+ attachBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
2772
2812
  }, "strip", z.ZodTypeAny, {
2773
2813
  baseBranch?: string | undefined;
2774
2814
  baseBranchSource?: "local" | "remote" | undefined;
@@ -2777,6 +2817,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2777
2817
  createNewBranch?: boolean | undefined;
2778
2818
  newBranchName?: string | undefined;
2779
2819
  createWorktree?: boolean | undefined;
2820
+ attachBranchName?: string | undefined;
2821
+ attachBranchSource?: "local" | "remote" | undefined;
2780
2822
  }, {
2781
2823
  baseBranch?: string | undefined;
2782
2824
  baseBranchSource?: "local" | "remote" | undefined;
@@ -2785,6 +2827,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2785
2827
  createNewBranch?: boolean | undefined;
2786
2828
  newBranchName?: string | undefined;
2787
2829
  createWorktree?: boolean | undefined;
2830
+ attachBranchName?: string | undefined;
2831
+ attachBranchSource?: "local" | "remote" | undefined;
2788
2832
  }>>;
2789
2833
  bootstrapSetupOverride: z.ZodOptional<z.ZodType<BootstrapSetupOverride, z.ZodTypeDef, BootstrapSetupOverride>>;
2790
2834
  generalPreferencesApplied: z.ZodOptional<z.ZodBoolean>;
@@ -2849,6 +2893,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2849
2893
  createNewBranch?: boolean | undefined;
2850
2894
  newBranchName?: string | undefined;
2851
2895
  createWorktree?: boolean | undefined;
2896
+ attachBranchName?: string | undefined;
2897
+ attachBranchSource?: "local" | "remote" | undefined;
2852
2898
  } | undefined;
2853
2899
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
2854
2900
  }, {
@@ -2910,6 +2956,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2910
2956
  createNewBranch?: boolean | undefined;
2911
2957
  newBranchName?: string | undefined;
2912
2958
  createWorktree?: boolean | undefined;
2959
+ attachBranchName?: string | undefined;
2960
+ attachBranchSource?: "local" | "remote" | undefined;
2913
2961
  } | undefined;
2914
2962
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
2915
2963
  }>, z.ZodObject<{
@@ -3457,6 +3505,27 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
3457
3505
  type: "checkout_pr_status_request";
3458
3506
  requestId: string;
3459
3507
  remoteName?: string | undefined;
3508
+ }>, z.ZodObject<{
3509
+ type: z.ZodLiteral<"checkout_pr_search_request">;
3510
+ cwd: z.ZodString;
3511
+ query: z.ZodOptional<z.ZodString>;
3512
+ limit: z.ZodOptional<z.ZodNumber>;
3513
+ remoteName: z.ZodOptional<z.ZodString>;
3514
+ requestId: z.ZodString;
3515
+ }, "strip", z.ZodTypeAny, {
3516
+ cwd: string;
3517
+ type: "checkout_pr_search_request";
3518
+ requestId: string;
3519
+ remoteName?: string | undefined;
3520
+ limit?: number | undefined;
3521
+ query?: string | undefined;
3522
+ }, {
3523
+ cwd: string;
3524
+ type: "checkout_pr_search_request";
3525
+ requestId: string;
3526
+ remoteName?: string | undefined;
3527
+ limit?: number | undefined;
3528
+ query?: string | undefined;
3460
3529
  }>, z.ZodObject<{
3461
3530
  type: z.ZodLiteral<"checkout_pr_failure_logs_request">;
3462
3531
  cwd: z.ZodString;
@@ -9572,6 +9641,130 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
9572
9641
  githubFeaturesEnabled: boolean;
9573
9642
  };
9574
9643
  }>;
9644
+ export declare const CheckoutPrSearchResponseSchema: z.ZodObject<{
9645
+ type: z.ZodLiteral<"checkout_pr_search_response">;
9646
+ payload: z.ZodObject<{
9647
+ cwd: z.ZodString;
9648
+ pullRequests: z.ZodArray<z.ZodObject<{
9649
+ number: z.ZodNumber;
9650
+ title: z.ZodString;
9651
+ authorLogin: z.ZodNullable<z.ZodString>;
9652
+ url: z.ZodString;
9653
+ headRefName: z.ZodString;
9654
+ baseRefName: z.ZodString;
9655
+ isDraft: z.ZodBoolean;
9656
+ state: z.ZodEnum<["open", "closed", "merged"]>;
9657
+ }, "strip", z.ZodTypeAny, {
9658
+ number: number;
9659
+ title: string;
9660
+ url: string;
9661
+ state: "closed" | "open" | "merged";
9662
+ baseRefName: string;
9663
+ headRefName: string;
9664
+ authorLogin: string | null;
9665
+ isDraft: boolean;
9666
+ }, {
9667
+ number: number;
9668
+ title: string;
9669
+ url: string;
9670
+ state: "closed" | "open" | "merged";
9671
+ baseRefName: string;
9672
+ headRefName: string;
9673
+ authorLogin: string | null;
9674
+ isDraft: boolean;
9675
+ }>, "many">;
9676
+ githubFeaturesEnabled: z.ZodBoolean;
9677
+ error: z.ZodNullable<z.ZodObject<{
9678
+ code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
9679
+ message: z.ZodString;
9680
+ }, "strip", z.ZodTypeAny, {
9681
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
9682
+ message: string;
9683
+ }, {
9684
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
9685
+ message: string;
9686
+ }>>;
9687
+ requestId: z.ZodString;
9688
+ }, "strip", z.ZodTypeAny, {
9689
+ error: {
9690
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
9691
+ message: string;
9692
+ } | null;
9693
+ cwd: string;
9694
+ requestId: string;
9695
+ githubFeaturesEnabled: boolean;
9696
+ pullRequests: {
9697
+ number: number;
9698
+ title: string;
9699
+ url: string;
9700
+ state: "closed" | "open" | "merged";
9701
+ baseRefName: string;
9702
+ headRefName: string;
9703
+ authorLogin: string | null;
9704
+ isDraft: boolean;
9705
+ }[];
9706
+ }, {
9707
+ error: {
9708
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
9709
+ message: string;
9710
+ } | null;
9711
+ cwd: string;
9712
+ requestId: string;
9713
+ githubFeaturesEnabled: boolean;
9714
+ pullRequests: {
9715
+ number: number;
9716
+ title: string;
9717
+ url: string;
9718
+ state: "closed" | "open" | "merged";
9719
+ baseRefName: string;
9720
+ headRefName: string;
9721
+ authorLogin: string | null;
9722
+ isDraft: boolean;
9723
+ }[];
9724
+ }>;
9725
+ }, "strip", z.ZodTypeAny, {
9726
+ type: "checkout_pr_search_response";
9727
+ payload: {
9728
+ error: {
9729
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
9730
+ message: string;
9731
+ } | null;
9732
+ cwd: string;
9733
+ requestId: string;
9734
+ githubFeaturesEnabled: boolean;
9735
+ pullRequests: {
9736
+ number: number;
9737
+ title: string;
9738
+ url: string;
9739
+ state: "closed" | "open" | "merged";
9740
+ baseRefName: string;
9741
+ headRefName: string;
9742
+ authorLogin: string | null;
9743
+ isDraft: boolean;
9744
+ }[];
9745
+ };
9746
+ }, {
9747
+ type: "checkout_pr_search_response";
9748
+ payload: {
9749
+ error: {
9750
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
9751
+ message: string;
9752
+ } | null;
9753
+ cwd: string;
9754
+ requestId: string;
9755
+ githubFeaturesEnabled: boolean;
9756
+ pullRequests: {
9757
+ number: number;
9758
+ title: string;
9759
+ url: string;
9760
+ state: "closed" | "open" | "merged";
9761
+ baseRefName: string;
9762
+ headRefName: string;
9763
+ authorLogin: string | null;
9764
+ isDraft: boolean;
9765
+ }[];
9766
+ };
9767
+ }>;
9575
9768
  export declare const CheckoutPrFailureLogsResponseSchema: z.ZodObject<{
9576
9769
  type: z.ZodLiteral<"checkout_pr_failure_logs_response">;
9577
9770
  payload: z.ZodObject<{
@@ -16621,6 +16814,129 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
16621
16814
  requestId: string;
16622
16815
  githubFeaturesEnabled: boolean;
16623
16816
  };
16817
+ }>, z.ZodObject<{
16818
+ type: z.ZodLiteral<"checkout_pr_search_response">;
16819
+ payload: z.ZodObject<{
16820
+ cwd: z.ZodString;
16821
+ pullRequests: z.ZodArray<z.ZodObject<{
16822
+ number: z.ZodNumber;
16823
+ title: z.ZodString;
16824
+ authorLogin: z.ZodNullable<z.ZodString>;
16825
+ url: z.ZodString;
16826
+ headRefName: z.ZodString;
16827
+ baseRefName: z.ZodString;
16828
+ isDraft: z.ZodBoolean;
16829
+ state: z.ZodEnum<["open", "closed", "merged"]>;
16830
+ }, "strip", z.ZodTypeAny, {
16831
+ number: number;
16832
+ title: string;
16833
+ url: string;
16834
+ state: "closed" | "open" | "merged";
16835
+ baseRefName: string;
16836
+ headRefName: string;
16837
+ authorLogin: string | null;
16838
+ isDraft: boolean;
16839
+ }, {
16840
+ number: number;
16841
+ title: string;
16842
+ url: string;
16843
+ state: "closed" | "open" | "merged";
16844
+ baseRefName: string;
16845
+ headRefName: string;
16846
+ authorLogin: string | null;
16847
+ isDraft: boolean;
16848
+ }>, "many">;
16849
+ githubFeaturesEnabled: z.ZodBoolean;
16850
+ error: z.ZodNullable<z.ZodObject<{
16851
+ code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
16852
+ message: z.ZodString;
16853
+ }, "strip", z.ZodTypeAny, {
16854
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
16855
+ message: string;
16856
+ }, {
16857
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
16858
+ message: string;
16859
+ }>>;
16860
+ requestId: z.ZodString;
16861
+ }, "strip", z.ZodTypeAny, {
16862
+ error: {
16863
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
16864
+ message: string;
16865
+ } | null;
16866
+ cwd: string;
16867
+ requestId: string;
16868
+ githubFeaturesEnabled: boolean;
16869
+ pullRequests: {
16870
+ number: number;
16871
+ title: string;
16872
+ url: string;
16873
+ state: "closed" | "open" | "merged";
16874
+ baseRefName: string;
16875
+ headRefName: string;
16876
+ authorLogin: string | null;
16877
+ isDraft: boolean;
16878
+ }[];
16879
+ }, {
16880
+ error: {
16881
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
16882
+ message: string;
16883
+ } | null;
16884
+ cwd: string;
16885
+ requestId: string;
16886
+ githubFeaturesEnabled: boolean;
16887
+ pullRequests: {
16888
+ number: number;
16889
+ title: string;
16890
+ url: string;
16891
+ state: "closed" | "open" | "merged";
16892
+ baseRefName: string;
16893
+ headRefName: string;
16894
+ authorLogin: string | null;
16895
+ isDraft: boolean;
16896
+ }[];
16897
+ }>;
16898
+ }, "strip", z.ZodTypeAny, {
16899
+ type: "checkout_pr_search_response";
16900
+ payload: {
16901
+ error: {
16902
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
16903
+ message: string;
16904
+ } | null;
16905
+ cwd: string;
16906
+ requestId: string;
16907
+ githubFeaturesEnabled: boolean;
16908
+ pullRequests: {
16909
+ number: number;
16910
+ title: string;
16911
+ url: string;
16912
+ state: "closed" | "open" | "merged";
16913
+ baseRefName: string;
16914
+ headRefName: string;
16915
+ authorLogin: string | null;
16916
+ isDraft: boolean;
16917
+ }[];
16918
+ };
16919
+ }, {
16920
+ type: "checkout_pr_search_response";
16921
+ payload: {
16922
+ error: {
16923
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
16924
+ message: string;
16925
+ } | null;
16926
+ cwd: string;
16927
+ requestId: string;
16928
+ githubFeaturesEnabled: boolean;
16929
+ pullRequests: {
16930
+ number: number;
16931
+ title: string;
16932
+ url: string;
16933
+ state: "closed" | "open" | "merged";
16934
+ baseRefName: string;
16935
+ headRefName: string;
16936
+ authorLogin: string | null;
16937
+ isDraft: boolean;
16938
+ }[];
16939
+ };
16624
16940
  }>, z.ZodObject<{
16625
16941
  type: z.ZodLiteral<"checkout_pr_failure_logs_response">;
16626
16942
  payload: z.ZodObject<{
@@ -19331,6 +19647,8 @@ export type CheckoutPrCreateRequest = z.infer<typeof CheckoutPrCreateRequestSche
19331
19647
  export type CheckoutPrCreateResponse = z.infer<typeof CheckoutPrCreateResponseSchema>;
19332
19648
  export type CheckoutPrStatusRequest = z.infer<typeof CheckoutPrStatusRequestSchema>;
19333
19649
  export type CheckoutPrStatusResponse = z.infer<typeof CheckoutPrStatusResponseSchema>;
19650
+ export type CheckoutPrSearchRequest = z.infer<typeof CheckoutPrSearchRequestSchema>;
19651
+ export type CheckoutPrSearchResponse = z.infer<typeof CheckoutPrSearchResponseSchema>;
19334
19652
  export type CheckoutPrFailureLogsRequest = z.infer<typeof CheckoutPrFailureLogsRequestSchema>;
19335
19653
  export type CheckoutPrFailureLogsResponse = z.infer<typeof CheckoutPrFailureLogsResponseSchema>;
19336
19654
  export type CheckoutPrMergeRequest = z.infer<typeof CheckoutPrMergeRequestSchema>;
@@ -19900,6 +20218,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19900
20218
  newBranchName: z.ZodOptional<z.ZodString>;
19901
20219
  createWorktree: z.ZodOptional<z.ZodBoolean>;
19902
20220
  worktreeSlug: z.ZodOptional<z.ZodString>;
20221
+ attachBranchName: z.ZodOptional<z.ZodString>;
20222
+ attachBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
19903
20223
  }, "strip", z.ZodTypeAny, {
19904
20224
  baseBranch?: string | undefined;
19905
20225
  baseBranchSource?: "local" | "remote" | undefined;
@@ -19908,6 +20228,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19908
20228
  createNewBranch?: boolean | undefined;
19909
20229
  newBranchName?: string | undefined;
19910
20230
  createWorktree?: boolean | undefined;
20231
+ attachBranchName?: string | undefined;
20232
+ attachBranchSource?: "local" | "remote" | undefined;
19911
20233
  }, {
19912
20234
  baseBranch?: string | undefined;
19913
20235
  baseBranchSource?: "local" | "remote" | undefined;
@@ -19916,6 +20238,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19916
20238
  createNewBranch?: boolean | undefined;
19917
20239
  newBranchName?: string | undefined;
19918
20240
  createWorktree?: boolean | undefined;
20241
+ attachBranchName?: string | undefined;
20242
+ attachBranchSource?: "local" | "remote" | undefined;
19919
20243
  }>>;
19920
20244
  bootstrapSetupOverride: z.ZodOptional<z.ZodType<BootstrapSetupOverride, z.ZodTypeDef, BootstrapSetupOverride>>;
19921
20245
  generalPreferencesApplied: z.ZodOptional<z.ZodBoolean>;
@@ -19980,6 +20304,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19980
20304
  createNewBranch?: boolean | undefined;
19981
20305
  newBranchName?: string | undefined;
19982
20306
  createWorktree?: boolean | undefined;
20307
+ attachBranchName?: string | undefined;
20308
+ attachBranchSource?: "local" | "remote" | undefined;
19983
20309
  } | undefined;
19984
20310
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
19985
20311
  }, {
@@ -20041,6 +20367,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20041
20367
  createNewBranch?: boolean | undefined;
20042
20368
  newBranchName?: string | undefined;
20043
20369
  createWorktree?: boolean | undefined;
20370
+ attachBranchName?: string | undefined;
20371
+ attachBranchSource?: "local" | "remote" | undefined;
20044
20372
  } | undefined;
20045
20373
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
20046
20374
  }>, z.ZodObject<{
@@ -20588,6 +20916,27 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20588
20916
  type: "checkout_pr_status_request";
20589
20917
  requestId: string;
20590
20918
  remoteName?: string | undefined;
20919
+ }>, z.ZodObject<{
20920
+ type: z.ZodLiteral<"checkout_pr_search_request">;
20921
+ cwd: z.ZodString;
20922
+ query: z.ZodOptional<z.ZodString>;
20923
+ limit: z.ZodOptional<z.ZodNumber>;
20924
+ remoteName: z.ZodOptional<z.ZodString>;
20925
+ requestId: z.ZodString;
20926
+ }, "strip", z.ZodTypeAny, {
20927
+ cwd: string;
20928
+ type: "checkout_pr_search_request";
20929
+ requestId: string;
20930
+ remoteName?: string | undefined;
20931
+ limit?: number | undefined;
20932
+ query?: string | undefined;
20933
+ }, {
20934
+ cwd: string;
20935
+ type: "checkout_pr_search_request";
20936
+ requestId: string;
20937
+ remoteName?: string | undefined;
20938
+ limit?: number | undefined;
20939
+ query?: string | undefined;
20591
20940
  }>, z.ZodObject<{
20592
20941
  type: z.ZodLiteral<"checkout_pr_failure_logs_request">;
20593
20942
  cwd: z.ZodString;
@@ -21341,6 +21690,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21341
21690
  createNewBranch?: boolean | undefined;
21342
21691
  newBranchName?: string | undefined;
21343
21692
  createWorktree?: boolean | undefined;
21693
+ attachBranchName?: string | undefined;
21694
+ attachBranchSource?: "local" | "remote" | undefined;
21344
21695
  } | undefined;
21345
21696
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
21346
21697
  } | {
@@ -21490,6 +21841,13 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21490
21841
  type: "checkout_pr_status_request";
21491
21842
  requestId: string;
21492
21843
  remoteName?: string | undefined;
21844
+ } | {
21845
+ cwd: string;
21846
+ type: "checkout_pr_search_request";
21847
+ requestId: string;
21848
+ remoteName?: string | undefined;
21849
+ limit?: number | undefined;
21850
+ query?: string | undefined;
21493
21851
  } | {
21494
21852
  cwd: string;
21495
21853
  type: "checkout_pr_failure_logs_request";
@@ -21816,6 +22174,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21816
22174
  createNewBranch?: boolean | undefined;
21817
22175
  newBranchName?: string | undefined;
21818
22176
  createWorktree?: boolean | undefined;
22177
+ attachBranchName?: string | undefined;
22178
+ attachBranchSource?: "local" | "remote" | undefined;
21819
22179
  } | undefined;
21820
22180
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
21821
22181
  } | {
@@ -21965,6 +22325,13 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21965
22325
  type: "checkout_pr_status_request";
21966
22326
  requestId: string;
21967
22327
  remoteName?: string | undefined;
22328
+ } | {
22329
+ cwd: string;
22330
+ type: "checkout_pr_search_request";
22331
+ requestId: string;
22332
+ remoteName?: string | undefined;
22333
+ limit?: number | undefined;
22334
+ query?: string | undefined;
21968
22335
  } | {
21969
22336
  cwd: string;
21970
22337
  type: "checkout_pr_failure_logs_request";
@@ -26534,6 +26901,129 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26534
26901
  requestId: string;
26535
26902
  githubFeaturesEnabled: boolean;
26536
26903
  };
26904
+ }>, z.ZodObject<{
26905
+ type: z.ZodLiteral<"checkout_pr_search_response">;
26906
+ payload: z.ZodObject<{
26907
+ cwd: z.ZodString;
26908
+ pullRequests: z.ZodArray<z.ZodObject<{
26909
+ number: z.ZodNumber;
26910
+ title: z.ZodString;
26911
+ authorLogin: z.ZodNullable<z.ZodString>;
26912
+ url: z.ZodString;
26913
+ headRefName: z.ZodString;
26914
+ baseRefName: z.ZodString;
26915
+ isDraft: z.ZodBoolean;
26916
+ state: z.ZodEnum<["open", "closed", "merged"]>;
26917
+ }, "strip", z.ZodTypeAny, {
26918
+ number: number;
26919
+ title: string;
26920
+ url: string;
26921
+ state: "closed" | "open" | "merged";
26922
+ baseRefName: string;
26923
+ headRefName: string;
26924
+ authorLogin: string | null;
26925
+ isDraft: boolean;
26926
+ }, {
26927
+ number: number;
26928
+ title: string;
26929
+ url: string;
26930
+ state: "closed" | "open" | "merged";
26931
+ baseRefName: string;
26932
+ headRefName: string;
26933
+ authorLogin: string | null;
26934
+ isDraft: boolean;
26935
+ }>, "many">;
26936
+ githubFeaturesEnabled: z.ZodBoolean;
26937
+ error: z.ZodNullable<z.ZodObject<{
26938
+ code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
26939
+ message: z.ZodString;
26940
+ }, "strip", z.ZodTypeAny, {
26941
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
26942
+ message: string;
26943
+ }, {
26944
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
26945
+ message: string;
26946
+ }>>;
26947
+ requestId: z.ZodString;
26948
+ }, "strip", z.ZodTypeAny, {
26949
+ error: {
26950
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
26951
+ message: string;
26952
+ } | null;
26953
+ cwd: string;
26954
+ requestId: string;
26955
+ githubFeaturesEnabled: boolean;
26956
+ pullRequests: {
26957
+ number: number;
26958
+ title: string;
26959
+ url: string;
26960
+ state: "closed" | "open" | "merged";
26961
+ baseRefName: string;
26962
+ headRefName: string;
26963
+ authorLogin: string | null;
26964
+ isDraft: boolean;
26965
+ }[];
26966
+ }, {
26967
+ error: {
26968
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
26969
+ message: string;
26970
+ } | null;
26971
+ cwd: string;
26972
+ requestId: string;
26973
+ githubFeaturesEnabled: boolean;
26974
+ pullRequests: {
26975
+ number: number;
26976
+ title: string;
26977
+ url: string;
26978
+ state: "closed" | "open" | "merged";
26979
+ baseRefName: string;
26980
+ headRefName: string;
26981
+ authorLogin: string | null;
26982
+ isDraft: boolean;
26983
+ }[];
26984
+ }>;
26985
+ }, "strip", z.ZodTypeAny, {
26986
+ type: "checkout_pr_search_response";
26987
+ payload: {
26988
+ error: {
26989
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
26990
+ message: string;
26991
+ } | null;
26992
+ cwd: string;
26993
+ requestId: string;
26994
+ githubFeaturesEnabled: boolean;
26995
+ pullRequests: {
26996
+ number: number;
26997
+ title: string;
26998
+ url: string;
26999
+ state: "closed" | "open" | "merged";
27000
+ baseRefName: string;
27001
+ headRefName: string;
27002
+ authorLogin: string | null;
27003
+ isDraft: boolean;
27004
+ }[];
27005
+ };
27006
+ }, {
27007
+ type: "checkout_pr_search_response";
27008
+ payload: {
27009
+ error: {
27010
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
27011
+ message: string;
27012
+ } | null;
27013
+ cwd: string;
27014
+ requestId: string;
27015
+ githubFeaturesEnabled: boolean;
27016
+ pullRequests: {
27017
+ number: number;
27018
+ title: string;
27019
+ url: string;
27020
+ state: "closed" | "open" | "merged";
27021
+ baseRefName: string;
27022
+ headRefName: string;
27023
+ authorLogin: string | null;
27024
+ isDraft: boolean;
27025
+ }[];
27026
+ };
26537
27027
  }>, z.ZodObject<{
26538
27028
  type: z.ZodLiteral<"checkout_pr_failure_logs_response">;
26539
27029
  payload: z.ZodObject<{
@@ -29866,6 +30356,27 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29866
30356
  requestId: string;
29867
30357
  githubFeaturesEnabled: boolean;
29868
30358
  };
30359
+ } | {
30360
+ type: "checkout_pr_search_response";
30361
+ payload: {
30362
+ error: {
30363
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
30364
+ message: string;
30365
+ } | null;
30366
+ cwd: string;
30367
+ requestId: string;
30368
+ githubFeaturesEnabled: boolean;
30369
+ pullRequests: {
30370
+ number: number;
30371
+ title: string;
30372
+ url: string;
30373
+ state: "closed" | "open" | "merged";
30374
+ baseRefName: string;
30375
+ headRefName: string;
30376
+ authorLogin: string | null;
30377
+ isDraft: boolean;
30378
+ }[];
30379
+ };
29869
30380
  } | {
29870
30381
  type: "checkout_pr_failure_logs_response";
29871
30382
  payload: {
@@ -31029,6 +31540,27 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
31029
31540
  requestId: string;
31030
31541
  githubFeaturesEnabled: boolean;
31031
31542
  };
31543
+ } | {
31544
+ type: "checkout_pr_search_response";
31545
+ payload: {
31546
+ error: {
31547
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
31548
+ message: string;
31549
+ } | null;
31550
+ cwd: string;
31551
+ requestId: string;
31552
+ githubFeaturesEnabled: boolean;
31553
+ pullRequests: {
31554
+ number: number;
31555
+ title: string;
31556
+ url: string;
31557
+ state: "closed" | "open" | "merged";
31558
+ baseRefName: string;
31559
+ headRefName: string;
31560
+ authorLogin: string | null;
31561
+ isDraft: boolean;
31562
+ }[];
31563
+ };
31032
31564
  } | {
31033
31565
  type: "checkout_pr_failure_logs_response";
31034
31566
  payload: {
@@ -31976,6 +32508,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31976
32508
  newBranchName: z.ZodOptional<z.ZodString>;
31977
32509
  createWorktree: z.ZodOptional<z.ZodBoolean>;
31978
32510
  worktreeSlug: z.ZodOptional<z.ZodString>;
32511
+ attachBranchName: z.ZodOptional<z.ZodString>;
32512
+ attachBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
31979
32513
  }, "strip", z.ZodTypeAny, {
31980
32514
  baseBranch?: string | undefined;
31981
32515
  baseBranchSource?: "local" | "remote" | undefined;
@@ -31984,6 +32518,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31984
32518
  createNewBranch?: boolean | undefined;
31985
32519
  newBranchName?: string | undefined;
31986
32520
  createWorktree?: boolean | undefined;
32521
+ attachBranchName?: string | undefined;
32522
+ attachBranchSource?: "local" | "remote" | undefined;
31987
32523
  }, {
31988
32524
  baseBranch?: string | undefined;
31989
32525
  baseBranchSource?: "local" | "remote" | undefined;
@@ -31992,6 +32528,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31992
32528
  createNewBranch?: boolean | undefined;
31993
32529
  newBranchName?: string | undefined;
31994
32530
  createWorktree?: boolean | undefined;
32531
+ attachBranchName?: string | undefined;
32532
+ attachBranchSource?: "local" | "remote" | undefined;
31995
32533
  }>>;
31996
32534
  bootstrapSetupOverride: z.ZodOptional<z.ZodType<BootstrapSetupOverride, z.ZodTypeDef, BootstrapSetupOverride>>;
31997
32535
  generalPreferencesApplied: z.ZodOptional<z.ZodBoolean>;
@@ -32056,6 +32594,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32056
32594
  createNewBranch?: boolean | undefined;
32057
32595
  newBranchName?: string | undefined;
32058
32596
  createWorktree?: boolean | undefined;
32597
+ attachBranchName?: string | undefined;
32598
+ attachBranchSource?: "local" | "remote" | undefined;
32059
32599
  } | undefined;
32060
32600
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
32061
32601
  }, {
@@ -32117,6 +32657,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32117
32657
  createNewBranch?: boolean | undefined;
32118
32658
  newBranchName?: string | undefined;
32119
32659
  createWorktree?: boolean | undefined;
32660
+ attachBranchName?: string | undefined;
32661
+ attachBranchSource?: "local" | "remote" | undefined;
32120
32662
  } | undefined;
32121
32663
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
32122
32664
  }>, z.ZodObject<{
@@ -32664,6 +33206,27 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32664
33206
  type: "checkout_pr_status_request";
32665
33207
  requestId: string;
32666
33208
  remoteName?: string | undefined;
33209
+ }>, z.ZodObject<{
33210
+ type: z.ZodLiteral<"checkout_pr_search_request">;
33211
+ cwd: z.ZodString;
33212
+ query: z.ZodOptional<z.ZodString>;
33213
+ limit: z.ZodOptional<z.ZodNumber>;
33214
+ remoteName: z.ZodOptional<z.ZodString>;
33215
+ requestId: z.ZodString;
33216
+ }, "strip", z.ZodTypeAny, {
33217
+ cwd: string;
33218
+ type: "checkout_pr_search_request";
33219
+ requestId: string;
33220
+ remoteName?: string | undefined;
33221
+ limit?: number | undefined;
33222
+ query?: string | undefined;
33223
+ }, {
33224
+ cwd: string;
33225
+ type: "checkout_pr_search_request";
33226
+ requestId: string;
33227
+ remoteName?: string | undefined;
33228
+ limit?: number | undefined;
33229
+ query?: string | undefined;
32667
33230
  }>, z.ZodObject<{
32668
33231
  type: z.ZodLiteral<"checkout_pr_failure_logs_request">;
32669
33232
  cwd: z.ZodString;
@@ -33417,6 +33980,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33417
33980
  createNewBranch?: boolean | undefined;
33418
33981
  newBranchName?: string | undefined;
33419
33982
  createWorktree?: boolean | undefined;
33983
+ attachBranchName?: string | undefined;
33984
+ attachBranchSource?: "local" | "remote" | undefined;
33420
33985
  } | undefined;
33421
33986
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
33422
33987
  } | {
@@ -33566,6 +34131,13 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33566
34131
  type: "checkout_pr_status_request";
33567
34132
  requestId: string;
33568
34133
  remoteName?: string | undefined;
34134
+ } | {
34135
+ cwd: string;
34136
+ type: "checkout_pr_search_request";
34137
+ requestId: string;
34138
+ remoteName?: string | undefined;
34139
+ limit?: number | undefined;
34140
+ query?: string | undefined;
33569
34141
  } | {
33570
34142
  cwd: string;
33571
34143
  type: "checkout_pr_failure_logs_request";
@@ -33892,6 +34464,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33892
34464
  createNewBranch?: boolean | undefined;
33893
34465
  newBranchName?: string | undefined;
33894
34466
  createWorktree?: boolean | undefined;
34467
+ attachBranchName?: string | undefined;
34468
+ attachBranchSource?: "local" | "remote" | undefined;
33895
34469
  } | undefined;
33896
34470
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
33897
34471
  } | {
@@ -34041,6 +34615,13 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
34041
34615
  type: "checkout_pr_status_request";
34042
34616
  requestId: string;
34043
34617
  remoteName?: string | undefined;
34618
+ } | {
34619
+ cwd: string;
34620
+ type: "checkout_pr_search_request";
34621
+ requestId: string;
34622
+ remoteName?: string | undefined;
34623
+ limit?: number | undefined;
34624
+ query?: string | undefined;
34044
34625
  } | {
34045
34626
  cwd: string;
34046
34627
  type: "checkout_pr_failure_logs_request";
@@ -38637,6 +39218,129 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
38637
39218
  requestId: string;
38638
39219
  githubFeaturesEnabled: boolean;
38639
39220
  };
39221
+ }>, z.ZodObject<{
39222
+ type: z.ZodLiteral<"checkout_pr_search_response">;
39223
+ payload: z.ZodObject<{
39224
+ cwd: z.ZodString;
39225
+ pullRequests: z.ZodArray<z.ZodObject<{
39226
+ number: z.ZodNumber;
39227
+ title: z.ZodString;
39228
+ authorLogin: z.ZodNullable<z.ZodString>;
39229
+ url: z.ZodString;
39230
+ headRefName: z.ZodString;
39231
+ baseRefName: z.ZodString;
39232
+ isDraft: z.ZodBoolean;
39233
+ state: z.ZodEnum<["open", "closed", "merged"]>;
39234
+ }, "strip", z.ZodTypeAny, {
39235
+ number: number;
39236
+ title: string;
39237
+ url: string;
39238
+ state: "closed" | "open" | "merged";
39239
+ baseRefName: string;
39240
+ headRefName: string;
39241
+ authorLogin: string | null;
39242
+ isDraft: boolean;
39243
+ }, {
39244
+ number: number;
39245
+ title: string;
39246
+ url: string;
39247
+ state: "closed" | "open" | "merged";
39248
+ baseRefName: string;
39249
+ headRefName: string;
39250
+ authorLogin: string | null;
39251
+ isDraft: boolean;
39252
+ }>, "many">;
39253
+ githubFeaturesEnabled: z.ZodBoolean;
39254
+ error: z.ZodNullable<z.ZodObject<{
39255
+ code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
39256
+ message: z.ZodString;
39257
+ }, "strip", z.ZodTypeAny, {
39258
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
39259
+ message: string;
39260
+ }, {
39261
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
39262
+ message: string;
39263
+ }>>;
39264
+ requestId: z.ZodString;
39265
+ }, "strip", z.ZodTypeAny, {
39266
+ error: {
39267
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
39268
+ message: string;
39269
+ } | null;
39270
+ cwd: string;
39271
+ requestId: string;
39272
+ githubFeaturesEnabled: boolean;
39273
+ pullRequests: {
39274
+ number: number;
39275
+ title: string;
39276
+ url: string;
39277
+ state: "closed" | "open" | "merged";
39278
+ baseRefName: string;
39279
+ headRefName: string;
39280
+ authorLogin: string | null;
39281
+ isDraft: boolean;
39282
+ }[];
39283
+ }, {
39284
+ error: {
39285
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
39286
+ message: string;
39287
+ } | null;
39288
+ cwd: string;
39289
+ requestId: string;
39290
+ githubFeaturesEnabled: boolean;
39291
+ pullRequests: {
39292
+ number: number;
39293
+ title: string;
39294
+ url: string;
39295
+ state: "closed" | "open" | "merged";
39296
+ baseRefName: string;
39297
+ headRefName: string;
39298
+ authorLogin: string | null;
39299
+ isDraft: boolean;
39300
+ }[];
39301
+ }>;
39302
+ }, "strip", z.ZodTypeAny, {
39303
+ type: "checkout_pr_search_response";
39304
+ payload: {
39305
+ error: {
39306
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
39307
+ message: string;
39308
+ } | null;
39309
+ cwd: string;
39310
+ requestId: string;
39311
+ githubFeaturesEnabled: boolean;
39312
+ pullRequests: {
39313
+ number: number;
39314
+ title: string;
39315
+ url: string;
39316
+ state: "closed" | "open" | "merged";
39317
+ baseRefName: string;
39318
+ headRefName: string;
39319
+ authorLogin: string | null;
39320
+ isDraft: boolean;
39321
+ }[];
39322
+ };
39323
+ }, {
39324
+ type: "checkout_pr_search_response";
39325
+ payload: {
39326
+ error: {
39327
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
39328
+ message: string;
39329
+ } | null;
39330
+ cwd: string;
39331
+ requestId: string;
39332
+ githubFeaturesEnabled: boolean;
39333
+ pullRequests: {
39334
+ number: number;
39335
+ title: string;
39336
+ url: string;
39337
+ state: "closed" | "open" | "merged";
39338
+ baseRefName: string;
39339
+ headRefName: string;
39340
+ authorLogin: string | null;
39341
+ isDraft: boolean;
39342
+ }[];
39343
+ };
38640
39344
  }>, z.ZodObject<{
38641
39345
  type: z.ZodLiteral<"checkout_pr_failure_logs_response">;
38642
39346
  payload: z.ZodObject<{
@@ -41969,6 +42673,27 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41969
42673
  requestId: string;
41970
42674
  githubFeaturesEnabled: boolean;
41971
42675
  };
42676
+ } | {
42677
+ type: "checkout_pr_search_response";
42678
+ payload: {
42679
+ error: {
42680
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
42681
+ message: string;
42682
+ } | null;
42683
+ cwd: string;
42684
+ requestId: string;
42685
+ githubFeaturesEnabled: boolean;
42686
+ pullRequests: {
42687
+ number: number;
42688
+ title: string;
42689
+ url: string;
42690
+ state: "closed" | "open" | "merged";
42691
+ baseRefName: string;
42692
+ headRefName: string;
42693
+ authorLogin: string | null;
42694
+ isDraft: boolean;
42695
+ }[];
42696
+ };
41972
42697
  } | {
41973
42698
  type: "checkout_pr_failure_logs_response";
41974
42699
  payload: {
@@ -43132,6 +43857,27 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
43132
43857
  requestId: string;
43133
43858
  githubFeaturesEnabled: boolean;
43134
43859
  };
43860
+ } | {
43861
+ type: "checkout_pr_search_response";
43862
+ payload: {
43863
+ error: {
43864
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
43865
+ message: string;
43866
+ } | null;
43867
+ cwd: string;
43868
+ requestId: string;
43869
+ githubFeaturesEnabled: boolean;
43870
+ pullRequests: {
43871
+ number: number;
43872
+ title: string;
43873
+ url: string;
43874
+ state: "closed" | "open" | "merged";
43875
+ baseRefName: string;
43876
+ headRefName: string;
43877
+ authorLogin: string | null;
43878
+ isDraft: boolean;
43879
+ }[];
43880
+ };
43135
43881
  } | {
43136
43882
  type: "checkout_pr_failure_logs_response";
43137
43883
  payload: {