@otto-code/protocol 0.7.3 → 0.7.4
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 +25846 -25737
- package/dist/messages.d.ts +277 -0
- package/dist/messages.js +74 -1
- package/dist/validation/ws-outbound-schema-metadata.d.ts +57 -0
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -2502,6 +2502,12 @@ export declare const AgentDetachResponseMessageSchema: z.ZodObject<{
|
|
|
2502
2502
|
notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
|
|
2503
2503
|
}, z.core.$strip>;
|
|
2504
2504
|
}, z.core.$strip>;
|
|
2505
|
+
export declare const AgentWorkspaceTransferRequestMessageSchema: z.ZodObject<{
|
|
2506
|
+
type: z.ZodLiteral<"agent.workspace.transfer.request">;
|
|
2507
|
+
agentId: z.ZodString;
|
|
2508
|
+
workspaceId: z.ZodString;
|
|
2509
|
+
requestId: z.ZodString;
|
|
2510
|
+
}, z.core.$strip>;
|
|
2505
2511
|
export declare const AgentSubagentStopRequestMessageSchema: z.ZodObject<{
|
|
2506
2512
|
type: z.ZodLiteral<"agent.subagent.stop.request">;
|
|
2507
2513
|
agentId: z.ZodString;
|
|
@@ -3648,6 +3654,23 @@ export declare const WorkspaceTitleSetResponseSchema: z.ZodObject<{
|
|
|
3648
3654
|
error: z.ZodNullable<z.ZodString>;
|
|
3649
3655
|
}, z.core.$strip>;
|
|
3650
3656
|
}, z.core.$strip>;
|
|
3657
|
+
export declare const AgentWorkspaceTransferResponsePayloadSchema: z.ZodObject<{
|
|
3658
|
+
requestId: z.ZodString;
|
|
3659
|
+
agentId: z.ZodString;
|
|
3660
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
3661
|
+
accepted: z.ZodBoolean;
|
|
3662
|
+
error: z.ZodNullable<z.ZodString>;
|
|
3663
|
+
}, z.core.$strip>;
|
|
3664
|
+
export declare const AgentWorkspaceTransferResponseMessageSchema: z.ZodObject<{
|
|
3665
|
+
type: z.ZodLiteral<"agent.workspace.transfer.response">;
|
|
3666
|
+
payload: z.ZodObject<{
|
|
3667
|
+
requestId: z.ZodString;
|
|
3668
|
+
agentId: z.ZodString;
|
|
3669
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
3670
|
+
accepted: z.ZodBoolean;
|
|
3671
|
+
error: z.ZodNullable<z.ZodString>;
|
|
3672
|
+
}, z.core.$strip>;
|
|
3673
|
+
}, z.core.$strip>;
|
|
3651
3674
|
export declare const SetVoiceModeResponseMessageSchema: z.ZodObject<{
|
|
3652
3675
|
type: z.ZodLiteral<"set_voice_mode_response">;
|
|
3653
3676
|
payload: z.ZodObject<{
|
|
@@ -5133,11 +5156,18 @@ export declare const WorkspaceArchivePreflightRequestSchema: z.ZodObject<{
|
|
|
5133
5156
|
requestId: z.ZodString;
|
|
5134
5157
|
workspaceId: z.ZodString;
|
|
5135
5158
|
}, z.core.$strip>;
|
|
5159
|
+
export declare const CheckoutBaseSourceSchema: z.ZodEnum<{
|
|
5160
|
+
default: "default";
|
|
5161
|
+
worktree: "worktree";
|
|
5162
|
+
user: "user";
|
|
5163
|
+
inferred: "inferred";
|
|
5164
|
+
}>;
|
|
5136
5165
|
export declare const WorktreeBaseRefSetRequestSchema: z.ZodObject<{
|
|
5137
5166
|
type: z.ZodLiteral<"worktree.baseRef.set.request">;
|
|
5138
5167
|
requestId: z.ZodString;
|
|
5139
5168
|
workspaceId: z.ZodString;
|
|
5140
5169
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
5170
|
+
redetect: z.ZodOptional<z.ZodBoolean>;
|
|
5141
5171
|
}, z.core.$strip>;
|
|
5142
5172
|
export declare const WorkspaceCreateRequestSchema: z.ZodObject<{
|
|
5143
5173
|
type: z.ZodLiteral<"workspace.create.request">;
|
|
@@ -7032,6 +7062,11 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
7032
7062
|
type: z.ZodLiteral<"agent.detach.request">;
|
|
7033
7063
|
agentId: z.ZodString;
|
|
7034
7064
|
requestId: z.ZodString;
|
|
7065
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7066
|
+
type: z.ZodLiteral<"agent.workspace.transfer.request">;
|
|
7067
|
+
agentId: z.ZodString;
|
|
7068
|
+
workspaceId: z.ZodString;
|
|
7069
|
+
requestId: z.ZodString;
|
|
7035
7070
|
}, z.core.$strip>, z.ZodObject<{
|
|
7036
7071
|
type: z.ZodLiteral<"agent.subagent.stop.request">;
|
|
7037
7072
|
agentId: z.ZodString;
|
|
@@ -7759,6 +7794,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
7759
7794
|
requestId: z.ZodString;
|
|
7760
7795
|
workspaceId: z.ZodString;
|
|
7761
7796
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
7797
|
+
redetect: z.ZodOptional<z.ZodBoolean>;
|
|
7762
7798
|
}, z.core.$strip>, z.ZodObject<{
|
|
7763
7799
|
type: z.ZodLiteral<"worktree.reattach.list.request">;
|
|
7764
7800
|
requestId: z.ZodString;
|
|
@@ -8632,6 +8668,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8632
8668
|
worktreeArchiveBranchCleanup: z.ZodOptional<z.ZodBoolean>;
|
|
8633
8669
|
worktreeReattach: z.ZodOptional<z.ZodBoolean>;
|
|
8634
8670
|
worktreeDiffBase: z.ZodOptional<z.ZodBoolean>;
|
|
8671
|
+
checkoutDiffBaseAnyRepo: z.ZodOptional<z.ZodBoolean>;
|
|
8635
8672
|
hideMergeIntoBaseSetting: z.ZodOptional<z.ZodBoolean>;
|
|
8636
8673
|
agentTeams: z.ZodOptional<z.ZodBoolean>;
|
|
8637
8674
|
modelTierOverrides: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8656,6 +8693,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8656
8693
|
historyDelete: z.ZodOptional<z.ZodBoolean>;
|
|
8657
8694
|
fileMutations: z.ZodOptional<z.ZodBoolean>;
|
|
8658
8695
|
attachmentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
8696
|
+
agentWorkspaceTransfer: z.ZodOptional<z.ZodBoolean>;
|
|
8659
8697
|
}, z.core.$strip>>;
|
|
8660
8698
|
}, z.core.$loose>, z.ZodTransform<{
|
|
8661
8699
|
hostname: string | null;
|
|
@@ -8728,6 +8766,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8728
8766
|
worktreeArchiveBranchCleanup?: boolean | undefined;
|
|
8729
8767
|
worktreeReattach?: boolean | undefined;
|
|
8730
8768
|
worktreeDiffBase?: boolean | undefined;
|
|
8769
|
+
checkoutDiffBaseAnyRepo?: boolean | undefined;
|
|
8731
8770
|
hideMergeIntoBaseSetting?: boolean | undefined;
|
|
8732
8771
|
agentTeams?: boolean | undefined;
|
|
8733
8772
|
modelTierOverrides?: boolean | undefined;
|
|
@@ -8752,6 +8791,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8752
8791
|
historyDelete?: boolean | undefined;
|
|
8753
8792
|
fileMutations?: boolean | undefined;
|
|
8754
8793
|
attachmentStorage?: boolean | undefined;
|
|
8794
|
+
agentWorkspaceTransfer?: boolean | undefined;
|
|
8755
8795
|
} | undefined;
|
|
8756
8796
|
}, {
|
|
8757
8797
|
[x: string]: unknown;
|
|
@@ -8825,6 +8865,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8825
8865
|
worktreeArchiveBranchCleanup?: boolean | undefined;
|
|
8826
8866
|
worktreeReattach?: boolean | undefined;
|
|
8827
8867
|
worktreeDiffBase?: boolean | undefined;
|
|
8868
|
+
checkoutDiffBaseAnyRepo?: boolean | undefined;
|
|
8828
8869
|
hideMergeIntoBaseSetting?: boolean | undefined;
|
|
8829
8870
|
agentTeams?: boolean | undefined;
|
|
8830
8871
|
modelTierOverrides?: boolean | undefined;
|
|
@@ -8849,6 +8890,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8849
8890
|
historyDelete?: boolean | undefined;
|
|
8850
8891
|
fileMutations?: boolean | undefined;
|
|
8851
8892
|
attachmentStorage?: boolean | undefined;
|
|
8893
|
+
agentWorkspaceTransfer?: boolean | undefined;
|
|
8852
8894
|
} | undefined;
|
|
8853
8895
|
}>>;
|
|
8854
8896
|
export declare const StatusMessageSchema: z.ZodObject<{
|
|
@@ -12930,6 +12972,12 @@ export declare const WorktreeBaseRefSetResponseSchema: z.ZodObject<{
|
|
|
12930
12972
|
workspaceId: z.ZodString;
|
|
12931
12973
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
12932
12974
|
isDefault: z.ZodBoolean;
|
|
12975
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
12976
|
+
default: "default";
|
|
12977
|
+
worktree: "worktree";
|
|
12978
|
+
user: "user";
|
|
12979
|
+
inferred: "inferred";
|
|
12980
|
+
}>>;
|
|
12933
12981
|
error: z.ZodNullable<z.ZodString>;
|
|
12934
12982
|
}, z.core.$strip>;
|
|
12935
12983
|
}, z.core.$strip>;
|
|
@@ -15167,6 +15215,13 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
15167
15215
|
}, z.core.$strip>>;
|
|
15168
15216
|
requestId: z.ZodString;
|
|
15169
15217
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
15218
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
15219
|
+
default: "default";
|
|
15220
|
+
worktree: "worktree";
|
|
15221
|
+
user: "user";
|
|
15222
|
+
inferred: "inferred";
|
|
15223
|
+
}>>;
|
|
15224
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
15170
15225
|
isGit: z.ZodLiteral<false>;
|
|
15171
15226
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
15172
15227
|
repoRoot: z.ZodNull;
|
|
@@ -15191,6 +15246,13 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
15191
15246
|
}, z.core.$strip>>;
|
|
15192
15247
|
requestId: z.ZodString;
|
|
15193
15248
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
15249
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
15250
|
+
default: "default";
|
|
15251
|
+
worktree: "worktree";
|
|
15252
|
+
user: "user";
|
|
15253
|
+
inferred: "inferred";
|
|
15254
|
+
}>>;
|
|
15255
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
15194
15256
|
isGit: z.ZodLiteral<true>;
|
|
15195
15257
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
15196
15258
|
repoRoot: z.ZodString;
|
|
@@ -15219,6 +15281,13 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
15219
15281
|
}, z.core.$strip>>;
|
|
15220
15282
|
requestId: z.ZodString;
|
|
15221
15283
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
15284
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
15285
|
+
default: "default";
|
|
15286
|
+
worktree: "worktree";
|
|
15287
|
+
user: "user";
|
|
15288
|
+
inferred: "inferred";
|
|
15289
|
+
}>>;
|
|
15290
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
15222
15291
|
isGit: z.ZodLiteral<true>;
|
|
15223
15292
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
15224
15293
|
repoRoot: z.ZodString;
|
|
@@ -15309,6 +15378,13 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
|
|
|
15309
15378
|
}, z.core.$strip>>;
|
|
15310
15379
|
requestId: z.ZodString;
|
|
15311
15380
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
15381
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
15382
|
+
default: "default";
|
|
15383
|
+
worktree: "worktree";
|
|
15384
|
+
user: "user";
|
|
15385
|
+
inferred: "inferred";
|
|
15386
|
+
}>>;
|
|
15387
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
15312
15388
|
isGit: z.ZodLiteral<false>;
|
|
15313
15389
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
15314
15390
|
repoRoot: z.ZodNull;
|
|
@@ -15333,6 +15409,13 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
|
|
|
15333
15409
|
}, z.core.$strip>>;
|
|
15334
15410
|
requestId: z.ZodString;
|
|
15335
15411
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
15412
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
15413
|
+
default: "default";
|
|
15414
|
+
worktree: "worktree";
|
|
15415
|
+
user: "user";
|
|
15416
|
+
inferred: "inferred";
|
|
15417
|
+
}>>;
|
|
15418
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
15336
15419
|
isGit: z.ZodLiteral<true>;
|
|
15337
15420
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
15338
15421
|
repoRoot: z.ZodString;
|
|
@@ -15361,6 +15444,13 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
|
|
|
15361
15444
|
}, z.core.$strip>>;
|
|
15362
15445
|
requestId: z.ZodString;
|
|
15363
15446
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
15447
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
15448
|
+
default: "default";
|
|
15449
|
+
worktree: "worktree";
|
|
15450
|
+
user: "user";
|
|
15451
|
+
inferred: "inferred";
|
|
15452
|
+
}>>;
|
|
15453
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
15364
15454
|
isGit: z.ZodLiteral<true>;
|
|
15365
15455
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
15366
15456
|
repoRoot: z.ZodString;
|
|
@@ -21208,6 +21298,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
21208
21298
|
workspaceId: z.ZodString;
|
|
21209
21299
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
21210
21300
|
isDefault: z.ZodBoolean;
|
|
21301
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
21302
|
+
default: "default";
|
|
21303
|
+
worktree: "worktree";
|
|
21304
|
+
user: "user";
|
|
21305
|
+
inferred: "inferred";
|
|
21306
|
+
}>>;
|
|
21211
21307
|
error: z.ZodNullable<z.ZodString>;
|
|
21212
21308
|
}, z.core.$strip>;
|
|
21213
21309
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -23252,6 +23348,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23252
23348
|
error: z.ZodNullable<z.ZodString>;
|
|
23253
23349
|
notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
|
|
23254
23350
|
}, z.core.$strip>;
|
|
23351
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23352
|
+
type: z.ZodLiteral<"agent.workspace.transfer.response">;
|
|
23353
|
+
payload: z.ZodObject<{
|
|
23354
|
+
requestId: z.ZodString;
|
|
23355
|
+
agentId: z.ZodString;
|
|
23356
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
23357
|
+
accepted: z.ZodBoolean;
|
|
23358
|
+
error: z.ZodNullable<z.ZodString>;
|
|
23359
|
+
}, z.core.$strip>;
|
|
23255
23360
|
}, z.core.$strip>, z.ZodObject<{
|
|
23256
23361
|
type: z.ZodLiteral<"agent.queue.remove.response">;
|
|
23257
23362
|
payload: z.ZodObject<{
|
|
@@ -23808,6 +23913,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23808
23913
|
}, z.core.$strip>>;
|
|
23809
23914
|
requestId: z.ZodString;
|
|
23810
23915
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
23916
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
23917
|
+
default: "default";
|
|
23918
|
+
worktree: "worktree";
|
|
23919
|
+
user: "user";
|
|
23920
|
+
inferred: "inferred";
|
|
23921
|
+
}>>;
|
|
23922
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
23811
23923
|
isGit: z.ZodLiteral<false>;
|
|
23812
23924
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
23813
23925
|
repoRoot: z.ZodNull;
|
|
@@ -23832,6 +23944,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23832
23944
|
}, z.core.$strip>>;
|
|
23833
23945
|
requestId: z.ZodString;
|
|
23834
23946
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
23947
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
23948
|
+
default: "default";
|
|
23949
|
+
worktree: "worktree";
|
|
23950
|
+
user: "user";
|
|
23951
|
+
inferred: "inferred";
|
|
23952
|
+
}>>;
|
|
23953
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
23835
23954
|
isGit: z.ZodLiteral<true>;
|
|
23836
23955
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
23837
23956
|
repoRoot: z.ZodString;
|
|
@@ -23860,6 +23979,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23860
23979
|
}, z.core.$strip>>;
|
|
23861
23980
|
requestId: z.ZodString;
|
|
23862
23981
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
23982
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
23983
|
+
default: "default";
|
|
23984
|
+
worktree: "worktree";
|
|
23985
|
+
user: "user";
|
|
23986
|
+
inferred: "inferred";
|
|
23987
|
+
}>>;
|
|
23988
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
23863
23989
|
isGit: z.ZodLiteral<true>;
|
|
23864
23990
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
23865
23991
|
repoRoot: z.ZodString;
|
|
@@ -23891,6 +24017,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23891
24017
|
}, z.core.$strip>>;
|
|
23892
24018
|
requestId: z.ZodString;
|
|
23893
24019
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
24020
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
24021
|
+
default: "default";
|
|
24022
|
+
worktree: "worktree";
|
|
24023
|
+
user: "user";
|
|
24024
|
+
inferred: "inferred";
|
|
24025
|
+
}>>;
|
|
24026
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
23894
24027
|
isGit: z.ZodLiteral<false>;
|
|
23895
24028
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
23896
24029
|
repoRoot: z.ZodNull;
|
|
@@ -23915,6 +24048,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23915
24048
|
}, z.core.$strip>>;
|
|
23916
24049
|
requestId: z.ZodString;
|
|
23917
24050
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
24051
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
24052
|
+
default: "default";
|
|
24053
|
+
worktree: "worktree";
|
|
24054
|
+
user: "user";
|
|
24055
|
+
inferred: "inferred";
|
|
24056
|
+
}>>;
|
|
24057
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
23918
24058
|
isGit: z.ZodLiteral<true>;
|
|
23919
24059
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
23920
24060
|
repoRoot: z.ZodString;
|
|
@@ -23943,6 +24083,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23943
24083
|
}, z.core.$strip>>;
|
|
23944
24084
|
requestId: z.ZodString;
|
|
23945
24085
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
24086
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
24087
|
+
default: "default";
|
|
24088
|
+
worktree: "worktree";
|
|
24089
|
+
user: "user";
|
|
24090
|
+
inferred: "inferred";
|
|
24091
|
+
}>>;
|
|
24092
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
23946
24093
|
isGit: z.ZodLiteral<true>;
|
|
23947
24094
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
23948
24095
|
repoRoot: z.ZodString;
|
|
@@ -28791,6 +28938,8 @@ export type SetAgentModelResponseMessage = z.infer<typeof SetAgentModelResponseM
|
|
|
28791
28938
|
export type SetAgentThinkingResponseMessage = z.infer<typeof SetAgentThinkingResponseMessageSchema>;
|
|
28792
28939
|
export type SetAgentFeatureResponseMessage = z.infer<typeof SetAgentFeatureResponseMessageSchema>;
|
|
28793
28940
|
export type AgentDetachResponseMessage = z.infer<typeof AgentDetachResponseMessageSchema>;
|
|
28941
|
+
export type AgentWorkspaceTransferResponseMessage = z.infer<typeof AgentWorkspaceTransferResponseMessageSchema>;
|
|
28942
|
+
export type AgentWorkspaceTransferResponsePayload = z.infer<typeof AgentWorkspaceTransferResponsePayloadSchema>;
|
|
28794
28943
|
export type AgentPersonalitySetResponseMessage = z.infer<typeof AgentPersonalitySetResponseMessageSchema>;
|
|
28795
28944
|
export type AgentSubagentStopResponseMessage = z.infer<typeof AgentSubagentStopResponseMessageSchema>;
|
|
28796
28945
|
export type BackgroundShellTaskInfo = z.infer<typeof BackgroundShellTaskInfoSchema>;
|
|
@@ -28963,6 +29112,7 @@ export type SetAgentModelRequestMessage = z.infer<typeof SetAgentModelRequestMes
|
|
|
28963
29112
|
export type SetAgentThinkingRequestMessage = z.infer<typeof SetAgentThinkingRequestMessageSchema>;
|
|
28964
29113
|
export type SetAgentFeatureRequestMessage = z.infer<typeof SetAgentFeatureRequestMessageSchema>;
|
|
28965
29114
|
export type AgentDetachRequestMessage = z.infer<typeof AgentDetachRequestMessageSchema>;
|
|
29115
|
+
export type AgentWorkspaceTransferRequestMessage = z.infer<typeof AgentWorkspaceTransferRequestMessageSchema>;
|
|
28966
29116
|
export type AgentSubagentStopRequestMessage = z.infer<typeof AgentSubagentStopRequestMessageSchema>;
|
|
28967
29117
|
export type AgentBackgroundTaskStopRequestMessage = z.infer<typeof AgentBackgroundTaskStopRequestMessageSchema>;
|
|
28968
29118
|
export type AgentBackgroundTaskClearRequestMessage = z.infer<typeof AgentBackgroundTaskClearRequestMessageSchema>;
|
|
@@ -28972,6 +29122,7 @@ export type AgentPersonalitySetRequestMessage = z.infer<typeof AgentPersonalityS
|
|
|
28972
29122
|
export type AgentPermissionResponseMessage = z.infer<typeof AgentPermissionResponseMessageSchema>;
|
|
28973
29123
|
export type CheckoutStatusRequest = z.infer<typeof CheckoutStatusRequestSchema>;
|
|
28974
29124
|
export type CheckoutStatusResponse = z.infer<typeof CheckoutStatusResponseSchema>;
|
|
29125
|
+
export type CheckoutBaseSource = z.infer<typeof CheckoutBaseSourceSchema>;
|
|
28975
29126
|
export type CheckoutStatusUpdate = z.infer<typeof CheckoutStatusUpdateSchema>;
|
|
28976
29127
|
export type SubscribeCheckoutDiffRequest = z.infer<typeof SubscribeCheckoutDiffRequestSchema>;
|
|
28977
29128
|
export type UnsubscribeCheckoutDiffRequest = z.infer<typeof UnsubscribeCheckoutDiffRequestSchema>;
|
|
@@ -30493,6 +30644,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
30493
30644
|
type: z.ZodLiteral<"agent.detach.request">;
|
|
30494
30645
|
agentId: z.ZodString;
|
|
30495
30646
|
requestId: z.ZodString;
|
|
30647
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30648
|
+
type: z.ZodLiteral<"agent.workspace.transfer.request">;
|
|
30649
|
+
agentId: z.ZodString;
|
|
30650
|
+
workspaceId: z.ZodString;
|
|
30651
|
+
requestId: z.ZodString;
|
|
30496
30652
|
}, z.core.$strip>, z.ZodObject<{
|
|
30497
30653
|
type: z.ZodLiteral<"agent.subagent.stop.request">;
|
|
30498
30654
|
agentId: z.ZodString;
|
|
@@ -31220,6 +31376,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
31220
31376
|
requestId: z.ZodString;
|
|
31221
31377
|
workspaceId: z.ZodString;
|
|
31222
31378
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
31379
|
+
redetect: z.ZodOptional<z.ZodBoolean>;
|
|
31223
31380
|
}, z.core.$strip>, z.ZodObject<{
|
|
31224
31381
|
type: z.ZodLiteral<"worktree.reattach.list.request">;
|
|
31225
31382
|
requestId: z.ZodString;
|
|
@@ -34485,6 +34642,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
34485
34642
|
workspaceId: z.ZodString;
|
|
34486
34643
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
34487
34644
|
isDefault: z.ZodBoolean;
|
|
34645
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
34646
|
+
default: "default";
|
|
34647
|
+
worktree: "worktree";
|
|
34648
|
+
user: "user";
|
|
34649
|
+
inferred: "inferred";
|
|
34650
|
+
}>>;
|
|
34488
34651
|
error: z.ZodNullable<z.ZodString>;
|
|
34489
34652
|
}, z.core.$strip>;
|
|
34490
34653
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -36529,6 +36692,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36529
36692
|
error: z.ZodNullable<z.ZodString>;
|
|
36530
36693
|
notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
|
|
36531
36694
|
}, z.core.$strip>;
|
|
36695
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36696
|
+
type: z.ZodLiteral<"agent.workspace.transfer.response">;
|
|
36697
|
+
payload: z.ZodObject<{
|
|
36698
|
+
requestId: z.ZodString;
|
|
36699
|
+
agentId: z.ZodString;
|
|
36700
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
36701
|
+
accepted: z.ZodBoolean;
|
|
36702
|
+
error: z.ZodNullable<z.ZodString>;
|
|
36703
|
+
}, z.core.$strip>;
|
|
36532
36704
|
}, z.core.$strip>, z.ZodObject<{
|
|
36533
36705
|
type: z.ZodLiteral<"agent.queue.remove.response">;
|
|
36534
36706
|
payload: z.ZodObject<{
|
|
@@ -37085,6 +37257,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37085
37257
|
}, z.core.$strip>>;
|
|
37086
37258
|
requestId: z.ZodString;
|
|
37087
37259
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
37260
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
37261
|
+
default: "default";
|
|
37262
|
+
worktree: "worktree";
|
|
37263
|
+
user: "user";
|
|
37264
|
+
inferred: "inferred";
|
|
37265
|
+
}>>;
|
|
37266
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
37088
37267
|
isGit: z.ZodLiteral<false>;
|
|
37089
37268
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
37090
37269
|
repoRoot: z.ZodNull;
|
|
@@ -37109,6 +37288,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37109
37288
|
}, z.core.$strip>>;
|
|
37110
37289
|
requestId: z.ZodString;
|
|
37111
37290
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
37291
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
37292
|
+
default: "default";
|
|
37293
|
+
worktree: "worktree";
|
|
37294
|
+
user: "user";
|
|
37295
|
+
inferred: "inferred";
|
|
37296
|
+
}>>;
|
|
37297
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
37112
37298
|
isGit: z.ZodLiteral<true>;
|
|
37113
37299
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
37114
37300
|
repoRoot: z.ZodString;
|
|
@@ -37137,6 +37323,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37137
37323
|
}, z.core.$strip>>;
|
|
37138
37324
|
requestId: z.ZodString;
|
|
37139
37325
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
37326
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
37327
|
+
default: "default";
|
|
37328
|
+
worktree: "worktree";
|
|
37329
|
+
user: "user";
|
|
37330
|
+
inferred: "inferred";
|
|
37331
|
+
}>>;
|
|
37332
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
37140
37333
|
isGit: z.ZodLiteral<true>;
|
|
37141
37334
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
37142
37335
|
repoRoot: z.ZodString;
|
|
@@ -37168,6 +37361,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37168
37361
|
}, z.core.$strip>>;
|
|
37169
37362
|
requestId: z.ZodString;
|
|
37170
37363
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
37364
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
37365
|
+
default: "default";
|
|
37366
|
+
worktree: "worktree";
|
|
37367
|
+
user: "user";
|
|
37368
|
+
inferred: "inferred";
|
|
37369
|
+
}>>;
|
|
37370
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
37171
37371
|
isGit: z.ZodLiteral<false>;
|
|
37172
37372
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
37173
37373
|
repoRoot: z.ZodNull;
|
|
@@ -37192,6 +37392,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37192
37392
|
}, z.core.$strip>>;
|
|
37193
37393
|
requestId: z.ZodString;
|
|
37194
37394
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
37395
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
37396
|
+
default: "default";
|
|
37397
|
+
worktree: "worktree";
|
|
37398
|
+
user: "user";
|
|
37399
|
+
inferred: "inferred";
|
|
37400
|
+
}>>;
|
|
37401
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
37195
37402
|
isGit: z.ZodLiteral<true>;
|
|
37196
37403
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
37197
37404
|
repoRoot: z.ZodString;
|
|
@@ -37220,6 +37427,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37220
37427
|
}, z.core.$strip>>;
|
|
37221
37428
|
requestId: z.ZodString;
|
|
37222
37429
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
37430
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
37431
|
+
default: "default";
|
|
37432
|
+
worktree: "worktree";
|
|
37433
|
+
user: "user";
|
|
37434
|
+
inferred: "inferred";
|
|
37435
|
+
}>>;
|
|
37436
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
37223
37437
|
isGit: z.ZodLiteral<true>;
|
|
37224
37438
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
37225
37439
|
repoRoot: z.ZodString;
|
|
@@ -43254,6 +43468,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
43254
43468
|
type: z.ZodLiteral<"agent.detach.request">;
|
|
43255
43469
|
agentId: z.ZodString;
|
|
43256
43470
|
requestId: z.ZodString;
|
|
43471
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43472
|
+
type: z.ZodLiteral<"agent.workspace.transfer.request">;
|
|
43473
|
+
agentId: z.ZodString;
|
|
43474
|
+
workspaceId: z.ZodString;
|
|
43475
|
+
requestId: z.ZodString;
|
|
43257
43476
|
}, z.core.$strip>, z.ZodObject<{
|
|
43258
43477
|
type: z.ZodLiteral<"agent.subagent.stop.request">;
|
|
43259
43478
|
agentId: z.ZodString;
|
|
@@ -43981,6 +44200,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
43981
44200
|
requestId: z.ZodString;
|
|
43982
44201
|
workspaceId: z.ZodString;
|
|
43983
44202
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
44203
|
+
redetect: z.ZodOptional<z.ZodBoolean>;
|
|
43984
44204
|
}, z.core.$strip>, z.ZodObject<{
|
|
43985
44205
|
type: z.ZodLiteral<"worktree.reattach.list.request">;
|
|
43986
44206
|
requestId: z.ZodString;
|
|
@@ -47248,6 +47468,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
47248
47468
|
workspaceId: z.ZodString;
|
|
47249
47469
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
47250
47470
|
isDefault: z.ZodBoolean;
|
|
47471
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
47472
|
+
default: "default";
|
|
47473
|
+
worktree: "worktree";
|
|
47474
|
+
user: "user";
|
|
47475
|
+
inferred: "inferred";
|
|
47476
|
+
}>>;
|
|
47251
47477
|
error: z.ZodNullable<z.ZodString>;
|
|
47252
47478
|
}, z.core.$strip>;
|
|
47253
47479
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -49292,6 +49518,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49292
49518
|
error: z.ZodNullable<z.ZodString>;
|
|
49293
49519
|
notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
|
|
49294
49520
|
}, z.core.$strip>;
|
|
49521
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49522
|
+
type: z.ZodLiteral<"agent.workspace.transfer.response">;
|
|
49523
|
+
payload: z.ZodObject<{
|
|
49524
|
+
requestId: z.ZodString;
|
|
49525
|
+
agentId: z.ZodString;
|
|
49526
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
49527
|
+
accepted: z.ZodBoolean;
|
|
49528
|
+
error: z.ZodNullable<z.ZodString>;
|
|
49529
|
+
}, z.core.$strip>;
|
|
49295
49530
|
}, z.core.$strip>, z.ZodObject<{
|
|
49296
49531
|
type: z.ZodLiteral<"agent.queue.remove.response">;
|
|
49297
49532
|
payload: z.ZodObject<{
|
|
@@ -49848,6 +50083,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49848
50083
|
}, z.core.$strip>>;
|
|
49849
50084
|
requestId: z.ZodString;
|
|
49850
50085
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
50086
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
50087
|
+
default: "default";
|
|
50088
|
+
worktree: "worktree";
|
|
50089
|
+
user: "user";
|
|
50090
|
+
inferred: "inferred";
|
|
50091
|
+
}>>;
|
|
50092
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
49851
50093
|
isGit: z.ZodLiteral<false>;
|
|
49852
50094
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
49853
50095
|
repoRoot: z.ZodNull;
|
|
@@ -49872,6 +50114,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49872
50114
|
}, z.core.$strip>>;
|
|
49873
50115
|
requestId: z.ZodString;
|
|
49874
50116
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
50117
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
50118
|
+
default: "default";
|
|
50119
|
+
worktree: "worktree";
|
|
50120
|
+
user: "user";
|
|
50121
|
+
inferred: "inferred";
|
|
50122
|
+
}>>;
|
|
50123
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
49875
50124
|
isGit: z.ZodLiteral<true>;
|
|
49876
50125
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
49877
50126
|
repoRoot: z.ZodString;
|
|
@@ -49900,6 +50149,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49900
50149
|
}, z.core.$strip>>;
|
|
49901
50150
|
requestId: z.ZodString;
|
|
49902
50151
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
50152
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
50153
|
+
default: "default";
|
|
50154
|
+
worktree: "worktree";
|
|
50155
|
+
user: "user";
|
|
50156
|
+
inferred: "inferred";
|
|
50157
|
+
}>>;
|
|
50158
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
49903
50159
|
isGit: z.ZodLiteral<true>;
|
|
49904
50160
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
49905
50161
|
repoRoot: z.ZodString;
|
|
@@ -49931,6 +50187,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49931
50187
|
}, z.core.$strip>>;
|
|
49932
50188
|
requestId: z.ZodString;
|
|
49933
50189
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
50190
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
50191
|
+
default: "default";
|
|
50192
|
+
worktree: "worktree";
|
|
50193
|
+
user: "user";
|
|
50194
|
+
inferred: "inferred";
|
|
50195
|
+
}>>;
|
|
50196
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
49934
50197
|
isGit: z.ZodLiteral<false>;
|
|
49935
50198
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
49936
50199
|
repoRoot: z.ZodNull;
|
|
@@ -49955,6 +50218,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49955
50218
|
}, z.core.$strip>>;
|
|
49956
50219
|
requestId: z.ZodString;
|
|
49957
50220
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
50221
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
50222
|
+
default: "default";
|
|
50223
|
+
worktree: "worktree";
|
|
50224
|
+
user: "user";
|
|
50225
|
+
inferred: "inferred";
|
|
50226
|
+
}>>;
|
|
50227
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
49958
50228
|
isGit: z.ZodLiteral<true>;
|
|
49959
50229
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
49960
50230
|
repoRoot: z.ZodString;
|
|
@@ -49983,6 +50253,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49983
50253
|
}, z.core.$strip>>;
|
|
49984
50254
|
requestId: z.ZodString;
|
|
49985
50255
|
gitStateAt: z.ZodOptional<z.ZodNumber>;
|
|
50256
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
50257
|
+
default: "default";
|
|
50258
|
+
worktree: "worktree";
|
|
50259
|
+
user: "user";
|
|
50260
|
+
inferred: "inferred";
|
|
50261
|
+
}>>;
|
|
50262
|
+
isBaseEditable: z.ZodOptional<z.ZodBoolean>;
|
|
49986
50263
|
isGit: z.ZodLiteral<true>;
|
|
49987
50264
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
49988
50265
|
repoRoot: z.ZodString;
|