@junctionpanel/server 0.1.38 → 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;
@@ -2062,6 +2100,19 @@ export declare const GetDaemonProviderSettingsRequestSchema: z.ZodObject<{
2062
2100
  type: "get_daemon_provider_settings_request";
2063
2101
  requestId: string;
2064
2102
  }>;
2103
+ export declare const GetDaemonLogTailRequestSchema: z.ZodObject<{
2104
+ type: z.ZodLiteral<"get_daemon_log_tail_request">;
2105
+ lines: z.ZodOptional<z.ZodNumber>;
2106
+ requestId: z.ZodString;
2107
+ }, "strip", z.ZodTypeAny, {
2108
+ type: "get_daemon_log_tail_request";
2109
+ requestId: string;
2110
+ lines?: number | undefined;
2111
+ }, {
2112
+ type: "get_daemon_log_tail_request";
2113
+ requestId: string;
2114
+ lines?: number | undefined;
2115
+ }>;
2065
2116
  export declare const UpdateDaemonProviderSettingsRequestSchema: z.ZodObject<{
2066
2117
  type: z.ZodLiteral<"update_daemon_provider_settings_request">;
2067
2118
  provider: z.ZodEnum<["claude", "codex", "gemini"]>;
@@ -2756,6 +2807,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2756
2807
  newBranchName: z.ZodOptional<z.ZodString>;
2757
2808
  createWorktree: z.ZodOptional<z.ZodBoolean>;
2758
2809
  worktreeSlug: z.ZodOptional<z.ZodString>;
2810
+ attachBranchName: z.ZodOptional<z.ZodString>;
2811
+ attachBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
2759
2812
  }, "strip", z.ZodTypeAny, {
2760
2813
  baseBranch?: string | undefined;
2761
2814
  baseBranchSource?: "local" | "remote" | undefined;
@@ -2764,6 +2817,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2764
2817
  createNewBranch?: boolean | undefined;
2765
2818
  newBranchName?: string | undefined;
2766
2819
  createWorktree?: boolean | undefined;
2820
+ attachBranchName?: string | undefined;
2821
+ attachBranchSource?: "local" | "remote" | undefined;
2767
2822
  }, {
2768
2823
  baseBranch?: string | undefined;
2769
2824
  baseBranchSource?: "local" | "remote" | undefined;
@@ -2772,6 +2827,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2772
2827
  createNewBranch?: boolean | undefined;
2773
2828
  newBranchName?: string | undefined;
2774
2829
  createWorktree?: boolean | undefined;
2830
+ attachBranchName?: string | undefined;
2831
+ attachBranchSource?: "local" | "remote" | undefined;
2775
2832
  }>>;
2776
2833
  bootstrapSetupOverride: z.ZodOptional<z.ZodType<BootstrapSetupOverride, z.ZodTypeDef, BootstrapSetupOverride>>;
2777
2834
  generalPreferencesApplied: z.ZodOptional<z.ZodBoolean>;
@@ -2836,6 +2893,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2836
2893
  createNewBranch?: boolean | undefined;
2837
2894
  newBranchName?: string | undefined;
2838
2895
  createWorktree?: boolean | undefined;
2896
+ attachBranchName?: string | undefined;
2897
+ attachBranchSource?: "local" | "remote" | undefined;
2839
2898
  } | undefined;
2840
2899
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
2841
2900
  }, {
@@ -2897,6 +2956,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2897
2956
  createNewBranch?: boolean | undefined;
2898
2957
  newBranchName?: string | undefined;
2899
2958
  createWorktree?: boolean | undefined;
2959
+ attachBranchName?: string | undefined;
2960
+ attachBranchSource?: "local" | "remote" | undefined;
2900
2961
  } | undefined;
