@otto-code/protocol 0.7.2 → 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 +25994 -25866
- package/dist/messages.d.ts +302 -6
- package/dist/messages.js +102 -5
- package/dist/validation/ws-outbound-schema-metadata.d.ts +59 -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">;
|
|
@@ -5555,12 +5585,18 @@ export declare const CodeRenameUndoRequestSchema: z.ZodObject<{
|
|
|
5555
5585
|
* config RPCs because none of it is configuration: which servers this machine can
|
|
5556
5586
|
* actually supply, and which are running right now.
|
|
5557
5587
|
*
|
|
5558
|
-
* `cwd`
|
|
5559
|
-
*
|
|
5588
|
+
* Omit `cwd` for the host-wide answer, which is what the settings screen asks for: every
|
|
5589
|
+
* row this daemon knows, resolved against the rungs a host has (bundled, PATH). Passing a
|
|
5590
|
+
* `cwd` additionally probes that workspace's `node_modules/.bin`, since a server can be
|
|
5591
|
+
* present in one project and absent from another. Optional rather than removed because
|
|
5592
|
+
* older clients still send it.
|
|
5593
|
+
*
|
|
5594
|
+
* COMPAT(lspHostServers): `cwd` became optional in v0.7.3; gate lives in
|
|
5595
|
+
* features.lspHostServers.
|
|
5560
5596
|
*/
|
|
5561
5597
|
export declare const LspServersListRequestSchema: z.ZodObject<{
|
|
5562
5598
|
type: z.ZodLiteral<"lsp.servers.list.request">;
|
|
5563
|
-
cwd: z.ZodString
|
|
5599
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
5564
5600
|
requestId: z.ZodString;
|
|
5565
5601
|
}, z.core.$strip>;
|
|
5566
5602
|
/** Stop one running server, so a user who suspects it of hogging memory can kill it. */
|
|
@@ -7026,6 +7062,11 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
7026
7062
|
type: z.ZodLiteral<"agent.detach.request">;
|
|
7027
7063
|
agentId: z.ZodString;
|
|
7028
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;
|
|
7029
7070
|
}, z.core.$strip>, z.ZodObject<{
|
|
7030
7071
|
type: z.ZodLiteral<"agent.subagent.stop.request">;
|
|
7031
7072
|
agentId: z.ZodString;
|
|
@@ -7753,6 +7794,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
7753
7794
|
requestId: z.ZodString;
|
|
7754
7795
|
workspaceId: z.ZodString;
|
|
7755
7796
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
7797
|
+
redetect: z.ZodOptional<z.ZodBoolean>;
|
|
7756
7798
|
}, z.core.$strip>, z.ZodObject<{
|
|
7757
7799
|
type: z.ZodLiteral<"worktree.reattach.list.request">;
|
|
7758
7800
|
requestId: z.ZodString;
|
|
@@ -8050,7 +8092,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
8050
8092
|
requestId: z.ZodString;
|
|
8051
8093
|
}, z.core.$strip>, z.ZodObject<{
|
|
8052
8094
|
type: z.ZodLiteral<"lsp.servers.list.request">;
|
|
8053
|
-
cwd: z.ZodString
|
|
8095
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
8054
8096
|
requestId: z.ZodString;
|
|
8055
8097
|
}, z.core.$strip>, z.ZodObject<{
|
|
8056
8098
|
type: z.ZodLiteral<"lsp.server.stop.request">;
|
|
@@ -8608,6 +8650,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8608
8650
|
projectSearch: z.ZodOptional<z.ZodBoolean>;
|
|
8609
8651
|
codeIndex: z.ZodOptional<z.ZodBoolean>;
|
|
8610
8652
|
lsp: z.ZodOptional<z.ZodBoolean>;
|
|
8653
|
+
lspHostServers: z.ZodOptional<z.ZodBoolean>;
|
|
8611
8654
|
solutionView: z.ZodOptional<z.ZodBoolean>;
|
|
8612
8655
|
artifactsToolGroup: z.ZodOptional<z.ZodBoolean>;
|
|
8613
8656
|
speechSettings: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8625,6 +8668,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8625
8668
|
worktreeArchiveBranchCleanup: z.ZodOptional<z.ZodBoolean>;
|
|
8626
8669
|
worktreeReattach: z.ZodOptional<z.ZodBoolean>;
|
|
8627
8670
|
worktreeDiffBase: z.ZodOptional<z.ZodBoolean>;
|
|
8671
|
+
checkoutDiffBaseAnyRepo: z.ZodOptional<z.ZodBoolean>;
|
|
8628
8672
|
hideMergeIntoBaseSetting: z.ZodOptional<z.ZodBoolean>;
|
|
8629
8673
|
agentTeams: z.ZodOptional<z.ZodBoolean>;
|
|
8630
8674
|
modelTierOverrides: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8649,6 +8693,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8649
8693
|
historyDelete: z.ZodOptional<z.ZodBoolean>;
|
|
8650
8694
|
fileMutations: z.ZodOptional<z.ZodBoolean>;
|
|
8651
8695
|
attachmentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
8696
|
+
agentWorkspaceTransfer: z.ZodOptional<z.ZodBoolean>;
|
|
8652
8697
|
}, z.core.$strip>>;
|
|
8653
8698
|
}, z.core.$loose>, z.ZodTransform<{
|
|
8654
8699
|
hostname: string | null;
|
|
@@ -8703,6 +8748,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8703
8748
|
projectSearch?: boolean | undefined;
|
|
8704
8749
|
codeIndex?: boolean | undefined;
|
|
8705
8750
|
lsp?: boolean | undefined;
|
|
8751
|
+
lspHostServers?: boolean | undefined;
|
|
8706
8752
|
solutionView?: boolean | undefined;
|
|
8707
8753
|
artifactsToolGroup?: boolean | undefined;
|
|
8708
8754
|
speechSettings?: boolean | undefined;
|
|
@@ -8720,6 +8766,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8720
8766
|
worktreeArchiveBranchCleanup?: boolean | undefined;
|
|
8721
8767
|
worktreeReattach?: boolean | undefined;
|
|
8722
8768
|
worktreeDiffBase?: boolean | undefined;
|
|
8769
|
+
checkoutDiffBaseAnyRepo?: boolean | undefined;
|
|
8723
8770
|
hideMergeIntoBaseSetting?: boolean | undefined;
|
|
8724
8771
|
agentTeams?: boolean | undefined;
|
|
8725
8772
|
modelTierOverrides?: boolean | undefined;
|
|
@@ -8744,6 +8791,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8744
8791
|
historyDelete?: boolean | undefined;
|
|
8745
8792
|
fileMutations?: boolean | undefined;
|
|
8746
8793
|
attachmentStorage?: boolean | undefined;
|
|
8794
|
+
agentWorkspaceTransfer?: boolean | undefined;
|
|
8747
8795
|
} | undefined;
|
|
8748
8796
|
}, {
|
|
8749
8797
|
[x: string]: unknown;
|
|
@@ -8799,6 +8847,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8799
8847
|
projectSearch?: boolean | undefined;
|
|
8800
8848
|
codeIndex?: boolean | undefined;
|
|
8801
8849
|
lsp?: boolean | undefined;
|
|
8850
|
+
lspHostServers?: boolean | undefined;
|
|
8802
8851
|
solutionView?: boolean | undefined;
|
|
8803
8852
|
artifactsToolGroup?: boolean | undefined;
|
|
8804
8853
|
speechSettings?: boolean | undefined;
|
|
@@ -8816,6 +8865,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8816
8865
|
worktreeArchiveBranchCleanup?: boolean | undefined;
|
|
8817
8866
|
worktreeReattach?: boolean | undefined;
|
|
8818
8867
|
worktreeDiffBase?: boolean | undefined;
|
|
8868
|
+
checkoutDiffBaseAnyRepo?: boolean | undefined;
|
|
8819
8869
|
hideMergeIntoBaseSetting?: boolean | undefined;
|
|
8820
8870
|
agentTeams?: boolean | undefined;
|
|
8821
8871
|
modelTierOverrides?: boolean | undefined;
|
|
@@ -8840,6 +8890,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8840
8890
|
historyDelete?: boolean | undefined;
|
|
8841
8891
|
fileMutations?: boolean | undefined;
|
|
8842
8892
|
attachmentStorage?: boolean | undefined;
|
|
8893
|
+
agentWorkspaceTransfer?: boolean | undefined;
|
|
8843
8894
|
} | undefined;
|
|
8844
8895
|
}>>;
|
|
8845
8896
|
export declare const StatusMessageSchema: z.ZodObject<{
|
|
@@ -12921,6 +12972,12 @@ export declare const WorktreeBaseRefSetResponseSchema: z.ZodObject<{
|
|
|
12921
12972
|
workspaceId: z.ZodString;
|
|
12922
12973
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
12923
12974
|
isDefault: z.ZodBoolean;
|
|
12975
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
12976
|
+
default: "default";
|
|
12977
|
+
worktree: "worktree";
|
|
12978
|
+
user: "user";
|
|
12979
|
+
inferred: "inferred";
|
|
12980
|
+
}>>;
|
|
12924
12981
|
error: z.ZodNullable<z.ZodString>;
|
|
12925
12982
|
}, z.core.$strip>;
|
|
12926
12983
|
}, z.core.$strip>;
|
|
@@ -15158,6 +15215,13 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
15158
15215
|
}, z.core.$strip>>;
|
|
15159
15216
|
requestId: z.ZodString;
|
|
15160
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>;
|
|
15161
15225
|
isGit: z.ZodLiteral<false>;
|
|
15162
15226
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
15163
15227
|
repoRoot: z.ZodNull;
|
|
@@ -15182,6 +15246,13 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
15182
15246
|
}, z.core.$strip>>;
|
|
15183
15247
|
requestId: z.ZodString;
|
|
15184
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>;
|
|
15185
15256
|
isGit: z.ZodLiteral<true>;
|
|
15186
15257
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
15187
15258
|
repoRoot: z.ZodString;
|
|
@@ -15210,6 +15281,13 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
15210
15281
|
}, z.core.$strip>>;
|
|
15211
15282
|
requestId: z.ZodString;
|
|
15212
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>;
|
|
15213
15291
|
isGit: z.ZodLiteral<true>;
|
|
15214
15292
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
15215
15293
|
repoRoot: z.ZodString;
|
|
@@ -15300,6 +15378,13 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
|
|
|
15300
15378
|
}, z.core.$strip>>;
|
|
15301
15379
|
requestId: z.ZodString;
|
|
15302
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>;
|
|
15303
15388
|
isGit: z.ZodLiteral<false>;
|
|
15304
15389
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
15305
15390
|
repoRoot: z.ZodNull;
|
|
@@ -15324,6 +15409,13 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
|
|
|
15324
15409
|
}, z.core.$strip>>;
|
|
15325
15410
|
requestId: z.ZodString;
|
|
15326
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>;
|
|
15327
15419
|
isGit: z.ZodLiteral<true>;
|
|
15328
15420
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
15329
15421
|
repoRoot: z.ZodString;
|
|
@@ -15352,6 +15444,13 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
|
|
|
15352
15444
|
}, z.core.$strip>>;
|
|
15353
15445
|
requestId: z.ZodString;
|
|
15354
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>;
|
|
15355
15454
|
isGit: z.ZodLiteral<true>;
|
|
15356
15455
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
15357
15456
|
repoRoot: z.ZodString;
|
|
@@ -17698,6 +17797,8 @@ export declare const LspLanguageStateSchema: z.ZodObject<{
|
|
|
17698
17797
|
running: z.ZodBoolean;
|
|
17699
17798
|
rung: z.ZodNullable<z.ZodString>;
|
|
17700
17799
|
bin: z.ZodString;
|
|
17800
|
+
discovery: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17801
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17701
17802
|
extensions: z.ZodArray<z.ZodString>;
|
|
17702
17803
|
indexCost: z.ZodString;
|
|
17703
17804
|
}, z.core.$strip>;
|
|
@@ -17718,6 +17819,8 @@ export declare const LspServersListResponseSchema: z.ZodObject<{
|
|
|
17718
17819
|
running: z.ZodBoolean;
|
|
17719
17820
|
rung: z.ZodNullable<z.ZodString>;
|
|
17720
17821
|
bin: z.ZodString;
|
|
17822
|
+
discovery: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17823
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17721
17824
|
extensions: z.ZodArray<z.ZodString>;
|
|
17722
17825
|
indexCost: z.ZodString;
|
|
17723
17826
|
}, z.core.$strip>>;
|
|
@@ -21195,6 +21298,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
21195
21298
|
workspaceId: z.ZodString;
|
|
21196
21299
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
21197
21300
|
isDefault: z.ZodBoolean;
|
|
21301
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
21302
|
+
default: "default";
|
|
21303
|
+
worktree: "worktree";
|
|
21304
|
+
user: "user";
|
|
21305
|
+
inferred: "inferred";
|
|
21306
|
+
}>>;
|
|
21198
21307
|
error: z.ZodNullable<z.ZodString>;
|
|
21199
21308
|
}, z.core.$strip>;
|
|
21200
21309
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -23239,6 +23348,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23239
23348
|
error: z.ZodNullable<z.ZodString>;
|
|
23240
23349
|
notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
|
|
23241
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>;
|
|
23242
23360
|
}, z.core.$strip>, z.ZodObject<{
|
|
23243
23361
|
type: z.ZodLiteral<"agent.queue.remove.response">;
|
|
23244
23362
|
payload: z.ZodObject<{
|
|
@@ -23795,6 +23913,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23795
23913
|
}, z.core.$strip>>;
|
|
23796
23914
|
requestId: z.ZodString;
|
|
23797
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>;
|
|
23798
23923
|
isGit: z.ZodLiteral<false>;
|
|
23799
23924
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
23800
23925
|
repoRoot: z.ZodNull;
|
|
@@ -23819,6 +23944,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23819
23944
|
}, z.core.$strip>>;
|
|
23820
23945
|
requestId: z.ZodString;
|
|
23821
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>;
|
|
23822
23954
|
isGit: z.ZodLiteral<true>;
|
|
23823
23955
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
23824
23956
|
repoRoot: z.ZodString;
|
|
@@ -23847,6 +23979,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23847
23979
|
}, z.core.$strip>>;
|
|
23848
23980
|
requestId: z.ZodString;
|
|
23849
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>;
|
|
23850
23989
|
isGit: z.ZodLiteral<true>;
|
|
23851
23990
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
23852
23991
|
repoRoot: z.ZodString;
|
|
@@ -23878,6 +24017,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23878
24017
|
}, z.core.$strip>>;
|
|
23879
24018
|
requestId: z.ZodString;
|
|
23880
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>;
|
|
23881
24027
|
isGit: z.ZodLiteral<false>;
|
|
23882
24028
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
23883
24029
|
repoRoot: z.ZodNull;
|
|
@@ -23902,6 +24048,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23902
24048
|
}, z.core.$strip>>;
|
|
23903
24049
|
requestId: z.ZodString;
|
|
23904
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>;
|
|
23905
24058
|
isGit: z.ZodLiteral<true>;
|
|
23906
24059
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
23907
24060
|
repoRoot: z.ZodString;
|
|
@@ -23930,6 +24083,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23930
24083
|
}, z.core.$strip>>;
|
|
23931
24084
|
requestId: z.ZodString;
|
|
23932
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>;
|
|
23933
24093
|
isGit: z.ZodLiteral<true>;
|
|
23934
24094
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
23935
24095
|
repoRoot: z.ZodString;
|
|
@@ -26451,6 +26611,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
26451
26611
|
running: z.ZodBoolean;
|
|
26452
26612
|
rung: z.ZodNullable<z.ZodString>;
|
|
26453
26613
|
bin: z.ZodString;
|
|
26614
|
+
discovery: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26615
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26454
26616
|
extensions: z.ZodArray<z.ZodString>;
|
|
26455
26617
|
indexCost: z.ZodString;
|
|
26456
26618
|
}, z.core.$strip>>;
|
|
@@ -28776,6 +28938,8 @@ export type SetAgentModelResponseMessage = z.infer<typeof SetAgentModelResponseM
|
|
|
28776
28938
|
export type SetAgentThinkingResponseMessage = z.infer<typeof SetAgentThinkingResponseMessageSchema>;
|
|
28777
28939
|
export type SetAgentFeatureResponseMessage = z.infer<typeof SetAgentFeatureResponseMessageSchema>;
|
|
28778
28940
|
export type AgentDetachResponseMessage = z.infer<typeof AgentDetachResponseMessageSchema>;
|
|
28941
|
+
export type AgentWorkspaceTransferResponseMessage = z.infer<typeof AgentWorkspaceTransferResponseMessageSchema>;
|
|
28942
|
+
export type AgentWorkspaceTransferResponsePayload = z.infer<typeof AgentWorkspaceTransferResponsePayloadSchema>;
|
|
28779
28943
|
export type AgentPersonalitySetResponseMessage = z.infer<typeof AgentPersonalitySetResponseMessageSchema>;
|
|
28780
28944
|
export type AgentSubagentStopResponseMessage = z.infer<typeof AgentSubagentStopResponseMessageSchema>;
|
|
28781
28945
|
export type BackgroundShellTaskInfo = z.infer<typeof BackgroundShellTaskInfoSchema>;
|
|
@@ -28948,6 +29112,7 @@ export type SetAgentModelRequestMessage = z.infer<typeof SetAgentModelRequestMes
|
|
|
28948
29112
|
export type SetAgentThinkingRequestMessage = z.infer<typeof SetAgentThinkingRequestMessageSchema>;
|
|
28949
29113
|
export type SetAgentFeatureRequestMessage = z.infer<typeof SetAgentFeatureRequestMessageSchema>;
|
|
28950
29114
|
export type AgentDetachRequestMessage = z.infer<typeof AgentDetachRequestMessageSchema>;
|
|
29115
|
+
export type AgentWorkspaceTransferRequestMessage = z.infer<typeof AgentWorkspaceTransferRequestMessageSchema>;
|
|
28951
29116
|
export type AgentSubagentStopRequestMessage = z.infer<typeof AgentSubagentStopRequestMessageSchema>;
|
|
28952
29117
|
export type AgentBackgroundTaskStopRequestMessage = z.infer<typeof AgentBackgroundTaskStopRequestMessageSchema>;
|
|
28953
29118
|
export type AgentBackgroundTaskClearRequestMessage = z.infer<typeof AgentBackgroundTaskClearRequestMessageSchema>;
|
|
@@ -28957,6 +29122,7 @@ export type AgentPersonalitySetRequestMessage = z.infer<typeof AgentPersonalityS
|
|
|
28957
29122
|
export type AgentPermissionResponseMessage = z.infer<typeof AgentPermissionResponseMessageSchema>;
|
|
28958
29123
|
export type CheckoutStatusRequest = z.infer<typeof CheckoutStatusRequestSchema>;
|
|
28959
29124
|
export type CheckoutStatusResponse = z.infer<typeof CheckoutStatusResponseSchema>;
|
|
29125
|
+
export type CheckoutBaseSource = z.infer<typeof CheckoutBaseSourceSchema>;
|
|
28960
29126
|
export type CheckoutStatusUpdate = z.infer<typeof CheckoutStatusUpdateSchema>;
|
|
28961
29127
|
export type SubscribeCheckoutDiffRequest = z.infer<typeof SubscribeCheckoutDiffRequestSchema>;
|
|
28962
29128
|
export type UnsubscribeCheckoutDiffRequest = z.infer<typeof UnsubscribeCheckoutDiffRequestSchema>;
|
|
@@ -30478,6 +30644,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
30478
30644
|
type: z.ZodLiteral<"agent.detach.request">;
|
|
30479
30645
|
agentId: z.ZodString;
|
|
30480
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;
|
|
30481
30652
|
}, z.core.$strip>, z.ZodObject<{
|
|
30482
30653
|
type: z.ZodLiteral<"agent.subagent.stop.request">;
|
|
30483
30654
|
agentId: z.ZodString;
|
|
@@ -31205,6 +31376,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
31205
31376
|
requestId: z.ZodString;
|
|
31206
31377
|
workspaceId: z.ZodString;
|
|
31207
31378
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
31379
|
+
redetect: z.ZodOptional<z.ZodBoolean>;
|
|
31208
31380
|
}, z.core.$strip>, z.ZodObject<{
|
|
31209
31381
|
type: z.ZodLiteral<"worktree.reattach.list.request">;
|
|
31210
31382
|
requestId: z.ZodString;
|
|
@@ -31502,7 +31674,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
31502
31674
|
requestId: z.ZodString;
|
|
31503
31675
|
}, z.core.$strip>, z.ZodObject<{
|
|
31504
31676
|
type: z.ZodLiteral<"lsp.servers.list.request">;
|
|
31505
|
-
cwd: z.ZodString
|
|
31677
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
31506
31678
|
requestId: z.ZodString;
|
|
31507
31679
|
}, z.core.$strip>, z.ZodObject<{
|
|
31508
31680
|
type: z.ZodLiteral<"lsp.server.stop.request">;
|
|
@@ -34470,6 +34642,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
34470
34642
|
workspaceId: z.ZodString;
|
|
34471
34643
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
34472
34644
|
isDefault: z.ZodBoolean;
|
|
34645
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
34646
|
+
default: "default";
|
|
34647
|
+
worktree: "worktree";
|
|
34648
|
+
user: "user";
|
|
34649
|
+
inferred: "inferred";
|
|
34650
|
+
}>>;
|
|
34473
34651
|
error: z.ZodNullable<z.ZodString>;
|
|
34474
34652
|
}, z.core.$strip>;
|
|
34475
34653
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -36514,6 +36692,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36514
36692
|
error: z.ZodNullable<z.ZodString>;
|
|
36515
36693
|
notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
|
|
36516
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>;
|
|
36517
36704
|
}, z.core.$strip>, z.ZodObject<{
|
|
36518
36705
|
type: z.ZodLiteral<"agent.queue.remove.response">;
|
|
36519
36706
|
payload: z.ZodObject<{
|
|
@@ -37070,6 +37257,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37070
37257
|
}, z.core.$strip>>;
|
|
37071
37258
|
requestId: z.ZodString;
|
|
37072
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>;
|
|
37073
37267
|
isGit: z.ZodLiteral<false>;
|
|
37074
37268
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
37075
37269
|
repoRoot: z.ZodNull;
|
|
@@ -37094,6 +37288,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37094
37288
|
}, z.core.$strip>>;
|
|
37095
37289
|
requestId: z.ZodString;
|
|
37096
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>;
|
|
37097
37298
|
isGit: z.ZodLiteral<true>;
|
|
37098
37299
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
37099
37300
|
repoRoot: z.ZodString;
|
|
@@ -37122,6 +37323,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37122
37323
|
}, z.core.$strip>>;
|
|
37123
37324
|
requestId: z.ZodString;
|
|
37124
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>;
|
|
37125
37333
|
isGit: z.ZodLiteral<true>;
|
|
37126
37334
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
37127
37335
|
repoRoot: z.ZodString;
|
|
@@ -37153,6 +37361,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37153
37361
|
}, z.core.$strip>>;
|
|
37154
37362
|
requestId: z.ZodString;
|
|
37155
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>;
|
|
37156
37371
|
isGit: z.ZodLiteral<false>;
|
|
37157
37372
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
37158
37373
|
repoRoot: z.ZodNull;
|
|
@@ -37177,6 +37392,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37177
37392
|
}, z.core.$strip>>;
|
|
37178
37393
|
requestId: z.ZodString;
|
|
37179
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>;
|
|
37180
37402
|
isGit: z.ZodLiteral<true>;
|
|
37181
37403
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
37182
37404
|
repoRoot: z.ZodString;
|
|
@@ -37205,6 +37427,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37205
37427
|
}, z.core.$strip>>;
|
|
37206
37428
|
requestId: z.ZodString;
|
|
37207
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>;
|
|
37208
37437
|
isGit: z.ZodLiteral<true>;
|
|
37209
37438
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
37210
37439
|
repoRoot: z.ZodString;
|
|
@@ -39726,6 +39955,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
39726
39955
|
running: z.ZodBoolean;
|
|
39727
39956
|
rung: z.ZodNullable<z.ZodString>;
|
|
39728
39957
|
bin: z.ZodString;
|
|
39958
|
+
discovery: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39959
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39729
39960
|
extensions: z.ZodArray<z.ZodString>;
|
|
39730
39961
|
indexCost: z.ZodString;
|
|
39731
39962
|
}, z.core.$strip>>;
|
|
@@ -43237,6 +43468,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
43237
43468
|
type: z.ZodLiteral<"agent.detach.request">;
|
|
43238
43469
|
agentId: z.ZodString;
|
|
43239
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;
|
|
43240
43476
|
}, z.core.$strip>, z.ZodObject<{
|
|
43241
43477
|
type: z.ZodLiteral<"agent.subagent.stop.request">;
|
|
43242
43478
|
agentId: z.ZodString;
|
|
@@ -43964,6 +44200,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
43964
44200
|
requestId: z.ZodString;
|
|
43965
44201
|
workspaceId: z.ZodString;
|
|
43966
44202
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
44203
|
+
redetect: z.ZodOptional<z.ZodBoolean>;
|
|
43967
44204
|
}, z.core.$strip>, z.ZodObject<{
|
|
43968
44205
|
type: z.ZodLiteral<"worktree.reattach.list.request">;
|
|
43969
44206
|
requestId: z.ZodString;
|
|
@@ -44261,7 +44498,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
44261
44498
|
requestId: z.ZodString;
|
|
44262
44499
|
}, z.core.$strip>, z.ZodObject<{
|
|
44263
44500
|
type: z.ZodLiteral<"lsp.servers.list.request">;
|
|
44264
|
-
cwd: z.ZodString
|
|
44501
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
44265
44502
|
requestId: z.ZodString;
|
|
44266
44503
|
}, z.core.$strip>, z.ZodObject<{
|
|
44267
44504
|
type: z.ZodLiteral<"lsp.server.stop.request">;
|
|
@@ -47231,6 +47468,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
47231
47468
|
workspaceId: z.ZodString;
|
|
47232
47469
|
baseRef: z.ZodNullable<z.ZodString>;
|
|
47233
47470
|
isDefault: z.ZodBoolean;
|
|
47471
|
+
baseSource: z.ZodOptional<z.ZodEnum<{
|
|
47472
|
+
default: "default";
|
|
47473
|
+
worktree: "worktree";
|
|
47474
|
+
user: "user";
|
|
47475
|
+
inferred: "inferred";
|
|
47476
|
+
}>>;
|
|
47234
47477
|
error: z.ZodNullable<z.ZodString>;
|
|
47235
47478
|
}, z.core.$strip>;
|
|
47236
47479
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -49275,6 +49518,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49275
49518
|
error: z.ZodNullable<z.ZodString>;
|
|
49276
49519
|
notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
|
|
49277
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>;
|
|
49278
49530
|
}, z.core.$strip>, z.ZodObject<{
|
|
49279
49531
|
type: z.ZodLiteral<"agent.queue.remove.response">;
|
|
49280
49532
|
payload: z.ZodObject<{
|
|
@@ -49831,6 +50083,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49831
50083
|
}, z.core.$strip>>;
|
|
49832
50084
|
requestId: z.ZodString;
|
|
49833
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>;
|
|
49834
50093
|
isGit: z.ZodLiteral<false>;
|
|
49835
50094
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
49836
50095
|
repoRoot: z.ZodNull;
|
|
@@ -49855,6 +50114,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49855
50114
|
}, z.core.$strip>>;
|
|
49856
50115
|
requestId: z.ZodString;
|
|
49857
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>;
|
|
49858
50124
|
isGit: z.ZodLiteral<true>;
|
|
49859
50125
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
49860
50126
|
repoRoot: z.ZodString;
|
|
@@ -49883,6 +50149,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49883
50149
|
}, z.core.$strip>>;
|
|
49884
50150
|
requestId: z.ZodString;
|
|
49885
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>;
|
|
49886
50159
|
isGit: z.ZodLiteral<true>;
|
|
49887
50160
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
49888
50161
|
repoRoot: z.ZodString;
|
|
@@ -49914,6 +50187,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49914
50187
|
}, z.core.$strip>>;
|
|
49915
50188
|
requestId: z.ZodString;
|
|
49916
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>;
|
|
49917
50197
|
isGit: z.ZodLiteral<false>;
|
|
49918
50198
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
49919
50199
|
repoRoot: z.ZodNull;
|
|
@@ -49938,6 +50218,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49938
50218
|
}, z.core.$strip>>;
|
|
49939
50219
|
requestId: z.ZodString;
|
|
49940
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>;
|
|
49941
50228
|
isGit: z.ZodLiteral<true>;
|
|
49942
50229
|
isOttoOwnedWorktree: z.ZodLiteral<false>;
|
|
49943
50230
|
repoRoot: z.ZodString;
|
|
@@ -49966,6 +50253,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49966
50253
|
}, z.core.$strip>>;
|
|
49967
50254
|
requestId: z.ZodString;
|
|
49968
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>;
|
|
49969
50263
|
isGit: z.ZodLiteral<true>;
|
|
49970
50264
|
isOttoOwnedWorktree: z.ZodLiteral<true>;
|
|
49971
50265
|
repoRoot: z.ZodString;
|
|
@@ -52487,6 +52781,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
52487
52781
|
running: z.ZodBoolean;
|
|
52488
52782
|
rung: z.ZodNullable<z.ZodString>;
|
|
52489
52783
|
bin: z.ZodString;
|
|
52784
|
+
discovery: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52785
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52490
52786
|
extensions: z.ZodArray<z.ZodString>;
|
|
52491
52787
|
indexCost: z.ZodString;
|
|
52492
52788
|
}, z.core.$strip>>;
|