@otto-code/protocol 0.6.5 → 0.6.6
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/generated/validation/ws-outbound.aot.js +14727 -13970
- package/dist/messages.d.ts +805 -1
- package/dist/messages.js +189 -9
- package/dist/validation/ws-outbound-schema-metadata.d.ts +153 -0
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -57,11 +57,12 @@ declare const AgentPersonalityVoiceSchema: z.ZodObject<{
|
|
|
57
57
|
model: z.ZodString;
|
|
58
58
|
name: z.ZodString;
|
|
59
59
|
}, z.core.$loose>;
|
|
60
|
-
export declare const CUE_MOMENTS: readonly ["join", "thinking", "done"];
|
|
60
|
+
export declare const CUE_MOMENTS: readonly ["join", "thinking", "waiting", "done"];
|
|
61
61
|
export type CueMoment = (typeof CUE_MOMENTS)[number];
|
|
62
62
|
declare const AgentPersonalityVoiceCuesSchema: z.ZodObject<{
|
|
63
63
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
64
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
66
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
66
67
|
}, z.core.$loose>;
|
|
67
68
|
export type AgentPersonalityVoiceCues = z.infer<typeof AgentPersonalityVoiceCuesSchema>;
|
|
@@ -87,6 +88,7 @@ export declare const AgentPersonalitySchema: z.ZodObject<{
|
|
|
87
88
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
88
89
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
89
90
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
91
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
90
92
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
91
93
|
}, z.core.$loose>>;
|
|
92
94
|
}, z.core.$loose>;
|
|
@@ -243,6 +245,7 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
|
|
|
243
245
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
244
246
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
245
247
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
248
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
246
249
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
247
250
|
}, z.core.$loose>>;
|
|
248
251
|
}, z.core.$loose>>>;
|
|
@@ -393,6 +396,7 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
|
|
|
393
396
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
394
397
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
395
398
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
399
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
396
400
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
397
401
|
}, z.core.$loose>>;
|
|
398
402
|
}, z.core.$loose>>>;
|
|
@@ -1468,6 +1472,7 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
|
|
|
1468
1472
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
1469
1473
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1470
1474
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1475
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1471
1476
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1472
1477
|
}, z.core.$loose>>;
|
|
1473
1478
|
}, z.core.$loose>>>;
|
|
@@ -1526,6 +1531,7 @@ export declare const VisualizerVoiceCuesGenerateRequestSchema: z.ZodObject<{
|
|
|
1526
1531
|
done: "done";
|
|
1527
1532
|
join: "join";
|
|
1528
1533
|
thinking: "thinking";
|
|
1534
|
+
waiting: "waiting";
|
|
1529
1535
|
}>>;
|
|
1530
1536
|
}, z.core.$strip>;
|
|
1531
1537
|
export declare const AgentPersonalitiesGetStatsRequestSchema: z.ZodObject<{
|
|
@@ -3420,6 +3426,39 @@ export declare const CheckoutGitRollbackRequestSchema: z.ZodObject<{
|
|
|
3420
3426
|
allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
|
|
3421
3427
|
requestId: z.ZodString;
|
|
3422
3428
|
}, z.core.$strip>;
|
|
3429
|
+
export declare const CheckoutGitFileHistoryRequestSchema: z.ZodObject<{
|
|
3430
|
+
type: z.ZodLiteral<"checkout.git.get_file_history.request">;
|
|
3431
|
+
cwd: z.ZodString;
|
|
3432
|
+
path: z.ZodString;
|
|
3433
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3434
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
3435
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
3436
|
+
endLine: z.ZodOptional<z.ZodNumber>;
|
|
3437
|
+
requestId: z.ZodString;
|
|
3438
|
+
}, z.core.$strip>;
|
|
3439
|
+
export declare const CheckoutGitFileCommitDiffRequestSchema: z.ZodObject<{
|
|
3440
|
+
type: z.ZodLiteral<"checkout.git.get_file_commit_diff.request">;
|
|
3441
|
+
cwd: z.ZodString;
|
|
3442
|
+
path: z.ZodString;
|
|
3443
|
+
sha: z.ZodString;
|
|
3444
|
+
ignoreWhitespace: z.ZodOptional<z.ZodBoolean>;
|
|
3445
|
+
requestId: z.ZodString;
|
|
3446
|
+
}, z.core.$strip>;
|
|
3447
|
+
export declare const CheckoutGitFileBlameRequestSchema: z.ZodObject<{
|
|
3448
|
+
type: z.ZodLiteral<"checkout.git.get_file_blame.request">;
|
|
3449
|
+
cwd: z.ZodString;
|
|
3450
|
+
path: z.ZodString;
|
|
3451
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
3452
|
+
lineCount: z.ZodOptional<z.ZodNumber>;
|
|
3453
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
3454
|
+
requestId: z.ZodString;
|
|
3455
|
+
}, z.core.$strip>;
|
|
3456
|
+
export declare const CheckoutGitFileOriginRequestSchema: z.ZodObject<{
|
|
3457
|
+
type: z.ZodLiteral<"checkout.git.get_file_origin.request">;
|
|
3458
|
+
cwd: z.ZodString;
|
|
3459
|
+
path: z.ZodString;
|
|
3460
|
+
requestId: z.ZodString;
|
|
3461
|
+
}, z.core.$strip>;
|
|
3423
3462
|
export declare const CheckoutMergeRequestSchema: z.ZodObject<{
|
|
3424
3463
|
type: z.ZodLiteral<"checkout_merge_request">;
|
|
3425
3464
|
cwd: z.ZodString;
|
|
@@ -4977,6 +5016,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4977
5016
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
4978
5017
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4979
5018
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5019
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4980
5020
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4981
5021
|
}, z.core.$loose>>;
|
|
4982
5022
|
}, z.core.$loose>>>;
|
|
@@ -5032,6 +5072,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
5032
5072
|
done: "done";
|
|
5033
5073
|
join: "join";
|
|
5034
5074
|
thinking: "thinking";
|
|
5075
|
+
waiting: "waiting";
|
|
5035
5076
|
}>>;
|
|
5036
5077
|
}, z.core.$strip>, z.ZodObject<{
|
|
5037
5078
|
type: z.ZodLiteral<"agentPersonalities.get_stats.request">;
|
|
@@ -5531,6 +5572,35 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
5531
5572
|
cwd: z.ZodString;
|
|
5532
5573
|
operation: z.ZodString;
|
|
5533
5574
|
requestId: z.ZodString;
|
|
5575
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5576
|
+
type: z.ZodLiteral<"checkout.git.get_file_history.request">;
|
|
5577
|
+
cwd: z.ZodString;
|
|
5578
|
+
path: z.ZodString;
|
|
5579
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5580
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
5581
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
5582
|
+
endLine: z.ZodOptional<z.ZodNumber>;
|
|
5583
|
+
requestId: z.ZodString;
|
|
5584
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5585
|
+
type: z.ZodLiteral<"checkout.git.get_file_commit_diff.request">;
|
|
5586
|
+
cwd: z.ZodString;
|
|
5587
|
+
path: z.ZodString;
|
|
5588
|
+
sha: z.ZodString;
|
|
5589
|
+
ignoreWhitespace: z.ZodOptional<z.ZodBoolean>;
|
|
5590
|
+
requestId: z.ZodString;
|
|
5591
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5592
|
+
type: z.ZodLiteral<"checkout.git.get_file_blame.request">;
|
|
5593
|
+
cwd: z.ZodString;
|
|
5594
|
+
path: z.ZodString;
|
|
5595
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
5596
|
+
lineCount: z.ZodOptional<z.ZodNumber>;
|
|
5597
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
5598
|
+
requestId: z.ZodString;
|
|
5599
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5600
|
+
type: z.ZodLiteral<"checkout.git.get_file_origin.request">;
|
|
5601
|
+
cwd: z.ZodString;
|
|
5602
|
+
path: z.ZodString;
|
|
5603
|
+
requestId: z.ZodString;
|
|
5534
5604
|
}, z.core.$strip>, z.ZodObject<{
|
|
5535
5605
|
type: z.ZodLiteral<"runs.get_snapshot.request">;
|
|
5536
5606
|
requestId: z.ZodString;
|
|
@@ -6653,6 +6723,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
6653
6723
|
checkoutGitCommitAgent: z.ZodOptional<z.ZodBoolean>;
|
|
6654
6724
|
checkoutGitRollback: z.ZodOptional<z.ZodBoolean>;
|
|
6655
6725
|
checkoutGitLog: z.ZodOptional<z.ZodBoolean>;
|
|
6726
|
+
checkoutGitFileHistory: z.ZodOptional<z.ZodBoolean>;
|
|
6656
6727
|
agentTeams: z.ZodOptional<z.ZodBoolean>;
|
|
6657
6728
|
modelTierOverrides: z.ZodOptional<z.ZodBoolean>;
|
|
6658
6729
|
savedProviderEndpoints: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6728,6 +6799,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
6728
6799
|
checkoutGitCommitAgent?: boolean | undefined;
|
|
6729
6800
|
checkoutGitRollback?: boolean | undefined;
|
|
6730
6801
|
checkoutGitLog?: boolean | undefined;
|
|
6802
|
+
checkoutGitFileHistory?: boolean | undefined;
|
|
6731
6803
|
agentTeams?: boolean | undefined;
|
|
6732
6804
|
modelTierOverrides?: boolean | undefined;
|
|
6733
6805
|
savedProviderEndpoints?: boolean | undefined;
|
|
@@ -6804,6 +6876,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
6804
6876
|
checkoutGitCommitAgent?: boolean | undefined;
|
|
6805
6877
|
checkoutGitRollback?: boolean | undefined;
|
|
6806
6878
|
checkoutGitLog?: boolean | undefined;
|
|
6879
|
+
checkoutGitFileHistory?: boolean | undefined;
|
|
6807
6880
|
agentTeams?: boolean | undefined;
|
|
6808
6881
|
modelTierOverrides?: boolean | undefined;
|
|
6809
6882
|
savedProviderEndpoints?: boolean | undefined;
|
|
@@ -7147,6 +7220,7 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
|
|
|
7147
7220
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
7148
7221
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7149
7222
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7223
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7150
7224
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7151
7225
|
}, z.core.$loose>>;
|
|
7152
7226
|
}, z.core.$loose>>>;
|
|
@@ -7474,6 +7548,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
7474
7548
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
7475
7549
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7476
7550
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7551
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7477
7552
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7478
7553
|
}, z.core.$loose>>;
|
|
7479
7554
|
}, z.core.$loose>>>;
|
|
@@ -11560,6 +11635,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
11560
11635
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
11561
11636
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11562
11637
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11638
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11563
11639
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11564
11640
|
}, z.core.$loose>>;
|
|
11565
11641
|
}, z.core.$loose>>>;
|
|
@@ -11650,6 +11726,7 @@ export declare const VisualizerVoiceCuesGenerateResponseSchema: z.ZodObject<{
|
|
|
11650
11726
|
cues: z.ZodOptional<z.ZodObject<{
|
|
11651
11727
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11652
11728
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11729
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11653
11730
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11654
11731
|
}, z.core.$loose>>;
|
|
11655
11732
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -11825,6 +11902,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
11825
11902
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
11826
11903
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11827
11904
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11905
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11828
11906
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11829
11907
|
}, z.core.$loose>>;
|
|
11830
11908
|
}, z.core.$loose>>>;
|
|
@@ -12566,6 +12644,199 @@ export declare const CheckoutGitRollbackResponseSchema: z.ZodObject<{
|
|
|
12566
12644
|
requestId: z.ZodString;
|
|
12567
12645
|
}, z.core.$strip>;
|
|
12568
12646
|
}, z.core.$strip>;
|
|
12647
|
+
export declare const CheckoutGitFileErrorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12648
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
12649
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12650
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
12651
|
+
detail: z.ZodString;
|
|
12652
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12653
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
12654
|
+
detail: z.ZodString;
|
|
12655
|
+
}, z.core.$strip>], "kind">;
|
|
12656
|
+
export declare const GitFileHistoryEntrySchema: z.ZodObject<{
|
|
12657
|
+
sha: z.ZodString;
|
|
12658
|
+
shortSha: z.ZodString;
|
|
12659
|
+
subject: z.ZodString;
|
|
12660
|
+
body: z.ZodString;
|
|
12661
|
+
authorName: z.ZodString;
|
|
12662
|
+
authorEmail: z.ZodString;
|
|
12663
|
+
authoredAt: z.ZodNumber;
|
|
12664
|
+
committerName: z.ZodString;
|
|
12665
|
+
committedAt: z.ZodNumber;
|
|
12666
|
+
path: z.ZodString;
|
|
12667
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
12668
|
+
changeKind: z.ZodOptional<z.ZodString>;
|
|
12669
|
+
isMerge: z.ZodBoolean;
|
|
12670
|
+
parentShas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12671
|
+
}, z.core.$strip>;
|
|
12672
|
+
export declare const CheckoutGitFileHistoryResponseSchema: z.ZodObject<{
|
|
12673
|
+
type: z.ZodLiteral<"checkout.git.get_file_history.response">;
|
|
12674
|
+
payload: z.ZodObject<{
|
|
12675
|
+
cwd: z.ZodString;
|
|
12676
|
+
path: z.ZodString;
|
|
12677
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
12678
|
+
sha: z.ZodString;
|
|
12679
|
+
shortSha: z.ZodString;
|
|
12680
|
+
subject: z.ZodString;
|
|
12681
|
+
body: z.ZodString;
|
|
12682
|
+
authorName: z.ZodString;
|
|
12683
|
+
authorEmail: z.ZodString;
|
|
12684
|
+
authoredAt: z.ZodNumber;
|
|
12685
|
+
committerName: z.ZodString;
|
|
12686
|
+
committedAt: z.ZodNumber;
|
|
12687
|
+
path: z.ZodString;
|
|
12688
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
12689
|
+
changeKind: z.ZodOptional<z.ZodString>;
|
|
12690
|
+
isMerge: z.ZodBoolean;
|
|
12691
|
+
parentShas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12692
|
+
}, z.core.$strip>>;
|
|
12693
|
+
hasMore: z.ZodBoolean;
|
|
12694
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12695
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
12696
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12697
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
12698
|
+
detail: z.ZodString;
|
|
12699
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12700
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
12701
|
+
detail: z.ZodString;
|
|
12702
|
+
}, z.core.$strip>], "kind">>;
|
|
12703
|
+
requestId: z.ZodString;
|
|
12704
|
+
}, z.core.$strip>;
|
|
12705
|
+
}, z.core.$strip>;
|
|
12706
|
+
export declare const CheckoutGitFileCommitDiffResponseSchema: z.ZodObject<{
|
|
12707
|
+
type: z.ZodLiteral<"checkout.git.get_file_commit_diff.response">;
|
|
12708
|
+
payload: z.ZodObject<{
|
|
12709
|
+
cwd: z.ZodString;
|
|
12710
|
+
path: z.ZodString;
|
|
12711
|
+
sha: z.ZodString;
|
|
12712
|
+
diff: z.ZodString;
|
|
12713
|
+
structured: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12714
|
+
path: z.ZodString;
|
|
12715
|
+
isNew: z.ZodBoolean;
|
|
12716
|
+
isDeleted: z.ZodBoolean;
|
|
12717
|
+
additions: z.ZodNumber;
|
|
12718
|
+
deletions: z.ZodNumber;
|
|
12719
|
+
hunks: z.ZodArray<z.ZodObject<{
|
|
12720
|
+
oldStart: z.ZodNumber;
|
|
12721
|
+
oldCount: z.ZodNumber;
|
|
12722
|
+
newStart: z.ZodNumber;
|
|
12723
|
+
newCount: z.ZodNumber;
|
|
12724
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
12725
|
+
type: z.ZodEnum<{
|
|
12726
|
+
context: "context";
|
|
12727
|
+
add: "add";
|
|
12728
|
+
remove: "remove";
|
|
12729
|
+
header: "header";
|
|
12730
|
+
}>;
|
|
12731
|
+
content: z.ZodString;
|
|
12732
|
+
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12733
|
+
text: z.ZodString;
|
|
12734
|
+
style: z.ZodNullable<z.ZodString>;
|
|
12735
|
+
}, z.core.$strip>>>;
|
|
12736
|
+
}, z.core.$strip>>;
|
|
12737
|
+
}, z.core.$strip>>;
|
|
12738
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
12739
|
+
ok: "ok";
|
|
12740
|
+
too_large: "too_large";
|
|
12741
|
+
binary: "binary";
|
|
12742
|
+
}>>;
|
|
12743
|
+
}, z.core.$strip>>>;
|
|
12744
|
+
previousSha: z.ZodOptional<z.ZodString>;
|
|
12745
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
12746
|
+
truncated: z.ZodBoolean;
|
|
12747
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12748
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
12749
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12750
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
12751
|
+
detail: z.ZodString;
|
|
12752
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12753
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
12754
|
+
detail: z.ZodString;
|
|
12755
|
+
}, z.core.$strip>], "kind">>;
|
|
12756
|
+
requestId: z.ZodString;
|
|
12757
|
+
}, z.core.$strip>;
|
|
12758
|
+
}, z.core.$strip>;
|
|
12759
|
+
export declare const GitBlameLineSchema: z.ZodObject<{
|
|
12760
|
+
line: z.ZodNumber;
|
|
12761
|
+
sha: z.ZodString;
|
|
12762
|
+
originalLine: z.ZodNumber;
|
|
12763
|
+
}, z.core.$strip>;
|
|
12764
|
+
export declare const GitBlameCommitSchema: z.ZodObject<{
|
|
12765
|
+
sha: z.ZodString;
|
|
12766
|
+
shortSha: z.ZodString;
|
|
12767
|
+
summary: z.ZodString;
|
|
12768
|
+
authorName: z.ZodString;
|
|
12769
|
+
authorEmail: z.ZodString;
|
|
12770
|
+
authoredAt: z.ZodNumber;
|
|
12771
|
+
path: z.ZodOptional<z.ZodString>;
|
|
12772
|
+
}, z.core.$strip>;
|
|
12773
|
+
export declare const CheckoutGitFileBlameResponseSchema: z.ZodObject<{
|
|
12774
|
+
type: z.ZodLiteral<"checkout.git.get_file_blame.response">;
|
|
12775
|
+
payload: z.ZodObject<{
|
|
12776
|
+
cwd: z.ZodString;
|
|
12777
|
+
path: z.ZodString;
|
|
12778
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
12779
|
+
line: z.ZodNumber;
|
|
12780
|
+
sha: z.ZodString;
|
|
12781
|
+
originalLine: z.ZodNumber;
|
|
12782
|
+
}, z.core.$strip>>;
|
|
12783
|
+
commits: z.ZodArray<z.ZodObject<{
|
|
12784
|
+
sha: z.ZodString;
|
|
12785
|
+
shortSha: z.ZodString;
|
|
12786
|
+
summary: z.ZodString;
|
|
12787
|
+
authorName: z.ZodString;
|
|
12788
|
+
authorEmail: z.ZodString;
|
|
12789
|
+
authoredAt: z.ZodNumber;
|
|
12790
|
+
path: z.ZodOptional<z.ZodString>;
|
|
12791
|
+
}, z.core.$strip>>;
|
|
12792
|
+
startLine: z.ZodNumber;
|
|
12793
|
+
endLine: z.ZodNumber;
|
|
12794
|
+
reachedEndOfFile: z.ZodBoolean;
|
|
12795
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12796
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
12797
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12798
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
12799
|
+
detail: z.ZodString;
|
|
12800
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12801
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
12802
|
+
detail: z.ZodString;
|
|
12803
|
+
}, z.core.$strip>], "kind">>;
|
|
12804
|
+
requestId: z.ZodString;
|
|
12805
|
+
}, z.core.$strip>;
|
|
12806
|
+
}, z.core.$strip>;
|
|
12807
|
+
export declare const CheckoutGitFileOriginResponseSchema: z.ZodObject<{
|
|
12808
|
+
type: z.ZodLiteral<"checkout.git.get_file_origin.response">;
|
|
12809
|
+
payload: z.ZodObject<{
|
|
12810
|
+
cwd: z.ZodString;
|
|
12811
|
+
path: z.ZodString;
|
|
12812
|
+
entry: z.ZodNullable<z.ZodObject<{
|
|
12813
|
+
sha: z.ZodString;
|
|
12814
|
+
shortSha: z.ZodString;
|
|
12815
|
+
subject: z.ZodString;
|
|
12816
|
+
body: z.ZodString;
|
|
12817
|
+
authorName: z.ZodString;
|
|
12818
|
+
authorEmail: z.ZodString;
|
|
12819
|
+
authoredAt: z.ZodNumber;
|
|
12820
|
+
committerName: z.ZodString;
|
|
12821
|
+
committedAt: z.ZodNumber;
|
|
12822
|
+
path: z.ZodString;
|
|
12823
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
12824
|
+
changeKind: z.ZodOptional<z.ZodString>;
|
|
12825
|
+
isMerge: z.ZodBoolean;
|
|
12826
|
+
parentShas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12827
|
+
}, z.core.$strip>>;
|
|
12828
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12829
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
12830
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12831
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
12832
|
+
detail: z.ZodString;
|
|
12833
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12834
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
12835
|
+
detail: z.ZodString;
|
|
12836
|
+
}, z.core.$strip>], "kind">>;
|
|
12837
|
+
requestId: z.ZodString;
|
|
12838
|
+
}, z.core.$strip>;
|
|
12839
|
+
}, z.core.$strip>;
|
|
12569
12840
|
export declare const CheckoutMergeResponseSchema: z.ZodObject<{
|
|
12570
12841
|
type: z.ZodLiteral<"checkout_merge_response">;
|
|
12571
12842
|
payload: z.ZodObject<{
|
|
@@ -18126,6 +18397,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
18126
18397
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
18127
18398
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18128
18399
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18400
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18129
18401
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18130
18402
|
}, z.core.$loose>>;
|
|
18131
18403
|
}, z.core.$loose>>>;
|
|
@@ -18281,6 +18553,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
18281
18553
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
18282
18554
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18283
18555
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18556
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18284
18557
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18285
18558
|
}, z.core.$loose>>;
|
|
18286
18559
|
}, z.core.$loose>>>;
|
|
@@ -18366,6 +18639,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
18366
18639
|
cues: z.ZodOptional<z.ZodObject<{
|
|
18367
18640
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18368
18641
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18642
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18369
18643
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18370
18644
|
}, z.core.$loose>>;
|
|
18371
18645
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -19431,6 +19705,156 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19431
19705
|
text: z.ZodString;
|
|
19432
19706
|
}, z.core.$strip>>;
|
|
19433
19707
|
}, z.core.$strip>;
|
|
19708
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19709
|
+
type: z.ZodLiteral<"checkout.git.get_file_history.response">;
|
|
19710
|
+
payload: z.ZodObject<{
|
|
19711
|
+
cwd: z.ZodString;
|
|
19712
|
+
path: z.ZodString;
|
|
19713
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
19714
|
+
sha: z.ZodString;
|
|
19715
|
+
shortSha: z.ZodString;
|
|
19716
|
+
subject: z.ZodString;
|
|
19717
|
+
body: z.ZodString;
|
|
19718
|
+
authorName: z.ZodString;
|
|
19719
|
+
authorEmail: z.ZodString;
|
|
19720
|
+
authoredAt: z.ZodNumber;
|
|
19721
|
+
committerName: z.ZodString;
|
|
19722
|
+
committedAt: z.ZodNumber;
|
|
19723
|
+
path: z.ZodString;
|
|
19724
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
19725
|
+
changeKind: z.ZodOptional<z.ZodString>;
|
|
19726
|
+
isMerge: z.ZodBoolean;
|
|
19727
|
+
parentShas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19728
|
+
}, z.core.$strip>>;
|
|
19729
|
+
hasMore: z.ZodBoolean;
|
|
19730
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19731
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
19732
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19733
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
19734
|
+
detail: z.ZodString;
|
|
19735
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19736
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
19737
|
+
detail: z.ZodString;
|
|
19738
|
+
}, z.core.$strip>], "kind">>;
|
|
19739
|
+
requestId: z.ZodString;
|
|
19740
|
+
}, z.core.$strip>;
|
|
19741
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19742
|
+
type: z.ZodLiteral<"checkout.git.get_file_commit_diff.response">;
|
|
19743
|
+
payload: z.ZodObject<{
|
|
19744
|
+
cwd: z.ZodString;
|
|
19745
|
+
path: z.ZodString;
|
|
19746
|
+
sha: z.ZodString;
|
|
19747
|
+
diff: z.ZodString;
|
|
19748
|
+
structured: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19749
|
+
path: z.ZodString;
|
|
19750
|
+
isNew: z.ZodBoolean;
|
|
19751
|
+
isDeleted: z.ZodBoolean;
|
|
19752
|
+
additions: z.ZodNumber;
|
|
19753
|
+
deletions: z.ZodNumber;
|
|
19754
|
+
hunks: z.ZodArray<z.ZodObject<{
|
|
19755
|
+
oldStart: z.ZodNumber;
|
|
19756
|
+
oldCount: z.ZodNumber;
|
|
19757
|
+
newStart: z.ZodNumber;
|
|
19758
|
+
newCount: z.ZodNumber;
|
|
19759
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
19760
|
+
type: z.ZodEnum<{
|
|
19761
|
+
context: "context";
|
|
19762
|
+
add: "add";
|
|
19763
|
+
remove: "remove";
|
|
19764
|
+
header: "header";
|
|
19765
|
+
}>;
|
|
19766
|
+
content: z.ZodString;
|
|
19767
|
+
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19768
|
+
text: z.ZodString;
|
|
19769
|
+
style: z.ZodNullable<z.ZodString>;
|
|
19770
|
+
}, z.core.$strip>>>;
|
|
19771
|
+
}, z.core.$strip>>;
|
|
19772
|
+
}, z.core.$strip>>;
|
|
19773
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19774
|
+
ok: "ok";
|
|
19775
|
+
too_large: "too_large";
|
|
19776
|
+
binary: "binary";
|
|
19777
|
+
}>>;
|
|
19778
|
+
}, z.core.$strip>>>;
|
|
19779
|
+
previousSha: z.ZodOptional<z.ZodString>;
|
|
19780
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
19781
|
+
truncated: z.ZodBoolean;
|
|
19782
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19783
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
19784
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19785
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
19786
|
+
detail: z.ZodString;
|
|
19787
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19788
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
19789
|
+
detail: z.ZodString;
|
|
19790
|
+
}, z.core.$strip>], "kind">>;
|
|
19791
|
+
requestId: z.ZodString;
|
|
19792
|
+
}, z.core.$strip>;
|
|
19793
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19794
|
+
type: z.ZodLiteral<"checkout.git.get_file_blame.response">;
|
|
19795
|
+
payload: z.ZodObject<{
|
|
19796
|
+
cwd: z.ZodString;
|
|
19797
|
+
path: z.ZodString;
|
|
19798
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
19799
|
+
line: z.ZodNumber;
|
|
19800
|
+
sha: z.ZodString;
|
|
19801
|
+
originalLine: z.ZodNumber;
|
|
19802
|
+
}, z.core.$strip>>;
|
|
19803
|
+
commits: z.ZodArray<z.ZodObject<{
|
|
19804
|
+
sha: z.ZodString;
|
|
19805
|
+
shortSha: z.ZodString;
|
|
19806
|
+
summary: z.ZodString;
|
|
19807
|
+
authorName: z.ZodString;
|
|
19808
|
+
authorEmail: z.ZodString;
|
|
19809
|
+
authoredAt: z.ZodNumber;
|
|
19810
|
+
path: z.ZodOptional<z.ZodString>;
|
|
19811
|
+
}, z.core.$strip>>;
|
|
19812
|
+
startLine: z.ZodNumber;
|
|
19813
|
+
endLine: z.ZodNumber;
|
|
19814
|
+
reachedEndOfFile: z.ZodBoolean;
|
|
19815
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19816
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
19817
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19818
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
19819
|
+
detail: z.ZodString;
|
|
19820
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19821
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
19822
|
+
detail: z.ZodString;
|
|
19823
|
+
}, z.core.$strip>], "kind">>;
|
|
19824
|
+
requestId: z.ZodString;
|
|
19825
|
+
}, z.core.$strip>;
|
|
19826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19827
|
+
type: z.ZodLiteral<"checkout.git.get_file_origin.response">;
|
|
19828
|
+
payload: z.ZodObject<{
|
|
19829
|
+
cwd: z.ZodString;
|
|
19830
|
+
path: z.ZodString;
|
|
19831
|
+
entry: z.ZodNullable<z.ZodObject<{
|
|
19832
|
+
sha: z.ZodString;
|
|
19833
|
+
shortSha: z.ZodString;
|
|
19834
|
+
subject: z.ZodString;
|
|
19835
|
+
body: z.ZodString;
|
|
19836
|
+
authorName: z.ZodString;
|
|
19837
|
+
authorEmail: z.ZodString;
|
|
19838
|
+
authoredAt: z.ZodNumber;
|
|
19839
|
+
committerName: z.ZodString;
|
|
19840
|
+
committedAt: z.ZodNumber;
|
|
19841
|
+
path: z.ZodString;
|
|
19842
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
19843
|
+
changeKind: z.ZodOptional<z.ZodString>;
|
|
19844
|
+
isMerge: z.ZodBoolean;
|
|
19845
|
+
parentShas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19846
|
+
}, z.core.$strip>>;
|
|
19847
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19848
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
19849
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19850
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
19851
|
+
detail: z.ZodString;
|
|
19852
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19853
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
19854
|
+
detail: z.ZodString;
|
|
19855
|
+
}, z.core.$strip>], "kind">>;
|
|
19856
|
+
requestId: z.ZodString;
|
|
19857
|
+
}, z.core.$strip>;
|
|
19434
19858
|
}, z.core.$strip>, z.ZodObject<{
|
|
19435
19859
|
type: z.ZodLiteral<"runs.get_snapshot.response">;
|
|
19436
19860
|
payload: z.ZodObject<{
|
|
@@ -23098,6 +23522,18 @@ export type CommitMessageAgent = z.infer<typeof CommitMessageAgentSchema>;
|
|
|
23098
23522
|
export type CheckoutGitRollbackRequest = z.infer<typeof CheckoutGitRollbackRequestSchema>;
|
|
23099
23523
|
export type CheckoutGitRollbackResponse = z.infer<typeof CheckoutGitRollbackResponseSchema>;
|
|
23100
23524
|
export type CheckoutGitRollbackError = z.infer<typeof CheckoutGitRollbackErrorSchema>;
|
|
23525
|
+
export type CheckoutGitFileError = z.infer<typeof CheckoutGitFileErrorSchema>;
|
|
23526
|
+
export type GitFileHistoryEntry = z.infer<typeof GitFileHistoryEntrySchema>;
|
|
23527
|
+
export type GitBlameLine = z.infer<typeof GitBlameLineSchema>;
|
|
23528
|
+
export type GitBlameCommit = z.infer<typeof GitBlameCommitSchema>;
|
|
23529
|
+
export type CheckoutGitFileHistoryRequest = z.infer<typeof CheckoutGitFileHistoryRequestSchema>;
|
|
23530
|
+
export type CheckoutGitFileHistoryResponse = z.infer<typeof CheckoutGitFileHistoryResponseSchema>;
|
|
23531
|
+
export type CheckoutGitFileCommitDiffRequest = z.infer<typeof CheckoutGitFileCommitDiffRequestSchema>;
|
|
23532
|
+
export type CheckoutGitFileCommitDiffResponse = z.infer<typeof CheckoutGitFileCommitDiffResponseSchema>;
|
|
23533
|
+
export type CheckoutGitFileBlameRequest = z.infer<typeof CheckoutGitFileBlameRequestSchema>;
|
|
23534
|
+
export type CheckoutGitFileBlameResponse = z.infer<typeof CheckoutGitFileBlameResponseSchema>;
|
|
23535
|
+
export type CheckoutGitFileOriginRequest = z.infer<typeof CheckoutGitFileOriginRequestSchema>;
|
|
23536
|
+
export type CheckoutGitFileOriginResponse = z.infer<typeof CheckoutGitFileOriginResponseSchema>;
|
|
23101
23537
|
export type GitOperationLogEntry = z.infer<typeof GitOperationLogEntrySchema>;
|
|
23102
23538
|
export type CheckoutGitGetOperationLogRequest = z.infer<typeof CheckoutGitGetOperationLogRequestSchema>;
|
|
23103
23539
|
export type CheckoutGitGetOperationLogResponse = z.infer<typeof CheckoutGitGetOperationLogResponseSchema>;
|
|
@@ -23956,6 +24392,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
23956
24392
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
23957
24393
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23958
24394
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24395
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23959
24396
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23960
24397
|
}, z.core.$loose>>;
|
|
23961
24398
|
}, z.core.$loose>>>;
|
|
@@ -24011,6 +24448,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
24011
24448
|
done: "done";
|
|
24012
24449
|
join: "join";
|
|
24013
24450
|
thinking: "thinking";
|
|
24451
|
+
waiting: "waiting";
|
|
24014
24452
|
}>>;
|
|
24015
24453
|
}, z.core.$strip>, z.ZodObject<{
|
|
24016
24454
|
type: z.ZodLiteral<"agentPersonalities.get_stats.request">;
|
|
@@ -24510,6 +24948,35 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
24510
24948
|
cwd: z.ZodString;
|
|
24511
24949
|
operation: z.ZodString;
|
|
24512
24950
|
requestId: z.ZodString;
|
|
24951
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24952
|
+
type: z.ZodLiteral<"checkout.git.get_file_history.request">;
|
|
24953
|
+
cwd: z.ZodString;
|
|
24954
|
+
path: z.ZodString;
|
|
24955
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
24956
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
24957
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
24958
|
+
endLine: z.ZodOptional<z.ZodNumber>;
|
|
24959
|
+
requestId: z.ZodString;
|
|
24960
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24961
|
+
type: z.ZodLiteral<"checkout.git.get_file_commit_diff.request">;
|
|
24962
|
+
cwd: z.ZodString;
|
|
24963
|
+
path: z.ZodString;
|
|
24964
|
+
sha: z.ZodString;
|
|
24965
|
+
ignoreWhitespace: z.ZodOptional<z.ZodBoolean>;
|
|
24966
|
+
requestId: z.ZodString;
|
|
24967
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24968
|
+
type: z.ZodLiteral<"checkout.git.get_file_blame.request">;
|
|
24969
|
+
cwd: z.ZodString;
|
|
24970
|
+
path: z.ZodString;
|
|
24971
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
24972
|
+
lineCount: z.ZodOptional<z.ZodNumber>;
|
|
24973
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
24974
|
+
requestId: z.ZodString;
|
|
24975
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24976
|
+
type: z.ZodLiteral<"checkout.git.get_file_origin.request">;
|
|
24977
|
+
cwd: z.ZodString;
|
|
24978
|
+
path: z.ZodString;
|
|
24979
|
+
requestId: z.ZodString;
|
|
24513
24980
|
}, z.core.$strip>, z.ZodObject<{
|
|
24514
24981
|
type: z.ZodLiteral<"runs.get_snapshot.request">;
|
|
24515
24982
|
requestId: z.ZodString;
|
|
@@ -28950,6 +29417,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
28950
29417
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
28951
29418
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28952
29419
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29420
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28953
29421
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28954
29422
|
}, z.core.$loose>>;
|
|
28955
29423
|
}, z.core.$loose>>>;
|
|
@@ -29105,6 +29573,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
29105
29573
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
29106
29574
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29107
29575
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29576
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29108
29577
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29109
29578
|
}, z.core.$loose>>;
|
|
29110
29579
|
}, z.core.$loose>>>;
|
|
@@ -29190,6 +29659,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
29190
29659
|
cues: z.ZodOptional<z.ZodObject<{
|
|
29191
29660
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29192
29661
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29662
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29193
29663
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29194
29664
|
}, z.core.$loose>>;
|
|
29195
29665
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -30255,6 +30725,156 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
30255
30725
|
text: z.ZodString;
|
|
30256
30726
|
}, z.core.$strip>>;
|
|
30257
30727
|
}, z.core.$strip>;
|
|
30728
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30729
|
+
type: z.ZodLiteral<"checkout.git.get_file_history.response">;
|
|
30730
|
+
payload: z.ZodObject<{
|
|
30731
|
+
cwd: z.ZodString;
|
|
30732
|
+
path: z.ZodString;
|
|
30733
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
30734
|
+
sha: z.ZodString;
|
|
30735
|
+
shortSha: z.ZodString;
|
|
30736
|
+
subject: z.ZodString;
|
|
30737
|
+
body: z.ZodString;
|
|
30738
|
+
authorName: z.ZodString;
|
|
30739
|
+
authorEmail: z.ZodString;
|
|
30740
|
+
authoredAt: z.ZodNumber;
|
|
30741
|
+
committerName: z.ZodString;
|
|
30742
|
+
committedAt: z.ZodNumber;
|
|
30743
|
+
path: z.ZodString;
|
|
30744
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
30745
|
+
changeKind: z.ZodOptional<z.ZodString>;
|
|
30746
|
+
isMerge: z.ZodBoolean;
|
|
30747
|
+
parentShas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30748
|
+
}, z.core.$strip>>;
|
|
30749
|
+
hasMore: z.ZodBoolean;
|
|
30750
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30751
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
30752
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30753
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
30754
|
+
detail: z.ZodString;
|
|
30755
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30756
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
30757
|
+
detail: z.ZodString;
|
|
30758
|
+
}, z.core.$strip>], "kind">>;
|
|
30759
|
+
requestId: z.ZodString;
|
|
30760
|
+
}, z.core.$strip>;
|
|
30761
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30762
|
+
type: z.ZodLiteral<"checkout.git.get_file_commit_diff.response">;
|
|
30763
|
+
payload: z.ZodObject<{
|
|
30764
|
+
cwd: z.ZodString;
|
|
30765
|
+
path: z.ZodString;
|
|
30766
|
+
sha: z.ZodString;
|
|
30767
|
+
diff: z.ZodString;
|
|
30768
|
+
structured: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30769
|
+
path: z.ZodString;
|
|
30770
|
+
isNew: z.ZodBoolean;
|
|
30771
|
+
isDeleted: z.ZodBoolean;
|
|
30772
|
+
additions: z.ZodNumber;
|
|
30773
|
+
deletions: z.ZodNumber;
|
|
30774
|
+
hunks: z.ZodArray<z.ZodObject<{
|
|
30775
|
+
oldStart: z.ZodNumber;
|
|
30776
|
+
oldCount: z.ZodNumber;
|
|
30777
|
+
newStart: z.ZodNumber;
|
|
30778
|
+
newCount: z.ZodNumber;
|
|
30779
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
30780
|
+
type: z.ZodEnum<{
|
|
30781
|
+
context: "context";
|
|
30782
|
+
add: "add";
|
|
30783
|
+
remove: "remove";
|
|
30784
|
+
header: "header";
|
|
30785
|
+
}>;
|
|
30786
|
+
content: z.ZodString;
|
|
30787
|
+
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30788
|
+
text: z.ZodString;
|
|
30789
|
+
style: z.ZodNullable<z.ZodString>;
|
|
30790
|
+
}, z.core.$strip>>>;
|
|
30791
|
+
}, z.core.$strip>>;
|
|
30792
|
+
}, z.core.$strip>>;
|
|
30793
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
30794
|
+
ok: "ok";
|
|
30795
|
+
too_large: "too_large";
|
|
30796
|
+
binary: "binary";
|
|
30797
|
+
}>>;
|
|
30798
|
+
}, z.core.$strip>>>;
|
|
30799
|
+
previousSha: z.ZodOptional<z.ZodString>;
|
|
30800
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
30801
|
+
truncated: z.ZodBoolean;
|
|
30802
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30803
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
30804
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30805
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
30806
|
+
detail: z.ZodString;
|
|
30807
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30808
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
30809
|
+
detail: z.ZodString;
|
|
30810
|
+
}, z.core.$strip>], "kind">>;
|
|
30811
|
+
requestId: z.ZodString;
|
|
30812
|
+
}, z.core.$strip>;
|
|
30813
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30814
|
+
type: z.ZodLiteral<"checkout.git.get_file_blame.response">;
|
|
30815
|
+
payload: z.ZodObject<{
|
|
30816
|
+
cwd: z.ZodString;
|
|
30817
|
+
path: z.ZodString;
|
|
30818
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
30819
|
+
line: z.ZodNumber;
|
|
30820
|
+
sha: z.ZodString;
|
|
30821
|
+
originalLine: z.ZodNumber;
|
|
30822
|
+
}, z.core.$strip>>;
|
|
30823
|
+
commits: z.ZodArray<z.ZodObject<{
|
|
30824
|
+
sha: z.ZodString;
|
|
30825
|
+
shortSha: z.ZodString;
|
|
30826
|
+
summary: z.ZodString;
|
|
30827
|
+
authorName: z.ZodString;
|
|
30828
|
+
authorEmail: z.ZodString;
|
|
30829
|
+
authoredAt: z.ZodNumber;
|
|
30830
|
+
path: z.ZodOptional<z.ZodString>;
|
|
30831
|
+
}, z.core.$strip>>;
|
|
30832
|
+
startLine: z.ZodNumber;
|
|
30833
|
+
endLine: z.ZodNumber;
|
|
30834
|
+
reachedEndOfFile: z.ZodBoolean;
|
|
30835
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30836
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
30837
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30838
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
30839
|
+
detail: z.ZodString;
|
|
30840
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30841
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
30842
|
+
detail: z.ZodString;
|
|
30843
|
+
}, z.core.$strip>], "kind">>;
|
|
30844
|
+
requestId: z.ZodString;
|
|
30845
|
+
}, z.core.$strip>;
|
|
30846
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30847
|
+
type: z.ZodLiteral<"checkout.git.get_file_origin.response">;
|
|
30848
|
+
payload: z.ZodObject<{
|
|
30849
|
+
cwd: z.ZodString;
|
|
30850
|
+
path: z.ZodString;
|
|
30851
|
+
entry: z.ZodNullable<z.ZodObject<{
|
|
30852
|
+
sha: z.ZodString;
|
|
30853
|
+
shortSha: z.ZodString;
|
|
30854
|
+
subject: z.ZodString;
|
|
30855
|
+
body: z.ZodString;
|
|
30856
|
+
authorName: z.ZodString;
|
|
30857
|
+
authorEmail: z.ZodString;
|
|
30858
|
+
authoredAt: z.ZodNumber;
|
|
30859
|
+
committerName: z.ZodString;
|
|
30860
|
+
committedAt: z.ZodNumber;
|
|
30861
|
+
path: z.ZodString;
|
|
30862
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
30863
|
+
changeKind: z.ZodOptional<z.ZodString>;
|
|
30864
|
+
isMerge: z.ZodBoolean;
|
|
30865
|
+
parentShas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30866
|
+
}, z.core.$strip>>;
|
|
30867
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30868
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
30869
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30870
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
30871
|
+
detail: z.ZodString;
|
|
30872
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30873
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
30874
|
+
detail: z.ZodString;
|
|
30875
|
+
}, z.core.$strip>], "kind">>;
|
|
30876
|
+
requestId: z.ZodString;
|
|
30877
|
+
}, z.core.$strip>;
|
|
30258
30878
|
}, z.core.$strip>, z.ZodObject<{
|
|
30259
30879
|
type: z.ZodLiteral<"runs.get_snapshot.response">;
|
|
30260
30880
|
payload: z.ZodObject<{
|
|
@@ -34393,6 +35013,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
34393
35013
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
34394
35014
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34395
35015
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35016
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34396
35017
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34397
35018
|
}, z.core.$loose>>;
|
|
34398
35019
|
}, z.core.$loose>>>;
|
|
@@ -34448,6 +35069,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
34448
35069
|
done: "done";
|
|
34449
35070
|
join: "join";
|
|
34450
35071
|
thinking: "thinking";
|
|
35072
|
+
waiting: "waiting";
|
|
34451
35073
|
}>>;
|
|
34452
35074
|
}, z.core.$strip>, z.ZodObject<{
|
|
34453
35075
|
type: z.ZodLiteral<"agentPersonalities.get_stats.request">;
|
|
@@ -34947,6 +35569,35 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
34947
35569
|
cwd: z.ZodString;
|
|
34948
35570
|
operation: z.ZodString;
|
|
34949
35571
|
requestId: z.ZodString;
|
|
35572
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35573
|
+
type: z.ZodLiteral<"checkout.git.get_file_history.request">;
|
|
35574
|
+
cwd: z.ZodString;
|
|
35575
|
+
path: z.ZodString;
|
|
35576
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
35577
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
35578
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
35579
|
+
endLine: z.ZodOptional<z.ZodNumber>;
|
|
35580
|
+
requestId: z.ZodString;
|
|
35581
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35582
|
+
type: z.ZodLiteral<"checkout.git.get_file_commit_diff.request">;
|
|
35583
|
+
cwd: z.ZodString;
|
|
35584
|
+
path: z.ZodString;
|
|
35585
|
+
sha: z.ZodString;
|
|
35586
|
+
ignoreWhitespace: z.ZodOptional<z.ZodBoolean>;
|
|
35587
|
+
requestId: z.ZodString;
|
|
35588
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35589
|
+
type: z.ZodLiteral<"checkout.git.get_file_blame.request">;
|
|
35590
|
+
cwd: z.ZodString;
|
|
35591
|
+
path: z.ZodString;
|
|
35592
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
35593
|
+
lineCount: z.ZodOptional<z.ZodNumber>;
|
|
35594
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
35595
|
+
requestId: z.ZodString;
|
|
35596
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35597
|
+
type: z.ZodLiteral<"checkout.git.get_file_origin.request">;
|
|
35598
|
+
cwd: z.ZodString;
|
|
35599
|
+
path: z.ZodString;
|
|
35600
|
+
requestId: z.ZodString;
|
|
34950
35601
|
}, z.core.$strip>, z.ZodObject<{
|
|
34951
35602
|
type: z.ZodLiteral<"runs.get_snapshot.request">;
|
|
34952
35603
|
requestId: z.ZodString;
|
|
@@ -39389,6 +40040,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
39389
40040
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
39390
40041
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39391
40042
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40043
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39392
40044
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39393
40045
|
}, z.core.$loose>>;
|
|
39394
40046
|
}, z.core.$loose>>>;
|
|
@@ -39544,6 +40196,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
39544
40196
|
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
39545
40197
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39546
40198
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40199
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39547
40200
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39548
40201
|
}, z.core.$loose>>;
|
|
39549
40202
|
}, z.core.$loose>>>;
|
|
@@ -39629,6 +40282,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
39629
40282
|
cues: z.ZodOptional<z.ZodObject<{
|
|
39630
40283
|
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39631
40284
|
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40285
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39632
40286
|
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39633
40287
|
}, z.core.$loose>>;
|
|
39634
40288
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -40694,6 +41348,156 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
40694
41348
|
text: z.ZodString;
|
|
40695
41349
|
}, z.core.$strip>>;
|
|
40696
41350
|
}, z.core.$strip>;
|
|
41351
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41352
|
+
type: z.ZodLiteral<"checkout.git.get_file_history.response">;
|
|
41353
|
+
payload: z.ZodObject<{
|
|
41354
|
+
cwd: z.ZodString;
|
|
41355
|
+
path: z.ZodString;
|
|
41356
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
41357
|
+
sha: z.ZodString;
|
|
41358
|
+
shortSha: z.ZodString;
|
|
41359
|
+
subject: z.ZodString;
|
|
41360
|
+
body: z.ZodString;
|
|
41361
|
+
authorName: z.ZodString;
|
|
41362
|
+
authorEmail: z.ZodString;
|
|
41363
|
+
authoredAt: z.ZodNumber;
|
|
41364
|
+
committerName: z.ZodString;
|
|
41365
|
+
committedAt: z.ZodNumber;
|
|
41366
|
+
path: z.ZodString;
|
|
41367
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
41368
|
+
changeKind: z.ZodOptional<z.ZodString>;
|
|
41369
|
+
isMerge: z.ZodBoolean;
|
|
41370
|
+
parentShas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41371
|
+
}, z.core.$strip>>;
|
|
41372
|
+
hasMore: z.ZodBoolean;
|
|
41373
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
41374
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
41375
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41376
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
41377
|
+
detail: z.ZodString;
|
|
41378
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41379
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
41380
|
+
detail: z.ZodString;
|
|
41381
|
+
}, z.core.$strip>], "kind">>;
|
|
41382
|
+
requestId: z.ZodString;
|
|
41383
|
+
}, z.core.$strip>;
|
|
41384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41385
|
+
type: z.ZodLiteral<"checkout.git.get_file_commit_diff.response">;
|
|
41386
|
+
payload: z.ZodObject<{
|
|
41387
|
+
cwd: z.ZodString;
|
|
41388
|
+
path: z.ZodString;
|
|
41389
|
+
sha: z.ZodString;
|
|
41390
|
+
diff: z.ZodString;
|
|
41391
|
+
structured: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
41392
|
+
path: z.ZodString;
|
|
41393
|
+
isNew: z.ZodBoolean;
|
|
41394
|
+
isDeleted: z.ZodBoolean;
|
|
41395
|
+
additions: z.ZodNumber;
|
|
41396
|
+
deletions: z.ZodNumber;
|
|
41397
|
+
hunks: z.ZodArray<z.ZodObject<{
|
|
41398
|
+
oldStart: z.ZodNumber;
|
|
41399
|
+
oldCount: z.ZodNumber;
|
|
41400
|
+
newStart: z.ZodNumber;
|
|
41401
|
+
newCount: z.ZodNumber;
|
|
41402
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
41403
|
+
type: z.ZodEnum<{
|
|
41404
|
+
context: "context";
|
|
41405
|
+
add: "add";
|
|
41406
|
+
remove: "remove";
|
|
41407
|
+
header: "header";
|
|
41408
|
+
}>;
|
|
41409
|
+
content: z.ZodString;
|
|
41410
|
+
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
41411
|
+
text: z.ZodString;
|
|
41412
|
+
style: z.ZodNullable<z.ZodString>;
|
|
41413
|
+
}, z.core.$strip>>>;
|
|
41414
|
+
}, z.core.$strip>>;
|
|
41415
|
+
}, z.core.$strip>>;
|
|
41416
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
41417
|
+
ok: "ok";
|
|
41418
|
+
too_large: "too_large";
|
|
41419
|
+
binary: "binary";
|
|
41420
|
+
}>>;
|
|
41421
|
+
}, z.core.$strip>>>;
|
|
41422
|
+
previousSha: z.ZodOptional<z.ZodString>;
|
|
41423
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
41424
|
+
truncated: z.ZodBoolean;
|
|
41425
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
41426
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
41427
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41428
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
41429
|
+
detail: z.ZodString;
|
|
41430
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41431
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
41432
|
+
detail: z.ZodString;
|
|
41433
|
+
}, z.core.$strip>], "kind">>;
|
|
41434
|
+
requestId: z.ZodString;
|
|
41435
|
+
}, z.core.$strip>;
|
|
41436
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41437
|
+
type: z.ZodLiteral<"checkout.git.get_file_blame.response">;
|
|
41438
|
+
payload: z.ZodObject<{
|
|
41439
|
+
cwd: z.ZodString;
|
|
41440
|
+
path: z.ZodString;
|
|
41441
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
41442
|
+
line: z.ZodNumber;
|
|
41443
|
+
sha: z.ZodString;
|
|
41444
|
+
originalLine: z.ZodNumber;
|
|
41445
|
+
}, z.core.$strip>>;
|
|
41446
|
+
commits: z.ZodArray<z.ZodObject<{
|
|
41447
|
+
sha: z.ZodString;
|
|
41448
|
+
shortSha: z.ZodString;
|
|
41449
|
+
summary: z.ZodString;
|
|
41450
|
+
authorName: z.ZodString;
|
|
41451
|
+
authorEmail: z.ZodString;
|
|
41452
|
+
authoredAt: z.ZodNumber;
|
|
41453
|
+
path: z.ZodOptional<z.ZodString>;
|
|
41454
|
+
}, z.core.$strip>>;
|
|
41455
|
+
startLine: z.ZodNumber;
|
|
41456
|
+
endLine: z.ZodNumber;
|
|
41457
|
+
reachedEndOfFile: z.ZodBoolean;
|
|
41458
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
41459
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
41460
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41461
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
41462
|
+
detail: z.ZodString;
|
|
41463
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41464
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
41465
|
+
detail: z.ZodString;
|
|
41466
|
+
}, z.core.$strip>], "kind">>;
|
|
41467
|
+
requestId: z.ZodString;
|
|
41468
|
+
}, z.core.$strip>;
|
|
41469
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41470
|
+
type: z.ZodLiteral<"checkout.git.get_file_origin.response">;
|
|
41471
|
+
payload: z.ZodObject<{
|
|
41472
|
+
cwd: z.ZodString;
|
|
41473
|
+
path: z.ZodString;
|
|
41474
|
+
entry: z.ZodNullable<z.ZodObject<{
|
|
41475
|
+
sha: z.ZodString;
|
|
41476
|
+
shortSha: z.ZodString;
|
|
41477
|
+
subject: z.ZodString;
|
|
41478
|
+
body: z.ZodString;
|
|
41479
|
+
authorName: z.ZodString;
|
|
41480
|
+
authorEmail: z.ZodString;
|
|
41481
|
+
authoredAt: z.ZodNumber;
|
|
41482
|
+
committerName: z.ZodString;
|
|
41483
|
+
committedAt: z.ZodNumber;
|
|
41484
|
+
path: z.ZodString;
|
|
41485
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
41486
|
+
changeKind: z.ZodOptional<z.ZodString>;
|
|
41487
|
+
isMerge: z.ZodBoolean;
|
|
41488
|
+
parentShas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41489
|
+
}, z.core.$strip>>;
|
|
41490
|
+
error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
41491
|
+
kind: z.ZodLiteral<"not_git_repo">;
|
|
41492
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41493
|
+
kind: z.ZodLiteral<"invalid_path">;
|
|
41494
|
+
detail: z.ZodString;
|
|
41495
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41496
|
+
kind: z.ZodLiteral<"git_failed">;
|
|
41497
|
+
detail: z.ZodString;
|
|
41498
|
+
}, z.core.$strip>], "kind">>;
|
|
41499
|
+
requestId: z.ZodString;
|
|
41500
|
+
}, z.core.$strip>;
|
|
40697
41501
|
}, z.core.$strip>, z.ZodObject<{
|
|
40698
41502
|
type: z.ZodLiteral<"runs.get_snapshot.response">;
|
|
40699
41503
|
payload: z.ZodObject<{
|