2901
2962
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
2902
2963
  }>, z.ZodObject<{
@@ -3444,6 +3505,27 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
3444
3505
  type: "checkout_pr_status_request";
3445
3506
  requestId: string;
3446
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;
3447
3529
  }>, z.ZodObject<{
3448
3530
  type: z.ZodLiteral<"checkout_pr_failure_logs_request">;
3449
3531
  cwd: z.ZodString;
@@ -3822,6 +3904,18 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
3822
3904
  }, {
3823
3905
  type: "get_daemon_provider_settings_request";
3824
3906
  requestId: string;
3907
+ }>, z.ZodObject<{
3908
+ type: z.ZodLiteral<"get_daemon_log_tail_request">;
3909
+ lines: z.ZodOptional<z.ZodNumber>;
3910
+ requestId: z.ZodString;
3911
+ }, "strip", z.ZodTypeAny, {
3912
+ type: "get_daemon_log_tail_request";
3913
+ requestId: string;
3914
+ lines?: number | undefined;
3915
+ }, {
3916
+ type: "get_daemon_log_tail_request";
3917
+ requestId: string;
3918
+ lines?: number | undefined;
3825
3919
  }>, z.ZodObject<{
3826
3920
  type: z.ZodLiteral<"update_daemon_provider_settings_request">;
3827
3921
  provider: z.ZodEnum<["claude", "codex", "gemini"]>;
@@ -9547,6 +9641,130 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
9547
9641
  githubFeaturesEnabled: boolean;
9548
9642
  };
9549
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
+ }>;
9550
9768
  export declare const CheckoutPrFailureLogsResponseSchema: z.ZodObject<{
9551
9769
  type: z.ZodLiteral<"checkout_pr_failure_logs_response">;
9552
9770
  payload: z.ZodObject<{
@@ -11132,6 +11350,51 @@ export declare const GetDaemonProviderSettingsResponseSchema: z.ZodObject<{
11132
11350
  };
11133
11351
  };
11134
11352
  }>;
11353
+ export declare const GetDaemonLogTailResponseSchema: z.ZodObject<{
11354
+ type: z.ZodLiteral<"get_daemon_log_tail_response">;
11355
+ payload: z.ZodObject<{
11356
+ logPath: z.ZodNullable<z.ZodString>;
11357
+ content: z.ZodString;
11358
+ truncated: z.ZodBoolean;
11359
+ lineCount: z.ZodNumber;
11360
+ error: z.ZodNullable<z.ZodString>;
11361
+ requestId: z.ZodString;
11362
+ }, "strip", z.ZodTypeAny, {
11363
+ error: string | null;
11364
+ content: string;
11365
+ truncated: boolean;
11366
+ requestId: string;
11367
+ logPath: string | null;
11368
+ lineCount: number;
11369
+ }, {
11370
+ error: string | null;
11371
+ content: string;
11372
+ truncated: boolean;
11373
+ requestId: string;
11374
+ logPath: string | null;
11375
+ lineCount: number;
11376
+ }>;
11377
+ }, "strip", z.ZodTypeAny, {
11378
+ type: "get_daemon_log_tail_response";
11379
+ payload: {
11380
+ error: string | null;
11381
+ content: string;
11382
+ truncated: boolean;
11383
+ requestId: string;
11384
+ logPath: string | null;
11385
+ lineCount: number;
11386
+ };
11387
+ }, {
11388
+ type: "get_daemon_log_tail_response";
11389
+ payload: {
11390
+ error: string | null;
11391
+ content: string;
11392
+ truncated: boolean;
11393
+ requestId: string;
11394
+ logPath: string | null;
11395
+ lineCount: number;
11396
+ };
11397
+ }>;
11135
11398
  export declare const UpdateDaemonProviderSettingsResponseSchema: z.ZodObject<{
11136
11399
  type: z.ZodLiteral<"update_daemon_provider_settings_response">;
11137
11400
  payload: z.ZodObject<{
@@ -16551,6 +16814,129 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
16551
16814
  requestId: string;
16552
16815
  githubFeaturesEnabled: boolean;
16553
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
+ };
16554
16940
  }>, z.ZodObject<{
16555
16941
  type: z.ZodLiteral<"checkout_pr_failure_logs_response">;
16556
16942
  payload: z.ZodObject<{
@@ -18106,6 +18492,50 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
18106
18492
  rootDir: string;
18107
18493
  };
18108
18494
  };
