@otto-code/protocol 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,7 +50,7 @@ export declare const MutableGitHostingConfigSchema: z.ZodObject<{
50
50
  }, z.core.$loose>>;
51
51
  }, z.core.$loose>;
52
52
  export type MutableGitHostingConfig = z.infer<typeof MutableGitHostingConfigSchema>;
53
- export declare const PERSONALITY_ROLES: readonly ["chatter", "artificer", "scheduler", "worker", "judger", "advisor", "orchestrator"];
53
+ export declare const PERSONALITY_ROLES: readonly ["chatter", "artificer", "scheduler", "writer", "coder", "judger", "advisor", "orchestrator"];
54
54
  export type PersonalityRole = (typeof PERSONALITY_ROLES)[number];
55
55
  declare const AgentPersonalityVoiceSchema: z.ZodObject<{
56
56
  provider: z.ZodString;
@@ -1906,6 +1906,76 @@ export declare const CheckoutCommitRequestSchema: z.ZodObject<{
1906
1906
  addAll: z.ZodOptional<z.ZodBoolean>;
1907
1907
  requestId: z.ZodString;
1908
1908
  }, z.core.$strip>;
1909
+ export declare const GitOperationLogEntrySchema: z.ZodObject<{
1910
+ seq: z.ZodNumber;
1911
+ timestamp: z.ZodString;
1912
+ level: z.ZodEnum<{
1913
+ error: "error";
1914
+ output: "output";
1915
+ info: "info";
1916
+ }>;
1917
+ text: z.ZodString;
1918
+ }, z.core.$strip>;
1919
+ export declare const CheckoutGitGetOperationLogRequestSchema: z.ZodObject<{
1920
+ type: z.ZodLiteral<"checkout.git.get_operation_log.request">;
1921
+ cwd: z.ZodString;
1922
+ operation: z.ZodString;
1923
+ requestId: z.ZodString;
1924
+ }, z.core.$strip>;
1925
+ export declare const CheckoutGitGetOperationLogResponseSchema: z.ZodObject<{
1926
+ type: z.ZodLiteral<"checkout.git.get_operation_log.response">;
1927
+ payload: z.ZodObject<{
1928
+ cwd: z.ZodString;
1929
+ operation: z.ZodString;
1930
+ entries: z.ZodArray<z.ZodObject<{
1931
+ seq: z.ZodNumber;
1932
+ timestamp: z.ZodString;
1933
+ level: z.ZodEnum<{
1934
+ error: "error";
1935
+ output: "output";
1936
+ info: "info";
1937
+ }>;
1938
+ text: z.ZodString;
1939
+ }, z.core.$strip>>;
1940
+ requestId: z.ZodString;
1941
+ }, z.core.$strip>;
1942
+ }, z.core.$strip>;
1943
+ export declare const CheckoutGitLogAppendedNotificationSchema: z.ZodObject<{
1944
+ type: z.ZodLiteral<"checkout.git.log_appended.notification">;
1945
+ payload: z.ZodObject<{
1946
+ cwd: z.ZodString;
1947
+ operation: z.ZodString;
1948
+ entries: z.ZodArray<z.ZodObject<{
1949
+ seq: z.ZodNumber;
1950
+ timestamp: z.ZodString;
1951
+ level: z.ZodEnum<{
1952
+ error: "error";
1953
+ output: "output";
1954
+ info: "info";
1955
+ }>;
1956
+ text: z.ZodString;
1957
+ }, z.core.$strip>>;
1958
+ }, z.core.$strip>;
1959
+ }, z.core.$strip>;
1960
+ export declare const CheckoutGitCommitRequestSchema: z.ZodObject<{
1961
+ type: z.ZodLiteral<"checkout.git.commit.request">;
1962
+ cwd: z.ZodString;
1963
+ message: z.ZodString;
1964
+ paths: z.ZodArray<z.ZodString>;
1965
+ allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
1966
+ requestId: z.ZodString;
1967
+ }, z.core.$strip>;
1968
+ export declare const CheckoutGitCommitAgentRequestSchema: z.ZodObject<{
1969
+ type: z.ZodLiteral<"checkout.git.commit_agent.request">;
1970
+ cwd: z.ZodString;
1971
+ requestId: z.ZodString;
1972
+ }, z.core.$strip>;
1973
+ export declare const CheckoutGitRollbackRequestSchema: z.ZodObject<{
1974
+ type: z.ZodLiteral<"checkout.git.rollback.request">;
1975
+ cwd: z.ZodString;
1976
+ paths: z.ZodArray<z.ZodString>;
1977
+ requestId: z.ZodString;
1978
+ }, z.core.$strip>;
1909
1979
  export declare const CheckoutMergeRequestSchema: z.ZodObject<{
1910
1980
  type: z.ZodLiteral<"checkout_merge_request">;
1911
1981
  cwd: z.ZodString;
@@ -3831,6 +3901,27 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3831
3901
  message: z.ZodOptional<z.ZodString>;
3832
3902
  addAll: z.ZodOptional<z.ZodBoolean>;
3833
3903
  requestId: z.ZodString;
3904
+ }, z.core.$strip>, z.ZodObject<{
3905
+ type: z.ZodLiteral<"checkout.git.commit.request">;
3906
+ cwd: z.ZodString;
3907
+ message: z.ZodString;
3908
+ paths: z.ZodArray<z.ZodString>;
3909
+ allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
3910
+ requestId: z.ZodString;
3911
+ }, z.core.$strip>, z.ZodObject<{
3912
+ type: z.ZodLiteral<"checkout.git.commit_agent.request">;
3913
+ cwd: z.ZodString;
3914
+ requestId: z.ZodString;
3915
+ }, z.core.$strip>, z.ZodObject<{
3916
+ type: z.ZodLiteral<"checkout.git.rollback.request">;
3917
+ cwd: z.ZodString;
3918
+ paths: z.ZodArray<z.ZodString>;
3919
+ requestId: z.ZodString;
3920
+ }, z.core.$strip>, z.ZodObject<{
3921
+ type: z.ZodLiteral<"checkout.git.get_operation_log.request">;
3922
+ cwd: z.ZodString;
3923
+ operation: z.ZodString;
3924
+ requestId: z.ZodString;
3834
3925
  }, z.core.$strip>, z.ZodObject<{
3835
3926
  type: z.ZodLiteral<"checkout_merge_request">;
3836
3927
  cwd: z.ZodString;
@@ -4925,6 +5016,10 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
4925
5016
  agentPersonalities: z.ZodOptional<z.ZodBoolean>;
4926
5017
  ttsPreview: z.ZodOptional<z.ZodBoolean>;
4927
5018
  setAgentPersonality: z.ZodOptional<z.ZodBoolean>;
5019
+ checkoutGitCommit: z.ZodOptional<z.ZodBoolean>;
5020
+ checkoutGitCommitAgent: z.ZodOptional<z.ZodBoolean>;
5021
+ checkoutGitRollback: z.ZodOptional<z.ZodBoolean>;
5022
+ checkoutGitLog: z.ZodOptional<z.ZodBoolean>;
4928
5023
  }, z.core.$strip>>;
4929
5024
  }, z.core.$loose>, z.ZodTransform<{
4930
5025
  hostname: string | null;
@@ -4974,6 +5069,10 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
4974
5069
  agentPersonalities?: boolean | undefined;
4975
5070
  ttsPreview?: boolean | undefined;
4976
5071
  setAgentPersonality?: boolean | undefined;
5072
+ checkoutGitCommit?: boolean | undefined;
5073
+ checkoutGitCommitAgent?: boolean | undefined;
5074
+ checkoutGitRollback?: boolean | undefined;
5075
+ checkoutGitLog?: boolean | undefined;
4977
5076
  } | undefined;
