@junctionpanel/server 0.1.21 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/client/daemon-client.d.ts +7 -1
- package/dist/server/client/daemon-client.d.ts.map +1 -1
- package/dist/server/client/daemon-client.js +23 -0
- package/dist/server/client/daemon-client.js.map +1 -1
- package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
- package/dist/server/server/agent/agent-manager.js +77 -0
- package/dist/server/server/agent/agent-manager.js.map +1 -1
- package/dist/server/server/session.d.ts +2 -0
- package/dist/server/server/session.d.ts.map +1 -1
- package/dist/server/server/session.js +71 -1
- package/dist/server/server/session.js.map +1 -1
- package/dist/server/shared/messages.d.ts +1008 -0
- package/dist/server/shared/messages.d.ts.map +1 -1
- package/dist/server/shared/messages.js +45 -0
- package/dist/server/shared/messages.js.map +1 -1
- package/dist/server/utils/checkout-git.d.ts +18 -0
- package/dist/server/utils/checkout-git.d.ts.map +1 -1
- package/dist/server/utils/checkout-git.js +533 -36
- package/dist/server/utils/checkout-git.js.map +1 -1
- package/package.json +2 -2
|
@@ -1487,6 +1487,35 @@ export declare const CheckoutPrStatusRequestSchema: z.ZodObject<{
|
|
|
1487
1487
|
type: "checkout_pr_status_request";
|
|
1488
1488
|
requestId: string;
|
|
1489
1489
|
}>;
|
|
1490
|
+
export declare const CheckoutPrFailureLogsRequestSchema: z.ZodObject<{
|
|
1491
|
+
type: z.ZodLiteral<"checkout_pr_failure_logs_request">;
|
|
1492
|
+
cwd: z.ZodString;
|
|
1493
|
+
requestId: z.ZodString;
|
|
1494
|
+
}, "strip", z.ZodTypeAny, {
|
|
1495
|
+
cwd: string;
|
|
1496
|
+
type: "checkout_pr_failure_logs_request";
|
|
1497
|
+
requestId: string;
|
|
1498
|
+
}, {
|
|
1499
|
+
cwd: string;
|
|
1500
|
+
type: "checkout_pr_failure_logs_request";
|
|
1501
|
+
requestId: string;
|
|
1502
|
+
}>;
|
|
1503
|
+
export declare const CheckoutPrMergeRequestSchema: z.ZodObject<{
|
|
1504
|
+
type: z.ZodLiteral<"checkout_pr_merge_request">;
|
|
1505
|
+
cwd: z.ZodString;
|
|
1506
|
+
method: z.ZodOptional<z.ZodEnum<["squash"]>>;
|
|
1507
|
+
requestId: z.ZodString;
|
|
1508
|
+
}, "strip", z.ZodTypeAny, {
|
|
1509
|
+
cwd: string;
|
|
1510
|
+
type: "checkout_pr_merge_request";
|
|
1511
|
+
requestId: string;
|
|
1512
|
+
method?: "squash" | undefined;
|
|
1513
|
+
}, {
|
|
1514
|
+
cwd: string;
|
|
1515
|
+
type: "checkout_pr_merge_request";
|
|
1516
|
+
requestId: string;
|
|
1517
|
+
method?: "squash" | undefined;
|
|
1518
|
+
}>;
|
|
1490
1519
|
export declare const ValidateBranchRequestSchema: z.ZodObject<{
|
|
1491
1520
|
type: z.ZodLiteral<"validate_branch_request">;
|
|
1492
1521
|
cwd: z.ZodString;
|
|
@@ -2976,6 +3005,33 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2976
3005
|
cwd: string;
|
|
2977
3006
|
type: "checkout_pr_status_request";
|
|
2978
3007
|
requestId: string;
|
|
3008
|
+
}>, z.ZodObject<{
|
|
3009
|
+
type: z.ZodLiteral<"checkout_pr_failure_logs_request">;
|
|
3010
|
+
cwd: z.ZodString;
|
|
3011
|
+
requestId: z.ZodString;
|
|
3012
|
+
}, "strip", z.ZodTypeAny, {
|
|
3013
|
+
cwd: string;
|
|
3014
|
+
type: "checkout_pr_failure_logs_request";
|
|
3015
|
+
requestId: string;
|
|
3016
|
+
}, {
|
|
3017
|
+
cwd: string;
|
|
3018
|
+
type: "checkout_pr_failure_logs_request";
|
|
3019
|
+
requestId: string;
|
|
3020
|
+
}>, z.ZodObject<{
|
|
3021
|
+
type: z.ZodLiteral<"checkout_pr_merge_request">;
|
|
3022
|
+
cwd: z.ZodString;
|
|
3023
|
+
method: z.ZodOptional<z.ZodEnum<["squash"]>>;
|
|
3024
|
+
requestId: z.ZodString;
|
|
3025
|
+
}, "strip", z.ZodTypeAny, {
|
|
3026
|
+
cwd: string;
|
|
3027
|
+
type: "checkout_pr_merge_request";
|
|
3028
|
+
requestId: string;
|
|
3029
|
+
method?: "squash" | undefined;
|
|
3030
|
+
}, {
|
|
3031
|
+
cwd: string;
|
|
3032
|
+
type: "checkout_pr_merge_request";
|
|
3033
|
+
requestId: string;
|
|
3034
|
+
method?: "squash" | undefined;
|
|
2979
3035
|
}>, z.ZodObject<{
|
|
2980
3036
|
type: z.ZodLiteral<"validate_branch_request">;
|
|
2981
3037
|
cwd: z.ZodString;
|
|
@@ -7560,6 +7616,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7560
7616
|
aheadBehind: z.ZodNull;
|
|
7561
7617
|
aheadOfOrigin: z.ZodNull;
|
|
7562
7618
|
behindOfOrigin: z.ZodNull;
|
|
7619
|
+
hasUpstream: z.ZodLiteral<false>;
|
|
7620
|
+
upstreamBranch: z.ZodNull;
|
|
7563
7621
|
hasRemote: z.ZodBoolean;
|
|
7564
7622
|
remoteUrl: z.ZodNull;
|
|
7565
7623
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7579,6 +7637,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7579
7637
|
aheadBehind: null;
|
|
7580
7638
|
aheadOfOrigin: null;
|
|
7581
7639
|
behindOfOrigin: null;
|
|
7640
|
+
hasUpstream: false;
|
|
7641
|
+
upstreamBranch: null;
|
|
7582
7642
|
hasRemote: boolean;
|
|
7583
7643
|
}, {
|
|
7584
7644
|
error: {
|
|
@@ -7597,6 +7657,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7597
7657
|
aheadBehind: null;
|
|
7598
7658
|
aheadOfOrigin: null;
|
|
7599
7659
|
behindOfOrigin: null;
|
|
7660
|
+
hasUpstream: false;
|
|
7661
|
+
upstreamBranch: null;
|
|
7600
7662
|
hasRemote: boolean;
|
|
7601
7663
|
}>, z.ZodObject<{
|
|
7602
7664
|
cwd: z.ZodString;
|
|
@@ -7630,6 +7692,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7630
7692
|
}>>;
|
|
7631
7693
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
7632
7694
|
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
7695
|
+
hasUpstream: z.ZodBoolean;
|
|
7696
|
+
upstreamBranch: z.ZodNullable<z.ZodString>;
|
|
7633
7697
|
hasRemote: z.ZodBoolean;
|
|
7634
7698
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
7635
7699
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7652,6 +7716,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7652
7716
|
} | null;
|
|
7653
7717
|
aheadOfOrigin: number | null;
|
|
7654
7718
|
behindOfOrigin: number | null;
|
|
7719
|
+
hasUpstream: boolean;
|
|
7720
|
+
upstreamBranch: string | null;
|
|
7655
7721
|
hasRemote: boolean;
|
|
7656
7722
|
}, {
|
|
7657
7723
|
error: {
|
|
@@ -7673,6 +7739,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7673
7739
|
} | null;
|
|
7674
7740
|
aheadOfOrigin: number | null;
|
|
7675
7741
|
behindOfOrigin: number | null;
|
|
7742
|
+
hasUpstream: boolean;
|
|
7743
|
+
upstreamBranch: string | null;
|
|
7676
7744
|
hasRemote: boolean;
|
|
7677
7745
|
}>, z.ZodObject<{
|
|
7678
7746
|
cwd: z.ZodString;
|
|
@@ -7707,6 +7775,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7707
7775
|
}>>;
|
|
7708
7776
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
7709
7777
|
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
7778
|
+
hasUpstream: z.ZodBoolean;
|
|
7779
|
+
upstreamBranch: z.ZodNullable<z.ZodString>;
|
|
7710
7780
|
hasRemote: z.ZodBoolean;
|
|
7711
7781
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
7712
7782
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7730,6 +7800,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7730
7800
|
} | null;
|
|
7731
7801
|
aheadOfOrigin: number | null;
|
|
7732
7802
|
behindOfOrigin: number | null;
|
|
7803
|
+
hasUpstream: boolean;
|
|
7804
|
+
upstreamBranch: string | null;
|
|
7733
7805
|
hasRemote: boolean;
|
|
7734
7806
|
}, {
|
|
7735
7807
|
error: {
|
|
@@ -7752,6 +7824,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7752
7824
|
} | null;
|
|
7753
7825
|
aheadOfOrigin: number | null;
|
|
7754
7826
|
behindOfOrigin: number | null;
|
|
7827
|
+
hasUpstream: boolean;
|
|
7828
|
+
upstreamBranch: string | null;
|
|
7755
7829
|
hasRemote: boolean;
|
|
7756
7830
|
}>]>;
|
|
7757
7831
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7773,6 +7847,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7773
7847
|
aheadBehind: null;
|
|
7774
7848
|
aheadOfOrigin: null;
|
|
7775
7849
|
behindOfOrigin: null;
|
|
7850
|
+
hasUpstream: false;
|
|
7851
|
+
upstreamBranch: null;
|
|
7776
7852
|
hasRemote: boolean;
|
|
7777
7853
|
} | {
|
|
7778
7854
|
error: {
|
|
@@ -7794,6 +7870,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7794
7870
|
} | null;
|
|
7795
7871
|
aheadOfOrigin: number | null;
|
|
7796
7872
|
behindOfOrigin: number | null;
|
|
7873
|
+
hasUpstream: boolean;
|
|
7874
|
+
upstreamBranch: string | null;
|
|
7797
7875
|
hasRemote: boolean;
|
|
7798
7876
|
} | {
|
|
7799
7877
|
error: {
|
|
@@ -7816,6 +7894,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7816
7894
|
} | null;
|
|
7817
7895
|
aheadOfOrigin: number | null;
|
|
7818
7896
|
behindOfOrigin: number | null;
|
|
7897
|
+
hasUpstream: boolean;
|
|
7898
|
+
upstreamBranch: string | null;
|
|
7819
7899
|
hasRemote: boolean;
|
|
7820
7900
|
};
|
|
7821
7901
|
}, {
|
|
@@ -7837,6 +7917,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7837
7917
|
aheadBehind: null;
|
|
7838
7918
|
aheadOfOrigin: null;
|
|
7839
7919
|
behindOfOrigin: null;
|
|
7920
|
+
hasUpstream: false;
|
|
7921
|
+
upstreamBranch: null;
|
|
7840
7922
|
hasRemote: boolean;
|
|
7841
7923
|
} | {
|
|
7842
7924
|
error: {
|
|
@@ -7858,6 +7940,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7858
7940
|
} | null;
|
|
7859
7941
|
aheadOfOrigin: number | null;
|
|
7860
7942
|
behindOfOrigin: number | null;
|
|
7943
|
+
hasUpstream: boolean;
|
|
7944
|
+
upstreamBranch: string | null;
|
|
7861
7945
|
hasRemote: boolean;
|
|
7862
7946
|
} | {
|
|
7863
7947
|
error: {
|
|
@@ -7880,6 +7964,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7880
7964
|
} | null;
|
|
7881
7965
|
aheadOfOrigin: number | null;
|
|
7882
7966
|
behindOfOrigin: number | null;
|
|
7967
|
+
hasUpstream: boolean;
|
|
7968
|
+
upstreamBranch: string | null;
|
|
7883
7969
|
hasRemote: boolean;
|
|
7884
7970
|
};
|
|
7885
7971
|
}>;
|
|
@@ -8677,26 +8763,41 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
8677
8763
|
payload: z.ZodObject<{
|
|
8678
8764
|
cwd: z.ZodString;
|
|
8679
8765
|
status: z.ZodNullable<z.ZodObject<{
|
|
8766
|
+
number: z.ZodNumber;
|
|
8680
8767
|
url: z.ZodString;
|
|
8681
8768
|
title: z.ZodString;
|
|
8682
8769
|
state: z.ZodString;
|
|
8683
8770
|
baseRefName: z.ZodString;
|
|
8684
8771
|
headRefName: z.ZodString;
|
|
8685
8772
|
isMerged: z.ZodBoolean;
|
|
8773
|
+
checksState: z.ZodEnum<["pending", "failing", "passing"]>;
|
|
8774
|
+
requiredChecksPassed: z.ZodBoolean;
|
|
8775
|
+
canMerge: z.ZodBoolean;
|
|
8776
|
+
hasConflicts: z.ZodBoolean;
|
|
8686
8777
|
}, "strip", z.ZodTypeAny, {
|
|
8778
|
+
number: number;
|
|
8687
8779
|
title: string;
|
|
8688
8780
|
url: string;
|
|
8689
8781
|
state: string;
|
|
8690
8782
|
baseRefName: string;
|
|
8691
8783
|
headRefName: string;
|
|
8692
8784
|
isMerged: boolean;
|
|
8785
|
+
checksState: "pending" | "failing" | "passing";
|
|
8786
|
+
requiredChecksPassed: boolean;
|
|
8787
|
+
canMerge: boolean;
|
|
8788
|
+
hasConflicts: boolean;
|
|
8693
8789
|
}, {
|
|
8790
|
+
number: number;
|
|
8694
8791
|
title: string;
|
|
8695
8792
|
url: string;
|
|
8696
8793
|
state: string;
|
|
8697
8794
|
baseRefName: string;
|
|
8698
8795
|
headRefName: string;
|
|
8699
8796
|
isMerged: boolean;
|
|
8797
|
+
checksState: "pending" | "failing" | "passing";
|
|
8798
|
+
requiredChecksPassed: boolean;
|
|
8799
|
+
canMerge: boolean;
|
|
8800
|
+
hasConflicts: boolean;
|
|
8700
8801
|
}>>;
|
|
8701
8802
|
githubFeaturesEnabled: z.ZodBoolean;
|
|
8702
8803
|
error: z.ZodNullable<z.ZodObject<{
|
|
@@ -8717,12 +8818,17 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
8717
8818
|
} | null;
|
|
8718
8819
|
cwd: string;
|
|
8719
8820
|
status: {
|
|
8821
|
+
number: number;
|
|
8720
8822
|
title: string;
|
|
8721
8823
|
url: string;
|
|
8722
8824
|
state: string;
|
|
8723
8825
|
baseRefName: string;
|
|
8724
8826
|
headRefName: string;
|
|
8725
8827
|
isMerged: boolean;
|
|
8828
|
+
checksState: "pending" | "failing" | "passing";
|
|
8829
|
+
requiredChecksPassed: boolean;
|
|
8830
|
+
canMerge: boolean;
|
|
8831
|
+
hasConflicts: boolean;
|
|
8726
8832
|
} | null;
|
|
8727
8833
|
requestId: string;
|
|
8728
8834
|
githubFeaturesEnabled: boolean;
|
|
@@ -8733,12 +8839,17 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
8733
8839
|
} | null;
|
|
8734
8840
|
cwd: string;
|
|
8735
8841
|
status: {
|
|
8842
|
+
number: number;
|
|
8736
8843
|
title: string;
|
|
8737
8844
|
url: string;
|
|
8738
8845
|
state: string;
|
|
8739
8846
|
baseRefName: string;
|
|
8740
8847
|
headRefName: string;
|
|
8741
8848
|
isMerged: boolean;
|
|
8849
|
+
checksState: "pending" | "failing" | "passing";
|
|
8850
|
+
requiredChecksPassed: boolean;
|
|
8851
|
+
canMerge: boolean;
|
|
8852
|
+
hasConflicts: boolean;
|
|
8742
8853
|
} | null;
|
|
8743
8854
|
requestId: string;
|
|
8744
8855
|
githubFeaturesEnabled: boolean;
|
|
@@ -8752,12 +8863,17 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
8752
8863
|
} | null;
|
|
8753
8864
|
cwd: string;
|
|
8754
8865
|
status: {
|
|
8866
|
+
number: number;
|
|
8755
8867
|
title: string;
|
|
8756
8868
|
url: string;
|
|
8757
8869
|
state: string;
|
|
8758
8870
|
baseRefName: string;
|
|
8759
8871
|
headRefName: string;
|
|
8760
8872
|
isMerged: boolean;
|
|
8873
|
+
checksState: "pending" | "failing" | "passing";
|
|
8874
|
+
requiredChecksPassed: boolean;
|
|
8875
|
+
canMerge: boolean;
|
|
8876
|
+
hasConflicts: boolean;
|
|
8761
8877
|
} | null;
|
|
8762
8878
|
requestId: string;
|
|
8763
8879
|
githubFeaturesEnabled: boolean;
|
|
@@ -8771,17 +8887,139 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
8771
8887
|
} | null;
|
|
8772
8888
|
cwd: string;
|
|
8773
8889
|
status: {
|
|
8890
|
+
number: number;
|
|
8774
8891
|
title: string;
|
|
8775
8892
|
url: string;
|
|
8776
8893
|
state: string;
|
|
8777
8894
|
baseRefName: string;
|
|
8778
8895
|
headRefName: string;
|
|
8779
8896
|
isMerged: boolean;
|
|
8897
|
+
checksState: "pending" | "failing" | "passing";
|
|
8898
|
+
requiredChecksPassed: boolean;
|
|
8899
|
+
canMerge: boolean;
|
|
8900
|
+
hasConflicts: boolean;
|
|
8780
8901
|
} | null;
|
|
8781
8902
|
requestId: string;
|
|
8782
8903
|
githubFeaturesEnabled: boolean;
|
|
8783
8904
|
};
|
|
8784
8905
|
}>;
|
|
8906
|
+
export declare const CheckoutPrFailureLogsResponseSchema: z.ZodObject<{
|
|
8907
|
+
type: z.ZodLiteral<"checkout_pr_failure_logs_response">;
|
|
8908
|
+
payload: z.ZodObject<{
|
|
8909
|
+
cwd: z.ZodString;
|
|
8910
|
+
logs: z.ZodNullable<z.ZodString>;
|
|
8911
|
+
githubFeaturesEnabled: z.ZodBoolean;
|
|
8912
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
8913
|
+
code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
|
|
8914
|
+
message: z.ZodString;
|
|
8915
|
+
}, "strip", z.ZodTypeAny, {
|
|
8916
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
8917
|
+
message: string;
|
|
8918
|
+
}, {
|
|
8919
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
8920
|
+
message: string;
|
|
8921
|
+
}>>;
|
|
8922
|
+
requestId: z.ZodString;
|
|
8923
|
+
}, "strip", z.ZodTypeAny, {
|
|
8924
|
+
error: {
|
|
8925
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
8926
|
+
message: string;
|
|
8927
|
+
} | null;
|
|
8928
|
+
cwd: string;
|
|
8929
|
+
requestId: string;
|
|
8930
|
+
githubFeaturesEnabled: boolean;
|
|
8931
|
+
logs: string | null;
|
|
8932
|
+
}, {
|
|
8933
|
+
error: {
|
|
8934
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
8935
|
+
message: string;
|
|
8936
|
+
} | null;
|
|
8937
|
+
cwd: string;
|
|
8938
|
+
requestId: string;
|
|
8939
|
+
githubFeaturesEnabled: boolean;
|
|
8940
|
+
logs: string | null;
|
|
8941
|
+
}>;
|
|
8942
|
+
}, "strip", z.ZodTypeAny, {
|
|
8943
|
+
type: "checkout_pr_failure_logs_response";
|
|
8944
|
+
payload: {
|
|
8945
|
+
error: {
|
|
8946
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
8947
|
+
message: string;
|
|
8948
|
+
} | null;
|
|
8949
|
+
cwd: string;
|
|
8950
|
+
requestId: string;
|
|
8951
|
+
githubFeaturesEnabled: boolean;
|
|
8952
|
+
logs: string | null;
|
|
8953
|
+
};
|
|
8954
|
+
}, {
|
|
8955
|
+
type: "checkout_pr_failure_logs_response";
|
|
8956
|
+
payload: {
|
|
8957
|
+
error: {
|
|
8958
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
8959
|
+
message: string;
|
|
8960
|
+
} | null;
|
|
8961
|
+
cwd: string;
|
|
8962
|
+
requestId: string;
|
|
8963
|
+
githubFeaturesEnabled: boolean;
|
|
8964
|
+
logs: string | null;
|
|
8965
|
+
};
|
|
8966
|
+
}>;
|
|
8967
|
+
export declare const CheckoutPrMergeResponseSchema: z.ZodObject<{
|
|
8968
|
+
type: z.ZodLiteral<"checkout_pr_merge_response">;
|
|
8969
|
+
payload: z.ZodObject<{
|
|
8970
|
+
cwd: z.ZodString;
|
|
8971
|
+
success: z.ZodBoolean;
|
|
8972
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
8973
|
+
code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
|
|
8974
|
+
message: z.ZodString;
|
|
8975
|
+
}, "strip", z.ZodTypeAny, {
|
|
8976
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
8977
|
+
message: string;
|
|
8978
|
+
}, {
|
|
8979
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
8980
|
+
message: string;
|
|
8981
|
+
}>>;
|
|
8982
|
+
requestId: z.ZodString;
|
|
8983
|
+
}, "strip", z.ZodTypeAny, {
|
|
8984
|
+
error: {
|
|
8985
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
8986
|
+
message: string;
|
|
8987
|
+
} | null;
|
|
8988
|
+
cwd: string;
|
|
8989
|
+
requestId: string;
|
|
8990
|
+
success: boolean;
|
|
8991
|
+
}, {
|
|
8992
|
+
error: {
|
|
8993
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
8994
|
+
message: string;
|
|
8995
|
+
} | null;
|
|
8996
|
+
cwd: string;
|
|
8997
|
+
requestId: string;
|
|
8998
|
+
success: boolean;
|
|
8999
|
+
}>;
|
|
9000
|
+
}, "strip", z.ZodTypeAny, {
|
|
9001
|
+
type: "checkout_pr_merge_response";
|
|
9002
|
+
payload: {
|
|
9003
|
+
error: {
|
|
9004
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
9005
|
+
message: string;
|
|
9006
|
+
} | null;
|
|
9007
|
+
cwd: string;
|
|
9008
|
+
requestId: string;
|
|
9009
|
+
success: boolean;
|
|
9010
|
+
};
|
|
9011
|
+
}, {
|
|
9012
|
+
type: "checkout_pr_merge_response";
|
|
9013
|
+
payload: {
|
|
9014
|
+
error: {
|
|
9015
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
9016
|
+
message: string;
|
|
9017
|
+
} | null;
|
|
9018
|
+
cwd: string;
|
|
9019
|
+
requestId: string;
|
|
9020
|
+
success: boolean;
|
|
9021
|
+
};
|
|
9022
|
+
}>;
|
|
8785
9023
|
export declare const ValidateBranchResponseSchema: z.ZodObject<{
|
|
8786
9024
|
type: z.ZodLiteral<"validate_branch_response">;
|
|
8787
9025
|
payload: z.ZodObject<{
|
|
@@ -13580,6 +13818,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13580
13818
|
aheadBehind: z.ZodNull;
|
|
13581
13819
|
aheadOfOrigin: z.ZodNull;
|
|
13582
13820
|
behindOfOrigin: z.ZodNull;
|
|
13821
|
+
hasUpstream: z.ZodLiteral<false>;
|
|
13822
|
+
upstreamBranch: z.ZodNull;
|
|
13583
13823
|
hasRemote: z.ZodBoolean;
|
|
13584
13824
|
remoteUrl: z.ZodNull;
|
|
13585
13825
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13599,6 +13839,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13599
13839
|
aheadBehind: null;
|
|
13600
13840
|
aheadOfOrigin: null;
|
|
13601
13841
|
behindOfOrigin: null;
|
|
13842
|
+
hasUpstream: false;
|
|
13843
|
+
upstreamBranch: null;
|
|
13602
13844
|
hasRemote: boolean;
|
|
13603
13845
|
}, {
|
|
13604
13846
|
error: {
|
|
@@ -13617,6 +13859,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13617
13859
|
aheadBehind: null;
|
|
13618
13860
|
aheadOfOrigin: null;
|
|
13619
13861
|
behindOfOrigin: null;
|
|
13862
|
+
hasUpstream: false;
|
|
13863
|
+
upstreamBranch: null;
|
|
13620
13864
|
hasRemote: boolean;
|
|
13621
13865
|
}>, z.ZodObject<{
|
|
13622
13866
|
cwd: z.ZodString;
|
|
@@ -13650,6 +13894,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13650
13894
|
}>>;
|
|
13651
13895
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
13652
13896
|
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
13897
|
+
hasUpstream: z.ZodBoolean;
|
|
13898
|
+
upstreamBranch: z.ZodNullable<z.ZodString>;
|
|
13653
13899
|
hasRemote: z.ZodBoolean;
|
|
13654
13900
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
13655
13901
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13672,6 +13918,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13672
13918
|
} | null;
|
|
13673
13919
|
aheadOfOrigin: number | null;
|
|
13674
13920
|
behindOfOrigin: number | null;
|
|
13921
|
+
hasUpstream: boolean;
|
|
13922
|
+
upstreamBranch: string | null;
|
|
13675
13923
|
hasRemote: boolean;
|
|
13676
13924
|
}, {
|
|
13677
13925
|
error: {
|
|
@@ -13693,6 +13941,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13693
13941
|
} | null;
|
|
13694
13942
|
aheadOfOrigin: number | null;
|
|
13695
13943
|
behindOfOrigin: number | null;
|
|
13944
|
+
hasUpstream: boolean;
|
|
13945
|
+
upstreamBranch: string | null;
|
|
13696
13946
|
hasRemote: boolean;
|
|
13697
13947
|
}>, z.ZodObject<{
|
|
13698
13948
|
cwd: z.ZodString;
|
|
@@ -13727,6 +13977,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13727
13977
|
}>>;
|
|
13728
13978
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
13729
13979
|
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
13980
|
+
hasUpstream: z.ZodBoolean;
|
|
13981
|
+
upstreamBranch: z.ZodNullable<z.ZodString>;
|
|
13730
13982
|
hasRemote: z.ZodBoolean;
|
|
13731
13983
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
13732
13984
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13750,6 +14002,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13750
14002
|
} | null;
|
|
13751
14003
|
aheadOfOrigin: number | null;
|
|
13752
14004
|
behindOfOrigin: number | null;
|
|
14005
|
+
hasUpstream: boolean;
|
|
14006
|
+
upstreamBranch: string | null;
|
|
13753
14007
|
hasRemote: boolean;
|
|
13754
14008
|
}, {
|
|
13755
14009
|
error: {
|
|
@@ -13772,6 +14026,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13772
14026
|
} | null;
|
|
13773
14027
|
aheadOfOrigin: number | null;
|
|
13774
14028
|
behindOfOrigin: number | null;
|
|
14029
|
+
hasUpstream: boolean;
|
|
14030
|
+
upstreamBranch: string | null;
|
|
13775
14031
|
hasRemote: boolean;
|
|
13776
14032
|
}>]>;
|
|
13777
14033
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13793,6 +14049,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13793
14049
|
aheadBehind: null;
|
|
13794
14050
|
aheadOfOrigin: null;
|
|
13795
14051
|
behindOfOrigin: null;
|
|
14052
|
+
hasUpstream: false;
|
|
14053
|
+
upstreamBranch: null;
|
|
13796
14054
|
hasRemote: boolean;
|
|
13797
14055
|
} | {
|
|
13798
14056
|
error: {
|
|
@@ -13814,6 +14072,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13814
14072
|
} | null;
|
|
13815
14073
|
aheadOfOrigin: number | null;
|
|
13816
14074
|
behindOfOrigin: number | null;
|
|
14075
|
+
hasUpstream: boolean;
|
|
14076
|
+
upstreamBranch: string | null;
|
|
13817
14077
|
hasRemote: boolean;
|
|
13818
14078
|
} | {
|
|
13819
14079
|
error: {
|
|
@@ -13836,6 +14096,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13836
14096
|
} | null;
|
|
13837
14097
|
aheadOfOrigin: number | null;
|
|
13838
14098
|
behindOfOrigin: number | null;
|
|
14099
|
+
hasUpstream: boolean;
|
|
14100
|
+
upstreamBranch: string | null;
|
|
13839
14101
|
hasRemote: boolean;
|
|
13840
14102
|
};
|
|
13841
14103
|
}, {
|
|
@@ -13857,6 +14119,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13857
14119
|
aheadBehind: null;
|
|
13858
14120
|
aheadOfOrigin: null;
|
|
13859
14121
|
behindOfOrigin: null;
|
|
14122
|
+
hasUpstream: false;
|
|
14123
|
+
upstreamBranch: null;
|
|
13860
14124
|
hasRemote: boolean;
|
|
13861
14125
|
} | {
|
|
13862
14126
|
error: {
|
|
@@ -13878,6 +14142,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13878
14142
|
} | null;
|
|
13879
14143
|
aheadOfOrigin: number | null;
|
|
13880
14144
|
behindOfOrigin: number | null;
|
|
14145
|
+
hasUpstream: boolean;
|
|
14146
|
+
upstreamBranch: string | null;
|
|
13881
14147
|
hasRemote: boolean;
|
|
13882
14148
|
} | {
|
|
13883
14149
|
error: {
|
|
@@ -13900,6 +14166,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13900
14166
|
} | null;
|
|
13901
14167
|
aheadOfOrigin: number | null;
|
|
13902
14168
|
behindOfOrigin: number | null;
|
|
14169
|
+
hasUpstream: boolean;
|
|
14170
|
+
upstreamBranch: string | null;
|
|
13903
14171
|
hasRemote: boolean;
|
|
13904
14172
|
};
|
|
13905
14173
|
}>, z.ZodObject<{
|
|
@@ -14689,26 +14957,41 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14689
14957
|
payload: z.ZodObject<{
|
|
14690
14958
|
cwd: z.ZodString;
|
|
14691
14959
|
status: z.ZodNullable<z.ZodObject<{
|
|
14960
|
+
number: z.ZodNumber;
|
|
14692
14961
|
url: z.ZodString;
|
|
14693
14962
|
title: z.ZodString;
|
|
14694
14963
|
state: z.ZodString;
|
|
14695
14964
|
baseRefName: z.ZodString;
|
|
14696
14965
|
headRefName: z.ZodString;
|
|
14697
14966
|
isMerged: z.ZodBoolean;
|
|
14967
|
+
checksState: z.ZodEnum<["pending", "failing", "passing"]>;
|
|
14968
|
+
requiredChecksPassed: z.ZodBoolean;
|
|
14969
|
+
canMerge: z.ZodBoolean;
|
|
14970
|
+
hasConflicts: z.ZodBoolean;
|
|
14698
14971
|
}, "strip", z.ZodTypeAny, {
|
|
14972
|
+
number: number;
|
|
14699
14973
|
title: string;
|
|
14700
14974
|
url: string;
|
|
14701
14975
|
state: string;
|
|
14702
14976
|
baseRefName: string;
|
|
14703
14977
|
headRefName: string;
|
|
14704
14978
|
isMerged: boolean;
|
|
14979
|
+
checksState: "pending" | "failing" | "passing";
|
|
14980
|
+
requiredChecksPassed: boolean;
|
|
14981
|
+
canMerge: boolean;
|
|
14982
|
+
hasConflicts: boolean;
|
|
14705
14983
|
}, {
|
|
14984
|
+
number: number;
|
|
14706
14985
|
title: string;
|
|
14707
14986
|
url: string;
|
|
14708
14987
|
state: string;
|
|
14709
14988
|
baseRefName: string;
|
|
14710
14989
|
headRefName: string;
|
|
14711
14990
|
isMerged: boolean;
|
|
14991
|
+
checksState: "pending" | "failing" | "passing";
|
|
14992
|
+
requiredChecksPassed: boolean;
|
|
14993
|
+
canMerge: boolean;
|
|
14994
|
+
hasConflicts: boolean;
|
|
14712
14995
|
}>>;
|
|
14713
14996
|
githubFeaturesEnabled: z.ZodBoolean;
|
|
14714
14997
|
error: z.ZodNullable<z.ZodObject<{
|
|
@@ -14729,12 +15012,17 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14729
15012
|
} | null;
|
|
14730
15013
|
cwd: string;
|
|
14731
15014
|
status: {
|
|
15015
|
+
number: number;
|
|
14732
15016
|
title: string;
|
|
14733
15017
|
url: string;
|
|
14734
15018
|
state: string;
|
|
14735
15019
|
baseRefName: string;
|
|
14736
15020
|
headRefName: string;
|
|
14737
15021
|
isMerged: boolean;
|
|
15022
|
+
checksState: "pending" | "failing" | "passing";
|
|
15023
|
+
requiredChecksPassed: boolean;
|
|
15024
|
+
canMerge: boolean;
|
|
15025
|
+
hasConflicts: boolean;
|
|
14738
15026
|
} | null;
|
|
14739
15027
|
requestId: string;
|
|
14740
15028
|
githubFeaturesEnabled: boolean;
|
|
@@ -14745,12 +15033,17 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14745
15033
|
} | null;
|
|
14746
15034
|
cwd: string;
|
|
14747
15035
|
status: {
|
|
15036
|
+
number: number;
|
|
14748
15037
|
title: string;
|
|
14749
15038
|
url: string;
|
|
14750
15039
|
state: string;
|
|
14751
15040
|
baseRefName: string;
|
|
14752
15041
|
headRefName: string;
|
|
14753
15042
|
isMerged: boolean;
|
|
15043
|
+
checksState: "pending" | "failing" | "passing";
|
|
15044
|
+
requiredChecksPassed: boolean;
|
|
15045
|
+
canMerge: boolean;
|
|
15046
|
+
hasConflicts: boolean;
|
|
14754
15047
|
} | null;
|
|
14755
15048
|
requestId: string;
|
|
14756
15049
|
githubFeaturesEnabled: boolean;
|
|
@@ -14764,12 +15057,17 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14764
15057
|
} | null;
|
|
14765
15058
|
cwd: string;
|
|
14766
15059
|
status: {
|
|
15060
|
+
number: number;
|
|
14767
15061
|
title: string;
|
|
14768
15062
|
url: string;
|
|
14769
15063
|
state: string;
|
|
14770
15064
|
baseRefName: string;
|
|
14771
15065
|
headRefName: string;
|
|
14772
15066
|
isMerged: boolean;
|
|
15067
|
+
checksState: "pending" | "failing" | "passing";
|
|
15068
|
+
requiredChecksPassed: boolean;
|
|
15069
|
+
canMerge: boolean;
|
|
15070
|
+
hasConflicts: boolean;
|
|
14773
15071
|
} | null;
|
|
14774
15072
|
requestId: string;
|
|
14775
15073
|
githubFeaturesEnabled: boolean;
|
|
@@ -14783,15 +15081,135 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14783
15081
|
} | null;
|
|
14784
15082
|
cwd: string;
|
|
14785
15083
|
status: {
|
|
15084
|
+
number: number;
|
|
14786
15085
|
title: string;
|
|
14787
15086
|
url: string;
|
|
14788
15087
|
state: string;
|
|
14789
15088
|
baseRefName: string;
|
|
14790
15089
|
headRefName: string;
|
|
14791
15090
|
isMerged: boolean;
|
|
15091
|
+
checksState: "pending" | "failing" | "passing";
|
|
15092
|
+
requiredChecksPassed: boolean;
|
|
15093
|
+
canMerge: boolean;
|
|
15094
|
+
hasConflicts: boolean;
|
|
15095
|
+
} | null;
|
|
15096
|
+
requestId: string;
|
|
15097
|
+
githubFeaturesEnabled: boolean;
|
|
15098
|
+
};
|
|
15099
|
+
}>, z.ZodObject<{
|
|
15100
|
+
type: z.ZodLiteral<"checkout_pr_failure_logs_response">;
|
|
15101
|
+
payload: z.ZodObject<{
|
|
15102
|
+
cwd: z.ZodString;
|
|
15103
|
+
logs: z.ZodNullable<z.ZodString>;
|
|
15104
|
+
githubFeaturesEnabled: z.ZodBoolean;
|
|
15105
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
15106
|
+
code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
|
|
15107
|
+
message: z.ZodString;
|
|
15108
|
+
}, "strip", z.ZodTypeAny, {
|
|
15109
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
15110
|
+
message: string;
|
|
15111
|
+
}, {
|
|
15112
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
15113
|
+
message: string;
|
|
15114
|
+
}>>;
|
|
15115
|
+
requestId: z.ZodString;
|
|
15116
|
+
}, "strip", z.ZodTypeAny, {
|
|
15117
|
+
error: {
|
|
15118
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
15119
|
+
message: string;
|
|
15120
|
+
} | null;
|
|
15121
|
+
cwd: string;
|
|
15122
|
+
requestId: string;
|
|
15123
|
+
githubFeaturesEnabled: boolean;
|
|
15124
|
+
logs: string | null;
|
|
15125
|
+
}, {
|
|
15126
|
+
error: {
|
|
15127
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
15128
|
+
message: string;
|
|
14792
15129
|
} | null;
|
|
15130
|
+
cwd: string;
|
|
14793
15131
|
requestId: string;
|
|
14794
15132
|
githubFeaturesEnabled: boolean;
|
|
15133
|
+
logs: string | null;
|
|
15134
|
+
}>;
|
|
15135
|
+
}, "strip", z.ZodTypeAny, {
|
|
15136
|
+
type: "checkout_pr_failure_logs_response";
|
|
15137
|
+
payload: {
|
|
15138
|
+
error: {
|
|
15139
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
15140
|
+
message: string;
|
|
15141
|
+
} | null;
|
|
15142
|
+
cwd: string;
|
|
15143
|
+
requestId: string;
|
|
15144
|
+
githubFeaturesEnabled: boolean;
|
|
15145
|
+
logs: string | null;
|
|
15146
|
+
};
|
|
15147
|
+
}, {
|
|
15148
|
+
type: "checkout_pr_failure_logs_response";
|
|
15149
|
+
payload: {
|
|
15150
|
+
error: {
|
|
15151
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
15152
|
+
message: string;
|
|
15153
|
+
} | null;
|
|
15154
|
+
cwd: string;
|
|
15155
|
+
requestId: string;
|
|
15156
|
+
githubFeaturesEnabled: boolean;
|
|
15157
|
+
logs: string | null;
|
|
15158
|
+
};
|
|
15159
|
+
}>, z.ZodObject<{
|
|
15160
|
+
type: z.ZodLiteral<"checkout_pr_merge_response">;
|
|
15161
|
+
payload: z.ZodObject<{
|
|
15162
|
+
cwd: z.ZodString;
|
|
15163
|
+
success: z.ZodBoolean;
|
|
15164
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
15165
|
+
code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
|
|
15166
|
+
message: z.ZodString;
|
|
15167
|
+
}, "strip", z.ZodTypeAny, {
|
|
15168
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
15169
|
+
message: string;
|
|
15170
|
+
}, {
|
|
15171
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
15172
|
+
message: string;
|
|
15173
|
+
}>>;
|
|
15174
|
+
requestId: z.ZodString;
|
|
15175
|
+
}, "strip", z.ZodTypeAny, {
|
|
15176
|
+
error: {
|
|
15177
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
15178
|
+
message: string;
|
|
15179
|
+
} | null;
|
|
15180
|
+
cwd: string;
|
|
15181
|
+
requestId: string;
|
|
15182
|
+
success: boolean;
|
|
15183
|
+
}, {
|
|
15184
|
+
error: {
|
|
15185
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
15186
|
+
message: string;
|
|
15187
|
+
} | null;
|
|
15188
|
+
cwd: string;
|
|
15189
|
+
requestId: string;
|
|
15190
|
+
success: boolean;
|
|
15191
|
+
}>;
|
|
15192
|
+
}, "strip", z.ZodTypeAny, {
|
|
15193
|
+
type: "checkout_pr_merge_response";
|
|
15194
|
+
payload: {
|
|
15195
|
+
error: {
|
|
15196
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
15197
|
+
message: string;
|
|
15198
|
+
} | null;
|
|
15199
|
+
cwd: string;
|
|
15200
|
+
requestId: string;
|
|
15201
|
+
success: boolean;
|
|
15202
|
+
};
|
|
15203
|
+
}, {
|
|
15204
|
+
type: "checkout_pr_merge_response";
|
|
15205
|
+
payload: {
|
|
15206
|
+
error: {
|
|
15207
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
15208
|
+
message: string;
|
|
15209
|
+
} | null;
|
|
15210
|
+
cwd: string;
|
|
15211
|
+
requestId: string;
|
|
15212
|
+
success: boolean;
|
|
14795
15213
|
};
|
|
14796
15214
|
}>, z.ZodObject<{
|
|
14797
15215
|
type: z.ZodLiteral<"validate_branch_response">;
|
|
@@ -16620,6 +17038,10 @@ export type CheckoutPrCreateRequest = z.infer<typeof CheckoutPrCreateRequestSche
|
|
|
16620
17038
|
export type CheckoutPrCreateResponse = z.infer<typeof CheckoutPrCreateResponseSchema>;
|
|
16621
17039
|
export type CheckoutPrStatusRequest = z.infer<typeof CheckoutPrStatusRequestSchema>;
|
|
16622
17040
|
export type CheckoutPrStatusResponse = z.infer<typeof CheckoutPrStatusResponseSchema>;
|
|
17041
|
+
export type CheckoutPrFailureLogsRequest = z.infer<typeof CheckoutPrFailureLogsRequestSchema>;
|
|
17042
|
+
export type CheckoutPrFailureLogsResponse = z.infer<typeof CheckoutPrFailureLogsResponseSchema>;
|
|
17043
|
+
export type CheckoutPrMergeRequest = z.infer<typeof CheckoutPrMergeRequestSchema>;
|
|
17044
|
+
export type CheckoutPrMergeResponse = z.infer<typeof CheckoutPrMergeResponseSchema>;
|
|
16623
17045
|
export type ValidateBranchRequest = z.infer<typeof ValidateBranchRequestSchema>;
|
|
16624
17046
|
export type ValidateBranchResponse = z.infer<typeof ValidateBranchResponseSchema>;
|
|
16625
17047
|
export type BranchSuggestionsRequest = z.infer<typeof BranchSuggestionsRequestSchema>;
|
|
@@ -17731,6 +18153,33 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17731
18153
|
cwd: string;
|
|
17732
18154
|
type: "checkout_pr_status_request";
|
|
17733
18155
|
requestId: string;
|
|
18156
|
+
}>, z.ZodObject<{
|
|
18157
|
+
type: z.ZodLiteral<"checkout_pr_failure_logs_request">;
|
|
18158
|
+
cwd: z.ZodString;
|
|
18159
|
+
requestId: z.ZodString;
|
|
18160
|
+
}, "strip", z.ZodTypeAny, {
|
|
18161
|
+
cwd: string;
|
|
18162
|
+
type: "checkout_pr_failure_logs_request";
|
|
18163
|
+
requestId: string;
|
|
18164
|
+
}, {
|
|
18165
|
+
cwd: string;
|
|
18166
|
+
type: "checkout_pr_failure_logs_request";
|
|
18167
|
+
requestId: string;
|
|
18168
|
+
}>, z.ZodObject<{
|
|
18169
|
+
type: z.ZodLiteral<"checkout_pr_merge_request">;
|
|
18170
|
+
cwd: z.ZodString;
|
|
18171
|
+
method: z.ZodOptional<z.ZodEnum<["squash"]>>;
|
|
18172
|
+
requestId: z.ZodString;
|
|
18173
|
+
}, "strip", z.ZodTypeAny, {
|
|
18174
|
+
cwd: string;
|
|
18175
|
+
type: "checkout_pr_merge_request";
|
|
18176
|
+
requestId: string;
|
|
18177
|
+
method?: "squash" | undefined;
|
|
18178
|
+
}, {
|
|
18179
|
+
cwd: string;
|
|
18180
|
+
type: "checkout_pr_merge_request";
|
|
18181
|
+
requestId: string;
|
|
18182
|
+
method?: "squash" | undefined;
|
|
17734
18183
|
}>, z.ZodObject<{
|
|
17735
18184
|
type: z.ZodLiteral<"validate_branch_request">;
|
|
17736
18185
|
cwd: z.ZodString;
|
|
@@ -18444,6 +18893,15 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18444
18893
|
cwd: string;
|
|
18445
18894
|
type: "checkout_pr_status_request";
|
|
18446
18895
|
requestId: string;
|
|
18896
|
+
} | {
|
|
18897
|
+
cwd: string;
|
|
18898
|
+
type: "checkout_pr_failure_logs_request";
|
|
18899
|
+
requestId: string;
|
|
18900
|
+
} | {
|
|
18901
|
+
cwd: string;
|
|
18902
|
+
type: "checkout_pr_merge_request";
|
|
18903
|
+
requestId: string;
|
|
18904
|
+
method?: "squash" | undefined;
|
|
18447
18905
|
} | {
|
|
18448
18906
|
cwd: string;
|
|
18449
18907
|
type: "validate_branch_request";
|
|
@@ -18838,6 +19296,15 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18838
19296
|
cwd: string;
|
|
18839
19297
|
type: "checkout_pr_status_request";
|
|
18840
19298
|
requestId: string;
|
|
19299
|
+
} | {
|
|
19300
|
+
cwd: string;
|
|
19301
|
+
type: "checkout_pr_failure_logs_request";
|
|
19302
|
+
requestId: string;
|
|
19303
|
+
} | {
|
|
19304
|
+
cwd: string;
|
|
19305
|
+
type: "checkout_pr_merge_request";
|
|
19306
|
+
requestId: string;
|
|
19307
|
+
method?: "squash" | undefined;
|
|
18841
19308
|
} | {
|
|
18842
19309
|
cwd: string;
|
|
18843
19310
|
type: "validate_branch_request";
|
|
@@ -21986,6 +22453,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21986
22453
|
aheadBehind: z.ZodNull;
|
|
21987
22454
|
aheadOfOrigin: z.ZodNull;
|
|
21988
22455
|
behindOfOrigin: z.ZodNull;
|
|
22456
|
+
hasUpstream: z.ZodLiteral<false>;
|
|
22457
|
+
upstreamBranch: z.ZodNull;
|
|
21989
22458
|
hasRemote: z.ZodBoolean;
|
|
21990
22459
|
remoteUrl: z.ZodNull;
|
|
21991
22460
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22005,6 +22474,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22005
22474
|
aheadBehind: null;
|
|
22006
22475
|
aheadOfOrigin: null;
|
|
22007
22476
|
behindOfOrigin: null;
|
|
22477
|
+
hasUpstream: false;
|
|
22478
|
+
upstreamBranch: null;
|
|
22008
22479
|
hasRemote: boolean;
|
|
22009
22480
|
}, {
|
|
22010
22481
|
error: {
|
|
@@ -22023,6 +22494,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22023
22494
|
aheadBehind: null;
|
|
22024
22495
|
aheadOfOrigin: null;
|
|
22025
22496
|
behindOfOrigin: null;
|
|
22497
|
+
hasUpstream: false;
|
|
22498
|
+
upstreamBranch: null;
|
|
22026
22499
|
hasRemote: boolean;
|
|
22027
22500
|
}>, z.ZodObject<{
|
|
22028
22501
|
cwd: z.ZodString;
|
|
@@ -22056,6 +22529,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22056
22529
|
}>>;
|
|
22057
22530
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
22058
22531
|
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
22532
|
+
hasUpstream: z.ZodBoolean;
|
|
22533
|
+
upstreamBranch: z.ZodNullable<z.ZodString>;
|
|
22059
22534
|
hasRemote: z.ZodBoolean;
|
|
22060
22535
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
22061
22536
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22078,6 +22553,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22078
22553
|
} | null;
|
|
22079
22554
|
aheadOfOrigin: number | null;
|
|
22080
22555
|
behindOfOrigin: number | null;
|
|
22556
|
+
hasUpstream: boolean;
|
|
22557
|
+
upstreamBranch: string | null;
|
|
22081
22558
|
hasRemote: boolean;
|
|
22082
22559
|
}, {
|
|
22083
22560
|
error: {
|
|
@@ -22099,6 +22576,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22099
22576
|
} | null;
|
|
22100
22577
|
aheadOfOrigin: number | null;
|
|
22101
22578
|
behindOfOrigin: number | null;
|
|
22579
|
+
hasUpstream: boolean;
|
|
22580
|
+
upstreamBranch: string | null;
|
|
22102
22581
|
hasRemote: boolean;
|
|
22103
22582
|
}>, z.ZodObject<{
|
|
22104
22583
|
cwd: z.ZodString;
|
|
@@ -22133,6 +22612,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22133
22612
|
}>>;
|
|
22134
22613
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
22135
22614
|
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
22615
|
+
hasUpstream: z.ZodBoolean;
|
|
22616
|
+
upstreamBranch: z.ZodNullable<z.ZodString>;
|
|
22136
22617
|
hasRemote: z.ZodBoolean;
|
|
22137
22618
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
22138
22619
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22156,6 +22637,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22156
22637
|
} | null;
|
|
22157
22638
|
aheadOfOrigin: number | null;
|
|
22158
22639
|
behindOfOrigin: number | null;
|
|
22640
|
+
hasUpstream: boolean;
|
|
22641
|
+
upstreamBranch: string | null;
|
|
22159
22642
|
hasRemote: boolean;
|
|
22160
22643
|
}, {
|
|
22161
22644
|
error: {
|
|
@@ -22178,6 +22661,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22178
22661
|
} | null;
|
|
22179
22662
|
aheadOfOrigin: number | null;
|
|
22180
22663
|
behindOfOrigin: number | null;
|
|
22664
|
+
hasUpstream: boolean;
|
|
22665
|
+
upstreamBranch: string | null;
|
|
22181
22666
|
hasRemote: boolean;
|
|
22182
22667
|
}>]>;
|
|
22183
22668
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22199,6 +22684,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22199
22684
|
aheadBehind: null;
|
|
22200
22685
|
aheadOfOrigin: null;
|
|
22201
22686
|
behindOfOrigin: null;
|
|
22687
|
+
hasUpstream: false;
|
|
22688
|
+
upstreamBranch: null;
|
|
22202
22689
|
hasRemote: boolean;
|
|
22203
22690
|
} | {
|
|
22204
22691
|
error: {
|
|
@@ -22220,6 +22707,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22220
22707
|
} | null;
|
|
22221
22708
|
aheadOfOrigin: number | null;
|
|
22222
22709
|
behindOfOrigin: number | null;
|
|
22710
|
+
hasUpstream: boolean;
|
|
22711
|
+
upstreamBranch: string | null;
|
|
22223
22712
|
hasRemote: boolean;
|
|
22224
22713
|
} | {
|
|
22225
22714
|
error: {
|
|
@@ -22242,6 +22731,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22242
22731
|
} | null;
|
|
22243
22732
|
aheadOfOrigin: number | null;
|
|
22244
22733
|
behindOfOrigin: number | null;
|
|
22734
|
+
hasUpstream: boolean;
|
|
22735
|
+
upstreamBranch: string | null;
|
|
22245
22736
|
hasRemote: boolean;
|
|
22246
22737
|
};
|
|
22247
22738
|
}, {
|
|
@@ -22263,6 +22754,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22263
22754
|
aheadBehind: null;
|
|
22264
22755
|
aheadOfOrigin: null;
|
|
22265
22756
|
behindOfOrigin: null;
|
|
22757
|
+
hasUpstream: false;
|
|
22758
|
+
upstreamBranch: null;
|
|
22266
22759
|
hasRemote: boolean;
|
|
22267
22760
|
} | {
|
|
22268
22761
|
error: {
|
|
@@ -22284,6 +22777,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22284
22777
|
} | null;
|
|
22285
22778
|
aheadOfOrigin: number | null;
|
|
22286
22779
|
behindOfOrigin: number | null;
|
|
22780
|
+
hasUpstream: boolean;
|
|
22781
|
+
upstreamBranch: string | null;
|
|
22287
22782
|
hasRemote: boolean;
|
|
22288
22783
|
} | {
|
|
22289
22784
|
error: {
|
|
@@ -22306,6 +22801,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22306
22801
|
} | null;
|
|
22307
22802
|
aheadOfOrigin: number | null;
|
|
22308
22803
|
behindOfOrigin: number | null;
|
|
22804
|
+
hasUpstream: boolean;
|
|
22805
|
+
upstreamBranch: string | null;
|
|
22309
22806
|
hasRemote: boolean;
|
|
22310
22807
|
};
|
|
22311
22808
|
}>, z.ZodObject<{
|
|
@@ -23095,26 +23592,41 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23095
23592
|
payload: z.ZodObject<{
|
|
23096
23593
|
cwd: z.ZodString;
|
|
23097
23594
|
status: z.ZodNullable<z.ZodObject<{
|
|
23595
|
+
number: z.ZodNumber;
|
|
23098
23596
|
url: z.ZodString;
|
|
23099
23597
|
title: z.ZodString;
|
|
23100
23598
|
state: z.ZodString;
|
|
23101
23599
|
baseRefName: z.ZodString;
|
|
23102
23600
|
headRefName: z.ZodString;
|
|
23103
23601
|
isMerged: z.ZodBoolean;
|
|
23602
|
+
checksState: z.ZodEnum<["pending", "failing", "passing"]>;
|
|
23603
|
+
requiredChecksPassed: z.ZodBoolean;
|
|
23604
|
+
canMerge: z.ZodBoolean;
|
|
23605
|
+
hasConflicts: z.ZodBoolean;
|
|
23104
23606
|
}, "strip", z.ZodTypeAny, {
|
|
23607
|
+
number: number;
|
|
23105
23608
|
title: string;
|
|
23106
23609
|
url: string;
|
|
23107
23610
|
state: string;
|
|
23108
23611
|
baseRefName: string;
|
|
23109
23612
|
headRefName: string;
|
|
23110
23613
|
isMerged: boolean;
|
|
23614
|
+
checksState: "pending" | "failing" | "passing";
|
|
23615
|
+
requiredChecksPassed: boolean;
|
|
23616
|
+
canMerge: boolean;
|
|
23617
|
+
hasConflicts: boolean;
|
|
23111
23618
|
}, {
|
|
23619
|
+
number: number;
|
|
23112
23620
|
title: string;
|
|
23113
23621
|
url: string;
|
|
23114
23622
|
state: string;
|
|
23115
23623
|
baseRefName: string;
|
|
23116
23624
|
headRefName: string;
|
|
23117
23625
|
isMerged: boolean;
|
|
23626
|
+
checksState: "pending" | "failing" | "passing";
|
|
23627
|
+
requiredChecksPassed: boolean;
|
|
23628
|
+
canMerge: boolean;
|
|
23629
|
+
hasConflicts: boolean;
|
|
23118
23630
|
}>>;
|
|
23119
23631
|
githubFeaturesEnabled: z.ZodBoolean;
|
|
23120
23632
|
error: z.ZodNullable<z.ZodObject<{
|
|
@@ -23135,12 +23647,17 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23135
23647
|
} | null;
|
|
23136
23648
|
cwd: string;
|
|
23137
23649
|
status: {
|
|
23650
|
+
number: number;
|
|
23138
23651
|
title: string;
|
|
23139
23652
|
url: string;
|
|
23140
23653
|
state: string;
|
|
23141
23654
|
baseRefName: string;
|
|
23142
23655
|
headRefName: string;
|
|
23143
23656
|
isMerged: boolean;
|
|
23657
|
+
checksState: "pending" | "failing" | "passing";
|
|
23658
|
+
requiredChecksPassed: boolean;
|
|
23659
|
+
canMerge: boolean;
|
|
23660
|
+
hasConflicts: boolean;
|
|
23144
23661
|
} | null;
|
|
23145
23662
|
requestId: string;
|
|
23146
23663
|
githubFeaturesEnabled: boolean;
|
|
@@ -23151,12 +23668,17 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23151
23668
|
} | null;
|
|
23152
23669
|
cwd: string;
|
|
23153
23670
|
status: {
|
|
23671
|
+
number: number;
|
|
23154
23672
|
title: string;
|
|
23155
23673
|
url: string;
|
|
23156
23674
|
state: string;
|
|
23157
23675
|
baseRefName: string;
|
|
23158
23676
|
headRefName: string;
|
|
23159
23677
|
isMerged: boolean;
|
|
23678
|
+
checksState: "pending" | "failing" | "passing";
|
|
23679
|
+
requiredChecksPassed: boolean;
|
|
23680
|
+
canMerge: boolean;
|
|
23681
|
+
hasConflicts: boolean;
|
|
23160
23682
|
} | null;
|
|
23161
23683
|
requestId: string;
|
|
23162
23684
|
githubFeaturesEnabled: boolean;
|
|
@@ -23170,12 +23692,17 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23170
23692
|
} | null;
|
|
23171
23693
|
cwd: string;
|
|
23172
23694
|
status: {
|
|
23695
|
+
number: number;
|
|
23173
23696
|
title: string;
|
|
23174
23697
|
url: string;
|
|
23175
23698
|
state: string;
|
|
23176
23699
|
baseRefName: string;
|
|
23177
23700
|
headRefName: string;
|
|
23178
23701
|
isMerged: boolean;
|
|
23702
|
+
checksState: "pending" | "failing" | "passing";
|
|
23703
|
+
requiredChecksPassed: boolean;
|
|
23704
|
+
canMerge: boolean;
|
|
23705
|
+
hasConflicts: boolean;
|
|
23179
23706
|
} | null;
|
|
23180
23707
|
requestId: string;
|
|
23181
23708
|
githubFeaturesEnabled: boolean;
|
|
@@ -23189,16 +23716,136 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23189
23716
|
} | null;
|
|
23190
23717
|
cwd: string;
|
|
23191
23718
|
status: {
|
|
23719
|
+
number: number;
|
|
23192
23720
|
title: string;
|
|
23193
23721
|
url: string;
|
|
23194
23722
|
state: string;
|
|
23195
23723
|
baseRefName: string;
|
|
23196
23724
|
headRefName: string;
|
|
23197
23725
|
isMerged: boolean;
|
|
23726
|
+
checksState: "pending" | "failing" | "passing";
|
|
23727
|
+
requiredChecksPassed: boolean;
|
|
23728
|
+
canMerge: boolean;
|
|
23729
|
+
hasConflicts: boolean;
|
|
23198
23730
|
} | null;
|
|
23199
23731
|
requestId: string;
|
|
23200
23732
|
githubFeaturesEnabled: boolean;
|
|
23201
23733
|
};
|
|
23734
|
+
}>, z.ZodObject<{
|
|
23735
|
+
type: z.ZodLiteral<"checkout_pr_failure_logs_response">;
|
|
23736
|
+
payload: z.ZodObject<{
|
|
23737
|
+
cwd: z.ZodString;
|
|
23738
|
+
logs: z.ZodNullable<z.ZodString>;
|
|
23739
|
+
githubFeaturesEnabled: z.ZodBoolean;
|
|
23740
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
23741
|
+
code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
|
|
23742
|
+
message: z.ZodString;
|
|
23743
|
+
}, "strip", z.ZodTypeAny, {
|
|
23744
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
23745
|
+
message: string;
|
|
23746
|
+
}, {
|
|
23747
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
23748
|
+
message: string;
|
|
23749
|
+
}>>;
|
|
23750
|
+
requestId: z.ZodString;
|
|
23751
|
+
}, "strip", z.ZodTypeAny, {
|
|
23752
|
+
error: {
|
|
23753
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
23754
|
+
message: string;
|
|
23755
|
+
} | null;
|
|
23756
|
+
cwd: string;
|
|
23757
|
+
requestId: string;
|
|
23758
|
+
githubFeaturesEnabled: boolean;
|
|
23759
|
+
logs: string | null;
|
|
23760
|
+
}, {
|
|
23761
|
+
error: {
|
|
23762
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
23763
|
+
message: string;
|
|
23764
|
+
} | null;
|
|
23765
|
+
cwd: string;
|
|
23766
|
+
requestId: string;
|
|
23767
|
+
githubFeaturesEnabled: boolean;
|
|
23768
|
+
logs: string | null;
|
|
23769
|
+
}>;
|
|
23770
|
+
}, "strip", z.ZodTypeAny, {
|
|
23771
|
+
type: "checkout_pr_failure_logs_response";
|
|
23772
|
+
payload: {
|
|
23773
|
+
error: {
|
|
23774
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
23775
|
+
message: string;
|
|
23776
|
+
} | null;
|
|
23777
|
+
cwd: string;
|
|
23778
|
+
requestId: string;
|
|
23779
|
+
githubFeaturesEnabled: boolean;
|
|
23780
|
+
logs: string | null;
|
|
23781
|
+
};
|
|
23782
|
+
}, {
|
|
23783
|
+
type: "checkout_pr_failure_logs_response";
|
|
23784
|
+
payload: {
|
|
23785
|
+
error: {
|
|
23786
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
23787
|
+
message: string;
|
|
23788
|
+
} | null;
|
|
23789
|
+
cwd: string;
|
|
23790
|
+
requestId: string;
|
|
23791
|
+
githubFeaturesEnabled: boolean;
|
|
23792
|
+
logs: string | null;
|
|
23793
|
+
};
|
|
23794
|
+
}>, z.ZodObject<{
|
|
23795
|
+
type: z.ZodLiteral<"checkout_pr_merge_response">;
|
|
23796
|
+
payload: z.ZodObject<{
|
|
23797
|
+
cwd: z.ZodString;
|
|
23798
|
+
success: z.ZodBoolean;
|
|
23799
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
23800
|
+
code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
|
|
23801
|
+
message: z.ZodString;
|
|
23802
|
+
}, "strip", z.ZodTypeAny, {
|
|
23803
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
23804
|
+
message: string;
|
|
23805
|
+
}, {
|
|
23806
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
23807
|
+
message: string;
|
|
23808
|
+
}>>;
|
|
23809
|
+
requestId: z.ZodString;
|
|
23810
|
+
}, "strip", z.ZodTypeAny, {
|
|
23811
|
+
error: {
|
|
23812
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
23813
|
+
message: string;
|
|
23814
|
+
} | null;
|
|
23815
|
+
cwd: string;
|
|
23816
|
+
requestId: string;
|
|
23817
|
+
success: boolean;
|
|
23818
|
+
}, {
|
|
23819
|
+
error: {
|
|
23820
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
23821
|
+
message: string;
|
|
23822
|
+
} | null;
|
|
23823
|
+
cwd: string;
|
|
23824
|
+
requestId: string;
|
|
23825
|
+
success: boolean;
|
|
23826
|
+
}>;
|
|
23827
|
+
}, "strip", z.ZodTypeAny, {
|
|
23828
|
+
type: "checkout_pr_merge_response";
|
|
23829
|
+
payload: {
|
|
23830
|
+
error: {
|
|
23831
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
23832
|
+
message: string;
|
|
23833
|
+
} | null;
|
|
23834
|
+
cwd: string;
|
|
23835
|
+
requestId: string;
|
|
23836
|
+
success: boolean;
|
|
23837
|
+
};
|
|
23838
|
+
}, {
|
|
23839
|
+
type: "checkout_pr_merge_response";
|
|
23840
|
+
payload: {
|
|
23841
|
+
error: {
|
|
23842
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
23843
|
+
message: string;
|
|
23844
|
+
} | null;
|
|
23845
|
+
cwd: string;
|
|
23846
|
+
requestId: string;
|
|
23847
|
+
success: boolean;
|
|
23848
|
+
};
|
|
23202
23849
|
}>, z.ZodObject<{
|
|
23203
23850
|
type: z.ZodLiteral<"validate_branch_response">;
|
|
23204
23851
|
payload: z.ZodObject<{
|
|
@@ -25446,6 +26093,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25446
26093
|
aheadBehind: null;
|
|
25447
26094
|
aheadOfOrigin: null;
|
|
25448
26095
|
behindOfOrigin: null;
|
|
26096
|
+
hasUpstream: false;
|
|
26097
|
+
upstreamBranch: null;
|
|
25449
26098
|
hasRemote: boolean;
|
|
25450
26099
|
} | {
|
|
25451
26100
|
error: {
|
|
@@ -25467,6 +26116,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25467
26116
|
} | null;
|
|
25468
26117
|
aheadOfOrigin: number | null;
|
|
25469
26118
|
behindOfOrigin: number | null;
|
|
26119
|
+
hasUpstream: boolean;
|
|
26120
|
+
upstreamBranch: string | null;
|
|
25470
26121
|
hasRemote: boolean;
|
|
25471
26122
|
} | {
|
|
25472
26123
|
error: {
|
|
@@ -25489,6 +26140,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25489
26140
|
} | null;
|
|
25490
26141
|
aheadOfOrigin: number | null;
|
|
25491
26142
|
behindOfOrigin: number | null;
|
|
26143
|
+
hasUpstream: boolean;
|
|
26144
|
+
upstreamBranch: string | null;
|
|
25492
26145
|
hasRemote: boolean;
|
|
25493
26146
|
};
|
|
25494
26147
|
} | {
|
|
@@ -25621,15 +26274,43 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25621
26274
|
} | null;
|
|
25622
26275
|
cwd: string;
|
|
25623
26276
|
status: {
|
|
26277
|
+
number: number;
|
|
25624
26278
|
title: string;
|
|
25625
26279
|
url: string;
|
|
25626
26280
|
state: string;
|
|
25627
26281
|
baseRefName: string;
|
|
25628
26282
|
headRefName: string;
|
|
25629
26283
|
isMerged: boolean;
|
|
26284
|
+
checksState: "pending" | "failing" | "passing";
|
|
26285
|
+
requiredChecksPassed: boolean;
|
|
26286
|
+
canMerge: boolean;
|
|
26287
|
+
hasConflicts: boolean;
|
|
26288
|
+
} | null;
|
|
26289
|
+
requestId: string;
|
|
26290
|
+
githubFeaturesEnabled: boolean;
|
|
26291
|
+
};
|
|
26292
|
+
} | {
|
|
26293
|
+
type: "checkout_pr_failure_logs_response";
|
|
26294
|
+
payload: {
|
|
26295
|
+
error: {
|
|
26296
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
26297
|
+
message: string;
|
|
25630
26298
|
} | null;
|
|
26299
|
+
cwd: string;
|
|
25631
26300
|
requestId: string;
|
|
25632
26301
|
githubFeaturesEnabled: boolean;
|
|
26302
|
+
logs: string | null;
|
|
26303
|
+
};
|
|
26304
|
+
} | {
|
|
26305
|
+
type: "checkout_pr_merge_response";
|
|
26306
|
+
payload: {
|
|
26307
|
+
error: {
|
|
26308
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
26309
|
+
message: string;
|
|
26310
|
+
} | null;
|
|
26311
|
+
cwd: string;
|
|
26312
|
+
requestId: string;
|
|
26313
|
+
success: boolean;
|
|
25633
26314
|
};
|
|
25634
26315
|
} | {
|
|
25635
26316
|
type: "validate_branch_response";
|
|
@@ -26425,6 +27106,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26425
27106
|
aheadBehind: null;
|
|
26426
27107
|
aheadOfOrigin: null;
|
|
26427
27108
|
behindOfOrigin: null;
|
|
27109
|
+
hasUpstream: false;
|
|
27110
|
+
upstreamBranch: null;
|
|
26428
27111
|
hasRemote: boolean;
|
|
26429
27112
|
} | {
|
|
26430
27113
|
error: {
|
|
@@ -26446,6 +27129,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26446
27129
|
} | null;
|
|
26447
27130
|
aheadOfOrigin: number | null;
|
|
26448
27131
|
behindOfOrigin: number | null;
|
|
27132
|
+
hasUpstream: boolean;
|
|
27133
|
+
upstreamBranch: string | null;
|
|
26449
27134
|
hasRemote: boolean;
|
|
26450
27135
|
} | {
|
|
26451
27136
|
error: {
|
|
@@ -26468,6 +27153,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26468
27153
|
} | null;
|
|
26469
27154
|
aheadOfOrigin: number | null;
|
|
26470
27155
|
behindOfOrigin: number | null;
|
|
27156
|
+
hasUpstream: boolean;
|
|
27157
|
+
upstreamBranch: string | null;
|
|
26471
27158
|
hasRemote: boolean;
|
|
26472
27159
|
};
|
|
26473
27160
|
} | {
|
|
@@ -26600,16 +27287,44 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26600
27287
|
} | null;
|
|
26601
27288
|
cwd: string;
|
|
26602
27289
|
status: {
|
|
27290
|
+
number: number;
|
|
26603
27291
|
title: string;
|
|
26604
27292
|
url: string;
|
|
26605
27293
|
state: string;
|
|
26606
27294
|
baseRefName: string;
|
|
26607
27295
|
headRefName: string;
|
|
26608
27296
|
isMerged: boolean;
|
|
27297
|
+
checksState: "pending" | "failing" | "passing";
|
|
27298
|
+
requiredChecksPassed: boolean;
|
|
27299
|
+
canMerge: boolean;
|
|
27300
|
+
hasConflicts: boolean;
|
|
26609
27301
|
} | null;
|
|
26610
27302
|
requestId: string;
|
|
26611
27303
|
githubFeaturesEnabled: boolean;
|
|
26612
27304
|
};
|
|
27305
|
+
} | {
|
|
27306
|
+
type: "checkout_pr_failure_logs_response";
|
|
27307
|
+
payload: {
|
|
27308
|
+
error: {
|
|
27309
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
27310
|
+
message: string;
|
|
27311
|
+
} | null;
|
|
27312
|
+
cwd: string;
|
|
27313
|
+
requestId: string;
|
|
27314
|
+
githubFeaturesEnabled: boolean;
|
|
27315
|
+
logs: string | null;
|
|
27316
|
+
};
|
|
27317
|
+
} | {
|
|
27318
|
+
type: "checkout_pr_merge_response";
|
|
27319
|
+
payload: {
|
|
27320
|
+
error: {
|
|
27321
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
27322
|
+
message: string;
|
|
27323
|
+
} | null;
|
|
27324
|
+
cwd: string;
|
|
27325
|
+
requestId: string;
|
|
27326
|
+
success: boolean;
|
|
27327
|
+
};
|
|
26613
27328
|
} | {
|
|
26614
27329
|
type: "validate_branch_response";
|
|
26615
27330
|
payload: {
|
|
@@ -27954,6 +28669,33 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27954
28669
|
cwd: string;
|
|
27955
28670
|
type: "checkout_pr_status_request";
|
|
27956
28671
|
requestId: string;
|
|
28672
|
+
}>, z.ZodObject<{
|
|
28673
|
+
type: z.ZodLiteral<"checkout_pr_failure_logs_request">;
|
|
28674
|
+
cwd: z.ZodString;
|
|
28675
|
+
requestId: z.ZodString;
|
|
28676
|
+
}, "strip", z.ZodTypeAny, {
|
|
28677
|
+
cwd: string;
|
|
28678
|
+
type: "checkout_pr_failure_logs_request";
|
|
28679
|
+
requestId: string;
|
|
28680
|
+
}, {
|
|
28681
|
+
cwd: string;
|
|
28682
|
+
type: "checkout_pr_failure_logs_request";
|
|
28683
|
+
requestId: string;
|
|
28684
|
+
}>, z.ZodObject<{
|
|
28685
|
+
type: z.ZodLiteral<"checkout_pr_merge_request">;
|
|
28686
|
+
cwd: z.ZodString;
|
|
28687
|
+
method: z.ZodOptional<z.ZodEnum<["squash"]>>;
|
|
28688
|
+
requestId: z.ZodString;
|
|
28689
|
+
}, "strip", z.ZodTypeAny, {
|
|
28690
|
+
cwd: string;
|
|
28691
|
+
type: "checkout_pr_merge_request";
|
|
28692
|
+
requestId: string;
|
|
28693
|
+
method?: "squash" | undefined;
|
|
28694
|
+
}, {
|
|
28695
|
+
cwd: string;
|
|
28696
|
+
type: "checkout_pr_merge_request";
|
|
28697
|
+
requestId: string;
|
|
28698
|
+
method?: "squash" | undefined;
|
|
27957
28699
|
}>, z.ZodObject<{
|
|
27958
28700
|
type: z.ZodLiteral<"validate_branch_request">;
|
|
27959
28701
|
cwd: z.ZodString;
|
|
@@ -28667,6 +29409,15 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28667
29409
|
cwd: string;
|
|
28668
29410
|
type: "checkout_pr_status_request";
|
|
28669
29411
|
requestId: string;
|
|
29412
|
+
} | {
|
|
29413
|
+
cwd: string;
|
|
29414
|
+
type: "checkout_pr_failure_logs_request";
|
|
29415
|
+
requestId: string;
|
|
29416
|
+
} | {
|
|
29417
|
+
cwd: string;
|
|
29418
|
+
type: "checkout_pr_merge_request";
|
|
29419
|
+
requestId: string;
|
|
29420
|
+
method?: "squash" | undefined;
|
|
28670
29421
|
} | {
|
|
28671
29422
|
cwd: string;
|
|
28672
29423
|
type: "validate_branch_request";
|
|
@@ -29061,6 +29812,15 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
29061
29812
|
cwd: string;
|
|
29062
29813
|
type: "checkout_pr_status_request";
|
|
29063
29814
|
requestId: string;
|
|
29815
|
+
} | {
|
|
29816
|
+
cwd: string;
|
|
29817
|
+
type: "checkout_pr_failure_logs_request";
|
|
29818
|
+
requestId: string;
|
|
29819
|
+
} | {
|
|
29820
|
+
cwd: string;
|
|
29821
|
+
type: "checkout_pr_merge_request";
|
|
29822
|
+
requestId: string;
|
|
29823
|
+
method?: "squash" | undefined;
|
|
29064
29824
|
} | {
|
|
29065
29825
|
cwd: string;
|
|
29066
29826
|
type: "validate_branch_request";
|
|
@@ -32236,6 +32996,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32236
32996
|
aheadBehind: z.ZodNull;
|
|
32237
32997
|
aheadOfOrigin: z.ZodNull;
|
|
32238
32998
|
behindOfOrigin: z.ZodNull;
|
|
32999
|
+
hasUpstream: z.ZodLiteral<false>;
|
|
33000
|
+
upstreamBranch: z.ZodNull;
|
|
32239
33001
|
hasRemote: z.ZodBoolean;
|
|
32240
33002
|
remoteUrl: z.ZodNull;
|
|
32241
33003
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -32255,6 +33017,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32255
33017
|
aheadBehind: null;
|
|
32256
33018
|
aheadOfOrigin: null;
|
|
32257
33019
|
behindOfOrigin: null;
|
|
33020
|
+
hasUpstream: false;
|
|
33021
|
+
upstreamBranch: null;
|
|
32258
33022
|
hasRemote: boolean;
|
|
32259
33023
|
}, {
|
|
32260
33024
|
error: {
|
|
@@ -32273,6 +33037,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32273
33037
|
aheadBehind: null;
|
|
32274
33038
|
aheadOfOrigin: null;
|
|
32275
33039
|
behindOfOrigin: null;
|
|
33040
|
+
hasUpstream: false;
|
|
33041
|
+
upstreamBranch: null;
|
|
32276
33042
|
hasRemote: boolean;
|
|
32277
33043
|
}>, z.ZodObject<{
|
|
32278
33044
|
cwd: z.ZodString;
|
|
@@ -32306,6 +33072,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32306
33072
|
}>>;
|
|
32307
33073
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
32308
33074
|
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
33075
|
+
hasUpstream: z.ZodBoolean;
|
|
33076
|
+
upstreamBranch: z.ZodNullable<z.ZodString>;
|
|
32309
33077
|
hasRemote: z.ZodBoolean;
|
|
32310
33078
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
32311
33079
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -32328,6 +33096,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32328
33096
|
} | null;
|
|
32329
33097
|
aheadOfOrigin: number | null;
|
|
32330
33098
|
behindOfOrigin: number | null;
|
|
33099
|
+
hasUpstream: boolean;
|
|
33100
|
+
upstreamBranch: string | null;
|
|
32331
33101
|
hasRemote: boolean;
|
|
32332
33102
|
}, {
|
|
32333
33103
|
error: {
|
|
@@ -32349,6 +33119,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32349
33119
|
} | null;
|
|
32350
33120
|
aheadOfOrigin: number | null;
|
|
32351
33121
|
behindOfOrigin: number | null;
|
|
33122
|
+
hasUpstream: boolean;
|
|
33123
|
+
upstreamBranch: string | null;
|
|
32352
33124
|
hasRemote: boolean;
|
|
32353
33125
|
}>, z.ZodObject<{
|
|
32354
33126
|
cwd: z.ZodString;
|
|
@@ -32383,6 +33155,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32383
33155
|
}>>;
|
|
32384
33156
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
32385
33157
|
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
33158
|
+
hasUpstream: z.ZodBoolean;
|
|
33159
|
+
upstreamBranch: z.ZodNullable<z.ZodString>;
|
|
32386
33160
|
hasRemote: z.ZodBoolean;
|
|
32387
33161
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
32388
33162
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -32406,6 +33180,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32406
33180
|
} | null;
|
|
32407
33181
|
aheadOfOrigin: number | null;
|
|
32408
33182
|
behindOfOrigin: number | null;
|
|
33183
|
+
hasUpstream: boolean;
|
|
33184
|
+
upstreamBranch: string | null;
|
|
32409
33185
|
hasRemote: boolean;
|
|
32410
33186
|
}, {
|
|
32411
33187
|
error: {
|
|
@@ -32428,6 +33204,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32428
33204
|
} | null;
|
|
32429
33205
|
aheadOfOrigin: number | null;
|
|
32430
33206
|
behindOfOrigin: number | null;
|
|
33207
|
+
hasUpstream: boolean;
|
|
33208
|
+
upstreamBranch: string | null;
|
|
32431
33209
|
hasRemote: boolean;
|
|
32432
33210
|
}>]>;
|
|
32433
33211
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -32449,6 +33227,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32449
33227
|
aheadBehind: null;
|
|
32450
33228
|
aheadOfOrigin: null;
|
|
32451
33229
|
behindOfOrigin: null;
|
|
33230
|
+
hasUpstream: false;
|
|
33231
|
+
upstreamBranch: null;
|
|
32452
33232
|
hasRemote: boolean;
|
|
32453
33233
|
} | {
|
|
32454
33234
|
error: {
|
|
@@ -32470,6 +33250,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32470
33250
|
} | null;
|
|
32471
33251
|
aheadOfOrigin: number | null;
|
|
32472
33252
|
behindOfOrigin: number | null;
|
|
33253
|
+
hasUpstream: boolean;
|
|
33254
|
+
upstreamBranch: string | null;
|
|
32473
33255
|
hasRemote: boolean;
|
|
32474
33256
|
} | {
|
|
32475
33257
|
error: {
|
|
@@ -32492,6 +33274,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32492
33274
|
} | null;
|
|
32493
33275
|
aheadOfOrigin: number | null;
|
|
32494
33276
|
behindOfOrigin: number | null;
|
|
33277
|
+
hasUpstream: boolean;
|
|
33278
|
+
upstreamBranch: string | null;
|
|
32495
33279
|
hasRemote: boolean;
|
|
32496
33280
|
};
|
|
32497
33281
|
}, {
|
|
@@ -32513,6 +33297,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32513
33297
|
aheadBehind: null;
|
|
32514
33298
|
aheadOfOrigin: null;
|
|
32515
33299
|
behindOfOrigin: null;
|
|
33300
|
+
hasUpstream: false;
|
|
33301
|
+
upstreamBranch: null;
|
|
32516
33302
|
hasRemote: boolean;
|
|
32517
33303
|
} | {
|
|
32518
33304
|
error: {
|
|
@@ -32534,6 +33320,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32534
33320
|
} | null;
|
|
32535
33321
|
aheadOfOrigin: number | null;
|
|
32536
33322
|
behindOfOrigin: number | null;
|
|
33323
|
+
hasUpstream: boolean;
|
|
33324
|
+
upstreamBranch: string | null;
|
|
32537
33325
|
hasRemote: boolean;
|
|
32538
33326
|
} | {
|
|
32539
33327
|
error: {
|
|
@@ -32556,6 +33344,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32556
33344
|
} | null;
|
|
32557
33345
|
aheadOfOrigin: number | null;
|
|
32558
33346
|
behindOfOrigin: number | null;
|
|
33347
|
+
hasUpstream: boolean;
|
|
33348
|
+
upstreamBranch: string | null;
|
|
32559
33349
|
hasRemote: boolean;
|
|
32560
33350
|
};
|
|
32561
33351
|
}>, z.ZodObject<{
|
|
@@ -33345,26 +34135,41 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33345
34135
|
payload: z.ZodObject<{
|
|
33346
34136
|
cwd: z.ZodString;
|
|
33347
34137
|
status: z.ZodNullable<z.ZodObject<{
|
|
34138
|
+
number: z.ZodNumber;
|
|
33348
34139
|
url: z.ZodString;
|
|
33349
34140
|
title: z.ZodString;
|
|
33350
34141
|
state: z.ZodString;
|
|
33351
34142
|
baseRefName: z.ZodString;
|
|
33352
34143
|
headRefName: z.ZodString;
|
|
33353
34144
|
isMerged: z.ZodBoolean;
|
|
34145
|
+
checksState: z.ZodEnum<["pending", "failing", "passing"]>;
|
|
34146
|
+
requiredChecksPassed: z.ZodBoolean;
|
|
34147
|
+
canMerge: z.ZodBoolean;
|
|
34148
|
+
hasConflicts: z.ZodBoolean;
|
|
33354
34149
|
}, "strip", z.ZodTypeAny, {
|
|
34150
|
+
number: number;
|
|
33355
34151
|
title: string;
|
|
33356
34152
|
url: string;
|
|
33357
34153
|
state: string;
|
|
33358
34154
|
baseRefName: string;
|
|
33359
34155
|
headRefName: string;
|
|
33360
34156
|
isMerged: boolean;
|
|
34157
|
+
checksState: "pending" | "failing" | "passing";
|
|
34158
|
+
requiredChecksPassed: boolean;
|
|
34159
|
+
canMerge: boolean;
|
|
34160
|
+
hasConflicts: boolean;
|
|
33361
34161
|
}, {
|
|
34162
|
+
number: number;
|
|
33362
34163
|
title: string;
|
|
33363
34164
|
url: string;
|
|
33364
34165
|
state: string;
|
|
33365
34166
|
baseRefName: string;
|
|
33366
34167
|
headRefName: string;
|
|
33367
34168
|
isMerged: boolean;
|
|
34169
|
+
checksState: "pending" | "failing" | "passing";
|
|
34170
|
+
requiredChecksPassed: boolean;
|
|
34171
|
+
canMerge: boolean;
|
|
34172
|
+
hasConflicts: boolean;
|
|
33368
34173
|
}>>;
|
|
33369
34174
|
githubFeaturesEnabled: z.ZodBoolean;
|
|
33370
34175
|
error: z.ZodNullable<z.ZodObject<{
|
|
@@ -33385,12 +34190,17 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33385
34190
|
} | null;
|
|
33386
34191
|
cwd: string;
|
|
33387
34192
|
status: {
|
|
34193
|
+
number: number;
|
|
33388
34194
|
title: string;
|
|
33389
34195
|
url: string;
|
|
33390
34196
|
state: string;
|
|
33391
34197
|
baseRefName: string;
|
|
33392
34198
|
headRefName: string;
|
|
33393
34199
|
isMerged: boolean;
|
|
34200
|
+
checksState: "pending" | "failing" | "passing";
|
|
34201
|
+
requiredChecksPassed: boolean;
|
|
34202
|
+
canMerge: boolean;
|
|
34203
|
+
hasConflicts: boolean;
|
|
33394
34204
|
} | null;
|
|
33395
34205
|
requestId: string;
|
|
33396
34206
|
githubFeaturesEnabled: boolean;
|
|
@@ -33401,12 +34211,17 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33401
34211
|
} | null;
|
|
33402
34212
|
cwd: string;
|
|
33403
34213
|
status: {
|
|
34214
|
+
number: number;
|
|
33404
34215
|
title: string;
|
|
33405
34216
|
url: string;
|
|
33406
34217
|
state: string;
|
|
33407
34218
|
baseRefName: string;
|
|
33408
34219
|
headRefName: string;
|
|
33409
34220
|
isMerged: boolean;
|
|
34221
|
+
checksState: "pending" | "failing" | "passing";
|
|
34222
|
+
requiredChecksPassed: boolean;
|
|
34223
|
+
canMerge: boolean;
|
|
34224
|
+
hasConflicts: boolean;
|
|
33410
34225
|
} | null;
|
|
33411
34226
|
requestId: string;
|
|
33412
34227
|
githubFeaturesEnabled: boolean;
|
|
@@ -33420,12 +34235,17 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33420
34235
|
} | null;
|
|
33421
34236
|
cwd: string;
|
|
33422
34237
|
status: {
|
|
34238
|
+
number: number;
|
|
33423
34239
|
title: string;
|
|
33424
34240
|
url: string;
|
|
33425
34241
|
state: string;
|
|
33426
34242
|
baseRefName: string;
|
|
33427
34243
|
headRefName: string;
|
|
33428
34244
|
isMerged: boolean;
|
|
34245
|
+
checksState: "pending" | "failing" | "passing";
|
|
34246
|
+
requiredChecksPassed: boolean;
|
|
34247
|
+
canMerge: boolean;
|
|
34248
|
+
hasConflicts: boolean;
|
|
33429
34249
|
} | null;
|
|
33430
34250
|
requestId: string;
|
|
33431
34251
|
githubFeaturesEnabled: boolean;
|
|
@@ -33439,16 +34259,136 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33439
34259
|
} | null;
|
|
33440
34260
|
cwd: string;
|
|
33441
34261
|
status: {
|
|
34262
|
+
number: number;
|
|
33442
34263
|
title: string;
|
|
33443
34264
|
url: string;
|
|
33444
34265
|
state: string;
|
|
33445
34266
|
baseRefName: string;
|
|
33446
34267
|
headRefName: string;
|
|
33447
34268
|
isMerged: boolean;
|
|
34269
|
+
checksState: "pending" | "failing" | "passing";
|
|
34270
|
+
requiredChecksPassed: boolean;
|
|
34271
|
+
canMerge: boolean;
|
|
34272
|
+
hasConflicts: boolean;
|
|
33448
34273
|
} | null;
|
|
33449
34274
|
requestId: string;
|
|
33450
34275
|
githubFeaturesEnabled: boolean;
|
|
33451
34276
|
};
|
|
34277
|
+
}>, z.ZodObject<{
|
|
34278
|
+
type: z.ZodLiteral<"checkout_pr_failure_logs_response">;
|
|
34279
|
+
payload: z.ZodObject<{
|
|
34280
|
+
cwd: z.ZodString;
|
|
34281
|
+
logs: z.ZodNullable<z.ZodString>;
|
|
34282
|
+
githubFeaturesEnabled: z.ZodBoolean;
|
|
34283
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
34284
|
+
code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
|
|
34285
|
+
message: z.ZodString;
|
|
34286
|
+
}, "strip", z.ZodTypeAny, {
|
|
34287
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
34288
|
+
message: string;
|
|
34289
|
+
}, {
|
|
34290
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
34291
|
+
message: string;
|
|
34292
|
+
}>>;
|
|
34293
|
+
requestId: z.ZodString;
|
|
34294
|
+
}, "strip", z.ZodTypeAny, {
|
|
34295
|
+
error: {
|
|
34296
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
34297
|
+
message: string;
|
|
34298
|
+
} | null;
|
|
34299
|
+
cwd: string;
|
|
34300
|
+
requestId: string;
|
|
34301
|
+
githubFeaturesEnabled: boolean;
|
|
34302
|
+
logs: string | null;
|
|
34303
|
+
}, {
|
|
34304
|
+
error: {
|
|
34305
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
34306
|
+
message: string;
|
|
34307
|
+
} | null;
|
|
34308
|
+
cwd: string;
|
|
34309
|
+
requestId: string;
|
|
34310
|
+
githubFeaturesEnabled: boolean;
|
|
34311
|
+
logs: string | null;
|
|
34312
|
+
}>;
|
|
34313
|
+
}, "strip", z.ZodTypeAny, {
|
|
34314
|
+
type: "checkout_pr_failure_logs_response";
|
|
34315
|
+
payload: {
|
|
34316
|
+
error: {
|
|
34317
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
34318
|
+
message: string;
|
|
34319
|
+
} | null;
|
|
34320
|
+
cwd: string;
|
|
34321
|
+
requestId: string;
|
|
34322
|
+
githubFeaturesEnabled: boolean;
|
|
34323
|
+
logs: string | null;
|
|
34324
|
+
};
|
|
34325
|
+
}, {
|
|
34326
|
+
type: "checkout_pr_failure_logs_response";
|
|
34327
|
+
payload: {
|
|
34328
|
+
error: {
|
|
34329
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
34330
|
+
message: string;
|
|
34331
|
+
} | null;
|
|
34332
|
+
cwd: string;
|
|
34333
|
+
requestId: string;
|
|
34334
|
+
githubFeaturesEnabled: boolean;
|
|
34335
|
+
logs: string | null;
|
|
34336
|
+
};
|
|
34337
|
+
}>, z.ZodObject<{
|
|
34338
|
+
type: z.ZodLiteral<"checkout_pr_merge_response">;
|
|
34339
|
+
payload: z.ZodObject<{
|
|
34340
|
+
cwd: z.ZodString;
|
|
34341
|
+
success: z.ZodBoolean;
|
|
34342
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
34343
|
+
code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
|
|
34344
|
+
message: z.ZodString;
|
|
34345
|
+
}, "strip", z.ZodTypeAny, {
|
|
34346
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
34347
|
+
message: string;
|
|
34348
|
+
}, {
|
|
34349
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
34350
|
+
message: string;
|
|
34351
|
+
}>>;
|
|
34352
|
+
requestId: z.ZodString;
|
|
34353
|
+
}, "strip", z.ZodTypeAny, {
|
|
34354
|
+
error: {
|
|
34355
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
34356
|
+
message: string;
|
|
34357
|
+
} | null;
|
|
34358
|
+
cwd: string;
|
|
34359
|
+
requestId: string;
|
|
34360
|
+
success: boolean;
|
|
34361
|
+
}, {
|
|
34362
|
+
error: {
|
|
34363
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
34364
|
+
message: string;
|
|
34365
|
+
} | null;
|
|
34366
|
+
cwd: string;
|
|
34367
|
+
requestId: string;
|
|
34368
|
+
success: boolean;
|
|
34369
|
+
}>;
|
|
34370
|
+
}, "strip", z.ZodTypeAny, {
|
|
34371
|
+
type: "checkout_pr_merge_response";
|
|
34372
|
+
payload: {
|
|
34373
|
+
error: {
|
|
34374
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
34375
|
+
message: string;
|
|
34376
|
+
} | null;
|
|
34377
|
+
cwd: string;
|
|
34378
|
+
requestId: string;
|
|
34379
|
+
success: boolean;
|
|
34380
|
+
};
|
|
34381
|
+
}, {
|
|
34382
|
+
type: "checkout_pr_merge_response";
|
|
34383
|
+
payload: {
|
|
34384
|
+
error: {
|
|
34385
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
34386
|
+
message: string;
|
|
34387
|
+
} | null;
|
|
34388
|
+
cwd: string;
|
|
34389
|
+
requestId: string;
|
|
34390
|
+
success: boolean;
|
|
34391
|
+
};
|
|
33452
34392
|
}>, z.ZodObject<{
|
|
33453
34393
|
type: z.ZodLiteral<"validate_branch_response">;
|
|
33454
34394
|
payload: z.ZodObject<{
|
|
@@ -35696,6 +36636,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35696
36636
|
aheadBehind: null;
|
|
35697
36637
|
aheadOfOrigin: null;
|
|
35698
36638
|
behindOfOrigin: null;
|
|
36639
|
+
hasUpstream: false;
|
|
36640
|
+
upstreamBranch: null;
|
|
35699
36641
|
hasRemote: boolean;
|
|
35700
36642
|
} | {
|
|
35701
36643
|
error: {
|
|
@@ -35717,6 +36659,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35717
36659
|
} | null;
|
|
35718
36660
|
aheadOfOrigin: number | null;
|
|
35719
36661
|
behindOfOrigin: number | null;
|
|
36662
|
+
hasUpstream: boolean;
|
|
36663
|
+
upstreamBranch: string | null;
|
|
35720
36664
|
hasRemote: boolean;
|
|
35721
36665
|
} | {
|
|
35722
36666
|
error: {
|
|
@@ -35739,6 +36683,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35739
36683
|
} | null;
|
|
35740
36684
|
aheadOfOrigin: number | null;
|
|
35741
36685
|
behindOfOrigin: number | null;
|
|
36686
|
+
hasUpstream: boolean;
|
|
36687
|
+
upstreamBranch: string | null;
|
|
35742
36688
|
hasRemote: boolean;
|
|
35743
36689
|
};
|
|
35744
36690
|
} | {
|
|
@@ -35871,16 +36817,44 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35871
36817
|
} | null;
|
|
35872
36818
|
cwd: string;
|
|
35873
36819
|
status: {
|
|
36820
|
+
number: number;
|
|
35874
36821
|
title: string;
|
|
35875
36822
|
url: string;
|
|
35876
36823
|
state: string;
|
|
35877
36824
|
baseRefName: string;
|
|
35878
36825
|
headRefName: string;
|
|
35879
36826
|
isMerged: boolean;
|
|
36827
|
+
checksState: "pending" | "failing" | "passing";
|
|
36828
|
+
requiredChecksPassed: boolean;
|
|
36829
|
+
canMerge: boolean;
|
|
36830
|
+
hasConflicts: boolean;
|
|
35880
36831
|
} | null;
|
|
35881
36832
|
requestId: string;
|
|
35882
36833
|
githubFeaturesEnabled: boolean;
|
|
35883
36834
|
};
|
|
36835
|
+
} | {
|
|
36836
|
+
type: "checkout_pr_failure_logs_response";
|
|
36837
|
+
payload: {
|
|
36838
|
+
error: {
|
|
36839
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
36840
|
+
message: string;
|
|
36841
|
+
} | null;
|
|
36842
|
+
cwd: string;
|
|
36843
|
+
requestId: string;
|
|
36844
|
+
githubFeaturesEnabled: boolean;
|
|
36845
|
+
logs: string | null;
|
|
36846
|
+
};
|
|
36847
|
+
} | {
|
|
36848
|
+
type: "checkout_pr_merge_response";
|
|
36849
|
+
payload: {
|
|
36850
|
+
error: {
|
|
36851
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
36852
|
+
message: string;
|
|
36853
|
+
} | null;
|
|
36854
|
+
cwd: string;
|
|
36855
|
+
requestId: string;
|
|
36856
|
+
success: boolean;
|
|
36857
|
+
};
|
|
35884
36858
|
} | {
|
|
35885
36859
|
type: "validate_branch_response";
|
|
35886
36860
|
payload: {
|
|
@@ -36675,6 +37649,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36675
37649
|
aheadBehind: null;
|
|
36676
37650
|
aheadOfOrigin: null;
|
|
36677
37651
|
behindOfOrigin: null;
|
|
37652
|
+
hasUpstream: false;
|
|
37653
|
+
upstreamBranch: null;
|
|
36678
37654
|
hasRemote: boolean;
|
|
36679
37655
|
} | {
|
|
36680
37656
|
error: {
|
|
@@ -36696,6 +37672,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36696
37672
|
} | null;
|
|
36697
37673
|
aheadOfOrigin: number | null;
|
|
36698
37674
|
behindOfOrigin: number | null;
|
|
37675
|
+
hasUpstream: boolean;
|
|
37676
|
+
upstreamBranch: string | null;
|
|
36699
37677
|
hasRemote: boolean;
|
|
36700
37678
|
} | {
|
|
36701
37679
|
error: {
|
|
@@ -36718,6 +37696,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36718
37696
|
} | null;
|
|
36719
37697
|
aheadOfOrigin: number | null;
|
|
36720
37698
|
behindOfOrigin: number | null;
|
|
37699
|
+
hasUpstream: boolean;
|
|
37700
|
+
upstreamBranch: string | null;
|
|
36721
37701
|
hasRemote: boolean;
|
|
36722
37702
|
};
|
|
36723
37703
|
} | {
|
|
@@ -36850,16 +37830,44 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36850
37830
|
} | null;
|
|
36851
37831
|
cwd: string;
|
|
36852
37832
|
status: {
|
|
37833
|
+
number: number;
|
|
36853
37834
|
title: string;
|
|
36854
37835
|
url: string;
|
|
36855
37836
|
state: string;
|
|
36856
37837
|
baseRefName: string;
|
|
36857
37838
|
headRefName: string;
|
|
36858
37839
|
isMerged: boolean;
|
|
37840
|
+
checksState: "pending" | "failing" | "passing";
|
|
37841
|
+
requiredChecksPassed: boolean;
|
|
37842
|
+
canMerge: boolean;
|
|
37843
|
+
hasConflicts: boolean;
|
|
36859
37844
|
} | null;
|
|
36860
37845
|
requestId: string;
|
|
36861
37846
|
githubFeaturesEnabled: boolean;
|
|
36862
37847
|
};
|
|
37848
|
+
} | {
|
|
37849
|
+
type: "checkout_pr_failure_logs_response";
|
|
37850
|
+
payload: {
|
|
37851
|
+
error: {
|
|
37852
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
37853
|
+
message: string;
|
|
37854
|
+
} | null;
|
|
37855
|
+
cwd: string;
|
|
37856
|
+
requestId: string;
|
|
37857
|
+
githubFeaturesEnabled: boolean;
|
|
37858
|
+
logs: string | null;
|
|
37859
|
+
};
|
|
37860
|
+
} | {
|
|
37861
|
+
type: "checkout_pr_merge_response";
|
|
37862
|
+
payload: {
|
|
37863
|
+
error: {
|
|
37864
|
+
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
37865
|
+
message: string;
|
|
37866
|
+
} | null;
|
|
37867
|
+
cwd: string;
|
|
37868
|
+
requestId: string;
|
|
37869
|
+
success: boolean;
|
|
37870
|
+
};
|
|
36863
37871
|
} | {
|
|
36864
37872
|
type: "validate_branch_response";
|
|
36865
37873
|
payload: {
|