18495
+ }>, z.ZodObject<{
18496
+ type: z.ZodLiteral<"get_daemon_log_tail_response">;
18497
+ payload: z.ZodObject<{
18498
+ logPath: z.ZodNullable<z.ZodString>;
18499
+ content: z.ZodString;
18500
+ truncated: z.ZodBoolean;
18501
+ lineCount: z.ZodNumber;
18502
+ error: z.ZodNullable<z.ZodString>;
18503
+ requestId: z.ZodString;
18504
+ }, "strip", z.ZodTypeAny, {
18505
+ error: string | null;
18506
+ content: string;
18507
+ truncated: boolean;
18508
+ requestId: string;
18509
+ logPath: string | null;
18510
+ lineCount: number;
18511
+ }, {
18512
+ error: string | null;
18513
+ content: string;
18514
+ truncated: boolean;
18515
+ requestId: string;
18516
+ logPath: string | null;
18517
+ lineCount: number;
18518
+ }>;
18519
+ }, "strip", z.ZodTypeAny, {
18520
+ type: "get_daemon_log_tail_response";
18521
+ payload: {
18522
+ error: string | null;
18523
+ content: string;
18524
+ truncated: boolean;
18525
+ requestId: string;
18526
+ logPath: string | null;
18527
+ lineCount: number;
18528
+ };
18529
+ }, {
18530
+ type: "get_daemon_log_tail_response";
18531
+ payload: {
18532
+ error: string | null;
18533
+ content: string;
18534
+ truncated: boolean;
18535
+ requestId: string;
18536
+ logPath: string | null;
18537
+ lineCount: number;
18538
+ };
18109
18539
  }>, z.ZodObject<{
18110
18540
  type: z.ZodLiteral<"update_daemon_provider_settings_response">;
18111
18541
  payload: z.ZodObject<{
@@ -19175,6 +19605,8 @@ export type ListProviderModelsResponseMessage = z.infer<typeof ListProviderModel
19175
19605
  export type ListAvailableProvidersResponse = z.infer<typeof ListAvailableProvidersResponseSchema>;
19176
19606
  export type RunDaemonDoctorResponse = z.infer<typeof RunDaemonDoctorResponseSchema>;
19177
19607
  export type GetDaemonProviderSettingsResponse = z.infer<typeof GetDaemonProviderSettingsResponseSchema>;
19608
+ export type GetDaemonLogTailRequest = z.infer<typeof GetDaemonLogTailRequestSchema>;
19609
+ export type GetDaemonLogTailResponse = z.infer<typeof GetDaemonLogTailResponseSchema>;
19178
19610
  export type UpdateDaemonProviderSettingsResponse = z.infer<typeof UpdateDaemonProviderSettingsResponseSchema>;
19179
19611
  export type AutoRouteProviderResponse = z.infer<typeof AutoRouteProviderResponseSchema>;
19180
19612
  export type UpdateNotificationRelayConfigResponse = z.infer<typeof UpdateNotificationRelayConfigResponseSchema>;
@@ -19215,6 +19647,8 @@ export type CheckoutPrCreateRequest = z.infer<typeof CheckoutPrCreateRequestSche
19215
19647
  export type CheckoutPrCreateResponse = z.infer<typeof CheckoutPrCreateResponseSchema>;
19216
19648
  export type CheckoutPrStatusRequest = z.infer<typeof CheckoutPrStatusRequestSchema>;
19217
19649
  export type CheckoutPrStatusResponse = z.infer<typeof CheckoutPrStatusResponseSchema>;
19650
+ export type CheckoutPrSearchRequest = z.infer<typeof CheckoutPrSearchRequestSchema>;
19651
+ export type CheckoutPrSearchResponse = z.infer<typeof CheckoutPrSearchResponseSchema>;
19218
19652
  export type CheckoutPrFailureLogsRequest = z.infer<typeof CheckoutPrFailureLogsRequestSchema>;
19219
19653
  export type CheckoutPrFailureLogsResponse = z.infer<typeof CheckoutPrFailureLogsResponseSchema>;
19220
19654
  export type CheckoutPrMergeRequest = z.infer<typeof CheckoutPrMergeRequestSchema>;
@@ -19784,6 +20218,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19784
20218
  newBranchName: z.ZodOptional<z.ZodString>;
19785
20219
  createWorktree: z.ZodOptional<z.ZodBoolean>;
19786
20220
  worktreeSlug: z.ZodOptional<z.ZodString>;
20221
+ attachBranchName: z.ZodOptional<z.ZodString>;
20222
+ attachBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
19787
20223
  }, "strip", z.ZodTypeAny, {
19788
20224
  baseBranch?: string | undefined;
19789
20225
  baseBranchSource?: "local" | "remote" | undefined;
@@ -19792,6 +20228,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19792
20228
  createNewBranch?: boolean | undefined;
19793
20229
  newBranchName?: string | undefined;
19794
20230
  createWorktree?: boolean | undefined;
20231
+ attachBranchName?: string | undefined;
20232
+ attachBranchSource?: "local" | "remote" | undefined;
19795
20233
  }, {
19796
20234
  baseBranch?: string | undefined;
19797
20235
  baseBranchSource?: "local" | "remote" | undefined;
@@ -19800,6 +20238,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19800
20238
  createNewBranch?: boolean | undefined;
19801
20239
  newBranchName?: string | undefined;
19802
20240
  createWorktree?: boolean | undefined;
20241
+ attachBranchName?: string | undefined;
20242
+ attachBranchSource?: "local" | "remote" | undefined;
19803
20243
  }>>;
19804
20244
  bootstrapSetupOverride: z.ZodOptional<z.ZodType<BootstrapSetupOverride, z.ZodTypeDef, BootstrapSetupOverride>>;
19805
20245
  generalPreferencesApplied: z.ZodOptional<z.ZodBoolean>;
@@ -19864,6 +20304,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19864
20304
  createNewBranch?: boolean | undefined;
19865
20305
  newBranchName?: string | undefined;
19866
20306
  createWorktree?: boolean | undefined;
20307
+ attachBranchName?: string | undefined;
20308
+ attachBranchSource?: "local" | "remote" | undefined;
19867
20309
  } | undefined;