4978
5077
  }, {
4979
5078
  [x: string]: unknown;
@@ -5024,6 +5123,10 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5024
5123
  agentPersonalities?: boolean | undefined;
5025
5124
  ttsPreview?: boolean | undefined;
5026
5125
  setAgentPersonality?: boolean | undefined;
5126
+ checkoutGitCommit?: boolean | undefined;
5127
+ checkoutGitCommitAgent?: boolean | undefined;
5128
+ checkoutGitRollback?: boolean | undefined;
5129
+ checkoutGitLog?: boolean | undefined;
5027
5130
  } | undefined;
5028
5131
  }>>;
5029
5132
  export declare const StatusMessageSchema: z.ZodObject<{
@@ -10397,6 +10500,123 @@ export declare const CheckoutCommitResponseSchema: z.ZodObject<{
10397
10500
  requestId: z.ZodString;
10398
10501
  }, z.core.$strip>;
10399
10502
  }, z.core.$strip>;
10503
+ export declare const CheckoutGitCommitErrorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10504
+ kind: z.ZodLiteral<"agents_running">;
10505
+ agents: z.ZodArray<z.ZodObject<{
10506
+ id: z.ZodString;
10507
+ title: z.ZodNullable<z.ZodString>;
10508
+ }, z.core.$strip>>;
10509
+ }, z.core.$strip>, z.ZodObject<{
10510
+ kind: z.ZodLiteral<"identity_missing">;
10511
+ missingName: z.ZodBoolean;
10512
+ missingEmail: z.ZodBoolean;
10513
+ }, z.core.$strip>, z.ZodObject<{
10514
+ kind: z.ZodLiteral<"hook_failed">;
10515
+ output: z.ZodString;
10516
+ exitCode: z.ZodNullable<z.ZodNumber>;
10517
+ }, z.core.$strip>, z.ZodObject<{
10518
+ kind: z.ZodLiteral<"signing_failed">;
10519
+ detail: z.ZodString;
10520
+ }, z.core.$strip>, z.ZodObject<{
10521
+ kind: z.ZodLiteral<"nothing_to_commit">;
10522
+ }, z.core.$strip>, z.ZodObject<{
10523
+ kind: z.ZodLiteral<"git_failed">;
10524
+ detail: z.ZodString;
10525
+ }, z.core.$strip>], "kind">;
10526
+ export declare const CheckoutGitCommitResponseSchema: z.ZodObject<{
10527
+ type: z.ZodLiteral<"checkout.git.commit.response">;
10528
+ payload: z.ZodObject<{
10529
+ cwd: z.ZodString;
10530
+ success: z.ZodBoolean;
10531
+ commitSha: z.ZodNullable<z.ZodString>;
10532
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
10533
+ kind: z.ZodLiteral<"agents_running">;
10534
+ agents: z.ZodArray<z.ZodObject<{
10535
+ id: z.ZodString;
10536
+ title: z.ZodNullable<z.ZodString>;
10537
+ }, z.core.$strip>>;
10538
+ }, z.core.$strip>, z.ZodObject<{
10539
+ kind: z.ZodLiteral<"identity_missing">;
10540
+ missingName: z.ZodBoolean;
10541
+ missingEmail: z.ZodBoolean;
10542
+ }, z.core.$strip>, z.ZodObject<{
10543
+ kind: z.ZodLiteral<"hook_failed">;
10544
+ output: z.ZodString;
10545
+ exitCode: z.ZodNullable<z.ZodNumber>;
10546
+ }, z.core.$strip>, z.ZodObject<{
10547
+ kind: z.ZodLiteral<"signing_failed">;
10548
+ detail: z.ZodString;
10549
+ }, z.core.$strip>, z.ZodObject<{
10550
+ kind: z.ZodLiteral<"nothing_to_commit">;
10551
+ }, z.core.$strip>, z.ZodObject<{
10552
+ kind: z.ZodLiteral<"git_failed">;
10553
+ detail: z.ZodString;
10554
+ }, z.core.$strip>], "kind">>;
10555
+ requestId: z.ZodString;
10556
+ }, z.core.$strip>;
10557
+ }, z.core.$strip>;
10558
+ export declare const CommitMessageAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10559
+ kind: z.ZodLiteral<"personality">;
10560
+ personalityId: z.ZodString;
10561
+ personalityName: z.ZodString;
10562
+ provider: z.ZodString;
10563
+ providerLabel: z.ZodString;
10564
+ model: z.ZodNullable<z.ZodString>;
10565
+ modelLabel: z.ZodNullable<z.ZodString>;
10566
+ }, z.core.$strip>, z.ZodObject<{
10567
+ kind: z.ZodLiteral<"provider">;
10568
+ provider: z.ZodString;
10569
+ providerLabel: z.ZodString;
10570
+ model: z.ZodNullable<z.ZodString>;
10571
+ modelLabel: z.ZodNullable<z.ZodString>;
10572
+ }, z.core.$strip>, z.ZodObject<{
10573
+ kind: z.ZodLiteral<"none">;
10574
+ }, z.core.$strip>], "kind">;
10575
+ export declare const CheckoutGitCommitAgentResponseSchema: z.ZodObject<{
10576
+ type: z.ZodLiteral<"checkout.git.commit_agent.response">;
10577
+ payload: z.ZodObject<{
10578
+ cwd: z.ZodString;
10579
+ agent: z.ZodDiscriminatedUnion<[z.ZodObject<{
10580
+ kind: z.ZodLiteral<"personality">;
10581
+ personalityId: z.ZodString;
10582
+ personalityName: z.ZodString;
10583
+ provider: z.ZodString;
10584
+ providerLabel: z.ZodString;
10585
+ model: z.ZodNullable<z.ZodString>;
10586
+ modelLabel: z.ZodNullable<z.ZodString>;
10587
+ }, z.core.$strip>, z.ZodObject<{
10588
+ kind: z.ZodLiteral<"provider">;
10589
+ provider: z.ZodString;
10590
+ providerLabel: z.ZodString;
10591
+ model: z.ZodNullable<z.ZodString>;
10592
+ modelLabel: z.ZodNullable<z.ZodString>;
10593
+ }, z.core.$strip>, z.ZodObject<{
10594
+ kind: z.ZodLiteral<"none">;
10595
+ }, z.core.$strip>], "kind">;
10596
+ requestId: z.ZodString;
10597
+ }, z.core.$strip>;
10598
+ }, z.core.$strip>;
10599
+ export declare const CheckoutGitRollbackErrorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10600
+ kind: z.ZodLiteral<"nothing_to_rollback">;
10601
+ }, z.core.$strip>, z.ZodObject<{
10602
+ kind: z.ZodLiteral<"git_failed">;
10603
+ detail: z.ZodString;
10604
+ }, z.core.$strip>], "kind">;
10605
+ export declare const CheckoutGitRollbackResponseSchema: z.ZodObject<{
10606
+ type: z.ZodLiteral<"checkout.git.rollback.response">;
10607
+ payload: z.ZodObject<{
10608
+ cwd: z.ZodString;
10609
+ success: z.ZodBoolean;
10610
+ rolledBackPaths: z.ZodArray<z.ZodString>;
10611
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
10612
+ kind: z.ZodLiteral<"nothing_to_rollback">;
10613
+ }, z.core.$strip>, z.ZodObject<{
10614
+ kind: z.ZodLiteral<"git_failed">;
10615
+ detail: z.ZodString;
10616
+ }, z.core.$strip>], "kind">>;
10617
+ requestId: z.ZodString;
10618
+ }, z.core.$strip>;
10619
+ }, z.core.$strip>;
10400
10620
  export declare const CheckoutMergeResponseSchema: z.ZodObject<{
10401
10621
  type: z.ZodLiteral<"checkout_merge_response">;
10402
10622
  payload: z.ZodObject<{
@@ -16742,6 +16962,107 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16742
16962
  }, z.core.$strip>>;
16743
16963
  requestId: z.ZodString;
16744
16964
  }, z.core.$strip>;
