@otto-code/protocol 0.7.0 → 0.7.2
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 +15911 -15562
- package/dist/messages.d.ts +445 -0
- package/dist/messages.js +134 -0
- package/dist/model-tiers.js +10 -3
- package/dist/validation/ws-outbound-schema-metadata.d.ts +64 -0
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -222,6 +222,8 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
|
|
|
222
222
|
}, z.core.$loose>>;
|
|
223
223
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
224
224
|
hideMergeIntoBaseAction: z.ZodDefault<z.ZodBoolean>;
|
|
225
|
+
attachmentImageMaxAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
226
|
+
attachmentImageMaxTotalMb: z.ZodDefault<z.ZodNumber>;
|
|
225
227
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
226
228
|
appendSystemPrompt: z.ZodDefault<z.ZodString>;
|
|
227
229
|
terminalProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -389,6 +391,8 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
|
|
|
389
391
|
}, z.core.$loose>>>;
|
|
390
392
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
391
393
|
hideMergeIntoBaseAction: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
394
|
+
attachmentImageMaxAgeDays: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
395
|
+
attachmentImageMaxTotalMb: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
392
396
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
393
397
|
appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
394
398
|
terminalProfiles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -898,6 +902,39 @@ export declare const UpdateAgentRequestMessageSchema: z.ZodObject<{
|
|
|
898
902
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
899
903
|
requestId: z.ZodString;
|
|
900
904
|
}, z.core.$strip>;
|
|
905
|
+
export declare const AttachmentsImagesStatsRequestSchema: z.ZodObject<{
|
|
906
|
+
type: z.ZodLiteral<"attachments.images.get_stats.request">;
|
|
907
|
+
requestId: z.ZodString;
|
|
908
|
+
}, z.core.$strip>;
|
|
909
|
+
export declare const AttachmentsImagesStatsResponseSchema: z.ZodObject<{
|
|
910
|
+
type: z.ZodLiteral<"attachments.images.get_stats.response">;
|
|
911
|
+
payload: z.ZodObject<{
|
|
912
|
+
fileCount: z.ZodNumber;
|
|
913
|
+
totalBytes: z.ZodNumber;
|
|
914
|
+
oldestAt: z.ZodNullable<z.ZodString>;
|
|
915
|
+
maxAgeDays: z.ZodNumber;
|
|
916
|
+
maxTotalMb: z.ZodNumber;
|
|
917
|
+
error: z.ZodNullable<z.ZodString>;
|
|
918
|
+
requestId: z.ZodString;
|
|
919
|
+
}, z.core.$strip>;
|
|
920
|
+
}, z.core.$strip>;
|
|
921
|
+
export declare const AttachmentsImagesClearRequestSchema: z.ZodObject<{
|
|
922
|
+
type: z.ZodLiteral<"attachments.images.clear.request">;
|
|
923
|
+
olderThanDays: z.ZodDefault<z.ZodNumber>;
|
|
924
|
+
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
925
|
+
requestId: z.ZodString;
|
|
926
|
+
}, z.core.$strip>;
|
|
927
|
+
export declare const AttachmentsImagesClearResponseSchema: z.ZodObject<{
|
|
928
|
+
type: z.ZodLiteral<"attachments.images.clear.response">;
|
|
929
|
+
payload: z.ZodObject<{
|
|
930
|
+
matched: z.ZodNumber;
|
|
931
|
+
deleted: z.ZodNumber;
|
|
932
|
+
freedBytes: z.ZodNumber;
|
|
933
|
+
dryRun: z.ZodBoolean;
|
|
934
|
+
error: z.ZodNullable<z.ZodString>;
|
|
935
|
+
requestId: z.ZodString;
|
|
936
|
+
}, z.core.$strip>;
|
|
937
|
+
}, z.core.$strip>;
|
|
901
938
|
export declare const ProjectRenameRequestSchema: z.ZodObject<{
|
|
902
939
|
type: z.ZodLiteral<"project.rename.request">;
|
|
903
940
|
projectId: z.ZodString;
|
|
@@ -1596,6 +1633,8 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
|
|
|
1596
1633
|
}, z.core.$loose>>>;
|
|
1597
1634
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1598
1635
|
hideMergeIntoBaseAction: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1636
|
+
attachmentImageMaxAgeDays: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1637
|
+
attachmentImageMaxTotalMb: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1599
1638
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1600
1639
|
appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1601
1640
|
terminalProfiles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2327,6 +2366,7 @@ export declare const ImportAgentRequestMessageSchema: z.ZodObject<{
|
|
|
2327
2366
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2328
2367
|
providerHandleId: z.ZodOptional<z.ZodString>;
|
|
2329
2368
|
cwd: z.ZodOptional<z.ZodString>;
|
|
2369
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
2330
2370
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2331
2371
|
requestId: z.ZodString;
|
|
2332
2372
|
}, z.core.$strip>;
|
|
@@ -2620,6 +2660,12 @@ export declare const ContextConfidenceSchema: z.ZodEnum<{
|
|
|
2620
2660
|
convention: "convention";
|
|
2621
2661
|
unverified: "unverified";
|
|
2622
2662
|
}>;
|
|
2663
|
+
export declare const ContextCategoryVisibilitySchema: z.ZodEnum<{
|
|
2664
|
+
exact: "exact";
|
|
2665
|
+
convention: "convention";
|
|
2666
|
+
unverified: "unverified";
|
|
2667
|
+
not_visible: "not_visible";
|
|
2668
|
+
}>;
|
|
2623
2669
|
export declare const ContextFindingKindSchema: z.ZodEnum<{
|
|
2624
2670
|
dead_import: "dead_import";
|
|
2625
2671
|
dead_reference: "dead_reference";
|
|
@@ -2736,6 +2782,12 @@ export declare const ContextCategoryTotalSchema: z.ZodObject<{
|
|
|
2736
2782
|
warn: "warn";
|
|
2737
2783
|
critical: "critical";
|
|
2738
2784
|
}>;
|
|
2785
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
2786
|
+
exact: "exact";
|
|
2787
|
+
convention: "convention";
|
|
2788
|
+
unverified: "unverified";
|
|
2789
|
+
not_visible: "not_visible";
|
|
2790
|
+
}>>;
|
|
2739
2791
|
}, z.core.$strip>;
|
|
2740
2792
|
export declare const ContextReportSchema: z.ZodObject<{
|
|
2741
2793
|
workspaceId: z.ZodString;
|
|
@@ -2830,6 +2882,12 @@ export declare const ContextReportSchema: z.ZodObject<{
|
|
|
2830
2882
|
warn: "warn";
|
|
2831
2883
|
critical: "critical";
|
|
2832
2884
|
}>;
|
|
2885
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
2886
|
+
exact: "exact";
|
|
2887
|
+
convention: "convention";
|
|
2888
|
+
unverified: "unverified";
|
|
2889
|
+
not_visible: "not_visible";
|
|
2890
|
+
}>>;
|
|
2833
2891
|
}, z.core.$strip>>;
|
|
2834
2892
|
fixedTotal: z.ZodNumber;
|
|
2835
2893
|
conditionalTotal: z.ZodNumber;
|
|
@@ -2963,6 +3021,12 @@ export declare const ContextReportChangedSchema: z.ZodObject<{
|
|
|
2963
3021
|
warn: "warn";
|
|
2964
3022
|
critical: "critical";
|
|
2965
3023
|
}>;
|
|
3024
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3025
|
+
exact: "exact";
|
|
3026
|
+
convention: "convention";
|
|
3027
|
+
unverified: "unverified";
|
|
3028
|
+
not_visible: "not_visible";
|
|
3029
|
+
}>>;
|
|
2966
3030
|
}, z.core.$strip>>;
|
|
2967
3031
|
fixedTotal: z.ZodNumber;
|
|
2968
3032
|
conditionalTotal: z.ZodNumber;
|
|
@@ -3106,6 +3170,12 @@ export declare const ContextReportGetResponseMessageSchema: z.ZodObject<{
|
|
|
3106
3170
|
warn: "warn";
|
|
3107
3171
|
critical: "critical";
|
|
3108
3172
|
}>;
|
|
3173
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3174
|
+
exact: "exact";
|
|
3175
|
+
convention: "convention";
|
|
3176
|
+
unverified: "unverified";
|
|
3177
|
+
not_visible: "not_visible";
|
|
3178
|
+
}>>;
|
|
3109
3179
|
}, z.core.$strip>>;
|
|
3110
3180
|
fixedTotal: z.ZodNumber;
|
|
3111
3181
|
conditionalTotal: z.ZodNumber;
|
|
@@ -3144,6 +3214,91 @@ export declare const ContextReportGetResponseMessageSchema: z.ZodObject<{
|
|
|
3144
3214
|
}, z.core.$strip>>;
|
|
3145
3215
|
}, z.core.$strip>;
|
|
3146
3216
|
}, z.core.$strip>;
|
|
3217
|
+
export declare const ContextPromptSectionSchema: z.ZodObject<{
|
|
3218
|
+
category: z.ZodEnum<{
|
|
3219
|
+
context_files: "context_files";
|
|
3220
|
+
memory_index: "memory_index";
|
|
3221
|
+
skills_roster: "skills_roster";
|
|
3222
|
+
mcp_tools: "mcp_tools";
|
|
3223
|
+
otto_injected: "otto_injected";
|
|
3224
|
+
system_prompt: "system_prompt";
|
|
3225
|
+
}>;
|
|
3226
|
+
label: z.ZodString;
|
|
3227
|
+
visibility: z.ZodEnum<{
|
|
3228
|
+
exact: "exact";
|
|
3229
|
+
convention: "convention";
|
|
3230
|
+
unverified: "unverified";
|
|
3231
|
+
not_visible: "not_visible";
|
|
3232
|
+
}>;
|
|
3233
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3234
|
+
estTokens: z.ZodNumber;
|
|
3235
|
+
}, z.core.$strip>;
|
|
3236
|
+
export declare const ContextPromptPreviewSchema: z.ZodObject<{
|
|
3237
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3238
|
+
category: z.ZodEnum<{
|
|
3239
|
+
context_files: "context_files";
|
|
3240
|
+
memory_index: "memory_index";
|
|
3241
|
+
skills_roster: "skills_roster";
|
|
3242
|
+
mcp_tools: "mcp_tools";
|
|
3243
|
+
otto_injected: "otto_injected";
|
|
3244
|
+
system_prompt: "system_prompt";
|
|
3245
|
+
}>;
|
|
3246
|
+
label: z.ZodString;
|
|
3247
|
+
visibility: z.ZodEnum<{
|
|
3248
|
+
exact: "exact";
|
|
3249
|
+
convention: "convention";
|
|
3250
|
+
unverified: "unverified";
|
|
3251
|
+
not_visible: "not_visible";
|
|
3252
|
+
}>;
|
|
3253
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3254
|
+
estTokens: z.ZodNumber;
|
|
3255
|
+
}, z.core.$strip>>;
|
|
3256
|
+
estTokens: z.ZodNumber;
|
|
3257
|
+
}, z.core.$strip>;
|
|
3258
|
+
export declare const ContextPromptPreviewGetRequestMessageSchema: z.ZodObject<{
|
|
3259
|
+
type: z.ZodLiteral<"context.prompt.preview.get.request">;
|
|
3260
|
+
requestId: z.ZodString;
|
|
3261
|
+
workspaceId: z.ZodString;
|
|
3262
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
3263
|
+
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
3264
|
+
personalityId: z.ZodOptional<z.ZodString>;
|
|
3265
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
3266
|
+
context_files: "context_files";
|
|
3267
|
+
memory_index: "memory_index";
|
|
3268
|
+
skills_roster: "skills_roster";
|
|
3269
|
+
mcp_tools: "mcp_tools";
|
|
3270
|
+
otto_injected: "otto_injected";
|
|
3271
|
+
system_prompt: "system_prompt";
|
|
3272
|
+
}>>;
|
|
3273
|
+
}, z.core.$strip>;
|
|
3274
|
+
export declare const ContextPromptPreviewGetResponseMessageSchema: z.ZodObject<{
|
|
3275
|
+
type: z.ZodLiteral<"context.prompt.preview.get.response">;
|
|
3276
|
+
payload: z.ZodObject<{
|
|
3277
|
+
requestId: z.ZodString;
|
|
3278
|
+
preview: z.ZodNullable<z.ZodObject<{
|
|
3279
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3280
|
+
category: z.ZodEnum<{
|
|
3281
|
+
context_files: "context_files";
|
|
3282
|
+
memory_index: "memory_index";
|
|
3283
|
+
skills_roster: "skills_roster";
|
|
3284
|
+
mcp_tools: "mcp_tools";
|
|
3285
|
+
otto_injected: "otto_injected";
|
|
3286
|
+
system_prompt: "system_prompt";
|
|
3287
|
+
}>;
|
|
3288
|
+
label: z.ZodString;
|
|
3289
|
+
visibility: z.ZodEnum<{
|
|
3290
|
+
exact: "exact";
|
|
3291
|
+
convention: "convention";
|
|
3292
|
+
unverified: "unverified";
|
|
3293
|
+
not_visible: "not_visible";
|
|
3294
|
+
}>;
|
|
3295
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3296
|
+
estTokens: z.ZodNumber;
|
|
3297
|
+
}, z.core.$strip>>;
|
|
3298
|
+
estTokens: z.ZodNumber;
|
|
3299
|
+
}, z.core.$strip>>;
|
|
3300
|
+
}, z.core.$strip>;
|
|
3301
|
+
}, z.core.$strip>;
|
|
3147
3302
|
export declare const ContextEdgeConvertRequestMessageSchema: z.ZodObject<{
|
|
3148
3303
|
type: z.ZodLiteral<"context.edge.convert.request">;
|
|
3149
3304
|
requestId: z.ZodString;
|
|
@@ -6056,6 +6211,14 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
6056
6211
|
olderThanDays: z.ZodDefault<z.ZodNumber>;
|
|
6057
6212
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
6058
6213
|
requestId: z.ZodString;
|
|
6214
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6215
|
+
type: z.ZodLiteral<"attachments.images.get_stats.request">;
|
|
6216
|
+
requestId: z.ZodString;
|
|
6217
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6218
|
+
type: z.ZodLiteral<"attachments.images.clear.request">;
|
|
6219
|
+
olderThanDays: z.ZodDefault<z.ZodNumber>;
|
|
6220
|
+
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
6221
|
+
requestId: z.ZodString;
|
|
6059
6222
|
}, z.core.$strip>, z.ZodObject<{
|
|
6060
6223
|
type: z.ZodLiteral<"update_agent_request">;
|
|
6061
6224
|
agentId: z.ZodString;
|
|
@@ -6257,6 +6420,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
6257
6420
|
}, z.core.$loose>>>;
|
|
6258
6421
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6259
6422
|
hideMergeIntoBaseAction: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6423
|
+
attachmentImageMaxAgeDays: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
6424
|
+
attachmentImageMaxTotalMb: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
6260
6425
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6261
6426
|
appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6262
6427
|
terminalProfiles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6668,6 +6833,21 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
6668
6833
|
provider: z.ZodOptional<z.ZodString>;
|
|
6669
6834
|
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
6670
6835
|
personalityId: z.ZodOptional<z.ZodString>;
|
|
6836
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6837
|
+
type: z.ZodLiteral<"context.prompt.preview.get.request">;
|
|
6838
|
+
requestId: z.ZodString;
|
|
6839
|
+
workspaceId: z.ZodString;
|
|
6840
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
6841
|
+
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
6842
|
+
personalityId: z.ZodOptional<z.ZodString>;
|
|
6843
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
6844
|
+
context_files: "context_files";
|
|
6845
|
+
memory_index: "memory_index";
|
|
6846
|
+
skills_roster: "skills_roster";
|
|
6847
|
+
mcp_tools: "mcp_tools";
|
|
6848
|
+
otto_injected: "otto_injected";
|
|
6849
|
+
system_prompt: "system_prompt";
|
|
6850
|
+
}>>;
|
|
6671
6851
|
}, z.core.$strip>, z.ZodObject<{
|
|
6672
6852
|
type: z.ZodLiteral<"context.edge.convert.request">;
|
|
6673
6853
|
requestId: z.ZodString;
|
|
@@ -6777,6 +6957,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
6777
6957
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6778
6958
|
providerHandleId: z.ZodOptional<z.ZodString>;
|
|
6779
6959
|
cwd: z.ZodOptional<z.ZodString>;
|
|
6960
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
6780
6961
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6781
6962
|
requestId: z.ZodString;
|
|
6782
6963
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -8467,6 +8648,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8467
8648
|
statsReset: z.ZodOptional<z.ZodBoolean>;
|
|
8468
8649
|
historyDelete: z.ZodOptional<z.ZodBoolean>;
|
|
8469
8650
|
fileMutations: z.ZodOptional<z.ZodBoolean>;
|
|
8651
|
+
attachmentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
8470
8652
|
}, z.core.$strip>>;
|
|
8471
8653
|
}, z.core.$loose>, z.ZodTransform<{
|
|
8472
8654
|
hostname: string | null;
|
|
@@ -8561,6 +8743,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8561
8743
|
statsReset?: boolean | undefined;
|
|
8562
8744
|
historyDelete?: boolean | undefined;
|
|
8563
8745
|
fileMutations?: boolean | undefined;
|
|
8746
|
+
attachmentStorage?: boolean | undefined;
|
|
8564
8747
|
} | undefined;
|
|
8565
8748
|
}, {
|
|
8566
8749
|
[x: string]: unknown;
|
|
@@ -8656,6 +8839,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8656
8839
|
statsReset?: boolean | undefined;
|
|
8657
8840
|
historyDelete?: boolean | undefined;
|
|
8658
8841
|
fileMutations?: boolean | undefined;
|
|
8842
|
+
attachmentStorage?: boolean | undefined;
|
|
8659
8843
|
} | undefined;
|
|
8660
8844
|
}>>;
|
|
8661
8845
|
export declare const StatusMessageSchema: z.ZodObject<{
|
|
@@ -8958,6 +9142,8 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
|
|
|
8958
9142
|
}, z.core.$loose>>;
|
|
8959
9143
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
8960
9144
|
hideMergeIntoBaseAction: z.ZodDefault<z.ZodBoolean>;
|
|
9145
|
+
attachmentImageMaxAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
9146
|
+
attachmentImageMaxTotalMb: z.ZodDefault<z.ZodNumber>;
|
|
8961
9147
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
8962
9148
|
appendSystemPrompt: z.ZodDefault<z.ZodString>;
|
|
8963
9149
|
terminalProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -9442,6 +9628,8 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
9442
9628
|
}, z.core.$loose>>;
|
|
9443
9629
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
9444
9630
|
hideMergeIntoBaseAction: z.ZodDefault<z.ZodBoolean>;
|
|
9631
|
+
attachmentImageMaxAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
9632
|
+
attachmentImageMaxTotalMb: z.ZodDefault<z.ZodNumber>;
|
|
9445
9633
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
9446
9634
|
appendSystemPrompt: z.ZodDefault<z.ZodString>;
|
|
9447
9635
|
terminalProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -14376,6 +14564,8 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
14376
14564
|
}, z.core.$loose>>;
|
|
14377
14565
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
14378
14566
|
hideMergeIntoBaseAction: z.ZodDefault<z.ZodBoolean>;
|
|
14567
|
+
attachmentImageMaxAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
14568
|
+
attachmentImageMaxTotalMb: z.ZodDefault<z.ZodNumber>;
|
|
14379
14569
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
14380
14570
|
appendSystemPrompt: z.ZodDefault<z.ZodString>;
|
|
14381
14571
|
terminalProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -14676,6 +14866,8 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
14676
14866
|
}, z.core.$loose>>;
|
|
14677
14867
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
14678
14868
|
hideMergeIntoBaseAction: z.ZodDefault<z.ZodBoolean>;
|
|
14869
|
+
attachmentImageMaxAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
14870
|
+
attachmentImageMaxTotalMb: z.ZodDefault<z.ZodNumber>;
|
|
14679
14871
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
14680
14872
|
appendSystemPrompt: z.ZodDefault<z.ZodString>;
|
|
14681
14873
|
terminalProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -22522,6 +22714,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
22522
22714
|
}, z.core.$loose>>;
|
|
22523
22715
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
22524
22716
|
hideMergeIntoBaseAction: z.ZodDefault<z.ZodBoolean>;
|
|
22717
|
+
attachmentImageMaxAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
22718
|
+
attachmentImageMaxTotalMb: z.ZodDefault<z.ZodNumber>;
|
|
22525
22719
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
22526
22720
|
appendSystemPrompt: z.ZodDefault<z.ZodString>;
|
|
22527
22721
|
terminalProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -22694,6 +22888,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
22694
22888
|
}, z.core.$loose>>;
|
|
22695
22889
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
22696
22890
|
hideMergeIntoBaseAction: z.ZodDefault<z.ZodBoolean>;
|
|
22891
|
+
attachmentImageMaxAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
22892
|
+
attachmentImageMaxTotalMb: z.ZodDefault<z.ZodNumber>;
|
|
22697
22893
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
22698
22894
|
appendSystemPrompt: z.ZodDefault<z.ZodString>;
|
|
22699
22895
|
terminalProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -23255,6 +23451,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23255
23451
|
warn: "warn";
|
|
23256
23452
|
critical: "critical";
|
|
23257
23453
|
}>;
|
|
23454
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
23455
|
+
exact: "exact";
|
|
23456
|
+
convention: "convention";
|
|
23457
|
+
unverified: "unverified";
|
|
23458
|
+
not_visible: "not_visible";
|
|
23459
|
+
}>>;
|
|
23258
23460
|
}, z.core.$strip>>;
|
|
23259
23461
|
fixedTotal: z.ZodNumber;
|
|
23260
23462
|
conditionalTotal: z.ZodNumber;
|
|
@@ -23537,6 +23739,27 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23537
23739
|
error: z.ZodNullable<z.ZodString>;
|
|
23538
23740
|
requestId: z.ZodString;
|
|
23539
23741
|
}, z.core.$strip>;
|
|
23742
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23743
|
+
type: z.ZodLiteral<"attachments.images.get_stats.response">;
|
|
23744
|
+
payload: z.ZodObject<{
|
|
23745
|
+
fileCount: z.ZodNumber;
|
|
23746
|
+
totalBytes: z.ZodNumber;
|
|
23747
|
+
oldestAt: z.ZodNullable<z.ZodString>;
|
|
23748
|
+
maxAgeDays: z.ZodNumber;
|
|
23749
|
+
maxTotalMb: z.ZodNumber;
|
|
23750
|
+
error: z.ZodNullable<z.ZodString>;
|
|
23751
|
+
requestId: z.ZodString;
|
|
23752
|
+
}, z.core.$strip>;
|
|
23753
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23754
|
+
type: z.ZodLiteral<"attachments.images.clear.response">;
|
|
23755
|
+
payload: z.ZodObject<{
|
|
23756
|
+
matched: z.ZodNumber;
|
|
23757
|
+
deleted: z.ZodNumber;
|
|
23758
|
+
freedBytes: z.ZodNumber;
|
|
23759
|
+
dryRun: z.ZodBoolean;
|
|
23760
|
+
error: z.ZodNullable<z.ZodString>;
|
|
23761
|
+
requestId: z.ZodString;
|
|
23762
|
+
}, z.core.$strip>;
|
|
23540
23763
|
}, z.core.$strip>, z.ZodObject<{
|
|
23541
23764
|
type: z.ZodLiteral<"agent_archived">;
|
|
23542
23765
|
payload: z.ZodObject<{
|
|
@@ -26750,6 +26973,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
26750
26973
|
warn: "warn";
|
|
26751
26974
|
critical: "critical";
|
|
26752
26975
|
}>;
|
|
26976
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
26977
|
+
exact: "exact";
|
|
26978
|
+
convention: "convention";
|
|
26979
|
+
unverified: "unverified";
|
|
26980
|
+
not_visible: "not_visible";
|
|
26981
|
+
}>>;
|
|
26753
26982
|
}, z.core.$strip>>;
|
|
26754
26983
|
fixedTotal: z.ZodNumber;
|
|
26755
26984
|
conditionalTotal: z.ZodNumber;
|
|
@@ -26787,6 +27016,33 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
26787
27016
|
personalityMemoryTokens: z.ZodOptional<z.ZodNumber>;
|
|
26788
27017
|
}, z.core.$strip>>;
|
|
26789
27018
|
}, z.core.$strip>;
|
|
27019
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27020
|
+
type: z.ZodLiteral<"context.prompt.preview.get.response">;
|
|
27021
|
+
payload: z.ZodObject<{
|
|
27022
|
+
requestId: z.ZodString;
|
|
27023
|
+
preview: z.ZodNullable<z.ZodObject<{
|
|
27024
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
27025
|
+
category: z.ZodEnum<{
|
|
27026
|
+
context_files: "context_files";
|
|
27027
|
+
memory_index: "memory_index";
|
|
27028
|
+
skills_roster: "skills_roster";
|
|
27029
|
+
mcp_tools: "mcp_tools";
|
|
27030
|
+
otto_injected: "otto_injected";
|
|
27031
|
+
system_prompt: "system_prompt";
|
|
27032
|
+
}>;
|
|
27033
|
+
label: z.ZodString;
|
|
27034
|
+
visibility: z.ZodEnum<{
|
|
27035
|
+
exact: "exact";
|
|
27036
|
+
convention: "convention";
|
|
27037
|
+
unverified: "unverified";
|
|
27038
|
+
not_visible: "not_visible";
|
|
27039
|
+
}>;
|
|
27040
|
+
text: z.ZodOptional<z.ZodString>;
|
|
27041
|
+
estTokens: z.ZodNumber;
|
|
27042
|
+
}, z.core.$strip>>;
|
|
27043
|
+
estTokens: z.ZodNumber;
|
|
27044
|
+
}, z.core.$strip>>;
|
|
27045
|
+
}, z.core.$strip>;
|
|
26790
27046
|
}, z.core.$strip>, z.ZodObject<{
|
|
26791
27047
|
type: z.ZodLiteral<"context.edge.convert.response">;
|
|
26792
27048
|
payload: z.ZodObject<{
|
|
@@ -28532,6 +28788,7 @@ export type SuggestedTasksChanged = z.infer<typeof SuggestedTasksChangedSchema>;
|
|
|
28532
28788
|
export type ContextRange = z.infer<typeof ContextRangeSchema>;
|
|
28533
28789
|
export type ContextScope = z.infer<typeof ContextScopeSchema>;
|
|
28534
28790
|
export type ContextCategory = z.infer<typeof ContextCategorySchema>;
|
|
28791
|
+
export type ContextCategoryVisibility = z.infer<typeof ContextCategoryVisibilitySchema>;
|
|
28535
28792
|
export type ContextCostClass = z.infer<typeof ContextCostClassSchema>;
|
|
28536
28793
|
export type ContextSeverity = z.infer<typeof ContextSeveritySchema>;
|
|
28537
28794
|
export type ContextConfidence = z.infer<typeof ContextConfidenceSchema>;
|
|
@@ -28592,6 +28849,10 @@ export type ProviderUsageListResponseMessage = z.infer<typeof ProviderUsageListR
|
|
|
28592
28849
|
export type ActivityCounters = z.infer<typeof ActivityCountersSchema>;
|
|
28593
28850
|
export type StatsActivityGetResponseMessage = z.infer<typeof StatsActivityGetResponseMessageSchema>;
|
|
28594
28851
|
export type ContextReportGetResponseMessage = z.infer<typeof ContextReportGetResponseMessageSchema>;
|
|
28852
|
+
export type ContextPromptSection = z.infer<typeof ContextPromptSectionSchema>;
|
|
28853
|
+
export type ContextPromptPreview = z.infer<typeof ContextPromptPreviewSchema>;
|
|
28854
|
+
export type ContextPromptPreviewGetRequestMessage = z.infer<typeof ContextPromptPreviewGetRequestMessageSchema>;
|
|
28855
|
+
export type ContextPromptPreviewGetResponseMessage = z.infer<typeof ContextPromptPreviewGetResponseMessageSchema>;
|
|
28595
28856
|
export type ContextEdgeConvertResponseMessage = z.infer<typeof ContextEdgeConvertResponseMessageSchema>;
|
|
28596
28857
|
export type ContextFindingsFixResponseMessage = z.infer<typeof ContextFindingsFixResponseMessageSchema>;
|
|
28597
28858
|
export type PersonalityMemoryEntryPayload = z.infer<typeof PersonalityMemoryEntrySchema>;
|
|
@@ -28942,6 +29203,10 @@ export type CloseItemsRequest = z.infer<typeof CloseItemsRequestMessageSchema>;
|
|
|
28942
29203
|
export type CloseItemsResponse = z.infer<typeof CloseItemsResponseSchema>;
|
|
28943
29204
|
export type HistoryAgentsClearArchivedRequest = z.infer<typeof HistoryAgentsClearArchivedRequestSchema>;
|
|
28944
29205
|
export type HistoryAgentsClearArchivedResponse = z.infer<typeof HistoryAgentsClearArchivedResponseSchema>;
|
|
29206
|
+
export type AttachmentsImagesStatsRequest = z.infer<typeof AttachmentsImagesStatsRequestSchema>;
|
|
29207
|
+
export type AttachmentsImagesStatsResponse = z.infer<typeof AttachmentsImagesStatsResponseSchema>;
|
|
29208
|
+
export type AttachmentsImagesClearRequest = z.infer<typeof AttachmentsImagesClearRequestSchema>;
|
|
29209
|
+
export type AttachmentsImagesClearResponse = z.infer<typeof AttachmentsImagesClearResponseSchema>;
|
|
28945
29210
|
export type KillTerminalRequest = z.infer<typeof KillTerminalRequestSchema>;
|
|
28946
29211
|
export type KillTerminalResponse = z.infer<typeof KillTerminalResponseSchema>;
|
|
28947
29212
|
export type CaptureTerminalRequest = z.infer<typeof CaptureTerminalRequestSchema>;
|
|
@@ -29398,6 +29663,14 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
29398
29663
|
olderThanDays: z.ZodDefault<z.ZodNumber>;
|
|
29399
29664
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
29400
29665
|
requestId: z.ZodString;
|
|
29666
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29667
|
+
type: z.ZodLiteral<"attachments.images.get_stats.request">;
|
|
29668
|
+
requestId: z.ZodString;
|
|
29669
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29670
|
+
type: z.ZodLiteral<"attachments.images.clear.request">;
|
|
29671
|
+
olderThanDays: z.ZodDefault<z.ZodNumber>;
|
|
29672
|
+
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
29673
|
+
requestId: z.ZodString;
|
|
29401
29674
|
}, z.core.$strip>, z.ZodObject<{
|
|
29402
29675
|
type: z.ZodLiteral<"update_agent_request">;
|
|
29403
29676
|
agentId: z.ZodString;
|
|
@@ -29599,6 +29872,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
29599
29872
|
}, z.core.$loose>>>;
|
|
29600
29873
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
29601
29874
|
hideMergeIntoBaseAction: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
29875
|
+
attachmentImageMaxAgeDays: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
29876
|
+
attachmentImageMaxTotalMb: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
29602
29877
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
29603
29878
|
appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
29604
29879
|
terminalProfiles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -30010,6 +30285,21 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
30010
30285
|
provider: z.ZodOptional<z.ZodString>;
|
|
30011
30286
|
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
30012
30287
|
personalityId: z.ZodOptional<z.ZodString>;
|
|
30288
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30289
|
+
type: z.ZodLiteral<"context.prompt.preview.get.request">;
|
|
30290
|
+
requestId: z.ZodString;
|
|
30291
|
+
workspaceId: z.ZodString;
|
|
30292
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
30293
|
+
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
30294
|
+
personalityId: z.ZodOptional<z.ZodString>;
|
|
30295
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
30296
|
+
context_files: "context_files";
|
|
30297
|
+
memory_index: "memory_index";
|
|
30298
|
+
skills_roster: "skills_roster";
|
|
30299
|
+
mcp_tools: "mcp_tools";
|
|
30300
|
+
otto_injected: "otto_injected";
|
|
30301
|
+
system_prompt: "system_prompt";
|
|
30302
|
+
}>>;
|
|
30013
30303
|
}, z.core.$strip>, z.ZodObject<{
|
|
30014
30304
|
type: z.ZodLiteral<"context.edge.convert.request">;
|
|
30015
30305
|
requestId: z.ZodString;
|
|
@@ -30119,6 +30409,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
30119
30409
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
30120
30410
|
providerHandleId: z.ZodOptional<z.ZodString>;
|
|
30121
30411
|
cwd: z.ZodOptional<z.ZodString>;
|
|
30412
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
30122
30413
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
30123
30414
|
requestId: z.ZodString;
|
|
30124
30415
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -35698,6 +35989,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
35698
35989
|
}, z.core.$loose>>;
|
|
35699
35990
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
35700
35991
|
hideMergeIntoBaseAction: z.ZodDefault<z.ZodBoolean>;
|
|
35992
|
+
attachmentImageMaxAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
35993
|
+
attachmentImageMaxTotalMb: z.ZodDefault<z.ZodNumber>;
|
|
35701
35994
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
35702
35995
|
appendSystemPrompt: z.ZodDefault<z.ZodString>;
|
|
35703
35996
|
terminalProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -35870,6 +36163,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
35870
36163
|
}, z.core.$loose>>;
|
|
35871
36164
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
35872
36165
|
hideMergeIntoBaseAction: z.ZodDefault<z.ZodBoolean>;
|
|
36166
|
+
attachmentImageMaxAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
36167
|
+
attachmentImageMaxTotalMb: z.ZodDefault<z.ZodNumber>;
|
|
35873
36168
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
35874
36169
|
appendSystemPrompt: z.ZodDefault<z.ZodString>;
|
|
35875
36170
|
terminalProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -36431,6 +36726,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36431
36726
|
warn: "warn";
|
|
36432
36727
|
critical: "critical";
|
|
36433
36728
|
}>;
|
|
36729
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
36730
|
+
exact: "exact";
|
|
36731
|
+
convention: "convention";
|
|
36732
|
+
unverified: "unverified";
|
|
36733
|
+
not_visible: "not_visible";
|
|
36734
|
+
}>>;
|
|
36434
36735
|
}, z.core.$strip>>;
|
|
36435
36736
|
fixedTotal: z.ZodNumber;
|
|
36436
36737
|
conditionalTotal: z.ZodNumber;
|
|
@@ -36713,6 +37014,27 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36713
37014
|
error: z.ZodNullable<z.ZodString>;
|
|
36714
37015
|
requestId: z.ZodString;
|
|
36715
37016
|
}, z.core.$strip>;
|
|
37017
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37018
|
+
type: z.ZodLiteral<"attachments.images.get_stats.response">;
|
|
37019
|
+
payload: z.ZodObject<{
|
|
37020
|
+
fileCount: z.ZodNumber;
|
|
37021
|
+
totalBytes: z.ZodNumber;
|
|
37022
|
+
oldestAt: z.ZodNullable<z.ZodString>;
|
|
37023
|
+
maxAgeDays: z.ZodNumber;
|
|
37024
|
+
maxTotalMb: z.ZodNumber;
|
|
37025
|
+
error: z.ZodNullable<z.ZodString>;
|
|
37026
|
+
requestId: z.ZodString;
|
|
37027
|
+
}, z.core.$strip>;
|
|
37028
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37029
|
+
type: z.ZodLiteral<"attachments.images.clear.response">;
|
|
37030
|
+
payload: z.ZodObject<{
|
|
37031
|
+
matched: z.ZodNumber;
|
|
37032
|
+
deleted: z.ZodNumber;
|
|
37033
|
+
freedBytes: z.ZodNumber;
|
|
37034
|
+
dryRun: z.ZodBoolean;
|
|
37035
|
+
error: z.ZodNullable<z.ZodString>;
|
|
37036
|
+
requestId: z.ZodString;
|
|
37037
|
+
}, z.core.$strip>;
|
|
36716
37038
|
}, z.core.$strip>, z.ZodObject<{
|
|
36717
37039
|
type: z.ZodLiteral<"agent_archived">;
|
|
36718
37040
|
payload: z.ZodObject<{
|
|
@@ -39926,6 +40248,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
39926
40248
|
warn: "warn";
|
|
39927
40249
|
critical: "critical";
|
|
39928
40250
|
}>;
|
|
40251
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
40252
|
+
exact: "exact";
|
|
40253
|
+
convention: "convention";
|
|
40254
|
+
unverified: "unverified";
|
|
40255
|
+
not_visible: "not_visible";
|
|
40256
|
+
}>>;
|
|
39929
40257
|
}, z.core.$strip>>;
|
|
39930
40258
|
fixedTotal: z.ZodNumber;
|
|
39931
40259
|
conditionalTotal: z.ZodNumber;
|
|
@@ -39963,6 +40291,33 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
39963
40291
|
personalityMemoryTokens: z.ZodOptional<z.ZodNumber>;
|
|
39964
40292
|
}, z.core.$strip>>;
|
|
39965
40293
|
}, z.core.$strip>;
|
|
40294
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40295
|
+
type: z.ZodLiteral<"context.prompt.preview.get.response">;
|
|
40296
|
+
payload: z.ZodObject<{
|
|
40297
|
+
requestId: z.ZodString;
|
|
40298
|
+
preview: z.ZodNullable<z.ZodObject<{
|
|
40299
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
40300
|
+
category: z.ZodEnum<{
|
|
40301
|
+
context_files: "context_files";
|
|
40302
|
+
memory_index: "memory_index";
|
|
40303
|
+
skills_roster: "skills_roster";
|
|
40304
|
+
mcp_tools: "mcp_tools";
|
|
40305
|
+
otto_injected: "otto_injected";
|
|
40306
|
+
system_prompt: "system_prompt";
|
|
40307
|
+
}>;
|
|
40308
|
+
label: z.ZodString;
|
|
40309
|
+
visibility: z.ZodEnum<{
|
|
40310
|
+
exact: "exact";
|
|
40311
|
+
convention: "convention";
|
|
40312
|
+
unverified: "unverified";
|
|
40313
|
+
not_visible: "not_visible";
|
|
40314
|
+
}>;
|
|
40315
|
+
text: z.ZodOptional<z.ZodString>;
|
|
40316
|
+
estTokens: z.ZodNumber;
|
|
40317
|
+
}, z.core.$strip>>;
|
|
40318
|
+
estTokens: z.ZodNumber;
|
|
40319
|
+
}, z.core.$strip>>;
|
|
40320
|
+
}, z.core.$strip>;
|
|
39966
40321
|
}, z.core.$strip>, z.ZodObject<{
|
|
39967
40322
|
type: z.ZodLiteral<"context.edge.convert.response">;
|
|
39968
40323
|
payload: z.ZodObject<{
|
|
@@ -42067,6 +42422,14 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
42067
42422
|
olderThanDays: z.ZodDefault<z.ZodNumber>;
|
|
42068
42423
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
42069
42424
|
requestId: z.ZodString;
|
|
42425
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42426
|
+
type: z.ZodLiteral<"attachments.images.get_stats.request">;
|
|
42427
|
+
requestId: z.ZodString;
|
|
42428
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42429
|
+
type: z.ZodLiteral<"attachments.images.clear.request">;
|
|
42430
|
+
olderThanDays: z.ZodDefault<z.ZodNumber>;
|
|
42431
|
+
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
42432
|
+
requestId: z.ZodString;
|
|
42070
42433
|
}, z.core.$strip>, z.ZodObject<{
|
|
42071
42434
|
type: z.ZodLiteral<"update_agent_request">;
|
|
42072
42435
|
agentId: z.ZodString;
|
|
@@ -42268,6 +42631,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
42268
42631
|
}, z.core.$loose>>>;
|
|
42269
42632
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
42270
42633
|
hideMergeIntoBaseAction: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
42634
|
+
attachmentImageMaxAgeDays: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
42635
|
+
attachmentImageMaxTotalMb: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
42271
42636
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
42272
42637
|
appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
42273
42638
|
terminalProfiles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -42679,6 +43044,21 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
42679
43044
|
provider: z.ZodOptional<z.ZodString>;
|
|
42680
43045
|
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
42681
43046
|
personalityId: z.ZodOptional<z.ZodString>;
|
|
43047
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43048
|
+
type: z.ZodLiteral<"context.prompt.preview.get.request">;
|
|
43049
|
+
requestId: z.ZodString;
|
|
43050
|
+
workspaceId: z.ZodString;
|
|
43051
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
43052
|
+
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
43053
|
+
personalityId: z.ZodOptional<z.ZodString>;
|
|
43054
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
43055
|
+
context_files: "context_files";
|
|
43056
|
+
memory_index: "memory_index";
|
|
43057
|
+
skills_roster: "skills_roster";
|
|
43058
|
+
mcp_tools: "mcp_tools";
|
|
43059
|
+
otto_injected: "otto_injected";
|
|
43060
|
+
system_prompt: "system_prompt";
|
|
43061
|
+
}>>;
|
|
42682
43062
|
}, z.core.$strip>, z.ZodObject<{
|
|
42683
43063
|
type: z.ZodLiteral<"context.edge.convert.request">;
|
|
42684
43064
|
requestId: z.ZodString;
|
|
@@ -42788,6 +43168,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
42788
43168
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
42789
43169
|
providerHandleId: z.ZodOptional<z.ZodString>;
|
|
42790
43170
|
cwd: z.ZodOptional<z.ZodString>;
|
|
43171
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
42791
43172
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
42792
43173
|
requestId: z.ZodString;
|
|
42793
43174
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -48369,6 +48750,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
48369
48750
|
}, z.core.$loose>>;
|
|
48370
48751
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
48371
48752
|
hideMergeIntoBaseAction: z.ZodDefault<z.ZodBoolean>;
|
|
48753
|
+
attachmentImageMaxAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
48754
|
+
attachmentImageMaxTotalMb: z.ZodDefault<z.ZodNumber>;
|
|
48372
48755
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
48373
48756
|
appendSystemPrompt: z.ZodDefault<z.ZodString>;
|
|
48374
48757
|
terminalProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -48541,6 +48924,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
48541
48924
|
}, z.core.$loose>>;
|
|
48542
48925
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
48543
48926
|
hideMergeIntoBaseAction: z.ZodDefault<z.ZodBoolean>;
|
|
48927
|
+
attachmentImageMaxAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
48928
|
+
attachmentImageMaxTotalMb: z.ZodDefault<z.ZodNumber>;
|
|
48544
48929
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
48545
48930
|
appendSystemPrompt: z.ZodDefault<z.ZodString>;
|
|
48546
48931
|
terminalProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -49102,6 +49487,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49102
49487
|
warn: "warn";
|
|
49103
49488
|
critical: "critical";
|
|
49104
49489
|
}>;
|
|
49490
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
49491
|
+
exact: "exact";
|
|
49492
|
+
convention: "convention";
|
|
49493
|
+
unverified: "unverified";
|
|
49494
|
+
not_visible: "not_visible";
|
|
49495
|
+
}>>;
|
|
49105
49496
|
}, z.core.$strip>>;
|
|
49106
49497
|
fixedTotal: z.ZodNumber;
|
|
49107
49498
|
conditionalTotal: z.ZodNumber;
|
|
@@ -49384,6 +49775,27 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
49384
49775
|
error: z.ZodNullable<z.ZodString>;
|
|
49385
49776
|
requestId: z.ZodString;
|
|
49386
49777
|
}, z.core.$strip>;
|
|
49778
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49779
|
+
type: z.ZodLiteral<"attachments.images.get_stats.response">;
|
|
49780
|
+
payload: z.ZodObject<{
|
|
49781
|
+
fileCount: z.ZodNumber;
|
|
49782
|
+
totalBytes: z.ZodNumber;
|
|
49783
|
+
oldestAt: z.ZodNullable<z.ZodString>;
|
|
49784
|
+
maxAgeDays: z.ZodNumber;
|
|
49785
|
+
maxTotalMb: z.ZodNumber;
|
|
49786
|
+
error: z.ZodNullable<z.ZodString>;
|
|
49787
|
+
requestId: z.ZodString;
|
|
49788
|
+
}, z.core.$strip>;
|
|
49789
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49790
|
+
type: z.ZodLiteral<"attachments.images.clear.response">;
|
|
49791
|
+
payload: z.ZodObject<{
|
|
49792
|
+
matched: z.ZodNumber;
|
|
49793
|
+
deleted: z.ZodNumber;
|
|
49794
|
+
freedBytes: z.ZodNumber;
|
|
49795
|
+
dryRun: z.ZodBoolean;
|
|
49796
|
+
error: z.ZodNullable<z.ZodString>;
|
|
49797
|
+
requestId: z.ZodString;
|
|
49798
|
+
}, z.core.$strip>;
|
|
49387
49799
|
}, z.core.$strip>, z.ZodObject<{
|
|
49388
49800
|
type: z.ZodLiteral<"agent_archived">;
|
|
49389
49801
|
payload: z.ZodObject<{
|
|
@@ -52597,6 +53009,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
52597
53009
|
warn: "warn";
|
|
52598
53010
|
critical: "critical";
|
|
52599
53011
|
}>;
|
|
53012
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
53013
|
+
exact: "exact";
|
|
53014
|
+
convention: "convention";
|
|
53015
|
+
unverified: "unverified";
|
|
53016
|
+
not_visible: "not_visible";
|
|
53017
|
+
}>>;
|
|
52600
53018
|
}, z.core.$strip>>;
|
|
52601
53019
|
fixedTotal: z.ZodNumber;
|
|
52602
53020
|
conditionalTotal: z.ZodNumber;
|
|
@@ -52634,6 +53052,33 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
52634
53052
|
personalityMemoryTokens: z.ZodOptional<z.ZodNumber>;
|
|
52635
53053
|
}, z.core.$strip>>;
|
|
52636
53054
|
}, z.core.$strip>;
|
|
53055
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
53056
|
+
type: z.ZodLiteral<"context.prompt.preview.get.response">;
|
|
53057
|
+
payload: z.ZodObject<{
|
|
53058
|
+
requestId: z.ZodString;
|
|
53059
|
+
preview: z.ZodNullable<z.ZodObject<{
|
|
53060
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
53061
|
+
category: z.ZodEnum<{
|
|
53062
|
+
context_files: "context_files";
|
|
53063
|
+
memory_index: "memory_index";
|
|
53064
|
+
skills_roster: "skills_roster";
|
|
53065
|
+
mcp_tools: "mcp_tools";
|
|
53066
|
+
otto_injected: "otto_injected";
|
|
53067
|
+
system_prompt: "system_prompt";
|
|
53068
|
+
}>;
|
|
53069
|
+
label: z.ZodString;
|
|
53070
|
+
visibility: z.ZodEnum<{
|
|
53071
|
+
exact: "exact";
|
|
53072
|
+
convention: "convention";
|
|
53073
|
+
unverified: "unverified";
|
|
53074
|
+
not_visible: "not_visible";
|
|
53075
|
+
}>;
|
|
53076
|
+
text: z.ZodOptional<z.ZodString>;
|
|
53077
|
+
estTokens: z.ZodNumber;
|
|
53078
|
+
}, z.core.$strip>>;
|
|
53079
|
+
estTokens: z.ZodNumber;
|
|
53080
|
+
}, z.core.$strip>>;
|
|
53081
|
+
}, z.core.$strip>;
|
|
52637
53082
|
}, z.core.$strip>, z.ZodObject<{
|
|
52638
53083
|
type: z.ZodLiteral<"context.edge.convert.response">;
|
|
52639
53084
|
payload: z.ZodObject<{
|