19868
20310
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
19869
20311
  }, {
@@ -19925,6 +20367,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19925
20367
  createNewBranch?: boolean | undefined;
19926
20368
  newBranchName?: string | undefined;
19927
20369
  createWorktree?: boolean | undefined;
20370
+ attachBranchName?: string | undefined;
20371
+ attachBranchSource?: "local" | "remote" | undefined;
19928
20372
  } | undefined;
19929
20373
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
19930
20374
  }>, z.ZodObject<{
@@ -20472,6 +20916,27 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20472
20916
  type: "checkout_pr_status_request";
20473
20917
  requestId: string;
20474
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;
20475
20940
  }>, z.ZodObject<{
20476
20941
  type: z.ZodLiteral<"checkout_pr_failure_logs_request">;
20477
20942
  cwd: z.ZodString;
@@ -20850,6 +21315,18 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20850
21315
  }, {
20851
21316
  type: "get_daemon_provider_settings_request";
20852
21317
  requestId: string;
21318
+ }>, z.ZodObject<{
21319
+ type: z.ZodLiteral<"get_daemon_log_tail_request">;
21320
+ lines: z.ZodOptional<z.ZodNumber>;
21321
+ requestId: z.ZodString;
21322
+ }, "strip", z.ZodTypeAny, {
21323
+ type: "get_daemon_log_tail_request";
21324
+ requestId: string;
21325
+ lines?: number | undefined;
21326
+ }, {
21327
+ type: "get_daemon_log_tail_request";
21328
+ requestId: string;
21329
+ lines?: number | undefined;
20853
21330
  }>, z.ZodObject<{
20854
21331
  type: z.ZodLiteral<"update_daemon_provider_settings_request">;
20855
21332
  provider: z.ZodEnum<["claude", "codex", "gemini"]>;
@@ -21213,6 +21690,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21213
21690
  createNewBranch?: boolean | undefined;
21214
21691
  newBranchName?: string | undefined;
21215
21692
  createWorktree?: boolean | undefined;
21693
+ attachBranchName?: string | undefined;
21694
+ attachBranchSource?: "local" | "remote" | undefined;
21216
21695
  } | undefined;