16965
+ }, z.core.$strip>, z.ZodObject<{
16966
+ type: z.ZodLiteral<"checkout.git.commit.response">;
16967
+ payload: z.ZodObject<{
16968
+ cwd: z.ZodString;
16969
+ success: z.ZodBoolean;
16970
+ commitSha: z.ZodNullable<z.ZodString>;
16971
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
16972
+ kind: z.ZodLiteral<"agents_running">;
16973
+ agents: z.ZodArray<z.ZodObject<{
16974
+ id: z.ZodString;
16975
+ title: z.ZodNullable<z.ZodString>;
16976
+ }, z.core.$strip>>;
16977
+ }, z.core.$strip>, z.ZodObject<{
16978
+ kind: z.ZodLiteral<"identity_missing">;
16979
+ missingName: z.ZodBoolean;
16980
+ missingEmail: z.ZodBoolean;
16981
+ }, z.core.$strip>, z.ZodObject<{
16982
+ kind: z.ZodLiteral<"hook_failed">;
16983
+ output: z.ZodString;
16984
+ exitCode: z.ZodNullable<z.ZodNumber>;
16985
+ }, z.core.$strip>, z.ZodObject<{
16986
+ kind: z.ZodLiteral<"signing_failed">;
16987
+ detail: z.ZodString;
16988
+ }, z.core.$strip>, z.ZodObject<{
16989
+ kind: z.ZodLiteral<"nothing_to_commit">;
16990
+ }, z.core.$strip>, z.ZodObject<{
16991
+ kind: z.ZodLiteral<"git_failed">;
16992
+ detail: z.ZodString;
16993
+ }, z.core.$strip>], "kind">>;
16994
+ requestId: z.ZodString;
16995
+ }, z.core.$strip>;
16996
+ }, z.core.$strip>, z.ZodObject<{
16997
+ type: z.ZodLiteral<"checkout.git.commit_agent.response">;
16998
+ payload: z.ZodObject<{
16999
+ cwd: z.ZodString;
17000
+ agent: z.ZodDiscriminatedUnion<[z.ZodObject<{
17001
+ kind: z.ZodLiteral<"personality">;
17002
+ personalityId: z.ZodString;
17003
+ personalityName: z.ZodString;
17004
+ provider: z.ZodString;
17005
+ providerLabel: z.ZodString;
17006
+ model: z.ZodNullable<z.ZodString>;
17007
+ modelLabel: z.ZodNullable<z.ZodString>;
17008
+ }, z.core.$strip>, z.ZodObject<{
17009
+ kind: z.ZodLiteral<"provider">;
17010
+ provider: z.ZodString;
17011
+ providerLabel: z.ZodString;
17012
+ model: z.ZodNullable<z.ZodString>;
17013
+ modelLabel: z.ZodNullable<z.ZodString>;
17014
+ }, z.core.$strip>, z.ZodObject<{
17015
+ kind: z.ZodLiteral<"none">;
17016
+ }, z.core.$strip>], "kind">;
17017
+ requestId: z.ZodString;
17018
+ }, z.core.$strip>;
17019
+ }, z.core.$strip>, z.ZodObject<{
17020
+ type: z.ZodLiteral<"checkout.git.rollback.response">;
17021
+ payload: z.ZodObject<{
17022
+ cwd: z.ZodString;
17023
+ success: z.ZodBoolean;
17024
+ rolledBackPaths: z.ZodArray<z.ZodString>;
17025
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
17026
+ kind: z.ZodLiteral<"nothing_to_rollback">;
17027
+ }, z.core.$strip>, z.ZodObject<{
17028
+ kind: z.ZodLiteral<"git_failed">;
17029
+ detail: z.ZodString;
17030
+ }, z.core.$strip>], "kind">>;
17031
+ requestId: z.ZodString;
17032
+ }, z.core.$strip>;
17033
+ }, z.core.$strip>, z.ZodObject<{
17034
+ type: z.ZodLiteral<"checkout.git.get_operation_log.response">;
17035
+ payload: z.ZodObject<{
17036
+ cwd: z.ZodString;
17037
+ operation: z.ZodString;
17038
+ entries: z.ZodArray<z.ZodObject<{
17039
+ seq: z.ZodNumber;
17040
+ timestamp: z.ZodString;
17041
+ level: z.ZodEnum<{
17042
+ error: "error";
17043
+ output: "output";
17044
+ info: "info";
17045
+ }>;
17046
+ text: z.ZodString;
17047
+ }, z.core.$strip>>;
17048
+ requestId: z.ZodString;
17049
+ }, z.core.$strip>;
17050
+ }, z.core.$strip>, z.ZodObject<{
17051
+ type: z.ZodLiteral<"checkout.git.log_appended.notification">;
17052
+ payload: z.ZodObject<{
17053
+ cwd: z.ZodString;
17054
+ operation: z.ZodString;
17055
+ entries: z.ZodArray<z.ZodObject<{
17056
+ seq: z.ZodNumber;
17057
+ timestamp: z.ZodString;
17058
+ level: z.ZodEnum<{
17059
+ error: "error";
17060
+ output: "output";
17061
+ info: "info";
17062
+ }>;
17063
+ text: z.ZodString;
17064
+ }, z.core.$strip>>;
17065
+ }, z.core.$strip>;
16745
17066
  }, z.core.$strip>, z.ZodObject<{
16746
17067
  type: z.ZodLiteral<"checkout_merge_response">;
16747
17068
  payload: z.ZodObject<{
@@ -19872,6 +20193,19 @@ export type SubscribeCheckoutDiffResponse = z.infer<typeof SubscribeCheckoutDiff
19872
20193
  export type CheckoutDiffUpdate = z.infer<typeof CheckoutDiffUpdateSchema>;
19873
20194
  export type CheckoutCommitRequest = z.infer<typeof CheckoutCommitRequestSchema>;
19874
20195
  export type CheckoutCommitResponse = z.infer<typeof CheckoutCommitResponseSchema>;
20196
+ export type CheckoutGitCommitRequest = z.infer<typeof CheckoutGitCommitRequestSchema>;
20197
+ export type CheckoutGitCommitResponse = z.infer<typeof CheckoutGitCommitResponseSchema>;
20198
+ export type CheckoutGitCommitError = z.infer<typeof CheckoutGitCommitErrorSchema>;
20199
+ export type CheckoutGitCommitAgentRequest = z.infer<typeof CheckoutGitCommitAgentRequestSchema>;
20200
+ export type CheckoutGitCommitAgentResponse = z.infer<typeof CheckoutGitCommitAgentResponseSchema>;
20201
+ export type CommitMessageAgent = z.infer<typeof CommitMessageAgentSchema>;
20202
+ export type CheckoutGitRollbackRequest = z.infer<typeof CheckoutGitRollbackRequestSchema>;
20203
+ export type CheckoutGitRollbackResponse = z.infer<typeof CheckoutGitRollbackResponseSchema>;
20204
+ export type CheckoutGitRollbackError = z.infer<typeof CheckoutGitRollbackErrorSchema>;
20205
+ export type GitOperationLogEntry = z.infer<typeof GitOperationLogEntrySchema>;
20206
+ export type CheckoutGitGetOperationLogRequest = z.infer<typeof CheckoutGitGetOperationLogRequestSchema>;
20207
+ export type CheckoutGitGetOperationLogResponse = z.infer<typeof CheckoutGitGetOperationLogResponseSchema>;
20208
+ export type CheckoutGitLogAppendedNotification = z.infer<typeof CheckoutGitLogAppendedNotificationSchema>;
19875
20209
  export type CheckoutMergeRequest = z.infer<typeof CheckoutMergeRequestSchema>;
19876
20210
  export type CheckoutMergeResponse = z.infer<typeof CheckoutMergeResponseSchema>;
19877
20211
  export type CheckoutMergeFromBaseRequest = z.infer<typeof CheckoutMergeFromBaseRequestSchema>;
@@ -21094,6 +21428,27 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21094
21428
  message: z.ZodOptional<z.ZodString>;
21095
21429
  addAll: z.ZodOptional<z.ZodBoolean>;
21096
21430
  requestId: z.ZodString;
21431
+ }, z.core.$strip>, z.ZodObject<{
21432
+ type: z.ZodLiteral<"checkout.git.commit.request">;
21433
+ cwd: z.ZodString;
21434
+ message: z.ZodString;
21435
+ paths: z.ZodArray<z.ZodString>;
21436
+ allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
21437
+ requestId: z.ZodString;
21438
+ }, z.core.$strip>, z.ZodObject<{
21439
+ type: z.ZodLiteral<"checkout.git.commit_agent.request">;
21440
+ cwd: z.ZodString;
21441
+ requestId: z.ZodString;
21442
+ }, z.core.$strip>, z.ZodObject<{
21443
+ type: z.ZodLiteral<"checkout.git.rollback.request">;
21444
+ cwd: z.ZodString;
21445
+ paths: z.ZodArray<z.ZodString>;
21446
+ requestId: z.ZodString;
21447
+ }, z.core.$strip>, z.ZodObject<{
21448
+ type: z.ZodLiteral<"checkout.git.get_operation_log.request">;
21449
+ cwd: z.ZodString;
21450
+ operation: z.ZodString;
21451
+ requestId: z.ZodString;
21097
21452
  }, z.core.$strip>, z.ZodObject<{
21098
21453
  type: z.ZodLiteral<"checkout_merge_request">;
21099
21454
  cwd: z.ZodString;
@@ -26301,6 +26656,107 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26301
26656
  }, z.core.$strip>>;
26302
26657
  requestId: z.ZodString;
26303
26658
  }, z.core.$strip>;
26659
+ }, z.core.$strip>, z.ZodObject<{
26660
+ type: z.ZodLiteral<"checkout.git.commit.response">;
26661
+ payload: z.ZodObject<{
26662
+ cwd: z.ZodString;
26663
+ success: z.ZodBoolean;
26664
+ commitSha: z.ZodNullable<z.ZodString>;
26665
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
26666
+ kind: z.ZodLiteral<"agents_running">;
26667
+ agents: z.ZodArray<z.ZodObject<{
26668
+ id: z.ZodString;
26669
+ title: z.ZodNullable<z.ZodString>;
26670
+ }, z.core.$strip>>;
26671
+ }, z.core.$strip>, z.ZodObject<{
26672
+ kind: z.ZodLiteral<"identity_missing">;
26673
+ missingName: z.ZodBoolean;
26674
+ missingEmail: z.ZodBoolean;
26675
+ }, z.core.$strip>, z.ZodObject<{
26676
+ kind: z.ZodLiteral<"hook_failed">;
26677
+ output: z.ZodString;
26678
+ exitCode: z.ZodNullable<z.ZodNumber>;
26679
+ }, z.core.$strip>, z.ZodObject<{
26680
+ kind: z.ZodLiteral<"signing_failed">;
26681
+ detail: z.ZodString;
26682
+ }, z.core.$strip>, z.ZodObject<{
26683
+ kind: z.ZodLiteral<"nothing_to_commit">;
26684
+ }, z.core.$strip>, z.ZodObject<{
26685
+ kind: z.ZodLiteral<"git_failed">;
26686
+ detail: z.ZodString;
26687
+ }, z.core.$strip>], "kind">>;
26688
+ requestId: z.ZodString;
26689
+ }, z.core.$strip>;
26690
+ }, z.core.$strip>, z.ZodObject<{
26691
+ type: z.ZodLiteral<"checkout.git.commit_agent.response">;
26692
+ payload: z.ZodObject<{
26693
+ cwd: z.ZodString;
26694
+ agent: z.ZodDiscriminatedUnion<[z.ZodObject<{
26695
+ kind: z.ZodLiteral<"personality">;
26696
+ personalityId: z.ZodString;
26697
+ personalityName: z.ZodString;
26698
+ provider: z.ZodString;
26699
+ providerLabel: z.ZodString;
26700
+ model: z.ZodNullable<z.ZodString>;
26701
+ modelLabel: z.ZodNullable<z.ZodString>;
26702
+ }, z.core.$strip>, z.ZodObject<{
26703
+ kind: z.ZodLiteral<"provider">;
26704
+ provider: z.ZodString;
26705
+ providerLabel: z.ZodString;
26706
+ model: z.ZodNullable<z.ZodString>;
26707
+ modelLabel: z.ZodNullable<z.ZodString>;
26708
+ }, z.core.$strip>, z.ZodObject<{
26709
+ kind: z.ZodLiteral<"none">;
26710
+ }, z.core.$strip>], "kind">;
26711
+ requestId: z.ZodString;
26712
+ }, z.core.$strip>;
26713
+ }, z.core.$strip>, z.ZodObject<{
26714
+ type: z.ZodLiteral<"checkout.git.rollback.response">;
26715
+ payload: z.ZodObject<{
26716
+ cwd: z.ZodString;
26717
+ success: z.ZodBoolean;
26718
+ rolledBackPaths: z.ZodArray<z.ZodString>;
26719
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
26720
+ kind: z.ZodLiteral<"nothing_to_rollback">;
26721
+ }, z.core.$strip>, z.ZodObject<{
26722
+ kind: z.ZodLiteral<"git_failed">;
26723
+ detail: z.ZodString;
26724
+ }, z.core.$strip>], "kind">>;
26725
+ requestId: z.ZodString;
26726
+ }, z.core.$strip>;
26727
+ }, z.core.$strip>, z.ZodObject<{
26728
+ type: z.ZodLiteral<"checkout.git.get_operation_log.response">;
26729
+ payload: z.ZodObject<{
26730
+ cwd: z.ZodString;
26731
+ operation: z.ZodString;
26732
+ entries: z.ZodArray<z.ZodObject<{
26733
+ seq: z.ZodNumber;
26734
+ timestamp: z.ZodString;
26735
+ level: z.ZodEnum<{
26736
+ error: "error";
26737
+ output: "output";
26738
+ info: "info";
26739
+ }>;
26740
+ text: z.ZodString;
26741
+ }, z.core.$strip>>;
26742
+ requestId: z.ZodString;
26743
+ }, z.core.$strip>;
26744
+ }, z.core.$strip>, z.ZodObject<{
26745
+ type: z.ZodLiteral<"checkout.git.log_appended.notification">;
26746
+ payload: z.ZodObject<{
26747
+ cwd: z.ZodString;
26748
+ operation: z.ZodString;
26749
+ entries: z.ZodArray<z.ZodObject<{
26750
+ seq: z.ZodNumber;
26751
+ timestamp: z.ZodString;
26752
+ level: z.ZodEnum<{
26753
+ error: "error";
26754
+ output: "output";
26755
+ info: "info";
26756
+ }>;
26757
+ text: z.ZodString;
26758
+ }, z.core.$strip>>;
26759
+ }, z.core.$strip>;
26304
26760
  }, z.core.$strip>, z.ZodObject<{
26305
26761
  type: z.ZodLiteral<"checkout_merge_response">;
26306
26762
  payload: z.ZodObject<{
@@ -30325,6 +30781,27 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
30325
30781
  message: z.ZodOptional<z.ZodString>;
30326
30782
  addAll: z.ZodOptional<z.ZodBoolean>;
30327
30783
  requestId: z.ZodString;
30784
+ }, z.core.$strip>, z.ZodObject<{
30785
+ type: z.ZodLiteral<"checkout.git.commit.request">;
30786
+ cwd: z.ZodString;
30787
+ message: z.ZodString;
30788
+ paths: z.ZodArray<z.ZodString>;
30789
+ allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
30790
+ requestId: z.ZodString;
30791
+ }, z.core.$strip>, z.ZodObject<{
30792
+ type: z.ZodLiteral<"checkout.git.commit_agent.request">;
30793
+ cwd: z.ZodString;
30794
+ requestId: z.ZodString;
30795
+ }, z.core.$strip>, z.ZodObject<{
30796
+ type: z.ZodLiteral<"checkout.git.rollback.request">;
30797
+ cwd: z.ZodString;
30798
+ paths: z.ZodArray<z.ZodString>;
30799
+ requestId: z.ZodString;
30800
+ }, z.core.$strip>, z.ZodObject<{
30801
+ type: z.ZodLiteral<"checkout.git.get_operation_log.request">;
30802
+ cwd: z.ZodString;
30803
+ operation: z.ZodString;
30804
+ requestId: z.ZodString;
30328
30805
  }, z.core.$strip>, z.ZodObject<{
30329
30806
  type: z.ZodLiteral<"checkout_merge_request">;
30330
30807
  cwd: z.ZodString;
@@ -35534,6 +36011,107 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35534
36011
  }, z.core.$strip>>;
35535
36012
  requestId: z.ZodString;
35536
36013
  }, z.core.$strip>;