21217
21696
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
21218
21697
  } | {
@@ -21362,6 +21841,13 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21362
21841
  type: "checkout_pr_status_request";
21363
21842
  requestId: string;
21364
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;
21365
21851
  } | {
21366
21852
  cwd: string;
21367
21853
  type: "checkout_pr_failure_logs_request";
@@ -21484,6 +21970,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21484
21970
  } | {
21485
21971
  type: "get_daemon_provider_settings_request";
21486
21972
  requestId: string;
21973
+ } | {
21974
+ type: "get_daemon_log_tail_request";
21975
+ requestId: string;
21976
+ lines?: number | undefined;
21487
21977
  } | {
21488
21978
  provider: "codex" | "claude" | "gemini";
21489
21979
  type: "update_daemon_provider_settings_request";
@@ -21684,6 +22174,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21684
22174
  createNewBranch?: boolean | undefined;
21685
22175
  newBranchName?: string | undefined;
21686
22176
  createWorktree?: boolean | undefined;
22177
+ attachBranchName?: string | undefined;
22178
+ attachBranchSource?: "local" | "remote" | undefined;
21687
22179
  } | undefined;
21688
22180
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
21689
22181
  } | {
@@ -21833,6 +22325,13 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21833
22325
  type: "checkout_pr_status_request";
21834
22326
  requestId: string;
21835
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;
21836
22335
  } | {
21837
22336
  cwd: string;
21838
22337
  type: "checkout_pr_failure_logs_request";
@@ -21955,6 +22454,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21955
22454
  } | {
21956
22455
  type: "get_daemon_provider_settings_request";
21957
22456
  requestId: string;
22457
+ } | {
22458
+ type: "get_daemon_log_tail_request";
22459
+ requestId: string;
22460
+ lines?: number | undefined;
21958
22461
  } | {
21959
22462
  provider: "codex" | "claude" | "gemini";
21960
22463
  type: "update_daemon_provider_settings_request";
@@ -26398,6 +26901,129 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26398
26901
  requestId: string;
26399
26902
  githubFeaturesEnabled: boolean;
26400
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
+ };
26401
27027
  }>, z.ZodObject<{
26402
27028
  type: z.ZodLiteral<"checkout_pr_failure_logs_response">;
26403
27029
  payload: z.ZodObject<{
@@ -27953,6 +28579,50 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27953
28579
  rootDir: string;
27954
28580
  };
27955
28581
  };
28582
+ }>, z.ZodObject<{
28583
+ type: z.ZodLiteral<"get_daemon_log_tail_response">;
28584
+ payload: z.ZodObject<{
28585
+ logPath: z.ZodNullable<z.ZodString>;
28586
+ content: z.ZodString;
28587
+ truncated: z.ZodBoolean;
28588
+ lineCount: z.ZodNumber;
28589
+ error: z.ZodNullable<z.ZodString>;
28590
+ requestId: z.ZodString;
28591
+ }, "strip", z.ZodTypeAny, {
28592
+ error: string | null;
28593
+ content: string;
28594
+ truncated: boolean;
28595
+ requestId: string;
28596
+ logPath: string | null;
28597
+ lineCount: number;
28598
+ }, {
28599
+ error: string | null;
28600
+ content: string;
28601
+ truncated: boolean;
28602
+ requestId: string;
28603
+ logPath: string | null;
28604
+ lineCount: number;
28605
+ }>;
28606
+ }, "strip", z.ZodTypeAny, {
28607
+ type: "get_daemon_log_tail_response";
28608
+ payload: {
28609
+ error: string | null;
28610
+ content: string;
28611
+ truncated: boolean;
28612
+ requestId: string;
28613
+ logPath: string | null;
28614
+ lineCount: number;
28615
+ };
28616
+ }, {
28617
+ type: "get_daemon_log_tail_response";
28618
+ payload: {
28619
+ error: string | null;
28620
+ content: string;
28621
+ truncated: boolean;
28622
+ requestId: string;
28623
+ logPath: string | null;
28624
+ lineCount: number;
28625
+ };
27956
28626
  }>, z.ZodObject<{
27957
28627
  type: z.ZodLiteral<"update_daemon_provider_settings_response">;
27958
28628
  payload: z.ZodObject<{
@@ -29686,6 +30356,27 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29686
30356
  requestId: string;
29687
30357
  githubFeaturesEnabled: boolean;
29688
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
+ };
29689
30380
  } | {
29690
30381
  type: "checkout_pr_failure_logs_response";
29691
30382
  payload: {
@@ -29971,6 +30662,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29971
30662
  rootDir: string;
29972
30663
  };
29973
30664
  };
30665
+ } | {
30666
+ type: "get_daemon_log_tail_response";
30667
+ payload: {
30668
+ error: string | null;
30669
+ content: string;
30670
+ truncated: boolean;
30671
+ requestId: string;
30672
+ logPath: string | null;
30673
+ lineCount: number;
30674
+ };
29974
30675
  } | {
29975
30676
  type: "update_daemon_provider_settings_response";
29976
30677
  payload: {
@@ -30839,6 +31540,27 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30839
31540
  requestId: string;
30840
31541
  githubFeaturesEnabled: boolean;
30841
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
+ };
30842
31564
  } | {
30843
31565
  type: "checkout_pr_failure_logs_response";
30844
31566
  payload: {
@@ -31124,6 +31846,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
31124
31846
  rootDir: string;
31125
31847
  };
31126
31848
  };
31849
+ } | {
31850
+ type: "get_daemon_log_tail_response";
31851
+ payload: {
31852
+ error: string | null;
31853
+ content: string;
31854
+ truncated: boolean;
31855
+ requestId: string;
31856
+ logPath: string | null;
31857
+ lineCount: number;
31858
+ };
31127
31859
  } | {
31128
31860
  type: "update_daemon_provider_settings_response";
31129
31861
  payload: {
@@ -31776,6 +32508,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31776
32508
  newBranchName: z.ZodOptional<z.ZodString>;
31777
32509
  createWorktree: z.ZodOptional<z.ZodBoolean>;
31778
32510
  worktreeSlug: z.ZodOptional<z.ZodString>;
32511
+ attachBranchName: z.ZodOptional<z.ZodString>;
32512
+ attachBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
31779
32513
  }, "strip", z.ZodTypeAny, {
31780
32514
  baseBranch?: string | undefined;
31781
32515
  baseBranchSource?: "local" | "remote" | undefined;
@@ -31784,6 +32518,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31784
32518
  createNewBranch?: boolean | undefined;
31785
32519
  newBranchName?: string | undefined;
31786
32520
  createWorktree?: boolean | undefined;
32521
+ attachBranchName?: string | undefined;
32522
+ attachBranchSource?: "local" | "remote" | undefined;
31787
32523
  }, {
31788
32524
  baseBranch?: string | undefined;
31789
32525
  baseBranchSource?: "local" | "remote" | undefined;
@@ -31792,6 +32528,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31792
32528
  createNewBranch?: boolean | undefined;
31793
32529
  newBranchName?: string | undefined;
31794
32530
  createWorktree?: boolean | undefined;
32531
+ attachBranchName?: string | undefined;
32532
+ attachBranchSource?: "local" | "remote" | undefined;
31795
32533
  }>>;
31796
32534
  bootstrapSetupOverride: z.ZodOptional<z.ZodType<BootstrapSetupOverride, z.ZodTypeDef, BootstrapSetupOverride>>;
31797
32535
  generalPreferencesApplied: z.ZodOptional<z.ZodBoolean>;
@@ -31856,6 +32594,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31856
32594
  createNewBranch?: boolean | undefined;
31857
32595
  newBranchName?: string | undefined;
31858
32596
  createWorktree?: boolean | undefined;
32597
+ attachBranchName?: string | undefined;
32598
+ attachBranchSource?: "local" | "remote" | undefined;
31859
32599
  } | undefined;