36014
+ }, z.core.$strip>, z.ZodObject<{
36015
+ type: z.ZodLiteral<"checkout.git.commit.response">;
36016
+ payload: z.ZodObject<{
36017
+ cwd: z.ZodString;
36018
+ success: z.ZodBoolean;
36019
+ commitSha: z.ZodNullable<z.ZodString>;
36020
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
36021
+ kind: z.ZodLiteral<"agents_running">;
36022
+ agents: z.ZodArray<z.ZodObject<{
36023
+ id: z.ZodString;
36024
+ title: z.ZodNullable<z.ZodString>;
36025
+ }, z.core.$strip>>;
36026
+ }, z.core.$strip>, z.ZodObject<{
36027
+ kind: z.ZodLiteral<"identity_missing">;
36028
+ missingName: z.ZodBoolean;
36029
+ missingEmail: z.ZodBoolean;
36030
+ }, z.core.$strip>, z.ZodObject<{
36031
+ kind: z.ZodLiteral<"hook_failed">;
36032
+ output: z.ZodString;
36033
+ exitCode: z.ZodNullable<z.ZodNumber>;
36034
+ }, z.core.$strip>, z.ZodObject<{
36035
+ kind: z.ZodLiteral<"signing_failed">;
36036
+ detail: z.ZodString;
36037
+ }, z.core.$strip>, z.ZodObject<{
36038
+ kind: z.ZodLiteral<"nothing_to_commit">;
36039
+ }, z.core.$strip>, z.ZodObject<{
36040
+ kind: z.ZodLiteral<"git_failed">;
36041
+ detail: z.ZodString;
36042
+ }, z.core.$strip>], "kind">>;
36043
+ requestId: z.ZodString;
36044
+ }, z.core.$strip>;
36045
+ }, z.core.$strip>, z.ZodObject<{
36046
+ type: z.ZodLiteral<"checkout.git.commit_agent.response">;
36047
+ payload: z.ZodObject<{
36048
+ cwd: z.ZodString;
36049
+ agent: z.ZodDiscriminatedUnion<[z.ZodObject<{
36050
+ kind: z.ZodLiteral<"personality">;
36051
+ personalityId: z.ZodString;
36052
+ personalityName: z.ZodString;
36053
+ provider: z.ZodString;
36054
+ providerLabel: z.ZodString;
36055
+ model: z.ZodNullable<z.ZodString>;
36056
+ modelLabel: z.ZodNullable<z.ZodString>;
36057
+ }, z.core.$strip>, z.ZodObject<{
36058
+ kind: z.ZodLiteral<"provider">;
36059
+ provider: z.ZodString;
36060
+ providerLabel: z.ZodString;
36061
+ model: z.ZodNullable<z.ZodString>;
36062
+ modelLabel: z.ZodNullable<z.ZodString>;
36063
+ }, z.core.$strip>, z.ZodObject<{
36064
+ kind: z.ZodLiteral<"none">;
36065
+ }, z.core.$strip>], "kind">;
36066
+ requestId: z.ZodString;
36067
+ }, z.core.$strip>;
36068
+ }, z.core.$strip>, z.ZodObject<{
36069
+ type: z.ZodLiteral<"checkout.git.rollback.response">;
36070
+ payload: z.ZodObject<{
36071
+ cwd: z.ZodString;
36072
+ success: z.ZodBoolean;
36073
+ rolledBackPaths: z.ZodArray<z.ZodString>;
36074
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
36075
+ kind: z.ZodLiteral<"nothing_to_rollback">;
36076
+ }, z.core.$strip>, z.ZodObject<{
36077
+ kind: z.ZodLiteral<"git_failed">;
36078
+ detail: z.ZodString;
36079
+ }, z.core.$strip>], "kind">>;
36080
+ requestId: z.ZodString;
36081
+ }, z.core.$strip>;
36082
+ }, z.core.$strip>, z.ZodObject<{
36083
+ type: z.ZodLiteral<"checkout.git.get_operation_log.response">;
36084
+ payload: z.ZodObject<{
36085
+ cwd: z.ZodString;
36086
+ operation: z.ZodString;
36087
+ entries: z.ZodArray<z.ZodObject<{
36088
+ seq: z.ZodNumber;
36089
+ timestamp: z.ZodString;
36090
+ level: z.ZodEnum<{
36091
+ error: "error";
36092
+ output: "output";
36093
+ info: "info";
36094
+ }>;
36095
+ text: z.ZodString;
36096
+ }, z.core.$strip>>;
36097
+ requestId: z.ZodString;
36098
+ }, z.core.$strip>;
36099
+ }, z.core.$strip>, z.ZodObject<{
36100
+ type: z.ZodLiteral<"checkout.git.log_appended.notification">;
36101
+ payload: z.ZodObject<{
36102
+ cwd: z.ZodString;
36103
+ operation: z.ZodString;
36104
+ entries: z.ZodArray<z.ZodObject<{
36105
+ seq: z.ZodNumber;
36106
+ timestamp: z.ZodString;
36107
+ level: z.ZodEnum<{
36108
+ error: "error";
36109
+ output: "output";
36110
+ info: "info";
36111
+ }>;
36112
+ text: z.ZodString;
36113
+ }, z.core.$strip>>;
36114
+ }, z.core.$strip>;
35537
36115
  }, z.core.$strip>, z.ZodObject<{
35538
36116
  type: z.ZodLiteral<"checkout_merge_response">;
35539
36117
  payload: z.ZodObject<{