31860
32600
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
31861
32601
  }, {
@@ -31917,6 +32657,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31917
32657
  createNewBranch?: boolean | undefined;
31918
32658
  newBranchName?: string | undefined;
31919
32659
  createWorktree?: boolean | undefined;
32660
+ attachBranchName?: string | undefined;
32661
+ attachBranchSource?: "local" | "remote" | undefined;
31920
32662
  } | undefined;
31921
32663
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
31922
32664
  }>, z.ZodObject<{
@@ -32464,6 +33206,27 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32464
33206
  type: "checkout_pr_status_request";
32465
33207
  requestId: string;
32466
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;
32467
33230
  }>, z.ZodObject<{
32468
33231
  type: z.ZodLiteral<"checkout_pr_failure_logs_request">;
32469
33232
  cwd: z.ZodString;
@@ -32842,6 +33605,18 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32842
33605
  }, {
32843
33606
  type: "get_daemon_provider_settings_request";
32844
33607
  requestId: string;
33608
+ }>, z.ZodObject<{
33609
+ type: z.ZodLiteral<"get_daemon_log_tail_request">;
33610
+ lines: z.ZodOptional<z.ZodNumber>;
33611
+ requestId: z.ZodString;
33612
+ }, "strip", z.ZodTypeAny, {
33613
+ type: "get_daemon_log_tail_request";
33614
+ requestId: string;
33615
+ lines?: number | undefined;
33616
+ }, {
33617
+ type: "get_daemon_log_tail_request";
33618
+ requestId: string;
33619
+ lines?: number | undefined;
32845
33620
  }>, z.ZodObject<{
32846
33621
  type: z.ZodLiteral<"update_daemon_provider_settings_request">;
32847
33622
  provider: z.ZodEnum<["claude", "codex", "gemini"]>;
@@ -33205,6 +33980,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33205
33980
  createNewBranch?: boolean | undefined;
33206
33981
  newBranchName?: string | undefined;
33207
33982
  createWorktree?: boolean | undefined;
33983
+ attachBranchName?: string | undefined;
33984
+ attachBranchSource?: "local" | "remote" | undefined;
33208
33985
  } | undefined;
33209
33986
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
33210
33987
  } | {
@@ -33354,6 +34131,13 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33354
34131
  type: "checkout_pr_status_request";
33355
34132
  requestId: string;
33356
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;
33357
34141
  } | {
33358
34142
  cwd: string;
33359
34143
  type: "checkout_pr_failure_logs_request";
@@ -33476,6 +34260,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33476
34260
  } | {
33477
34261
  type: "get_daemon_provider_settings_request";
33478
34262
  requestId: string;
34263
+ } | {
34264
+ type: "get_daemon_log_tail_request";
34265
+ requestId: string;
34266
+ lines?: number | undefined;
33479
34267
  } | {
33480
34268
  provider: "codex" | "claude" | "gemini";
33481
34269
  type: "update_daemon_provider_settings_request";
@@ -33676,6 +34464,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33676
34464
  createNewBranch?: boolean | undefined;
33677
34465
  newBranchName?: string | undefined;
33678
34466
  createWorktree?: boolean | undefined;
34467
+ attachBranchName?: string | undefined;
34468
+ attachBranchSource?: "local" | "remote" | undefined;
33679
34469
  } | undefined;
33680
34470
  bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
33681
34471
  } | {
@@ -33825,6 +34615,13 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33825
34615
  type: "checkout_pr_status_request";
33826
34616
  requestId: string;
33827
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;
33828
34625
  } | {
33829
34626
  cwd: string;
33830
34627
  type: "checkout_pr_failure_logs_request";
@@ -33947,6 +34744,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33947
34744
  } | {
33948
34745
  type: "get_daemon_provider_settings_request";
33949
34746
  requestId: string;
34747
+ } | {
34748
+ type: "get_daemon_log_tail_request";
34749
+ requestId: string;
34750
+ lines?: number | undefined;
33950
34751
  } | {
33951
34752
  provider: "codex" | "claude" | "gemini";
33952
34753
  type: "update_daemon_provider_settings_request";
@@ -38417,6 +39218,129 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
38417
39218
  requestId: string;
38418
39219
  githubFeaturesEnabled: boolean;
38419
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
+ };
38420
39344
  }>, z.ZodObject<{
38421
39345
  type: z.ZodLiteral<"checkout_pr_failure_logs_response">;
38422
39346
  payload: z.ZodObject<{
@@ -39972,6 +40896,50 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
39972
40896
  rootDir: string;
39973
40897
  };
39974
40898
  };
40899
+ }>, z.ZodObject<{
40900
+ type: z.ZodLiteral<"get_daemon_log_tail_response">;
40901
+ payload: z.ZodObject<{
40902
+ logPath: z.ZodNullable<z.ZodString>;
40903
+ content: z.ZodString;
40904
+ truncated: z.ZodBoolean;
40905
+ lineCount: z.ZodNumber;
40906
+ error: z.ZodNullable<z.ZodString>;
40907
+ requestId: z.ZodString;
40908
+ }, "strip", z.ZodTypeAny, {
40909
+ error: string | null;
40910
+ content: string;
40911
+ truncated: boolean;
40912
+ requestId: string;
40913
+ logPath: string | null;
40914
+ lineCount: number;
40915
+ }, {
40916
+ error: string | null;
40917
+ content: string;
40918
+ truncated: boolean;
40919
+ requestId: string;
40920
+ logPath: string | null;
40921
+ lineCount: number;
40922
+ }>;
40923
+ }, "strip", z.ZodTypeAny, {
40924
+ type: "get_daemon_log_tail_response";
40925
+ payload: {
40926
+ error: string | null;
40927
+ content: string;
40928
+ truncated: boolean;
40929
+ requestId: string;
40930
+ logPath: string | null;
40931
+ lineCount: number;
40932
+ };
40933
+ }, {
40934
+ type: "get_daemon_log_tail_response";
40935
+ payload: {
40936
+ error: string | null;
40937
+ content: string;
40938
+ truncated: boolean;
40939
+ requestId: string;
40940
+ logPath: string | null;
40941
+ lineCount: number;
40942
+ };
39975
40943
  }>, z.ZodObject<{
39976
40944
  type: z.ZodLiteral<"update_daemon_provider_settings_response">;
39977
40945
  payload: z.ZodObject<{
@@ -41705,6 +42673,27 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41705
42673
  requestId: string;
41706
42674
  githubFeaturesEnabled: boolean;
41707
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
+ };
41708
42697
  } | {
41709
42698
  type: "checkout_pr_failure_logs_response";
41710
42699
  payload: {
@@ -41990,6 +42979,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41990
42979
  rootDir: string;
41991
42980
  };
41992
42981
  };
42982
+ } | {
42983
+ type: "get_daemon_log_tail_response";
42984
+ payload: {
42985
+ error: string | null;
42986
+ content: string;
42987
+ truncated: boolean;
42988
+ requestId: string;
42989
+ logPath: string | null;
42990
+ lineCount: number;
42991
+ };
41993
42992
  } | {
41994
42993
  type: "update_daemon_provider_settings_response";
41995
42994
  payload: {
@@ -42858,6 +43857,27 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
42858
43857
  requestId: string;
42859
43858
  githubFeaturesEnabled: boolean;
42860
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
+ };
42861
43881
  } | {
42862
43882
  type: "checkout_pr_failure_logs_response";
42863
43883
  payload: {
@@ -43143,6 +44163,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
43143
44163
  rootDir: string;
43144
44164
  };
43145
44165
  };
44166
+ } | {
44167
+ type: "get_daemon_log_tail_response";
44168
+ payload: {
44169
+ error: string | null;
44170
+ content: string;
44171
+ truncated: boolean;
44172
+ requestId: string;
44173
+ logPath: string | null;
44174
+ lineCount: number;
44175
+ };
43146
44176
  } | {
43147
44177
  type: "update_daemon_provider_settings_response";
43148
44178
  payload: {