@otto-code/protocol 0.9.0 → 0.9.3
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/agent-labels.d.ts +9 -0
- package/dist/agent-labels.js +16 -0
- package/dist/agent-rate-limit.d.ts +13 -0
- package/dist/agent-rate-limit.js +18 -0
- package/dist/agent-types.d.ts +6 -0
- package/dist/architectural-views/rpc-schemas.d.ts +123 -0
- package/dist/architectural-views/rpc-schemas.js +34 -0
- package/dist/brain.d.ts +3 -3
- package/dist/browser-automation/capabilities.d.ts +1 -1
- package/dist/browser-automation/rpc-schemas.d.ts +16 -16
- package/dist/code-intelligence.d.ts +5 -5
- package/dist/file-operations.d.ts +1 -1
- package/dist/generated/validation/ws-outbound.aot.js +70849 -70487
- package/dist/loop/rpc-schemas.d.ts +6 -6
- package/dist/messages.d.ts +771 -421
- package/dist/messages.js +42 -103
- package/dist/model-preferences.d.ts +26 -0
- package/dist/model-preferences.js +47 -0
- package/dist/personality-schemas.d.ts +4 -4
- package/dist/project-knowledge.d.ts +38 -16
- package/dist/project-knowledge.js +17 -1
- package/dist/schedule/rpc-schemas.d.ts +12 -12
- package/dist/schedule/types.d.ts +3 -3
- package/dist/suggested-tasks.d.ts +7 -3
- package/dist/suggested-tasks.js +2 -0
- package/dist/validation/ws-outbound-schema-metadata.d.ts +165 -72
- package/dist/websocket-control.d.ts +39 -0
- package/dist/websocket-control.js +36 -0
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { AgentRateLimitInfoSchema } from "./agent-rate-limit.js";
|
|
2
|
+
export { AgentRateLimitInfoSchema } from "./agent-rate-limit.js";
|
|
3
|
+
import { WSHelloMessageSchema } from "./websocket-control.js";
|
|
4
|
+
export { WSPingMessageSchema, WSPongMessageSchema, WSHelloMessageSchema, WSRecordingStateMessageSchema, } from "./websocket-control.js";
|
|
1
5
|
import { z } from "zod";
|
|
2
6
|
import { HostingPullRequestThreadSetResolvedResponseSchema, HostingPullRequestCommentSetReactionResponseSchema } from "./git-hosting.js";
|
|
3
7
|
import { ChatCreateRequestSchema, ChatListRequestSchema, ChatInspectRequestSchema, ChatDeleteRequestSchema, ChatPostRequestSchema, ChatReadRequestSchema, ChatWaitRequestSchema, ChatCreateResponseSchema, ChatListResponseSchema, ChatInspectResponseSchema, ChatDeleteResponseSchema, ChatPostResponseSchema, ChatReadResponseSchema, ChatWaitResponseSchema } from "./chat/rpc-schemas.js";
|
|
@@ -56,29 +60,7 @@ export declare const AgentProfileSchema: z.ZodObject<{
|
|
|
56
60
|
memoryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
57
61
|
}, z.core.$loose>;
|
|
58
62
|
export type AgentProfile = z.infer<typeof AgentProfileSchema>;
|
|
59
|
-
export
|
|
60
|
-
export declare const ModelTierOverrideSchema: z.ZodObject<{
|
|
61
|
-
provider: z.ZodString;
|
|
62
|
-
modelId: z.ZodString;
|
|
63
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
64
|
-
}, z.core.$loose>;
|
|
65
|
-
export type ModelTierOverride = z.infer<typeof ModelTierOverrideSchema>;
|
|
66
|
-
export declare const ModelVisibilityOverrideSchema: z.ZodObject<{
|
|
67
|
-
provider: z.ZodString;
|
|
68
|
-
modelId: z.ZodString;
|
|
69
|
-
visible: z.ZodBoolean;
|
|
70
|
-
}, z.core.$loose>;
|
|
71
|
-
export type ModelVisibilityOverride = z.infer<typeof ModelVisibilityOverrideSchema>;
|
|
72
|
-
export declare const SavedProviderEndpointSchema: z.ZodObject<{
|
|
73
|
-
id: z.ZodString;
|
|
74
|
-
baseUrlKey: z.ZodString;
|
|
75
|
-
apiKeyKey: z.ZodString;
|
|
76
|
-
baseUrl: z.ZodString;
|
|
77
|
-
apiKey: z.ZodDefault<z.ZodString>;
|
|
78
|
-
label: z.ZodOptional<z.ZodString>;
|
|
79
|
-
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
80
|
-
}, z.core.$loose>;
|
|
81
|
-
export type SavedProviderEndpoint = z.infer<typeof SavedProviderEndpointSchema>;
|
|
63
|
+
export { ModelTierSchema, ModelTierOverrideSchema, ModelVisibilityOverrideSchema, SavedProviderEndpointSchema, type ModelTierOverride, type ModelVisibilityOverride, type SavedProviderEndpoint, } from "./model-preferences.js";
|
|
82
64
|
export declare const PluginIdSchema: z.ZodString;
|
|
83
65
|
export declare const DirectoryPluginSourceSchema: z.ZodObject<{
|
|
84
66
|
source: z.ZodLiteral<"directory">;
|
|
@@ -267,7 +249,7 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
|
|
|
267
249
|
modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
268
250
|
provider: z.ZodString;
|
|
269
251
|
modelId: z.ZodString;
|
|
270
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
252
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
271
253
|
}, z.core.$loose>>>;
|
|
272
254
|
modelVisibilityOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
273
255
|
provider: z.ZodString;
|
|
@@ -642,7 +624,7 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
|
|
|
642
624
|
modelTierOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
643
625
|
provider: z.ZodString;
|
|
644
626
|
modelId: z.ZodString;
|
|
645
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
627
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
646
628
|
}, z.core.$loose>>>>;
|
|
647
629
|
modelVisibilityOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
648
630
|
provider: z.ZodString;
|
|
@@ -811,7 +793,7 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
|
|
|
811
793
|
}, z.core.$loose>;
|
|
812
794
|
export type MutableDaemonConfig = z.infer<typeof MutableDaemonConfigSchema>;
|
|
813
795
|
export type MutableDaemonConfigPatch = z.infer<typeof MutableDaemonConfigPatchSchema>;
|
|
814
|
-
import type { AgentCapabilityFlags, AgentMode, AgentPermissionRequest, AgentPermissionResponse, AgentPersistenceHandle,
|
|
796
|
+
import type { AgentCapabilityFlags, AgentMode, AgentPermissionRequest, AgentPermissionResponse, AgentPersistenceHandle, ProviderStatus, AgentRuntimeInfo, AgentTimelineItem, AgentProviderNotice, AgentUsage } from "./agent-types.js";
|
|
815
797
|
export declare const AgentStatusSchema: z.ZodEnum<{
|
|
816
798
|
error: "error";
|
|
817
799
|
initializing: "initializing";
|
|
@@ -819,17 +801,6 @@ export declare const AgentStatusSchema: z.ZodEnum<{
|
|
|
819
801
|
running: "running";
|
|
820
802
|
closed: "closed";
|
|
821
803
|
}>;
|
|
822
|
-
export declare const AgentRateLimitInfoSchema: z.ZodObject<{
|
|
823
|
-
status: z.ZodEnum<{
|
|
824
|
-
warning: "warning";
|
|
825
|
-
rejected: "rejected";
|
|
826
|
-
allowed: "allowed";
|
|
827
|
-
}>;
|
|
828
|
-
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
829
|
-
limitType: z.ZodOptional<z.ZodString>;
|
|
830
|
-
resetsAt: z.ZodOptional<z.ZodString>;
|
|
831
|
-
isUsingOverage: z.ZodOptional<z.ZodBoolean>;
|
|
832
|
-
}, z.core.$strip>;
|
|
833
804
|
export declare const AgentFeatureToggleSchema: z.ZodObject<{
|
|
834
805
|
type: z.ZodLiteral<"toggle">;
|
|
835
806
|
id: z.ZodString;
|
|
@@ -910,7 +881,7 @@ export declare const ProviderSnapshotEntrySchema: z.ZodObject<{
|
|
|
910
881
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
911
882
|
}, z.core.$strip>>>;
|
|
912
883
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
913
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
884
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
914
885
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
915
886
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
916
887
|
}, z.core.$strip>>>;
|
|
@@ -927,7 +898,7 @@ export declare const CompactProviderSnapshotModelSchema: z.ZodObject<{
|
|
|
927
898
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
928
899
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
929
900
|
family: z.ZodOptional<z.ZodString>;
|
|
930
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
901
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
931
902
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
932
903
|
isSelectable: z.ZodOptional<z.ZodBoolean>;
|
|
933
904
|
contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -951,13 +922,13 @@ export declare const CompactProviderSnapshotEntrySchema: z.ZodObject<{
|
|
|
951
922
|
error: z.ZodOptional<z.ZodString>;
|
|
952
923
|
description: z.ZodOptional<z.ZodString>;
|
|
953
924
|
label: z.ZodOptional<z.ZodString>;
|
|
925
|
+
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
954
926
|
source: z.ZodOptional<z.ZodEnum<{
|
|
955
927
|
custom: "custom";
|
|
956
928
|
builtin: "builtin";
|
|
957
929
|
}>>;
|
|
958
930
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
959
931
|
provider: z.ZodString;
|
|
960
|
-
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
961
932
|
defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
962
933
|
modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
|
|
963
934
|
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -968,7 +939,7 @@ export declare const CompactProviderSnapshotEntrySchema: z.ZodObject<{
|
|
|
968
939
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
969
940
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
970
941
|
family: z.ZodOptional<z.ZodString>;
|
|
971
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
942
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
972
943
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
973
944
|
isSelectable: z.ZodOptional<z.ZodBoolean>;
|
|
974
945
|
contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -983,13 +954,13 @@ export declare const CompactProviderSnapshotSchema: z.ZodObject<{
|
|
|
983
954
|
error: z.ZodOptional<z.ZodString>;
|
|
984
955
|
description: z.ZodOptional<z.ZodString>;
|
|
985
956
|
label: z.ZodOptional<z.ZodString>;
|
|
957
|
+
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
986
958
|
source: z.ZodOptional<z.ZodEnum<{
|
|
987
959
|
custom: "custom";
|
|
988
960
|
builtin: "builtin";
|
|
989
961
|
}>>;
|
|
990
962
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
991
963
|
provider: z.ZodString;
|
|
992
|
-
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
993
964
|
defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
994
965
|
modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
|
|
995
966
|
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1000,7 +971,7 @@ export declare const CompactProviderSnapshotSchema: z.ZodObject<{
|
|
|
1000
971
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1001
972
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
1002
973
|
family: z.ZodOptional<z.ZodString>;
|
|
1003
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
974
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
1004
975
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1005
976
|
isSelectable: z.ZodOptional<z.ZodBoolean>;
|
|
1006
977
|
contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1097,9 +1068,9 @@ export declare const AgentStreamEventPayloadSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
1097
1068
|
provider: z.ZodString;
|
|
1098
1069
|
info: z.ZodObject<{
|
|
1099
1070
|
status: z.ZodEnum<{
|
|
1071
|
+
allowed: "allowed";
|
|
1100
1072
|
warning: "warning";
|
|
1101
1073
|
rejected: "rejected";
|
|
1102
|
-
allowed: "allowed";
|
|
1103
1074
|
}>;
|
|
1104
1075
|
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
1105
1076
|
limitType: z.ZodOptional<z.ZodString>;
|
|
@@ -1987,8 +1958,8 @@ export declare const FetchAgentsRequestMessageSchema: z.ZodObject<{
|
|
|
1987
1958
|
}, z.core.$strip>;
|
|
1988
1959
|
declare const WorkspaceStateBucketSchema: z.ZodEnum<{
|
|
1989
1960
|
running: "running";
|
|
1990
|
-
done: "done";
|
|
1991
1961
|
failed: "failed";
|
|
1962
|
+
done: "done";
|
|
1992
1963
|
attention: "attention";
|
|
1993
1964
|
needs_input: "needs_input";
|
|
1994
1965
|
}>;
|
|
@@ -2578,7 +2549,7 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
|
|
|
2578
2549
|
modelTierOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2579
2550
|
provider: z.ZodString;
|
|
2580
2551
|
modelId: z.ZodString;
|
|
2581
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
2552
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
2582
2553
|
}, z.core.$loose>>>>;
|
|
2583
2554
|
modelVisibilityOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2584
2555
|
provider: z.ZodString;
|
|
@@ -3262,6 +3233,7 @@ export declare const FetchAgentTimelineRequestMessageSchema: z.ZodObject<{
|
|
|
3262
3233
|
canonical: "canonical";
|
|
3263
3234
|
}>>;
|
|
3264
3235
|
mergeWindow: z.ZodOptional<z.ZodBoolean>;
|
|
3236
|
+
includePromptIndex: z.ZodOptional<z.ZodBoolean>;
|
|
3265
3237
|
}, z.core.$strip>;
|
|
3266
3238
|
export declare const AgentTimelineListPromptsRequestMessageSchema: z.ZodObject<{
|
|
3267
3239
|
type: z.ZodLiteral<"agent.timeline.list_prompts.request">;
|
|
@@ -4532,16 +4504,16 @@ export declare const ProjectScaffoldRequestSchema: z.ZodObject<{
|
|
|
4532
4504
|
export declare const ProjectScaffoldStepIdSchema: z.ZodString;
|
|
4533
4505
|
export declare const ProjectScaffoldStepStatusSchema: z.ZodEnum<{
|
|
4534
4506
|
running: "running";
|
|
4535
|
-
done: "done";
|
|
4536
4507
|
failed: "failed";
|
|
4508
|
+
done: "done";
|
|
4537
4509
|
skipped: "skipped";
|
|
4538
4510
|
}>;
|
|
4539
4511
|
export declare const ProjectScaffoldStepSchema: z.ZodObject<{
|
|
4540
4512
|
id: z.ZodString;
|
|
4541
4513
|
status: z.ZodEnum<{
|
|
4542
4514
|
running: "running";
|
|
4543
|
-
done: "done";
|
|
4544
4515
|
failed: "failed";
|
|
4516
|
+
done: "done";
|
|
4545
4517
|
skipped: "skipped";
|
|
4546
4518
|
}>;
|
|
4547
4519
|
detail: z.ZodNullable<z.ZodString>;
|
|
@@ -4963,8 +4935,8 @@ export declare const ClearAgentAttentionMessageSchema: z.ZodObject<{
|
|
|
4963
4935
|
export declare const ClientHeartbeatMessageSchema: z.ZodObject<{
|
|
4964
4936
|
type: z.ZodLiteral<"client_heartbeat">;
|
|
4965
4937
|
deviceType: z.ZodEnum<{
|
|
4966
|
-
web: "web";
|
|
4967
4938
|
mobile: "mobile";
|
|
4939
|
+
web: "web";
|
|
4968
4940
|
}>;
|
|
4969
4941
|
focusedAgentId: z.ZodNullable<z.ZodString>;
|
|
4970
4942
|
focusedTerminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -5317,8 +5289,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
5317
5289
|
canGoBack: z.ZodOptional<z.ZodBoolean>;
|
|
5318
5290
|
canGoForward: z.ZodOptional<z.ZodBoolean>;
|
|
5319
5291
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5320
|
-
ready: "ready";
|
|
5321
5292
|
starting: "starting";
|
|
5293
|
+
ready: "ready";
|
|
5322
5294
|
detached: "detached";
|
|
5323
5295
|
}>>;
|
|
5324
5296
|
}, z.core.$strip>>;
|
|
@@ -5516,9 +5488,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
5516
5488
|
command: z.ZodLiteral<"set_color_scheme">;
|
|
5517
5489
|
browserId: z.ZodString;
|
|
5518
5490
|
colorScheme: z.ZodEnum<{
|
|
5519
|
-
auto: "auto";
|
|
5520
5491
|
light: "light";
|
|
5521
5492
|
dark: "dark";
|
|
5493
|
+
auto: "auto";
|
|
5522
5494
|
}>;
|
|
5523
5495
|
}, z.core.$strip>, z.ZodObject<{
|
|
5524
5496
|
command: z.ZodLiteral<"screenshot_element">;
|
|
@@ -6405,7 +6377,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
6405
6377
|
modelTierOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6406
6378
|
provider: z.ZodString;
|
|
6407
6379
|
modelId: z.ZodString;
|
|
6408
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
6380
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
6409
6381
|
}, z.core.$loose>>>>;
|
|
6410
6382
|
modelVisibilityOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6411
6383
|
provider: z.ZodString;
|
|
@@ -6756,18 +6728,18 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
6756
6728
|
type: z.ZodLiteral<"agent.profile.stats.request">;
|
|
6757
6729
|
}, z.core.$strip>, z.ZodObject<{
|
|
6758
6730
|
name: z.ZodString;
|
|
6731
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
6759
6732
|
requestId: z.ZodString;
|
|
6760
6733
|
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6761
6734
|
glowA: z.ZodOptional<z.ZodString>;
|
|
6762
6735
|
glowB: z.ZodOptional<z.ZodString>;
|
|
6763
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
6764
6736
|
type: z.ZodLiteral<"agent.profile.generate_prompt.request">;
|
|
6765
6737
|
}, z.core.$strip>, z.ZodObject<{
|
|
6766
6738
|
prompt: z.ZodOptional<z.ZodString>;
|
|
6767
6739
|
name: z.ZodString;
|
|
6740
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
6768
6741
|
requestId: z.ZodString;
|
|
6769
6742
|
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6770
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
6771
6743
|
moment: z.ZodOptional<z.ZodEnum<{
|
|
6772
6744
|
join: "join";
|
|
6773
6745
|
thinking: "thinking";
|
|
@@ -7106,11 +7078,17 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
7106
7078
|
type: z.ZodLiteral<"project.knowledge.list.request">;
|
|
7107
7079
|
requestId: z.ZodString;
|
|
7108
7080
|
workspaceId: z.ZodString;
|
|
7081
|
+
includeRootBodies: z.ZodOptional<z.ZodBoolean>;
|
|
7109
7082
|
}, z.core.$strip>, z.ZodObject<{
|
|
7110
7083
|
type: z.ZodLiteral<"project.knowledge.get.request">;
|
|
7111
7084
|
requestId: z.ZodString;
|
|
7112
7085
|
workspaceId: z.ZodString;
|
|
7113
7086
|
id: z.ZodString;
|
|
7087
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7088
|
+
type: z.ZodLiteral<"project.knowledge.root.get.request">;
|
|
7089
|
+
requestId: z.ZodString;
|
|
7090
|
+
workspaceId: z.ZodString;
|
|
7091
|
+
slug: z.ZodString;
|
|
7114
7092
|
}, z.core.$strip>, z.ZodObject<{
|
|
7115
7093
|
type: z.ZodLiteral<"project.knowledge.create.request">;
|
|
7116
7094
|
requestId: z.ZodString;
|
|
@@ -7152,9 +7130,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
7152
7130
|
}, z.core.$strip>>;
|
|
7153
7131
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
7154
7132
|
read: "read";
|
|
7133
|
+
rejected: "rejected";
|
|
7155
7134
|
unevaluated: "unevaluated";
|
|
7156
7135
|
adopted: "adopted";
|
|
7157
|
-
rejected: "rejected";
|
|
7158
7136
|
dependency: "dependency";
|
|
7159
7137
|
}>>;
|
|
7160
7138
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -7211,9 +7189,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
7211
7189
|
id: z.ZodString;
|
|
7212
7190
|
disposition: z.ZodOptional<z.ZodEnum<{
|
|
7213
7191
|
read: "read";
|
|
7192
|
+
rejected: "rejected";
|
|
7214
7193
|
unevaluated: "unevaluated";
|
|
7215
7194
|
adopted: "adopted";
|
|
7216
|
-
rejected: "rejected";
|
|
7217
7195
|
dependency: "dependency";
|
|
7218
7196
|
}>>;
|
|
7219
7197
|
sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7341,16 +7319,16 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
7341
7319
|
requestId: z.ZodString;
|
|
7342
7320
|
}, z.core.$strip>, z.ZodObject<{
|
|
7343
7321
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
7344
|
-
projectRoot: z.ZodOptional<z.ZodString>;
|
|
7345
7322
|
requestId: z.ZodString;
|
|
7323
|
+
projectRoot: z.ZodOptional<z.ZodString>;
|
|
7346
7324
|
personalityId: z.ZodString;
|
|
7347
7325
|
type: z.ZodLiteral<"profile.memory.list.request">;
|
|
7348
7326
|
}, z.core.$strip>, z.ZodObject<{
|
|
7349
7327
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
7350
7328
|
text: z.ZodOptional<z.ZodString>;
|
|
7329
|
+
requestId: z.ZodString;
|
|
7351
7330
|
scope: z.ZodOptional<z.ZodString>;
|
|
7352
7331
|
projectRoot: z.ZodOptional<z.ZodString>;
|
|
7353
|
-
requestId: z.ZodString;
|
|
7354
7332
|
personalityId: z.ZodString;
|
|
7355
7333
|
entryId: z.ZodOptional<z.ZodString>;
|
|
7356
7334
|
drop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7470,6 +7448,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
7470
7448
|
canonical: "canonical";
|
|
7471
7449
|
}>>;
|
|
7472
7450
|
mergeWindow: z.ZodOptional<z.ZodBoolean>;
|
|
7451
|
+
includePromptIndex: z.ZodOptional<z.ZodBoolean>;
|
|
7473
7452
|
}, z.core.$strip>, z.ZodObject<{
|
|
7474
7453
|
type: z.ZodLiteral<"agent.timeline.list_prompts.request">;
|
|
7475
7454
|
agentId: z.ZodString;
|
|
@@ -7570,6 +7549,10 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
7570
7549
|
subagent: "subagent";
|
|
7571
7550
|
in_session: "in_session";
|
|
7572
7551
|
}>;
|
|
7552
|
+
launch: z.ZodOptional<z.ZodObject<{
|
|
7553
|
+
provider: z.ZodString;
|
|
7554
|
+
model: z.ZodString;
|
|
7555
|
+
}, z.core.$strip>>;
|
|
7573
7556
|
requestId: z.ZodString;
|
|
7574
7557
|
}, z.core.$strip>, z.ZodObject<{
|
|
7575
7558
|
type: z.ZodLiteral<"tasks.suggested.dismiss.request">;
|
|
@@ -9282,8 +9265,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
9282
9265
|
}, z.core.$strip>, z.ZodObject<{
|
|
9283
9266
|
type: z.ZodLiteral<"client_heartbeat">;
|
|
9284
9267
|
deviceType: z.ZodEnum<{
|
|
9285
|
-
web: "web";
|
|
9286
9268
|
mobile: "mobile";
|
|
9269
|
+
web: "web";
|
|
9287
9270
|
}>;
|
|
9288
9271
|
focusedAgentId: z.ZodNullable<z.ZodString>;
|
|
9289
9272
|
focusedTerminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -9704,6 +9687,13 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
9704
9687
|
id: z.ZodString;
|
|
9705
9688
|
}, z.core.$strip>>;
|
|
9706
9689
|
sourcePath: z.ZodString;
|
|
9690
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
9691
|
+
workflow: "workflow";
|
|
9692
|
+
architecture: "architecture";
|
|
9693
|
+
sequence: "sequence";
|
|
9694
|
+
dataflow: "dataflow";
|
|
9695
|
+
lifecycle: "lifecycle";
|
|
9696
|
+
}>>;
|
|
9707
9697
|
quality: z.ZodOptional<z.ZodEnum<{
|
|
9708
9698
|
standard: "standard";
|
|
9709
9699
|
showcase: "showcase";
|
|
@@ -9739,6 +9729,13 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
9739
9729
|
id: z.ZodString;
|
|
9740
9730
|
}, z.core.$strip>>;
|
|
9741
9731
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
9732
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
9733
|
+
workflow: "workflow";
|
|
9734
|
+
architecture: "architecture";
|
|
9735
|
+
sequence: "sequence";
|
|
9736
|
+
dataflow: "dataflow";
|
|
9737
|
+
lifecycle: "lifecycle";
|
|
9738
|
+
}>>;
|
|
9742
9739
|
quality: z.ZodOptional<z.ZodEnum<{
|
|
9743
9740
|
standard: "standard";
|
|
9744
9741
|
showcase: "showcase";
|
|
@@ -9773,6 +9770,17 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
9773
9770
|
viewId: z.ZodString;
|
|
9774
9771
|
draftId: z.ZodString;
|
|
9775
9772
|
requestId: z.ZodString;
|
|
9773
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9774
|
+
type: z.ZodLiteral<"architectural-views.draft.list.request">;
|
|
9775
|
+
workspaceId: z.ZodString;
|
|
9776
|
+
knowledgeReference: z.ZodOptional<z.ZodObject<{
|
|
9777
|
+
kind: z.ZodEnum<{
|
|
9778
|
+
record: "record";
|
|
9779
|
+
root: "root";
|
|
9780
|
+
}>;
|
|
9781
|
+
id: z.ZodString;
|
|
9782
|
+
}, z.core.$strip>>;
|
|
9783
|
+
requestId: z.ZodString;
|
|
9776
9784
|
}, z.core.$strip>], "type">;
|
|
9777
9785
|
export type SessionInboundMessage = z.infer<typeof SessionInboundMessageSchema>;
|
|
9778
9786
|
export declare const ActivityLogPayloadSchema: z.ZodObject<{
|
|
@@ -9999,10 +10007,13 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
9999
10007
|
agentContextUsage: z.ZodOptional<z.ZodBoolean>;
|
|
10000
10008
|
artifacts: z.ZodOptional<z.ZodBoolean>;
|
|
10001
10009
|
architecturalViews: z.ZodOptional<z.ZodBoolean>;
|
|
10010
|
+
interactiveViewTypes: z.ZodOptional<z.ZodBoolean>;
|
|
10011
|
+
architecturalViewDraftDiscovery: z.ZodOptional<z.ZodBoolean>;
|
|
10002
10012
|
observedSubagents: z.ZodOptional<z.ZodBoolean>;
|
|
10003
10013
|
backgroundShellTasks: z.ZodOptional<z.ZodBoolean>;
|
|
10004
10014
|
retainedTranscripts: z.ZodOptional<z.ZodBoolean>;
|
|
10005
10015
|
suggestedTasks: z.ZodOptional<z.ZodBoolean>;
|
|
10016
|
+
suggestedTaskModelSelection: z.ZodOptional<z.ZodBoolean>;
|
|
10006
10017
|
steerQueue: z.ZodOptional<z.ZodBoolean>;
|
|
10007
10018
|
steerQueueReorder: z.ZodOptional<z.ZodBoolean>;
|
|
10008
10019
|
cumulativeUsage: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -10011,6 +10022,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
10011
10022
|
refine: z.ZodOptional<z.ZodBoolean>;
|
|
10012
10023
|
personalityMemory: z.ZodOptional<z.ZodBoolean>;
|
|
10013
10024
|
projectKnowledge: z.ZodOptional<z.ZodBoolean>;
|
|
10025
|
+
projectKnowledgeDeferredRootBodies: z.ZodOptional<z.ZodBoolean>;
|
|
10014
10026
|
projectKnowledgeRefinement: z.ZodOptional<z.ZodBoolean>;
|
|
10015
10027
|
projectKnowledgeReviewedRefinement: z.ZodOptional<z.ZodBoolean>;
|
|
10016
10028
|
projectKnowledgeAnchoredRefinement: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -10208,10 +10220,13 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
10208
10220
|
agentContextUsage?: boolean | undefined;
|
|
10209
10221
|
artifacts?: boolean | undefined;
|
|
10210
10222
|
architecturalViews?: boolean | undefined;
|
|
10223
|
+
interactiveViewTypes?: boolean | undefined;
|
|
10224
|
+
architecturalViewDraftDiscovery?: boolean | undefined;
|
|
10211
10225
|
observedSubagents?: boolean | undefined;
|
|
10212
10226
|
backgroundShellTasks?: boolean | undefined;
|
|
10213
10227
|
retainedTranscripts?: boolean | undefined;
|
|
10214
10228
|
suggestedTasks?: boolean | undefined;
|
|
10229
|
+
suggestedTaskModelSelection?: boolean | undefined;
|
|
10215
10230
|
steerQueue?: boolean | undefined;
|
|
10216
10231
|
steerQueueReorder?: boolean | undefined;
|
|
10217
10232
|
cumulativeUsage?: boolean | undefined;
|
|
@@ -10220,6 +10235,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
10220
10235
|
refine?: boolean | undefined;
|
|
10221
10236
|
personalityMemory?: boolean | undefined;
|
|
10222
10237
|
projectKnowledge?: boolean | undefined;
|
|
10238
|
+
projectKnowledgeDeferredRootBodies?: boolean | undefined;
|
|
10223
10239
|
projectKnowledgeRefinement?: boolean | undefined;
|
|
10224
10240
|
projectKnowledgeReviewedRefinement?: boolean | undefined;
|
|
10225
10241
|
projectKnowledgeAnchoredRefinement?: boolean | undefined;
|
|
@@ -10419,10 +10435,13 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
10419
10435
|
agentContextUsage?: boolean | undefined;
|
|
10420
10436
|
artifacts?: boolean | undefined;
|
|
10421
10437
|
architecturalViews?: boolean | undefined;
|
|
10438
|
+
interactiveViewTypes?: boolean | undefined;
|
|
10439
|
+
architecturalViewDraftDiscovery?: boolean | undefined;
|
|
10422
10440
|
observedSubagents?: boolean | undefined;
|
|
10423
10441
|
backgroundShellTasks?: boolean | undefined;
|
|
10424
10442
|
retainedTranscripts?: boolean | undefined;
|
|
10425
10443
|
suggestedTasks?: boolean | undefined;
|
|
10444
|
+
suggestedTaskModelSelection?: boolean | undefined;
|
|
10426
10445
|
steerQueue?: boolean | undefined;
|
|
10427
10446
|
steerQueueReorder?: boolean | undefined;
|
|
10428
10447
|
cumulativeUsage?: boolean | undefined;
|
|
@@ -10431,6 +10450,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
10431
10450
|
refine?: boolean | undefined;
|
|
10432
10451
|
personalityMemory?: boolean | undefined;
|
|
10433
10452
|
projectKnowledge?: boolean | undefined;
|
|
10453
|
+
projectKnowledgeDeferredRootBodies?: boolean | undefined;
|
|
10434
10454
|
projectKnowledgeRefinement?: boolean | undefined;
|
|
10435
10455
|
projectKnowledgeReviewedRefinement?: boolean | undefined;
|
|
10436
10456
|
projectKnowledgeAnchoredRefinement?: boolean | undefined;
|
|
@@ -10994,7 +11014,7 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
|
|
|
10994
11014
|
modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10995
11015
|
provider: z.ZodString;
|
|
10996
11016
|
modelId: z.ZodString;
|
|
10997
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
11017
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
10998
11018
|
}, z.core.$loose>>>;
|
|
10999
11019
|
modelVisibilityOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
11000
11020
|
provider: z.ZodString;
|
|
@@ -11301,8 +11321,8 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
11301
11321
|
endColumn: z.ZodNumber;
|
|
11302
11322
|
severity: z.ZodEnum<{
|
|
11303
11323
|
error: "error";
|
|
11304
|
-
info: "info";
|
|
11305
11324
|
warning: "warning";
|
|
11325
|
+
info: "info";
|
|
11306
11326
|
hint: "hint";
|
|
11307
11327
|
}>;
|
|
11308
11328
|
message: z.ZodString;
|
|
@@ -11730,7 +11750,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
11730
11750
|
modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
11731
11751
|
provider: z.ZodString;
|
|
11732
11752
|
modelId: z.ZodString;
|
|
11733
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
11753
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
11734
11754
|
}, z.core.$loose>>>;
|
|
11735
11755
|
modelVisibilityOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
11736
11756
|
provider: z.ZodString;
|
|
@@ -11942,8 +11962,8 @@ export declare const ArtifactMessageSchema: z.ZodObject<{
|
|
|
11942
11962
|
type: z.ZodLiteral<"artifact">;
|
|
11943
11963
|
payload: z.ZodObject<{
|
|
11944
11964
|
type: z.ZodEnum<{
|
|
11945
|
-
image: "image";
|
|
11946
11965
|
code: "code";
|
|
11966
|
+
image: "image";
|
|
11947
11967
|
markdown: "markdown";
|
|
11948
11968
|
diff: "diff";
|
|
11949
11969
|
}>;
|
|
@@ -12305,8 +12325,8 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
12305
12325
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12306
12326
|
status: z.ZodEnum<{
|
|
12307
12327
|
running: "running";
|
|
12308
|
-
done: "done";
|
|
12309
12328
|
failed: "failed";
|
|
12329
|
+
done: "done";
|
|
12310
12330
|
attention: "attention";
|
|
12311
12331
|
needs_input: "needs_input";
|
|
12312
12332
|
}>;
|
|
@@ -12501,7 +12521,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
12501
12521
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
12502
12522
|
name: string;
|
|
12503
12523
|
archivingAt: string | null;
|
|
12504
|
-
status: "running" | "
|
|
12524
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
12505
12525
|
statusEnteredAt: string | null;
|
|
12506
12526
|
activityAt: string | null;
|
|
12507
12527
|
scripts: {
|
|
@@ -12628,7 +12648,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
12628
12648
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
12629
12649
|
name: string;
|
|
12630
12650
|
archivingAt: string | null;
|
|
12631
|
-
status: "running" | "
|
|
12651
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
12632
12652
|
statusEnteredAt: string | null;
|
|
12633
12653
|
activityAt: string | null;
|
|
12634
12654
|
scripts: {
|
|
@@ -13076,9 +13096,9 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
13076
13096
|
provider: z.ZodString;
|
|
13077
13097
|
info: z.ZodObject<{
|
|
13078
13098
|
status: z.ZodEnum<{
|
|
13099
|
+
allowed: "allowed";
|
|
13079
13100
|
warning: "warning";
|
|
13080
13101
|
rejected: "rejected";
|
|
13081
|
-
allowed: "allowed";
|
|
13082
13102
|
}>;
|
|
13083
13103
|
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
13084
13104
|
limitType: z.ZodOptional<z.ZodString>;
|
|
@@ -13884,8 +13904,8 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
|
|
|
13884
13904
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13885
13905
|
status: z.ZodEnum<{
|
|
13886
13906
|
running: "running";
|
|
13887
|
-
done: "done";
|
|
13888
13907
|
failed: "failed";
|
|
13908
|
+
done: "done";
|
|
13889
13909
|
attention: "attention";
|
|
13890
13910
|
needs_input: "needs_input";
|
|
13891
13911
|
}>;
|
|
@@ -14080,7 +14100,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
|
|
|
14080
14100
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
14081
14101
|
name: string;
|
|
14082
14102
|
archivingAt: string | null;
|
|
14083
|
-
status: "running" | "
|
|
14103
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
14084
14104
|
statusEnteredAt: string | null;
|
|
14085
14105
|
activityAt: string | null;
|
|
14086
14106
|
scripts: {
|
|
@@ -14207,7 +14227,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
|
|
|
14207
14227
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
14208
14228
|
name: string;
|
|
14209
14229
|
archivingAt: string | null;
|
|
14210
|
-
status: "running" | "
|
|
14230
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
14211
14231
|
statusEnteredAt: string | null;
|
|
14212
14232
|
activityAt: string | null;
|
|
14213
14233
|
scripts: {
|
|
@@ -14426,8 +14446,8 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
|
|
|
14426
14446
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
14427
14447
|
status: z.ZodEnum<{
|
|
14428
14448
|
running: "running";
|
|
14429
|
-
done: "done";
|
|
14430
14449
|
failed: "failed";
|
|
14450
|
+
done: "done";
|
|
14431
14451
|
attention: "attention";
|
|
14432
14452
|
needs_input: "needs_input";
|
|
14433
14453
|
}>;
|
|
@@ -14622,7 +14642,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
|
|
|
14622
14642
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
14623
14643
|
name: string;
|
|
14624
14644
|
archivingAt: string | null;
|
|
14625
|
-
status: "running" | "
|
|
14645
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
14626
14646
|
statusEnteredAt: string | null;
|
|
14627
14647
|
activityAt: string | null;
|
|
14628
14648
|
scripts: {
|
|
@@ -14749,7 +14769,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
|
|
|
14749
14769
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
14750
14770
|
name: string;
|
|
14751
14771
|
archivingAt: string | null;
|
|
14752
|
-
status: "running" | "
|
|
14772
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
14753
14773
|
statusEnteredAt: string | null;
|
|
14754
14774
|
activityAt: string | null;
|
|
14755
14775
|
scripts: {
|
|
@@ -15230,8 +15250,8 @@ export declare const WorkspaceSetupProgressMessageSchema: z.ZodObject<{
|
|
|
15230
15250
|
workspaceId: z.ZodString;
|
|
15231
15251
|
status: z.ZodEnum<{
|
|
15232
15252
|
running: "running";
|
|
15233
|
-
completed: "completed";
|
|
15234
15253
|
failed: "failed";
|
|
15254
|
+
completed: "completed";
|
|
15235
15255
|
}>;
|
|
15236
15256
|
detail: z.ZodObject<{
|
|
15237
15257
|
type: z.ZodLiteral<"worktree_setup">;
|
|
@@ -15245,8 +15265,8 @@ export declare const WorkspaceSetupProgressMessageSchema: z.ZodObject<{
|
|
|
15245
15265
|
log: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15246
15266
|
status: z.ZodEnum<{
|
|
15247
15267
|
running: "running";
|
|
15248
|
-
completed: "completed";
|
|
15249
15268
|
failed: "failed";
|
|
15269
|
+
completed: "completed";
|
|
15250
15270
|
}>;
|
|
15251
15271
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
15252
15272
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15259,8 +15279,8 @@ export declare const WorkspaceSetupProgressMessageSchema: z.ZodObject<{
|
|
|
15259
15279
|
export declare const WorkspaceSetupSnapshotSchema: z.ZodObject<{
|
|
15260
15280
|
status: z.ZodEnum<{
|
|
15261
15281
|
running: "running";
|
|
15262
|
-
completed: "completed";
|
|
15263
15282
|
failed: "failed";
|
|
15283
|
+
completed: "completed";
|
|
15264
15284
|
}>;
|
|
15265
15285
|
detail: z.ZodObject<{
|
|
15266
15286
|
type: z.ZodLiteral<"worktree_setup">;
|
|
@@ -15274,8 +15294,8 @@ export declare const WorkspaceSetupSnapshotSchema: z.ZodObject<{
|
|
|
15274
15294
|
log: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15275
15295
|
status: z.ZodEnum<{
|
|
15276
15296
|
running: "running";
|
|
15277
|
-
completed: "completed";
|
|
15278
15297
|
failed: "failed";
|
|
15298
|
+
completed: "completed";
|
|
15279
15299
|
}>;
|
|
15280
15300
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
15281
15301
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15292,8 +15312,8 @@ export declare const WorkspaceSetupStatusResponseMessageSchema: z.ZodObject<{
|
|
|
15292
15312
|
snapshot: z.ZodNullable<z.ZodObject<{
|
|
15293
15313
|
status: z.ZodEnum<{
|
|
15294
15314
|
running: "running";
|
|
15295
|
-
completed: "completed";
|
|
15296
15315
|
failed: "failed";
|
|
15316
|
+
completed: "completed";
|
|
15297
15317
|
}>;
|
|
15298
15318
|
detail: z.ZodObject<{
|
|
15299
15319
|
type: z.ZodLiteral<"worktree_setup">;
|
|
@@ -15307,8 +15327,8 @@ export declare const WorkspaceSetupStatusResponseMessageSchema: z.ZodObject<{
|
|
|
15307
15327
|
log: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15308
15328
|
status: z.ZodEnum<{
|
|
15309
15329
|
running: "running";
|
|
15310
|
-
completed: "completed";
|
|
15311
15330
|
failed: "failed";
|
|
15331
|
+
completed: "completed";
|
|
15312
15332
|
}>;
|
|
15313
15333
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
15314
15334
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15358,8 +15378,8 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
|
|
|
15358
15378
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15359
15379
|
status: z.ZodEnum<{
|
|
15360
15380
|
running: "running";
|
|
15361
|
-
done: "done";
|
|
15362
15381
|
failed: "failed";
|
|
15382
|
+
done: "done";
|
|
15363
15383
|
attention: "attention";
|
|
15364
15384
|
needs_input: "needs_input";
|
|
15365
15385
|
}>;
|
|
@@ -15554,7 +15574,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
|
|
|
15554
15574
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
15555
15575
|
name: string;
|
|
15556
15576
|
archivingAt: string | null;
|
|
15557
|
-
status: "running" | "
|
|
15577
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
15558
15578
|
statusEnteredAt: string | null;
|
|
15559
15579
|
activityAt: string | null;
|
|
15560
15580
|
scripts: {
|
|
@@ -15681,7 +15701,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
|
|
|
15681
15701
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
15682
15702
|
name: string;
|
|
15683
15703
|
archivingAt: string | null;
|
|
15684
|
-
status: "running" | "
|
|
15704
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
15685
15705
|
statusEnteredAt: string | null;
|
|
15686
15706
|
activityAt: string | null;
|
|
15687
15707
|
scripts: {
|
|
@@ -15909,8 +15929,8 @@ export declare const ProjectScaffoldResponseSchema: z.ZodObject<{
|
|
|
15909
15929
|
id: z.ZodString;
|
|
15910
15930
|
status: z.ZodEnum<{
|
|
15911
15931
|
running: "running";
|
|
15912
|
-
done: "done";
|
|
15913
15932
|
failed: "failed";
|
|
15933
|
+
done: "done";
|
|
15914
15934
|
skipped: "skipped";
|
|
15915
15935
|
}>;
|
|
15916
15936
|
detail: z.ZodNullable<z.ZodString>;
|
|
@@ -15924,8 +15944,8 @@ export declare const ProjectScaffoldProgressSchema: z.ZodObject<{
|
|
|
15924
15944
|
step: z.ZodString;
|
|
15925
15945
|
status: z.ZodEnum<{
|
|
15926
15946
|
running: "running";
|
|
15927
|
-
done: "done";
|
|
15928
15947
|
failed: "failed";
|
|
15948
|
+
done: "done";
|
|
15929
15949
|
skipped: "skipped";
|
|
15930
15950
|
}>;
|
|
15931
15951
|
detail: z.ZodNullable<z.ZodString>;
|
|
@@ -16407,8 +16427,8 @@ export declare const WorktreeReattachResponseSchema: z.ZodObject<{
|
|
|
16407
16427
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
16408
16428
|
status: z.ZodEnum<{
|
|
16409
16429
|
running: "running";
|
|
16410
|
-
done: "done";
|
|
16411
16430
|
failed: "failed";
|
|
16431
|
+
done: "done";
|
|
16412
16432
|
attention: "attention";
|
|
16413
16433
|
needs_input: "needs_input";
|
|
16414
16434
|
}>;
|
|
@@ -16603,7 +16623,7 @@ export declare const WorktreeReattachResponseSchema: z.ZodObject<{
|
|
|
16603
16623
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
16604
16624
|
name: string;
|
|
16605
16625
|
archivingAt: string | null;
|
|
16606
|
-
status: "running" | "
|
|
16626
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
16607
16627
|
statusEnteredAt: string | null;
|
|
16608
16628
|
activityAt: string | null;
|
|
16609
16629
|
scripts: {
|
|
@@ -16730,7 +16750,7 @@ export declare const WorktreeReattachResponseSchema: z.ZodObject<{
|
|
|
16730
16750
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
16731
16751
|
name: string;
|
|
16732
16752
|
archivingAt: string | null;
|
|
16733
|
-
status: "running" | "
|
|
16753
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
16734
16754
|
statusEnteredAt: string | null;
|
|
16735
16755
|
activityAt: string | null;
|
|
16736
16756
|
scripts: {
|
|
@@ -17065,6 +17085,14 @@ export declare const AgentTimelineEntryPayloadSchema: z.ZodObject<{
|
|
|
17065
17085
|
tool_lifecycle: "tool_lifecycle";
|
|
17066
17086
|
}>>;
|
|
17067
17087
|
}, z.core.$strip>;
|
|
17088
|
+
export declare const AgentTimelinePromptIndexSchema: z.ZodObject<{
|
|
17089
|
+
epoch: z.ZodString;
|
|
17090
|
+
prompts: z.ZodArray<z.ZodObject<{
|
|
17091
|
+
seq: z.ZodNumber;
|
|
17092
|
+
timestamp: z.ZodString;
|
|
17093
|
+
preview: z.ZodString;
|
|
17094
|
+
}, z.core.$strip>>;
|
|
17095
|
+
}, z.core.$strip>;
|
|
17068
17096
|
export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
|
|
17069
17097
|
type: z.ZodLiteral<"fetch_agent_timeline_response">;
|
|
17070
17098
|
payload: z.ZodObject<{
|
|
@@ -17209,6 +17237,14 @@ export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
|
|
|
17209
17237
|
hasOlder: z.ZodBoolean;
|
|
17210
17238
|
hasNewer: z.ZodBoolean;
|
|
17211
17239
|
mergeWindow: z.ZodOptional<z.ZodBoolean>;
|
|
17240
|
+
promptIndex: z.ZodOptional<z.ZodObject<{
|
|
17241
|
+
epoch: z.ZodString;
|
|
17242
|
+
prompts: z.ZodArray<z.ZodObject<{
|
|
17243
|
+
seq: z.ZodNumber;
|
|
17244
|
+
timestamp: z.ZodString;
|
|
17245
|
+
preview: z.ZodString;
|
|
17246
|
+
}, z.core.$strip>>;
|
|
17247
|
+
}, z.core.$strip>>;
|
|
17212
17248
|
entries: z.ZodArray<z.ZodObject<{
|
|
17213
17249
|
provider: z.ZodString;
|
|
17214
17250
|
item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
|
|
@@ -17232,15 +17268,15 @@ export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
|
|
|
17232
17268
|
export declare const AgentTimelineListPromptsResponseMessageSchema: z.ZodObject<{
|
|
17233
17269
|
type: z.ZodLiteral<"agent.timeline.list_prompts.response">;
|
|
17234
17270
|
payload: z.ZodObject<{
|
|
17235
|
-
|
|
17236
|
-
agentId: z.ZodString;
|
|
17271
|
+
error: z.ZodNullable<z.ZodString>;
|
|
17237
17272
|
epoch: z.ZodString;
|
|
17238
17273
|
prompts: z.ZodArray<z.ZodObject<{
|
|
17239
17274
|
seq: z.ZodNumber;
|
|
17240
17275
|
timestamp: z.ZodString;
|
|
17241
17276
|
preview: z.ZodString;
|
|
17242
17277
|
}, z.core.$strip>>;
|
|
17243
|
-
|
|
17278
|
+
requestId: z.ZodString;
|
|
17279
|
+
agentId: z.ZodString;
|
|
17244
17280
|
}, z.core.$strip>;
|
|
17245
17281
|
}, z.core.$strip>;
|
|
17246
17282
|
export declare const ProviderSubagentDescriptorPayloadSchema: z.ZodObject<{
|
|
@@ -17251,8 +17287,8 @@ export declare const ProviderSubagentDescriptorPayloadSchema: z.ZodObject<{
|
|
|
17251
17287
|
description: z.ZodNullable<z.ZodString>;
|
|
17252
17288
|
status: z.ZodEnum<{
|
|
17253
17289
|
running: "running";
|
|
17254
|
-
completed: "completed";
|
|
17255
17290
|
failed: "failed";
|
|
17291
|
+
completed: "completed";
|
|
17256
17292
|
canceled: "canceled";
|
|
17257
17293
|
}>;
|
|
17258
17294
|
createdAt: z.ZodString;
|
|
@@ -17275,8 +17311,8 @@ export declare const ProviderSubagentListResponseMessageSchema: z.ZodObject<{
|
|
|
17275
17311
|
description: z.ZodNullable<z.ZodString>;
|
|
17276
17312
|
status: z.ZodEnum<{
|
|
17277
17313
|
running: "running";
|
|
17278
|
-
completed: "completed";
|
|
17279
17314
|
failed: "failed";
|
|
17315
|
+
completed: "completed";
|
|
17280
17316
|
canceled: "canceled";
|
|
17281
17317
|
}>;
|
|
17282
17318
|
createdAt: z.ZodString;
|
|
@@ -17331,8 +17367,8 @@ export declare const ProviderSubagentUpdateMessageSchema: z.ZodObject<{
|
|
|
17331
17367
|
description: z.ZodNullable<z.ZodString>;
|
|
17332
17368
|
status: z.ZodEnum<{
|
|
17333
17369
|
running: "running";
|
|
17334
|
-
completed: "completed";
|
|
17335
17370
|
failed: "failed";
|
|
17371
|
+
completed: "completed";
|
|
17336
17372
|
canceled: "canceled";
|
|
17337
17373
|
}>;
|
|
17338
17374
|
createdAt: z.ZodString;
|
|
@@ -17724,8 +17760,8 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
|
|
|
17724
17760
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17725
17761
|
status: z.ZodEnum<{
|
|
17726
17762
|
running: "running";
|
|
17727
|
-
done: "done";
|
|
17728
17763
|
failed: "failed";
|
|
17764
|
+
done: "done";
|
|
17729
17765
|
attention: "attention";
|
|
17730
17766
|
needs_input: "needs_input";
|
|
17731
17767
|
}>;
|
|
@@ -17920,7 +17956,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
|
|
|
17920
17956
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
17921
17957
|
name: string;
|
|
17922
17958
|
archivingAt: string | null;
|
|
17923
|
-
status: "running" | "
|
|
17959
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
17924
17960
|
statusEnteredAt: string | null;
|
|
17925
17961
|
activityAt: string | null;
|
|
17926
17962
|
scripts: {
|
|
@@ -18047,7 +18083,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
|
|
|
18047
18083
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
18048
18084
|
name: string;
|
|
18049
18085
|
archivingAt: string | null;
|
|
18050
|
-
status: "running" | "
|
|
18086
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
18051
18087
|
statusEnteredAt: string | null;
|
|
18052
18088
|
activityAt: string | null;
|
|
18053
18089
|
scripts: {
|
|
@@ -18497,7 +18533,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
18497
18533
|
modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
18498
18534
|
provider: z.ZodString;
|
|
18499
18535
|
modelId: z.ZodString;
|
|
18500
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
18536
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
18501
18537
|
}, z.core.$loose>>>;
|
|
18502
18538
|
modelVisibilityOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
18503
18539
|
provider: z.ZodString;
|
|
@@ -19003,7 +19039,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
19003
19039
|
modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
19004
19040
|
provider: z.ZodString;
|
|
19005
19041
|
modelId: z.ZodString;
|
|
19006
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
19042
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
19007
19043
|
}, z.core.$loose>>>;
|
|
19008
19044
|
modelVisibilityOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
19009
19045
|
provider: z.ZodString;
|
|
@@ -21101,8 +21137,8 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
|
|
|
21101
21137
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
21102
21138
|
status: z.ZodEnum<{
|
|
21103
21139
|
running: "running";
|
|
21104
|
-
done: "done";
|
|
21105
21140
|
failed: "failed";
|
|
21141
|
+
done: "done";
|
|
21106
21142
|
attention: "attention";
|
|
21107
21143
|
needs_input: "needs_input";
|
|
21108
21144
|
}>;
|
|
@@ -21297,7 +21333,7 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
|
|
|
21297
21333
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
21298
21334
|
name: string;
|
|
21299
21335
|
archivingAt: string | null;
|
|
21300
|
-
status: "running" | "
|
|
21336
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
21301
21337
|
statusEnteredAt: string | null;
|
|
21302
21338
|
activityAt: string | null;
|
|
21303
21339
|
scripts: {
|
|
@@ -21424,7 +21460,7 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
|
|
|
21424
21460
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
21425
21461
|
name: string;
|
|
21426
21462
|
archivingAt: string | null;
|
|
21427
|
-
status: "running" | "
|
|
21463
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
21428
21464
|
statusEnteredAt: string | null;
|
|
21429
21465
|
activityAt: string | null;
|
|
21430
21466
|
scripts: {
|
|
@@ -21918,7 +21954,7 @@ export declare const ListProviderModelsResponseMessageSchema: z.ZodObject<{
|
|
|
21918
21954
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
21919
21955
|
}, z.core.$strip>>>;
|
|
21920
21956
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
21921
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
21957
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
21922
21958
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
21923
21959
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
21924
21960
|
}, z.core.$strip>>>;
|
|
@@ -22017,7 +22053,7 @@ export declare const GetProvidersSnapshotResponseMessageSchema: z.ZodObject<{
|
|
|
22017
22053
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22018
22054
|
}, z.core.$strip>>>;
|
|
22019
22055
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
22020
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
22056
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
22021
22057
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
22022
22058
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
22023
22059
|
}, z.core.$strip>>>;
|
|
@@ -22032,13 +22068,13 @@ export declare const GetProvidersSnapshotResponseMessageSchema: z.ZodObject<{
|
|
|
22032
22068
|
error: z.ZodOptional<z.ZodString>;
|
|
22033
22069
|
description: z.ZodOptional<z.ZodString>;
|
|
22034
22070
|
label: z.ZodOptional<z.ZodString>;
|
|
22071
|
+
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
22035
22072
|
source: z.ZodOptional<z.ZodEnum<{
|
|
22036
22073
|
custom: "custom";
|
|
22037
22074
|
builtin: "builtin";
|
|
22038
22075
|
}>>;
|
|
22039
22076
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
22040
22077
|
provider: z.ZodString;
|
|
22041
|
-
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
22042
22078
|
defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22043
22079
|
modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
|
|
22044
22080
|
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -22049,7 +22085,7 @@ export declare const GetProvidersSnapshotResponseMessageSchema: z.ZodObject<{
|
|
|
22049
22085
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22050
22086
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
22051
22087
|
family: z.ZodOptional<z.ZodString>;
|
|
22052
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
22088
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
22053
22089
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22054
22090
|
isSelectable: z.ZodOptional<z.ZodBoolean>;
|
|
22055
22091
|
contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -22110,7 +22146,7 @@ export declare const ProvidersSnapshotUpdateMessageSchema: z.ZodObject<{
|
|
|
22110
22146
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22111
22147
|
}, z.core.$strip>>>;
|
|
22112
22148
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
22113
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
22149
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
22114
22150
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
22115
22151
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
22116
22152
|
}, z.core.$strip>>>;
|
|
@@ -22125,13 +22161,13 @@ export declare const ProvidersSnapshotUpdateMessageSchema: z.ZodObject<{
|
|
|
22125
22161
|
error: z.ZodOptional<z.ZodString>;
|
|
22126
22162
|
description: z.ZodOptional<z.ZodString>;
|
|
22127
22163
|
label: z.ZodOptional<z.ZodString>;
|
|
22164
|
+
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
22128
22165
|
source: z.ZodOptional<z.ZodEnum<{
|
|
22129
22166
|
custom: "custom";
|
|
22130
22167
|
builtin: "builtin";
|
|
22131
22168
|
}>>;
|
|
22132
22169
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
22133
22170
|
provider: z.ZodString;
|
|
22134
|
-
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
22135
22171
|
defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22136
22172
|
modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
|
|
22137
22173
|
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -22142,7 +22178,7 @@ export declare const ProvidersSnapshotUpdateMessageSchema: z.ZodObject<{
|
|
|
22142
22178
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22143
22179
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
22144
22180
|
family: z.ZodOptional<z.ZodString>;
|
|
22145
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
22181
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
22146
22182
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22147
22183
|
isSelectable: z.ZodOptional<z.ZodBoolean>;
|
|
22148
22184
|
contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -22184,9 +22220,9 @@ export declare const ProviderDiagnosticResponseMessageSchema: z.ZodObject<{
|
|
|
22184
22220
|
}, z.core.$strip>;
|
|
22185
22221
|
}, z.core.$strip>;
|
|
22186
22222
|
export declare const ProviderUsageToneSchema: z.ZodEnum<{
|
|
22223
|
+
warning: "warning";
|
|
22187
22224
|
default: "default";
|
|
22188
22225
|
ok: "ok";
|
|
22189
|
-
warning: "warning";
|
|
22190
22226
|
danger: "danger";
|
|
22191
22227
|
}>;
|
|
22192
22228
|
export declare const ProviderUsageStatusSchema: z.ZodEnum<{
|
|
@@ -22203,9 +22239,9 @@ export declare const ProviderUsageWindowSchema: z.ZodObject<{
|
|
|
22203
22239
|
runsOutAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22204
22240
|
shortfallPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22205
22241
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
22242
|
+
warning: "warning";
|
|
22206
22243
|
default: "default";
|
|
22207
22244
|
ok: "ok";
|
|
22208
|
-
warning: "warning";
|
|
22209
22245
|
danger: "danger";
|
|
22210
22246
|
}>>;
|
|
22211
22247
|
}, z.core.$strip>;
|
|
@@ -22216,16 +22252,16 @@ export declare const ProviderUsageBalanceSchema: z.ZodObject<{
|
|
|
22216
22252
|
remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22217
22253
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22218
22254
|
unit: z.ZodEnum<{
|
|
22219
|
-
tokens: "tokens";
|
|
22220
22255
|
requests: "requests";
|
|
22256
|
+
tokens: "tokens";
|
|
22221
22257
|
usd: "usd";
|
|
22222
22258
|
credits: "credits";
|
|
22223
22259
|
}>;
|
|
22224
22260
|
resetsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22225
22261
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
22262
|
+
warning: "warning";
|
|
22226
22263
|
default: "default";
|
|
22227
22264
|
ok: "ok";
|
|
22228
|
-
warning: "warning";
|
|
22229
22265
|
danger: "danger";
|
|
22230
22266
|
}>>;
|
|
22231
22267
|
}, z.core.$strip>;
|
|
@@ -22234,9 +22270,9 @@ export declare const ProviderUsageDetailSchema: z.ZodObject<{
|
|
|
22234
22270
|
label: z.ZodString;
|
|
22235
22271
|
value: z.ZodString;
|
|
22236
22272
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
22273
|
+
warning: "warning";
|
|
22237
22274
|
default: "default";
|
|
22238
22275
|
ok: "ok";
|
|
22239
|
-
warning: "warning";
|
|
22240
22276
|
danger: "danger";
|
|
22241
22277
|
}>>;
|
|
22242
22278
|
}, z.core.$strip>;
|
|
@@ -22261,9 +22297,9 @@ export declare const ProviderUsageSchema: z.ZodObject<{
|
|
|
22261
22297
|
runsOutAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22262
22298
|
shortfallPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22263
22299
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
22300
|
+
warning: "warning";
|
|
22264
22301
|
default: "default";
|
|
22265
22302
|
ok: "ok";
|
|
22266
|
-
warning: "warning";
|
|
22267
22303
|
danger: "danger";
|
|
22268
22304
|
}>>;
|
|
22269
22305
|
}, z.core.$strip>>;
|
|
@@ -22274,16 +22310,16 @@ export declare const ProviderUsageSchema: z.ZodObject<{
|
|
|
22274
22310
|
remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22275
22311
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22276
22312
|
unit: z.ZodEnum<{
|
|
22277
|
-
tokens: "tokens";
|
|
22278
22313
|
requests: "requests";
|
|
22314
|
+
tokens: "tokens";
|
|
22279
22315
|
usd: "usd";
|
|
22280
22316
|
credits: "credits";
|
|
22281
22317
|
}>;
|
|
22282
22318
|
resetsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22283
22319
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
22320
|
+
warning: "warning";
|
|
22284
22321
|
default: "default";
|
|
22285
22322
|
ok: "ok";
|
|
22286
|
-
warning: "warning";
|
|
22287
22323
|
danger: "danger";
|
|
22288
22324
|
}>>;
|
|
22289
22325
|
}, z.core.$strip>>>;
|
|
@@ -22292,9 +22328,9 @@ export declare const ProviderUsageSchema: z.ZodObject<{
|
|
|
22292
22328
|
label: z.ZodString;
|
|
22293
22329
|
value: z.ZodString;
|
|
22294
22330
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
22331
|
+
warning: "warning";
|
|
22295
22332
|
default: "default";
|
|
22296
22333
|
ok: "ok";
|
|
22297
|
-
warning: "warning";
|
|
22298
22334
|
danger: "danger";
|
|
22299
22335
|
}>>;
|
|
22300
22336
|
}, z.core.$strip>>>;
|
|
@@ -22326,9 +22362,9 @@ export declare const ProviderUsageListResponseMessageSchema: z.ZodObject<{
|
|
|
22326
22362
|
runsOutAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22327
22363
|
shortfallPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22328
22364
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
22365
|
+
warning: "warning";
|
|
22329
22366
|
default: "default";
|
|
22330
22367
|
ok: "ok";
|
|
22331
|
-
warning: "warning";
|
|
22332
22368
|
danger: "danger";
|
|
22333
22369
|
}>>;
|
|
22334
22370
|
}, z.core.$strip>>;
|
|
@@ -22339,16 +22375,16 @@ export declare const ProviderUsageListResponseMessageSchema: z.ZodObject<{
|
|
|
22339
22375
|
remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22340
22376
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22341
22377
|
unit: z.ZodEnum<{
|
|
22342
|
-
tokens: "tokens";
|
|
22343
22378
|
requests: "requests";
|
|
22379
|
+
tokens: "tokens";
|
|
22344
22380
|
usd: "usd";
|
|
22345
22381
|
credits: "credits";
|
|
22346
22382
|
}>;
|
|
22347
22383
|
resetsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22348
22384
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
22385
|
+
warning: "warning";
|
|
22349
22386
|
default: "default";
|
|
22350
22387
|
ok: "ok";
|
|
22351
|
-
warning: "warning";
|
|
22352
22388
|
danger: "danger";
|
|
22353
22389
|
}>>;
|
|
22354
22390
|
}, z.core.$strip>>>;
|
|
@@ -22357,9 +22393,9 @@ export declare const ProviderUsageListResponseMessageSchema: z.ZodObject<{
|
|
|
22357
22393
|
label: z.ZodString;
|
|
22358
22394
|
value: z.ZodString;
|
|
22359
22395
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
22396
|
+
warning: "warning";
|
|
22360
22397
|
default: "default";
|
|
22361
22398
|
ok: "ok";
|
|
22362
|
-
warning: "warning";
|
|
22363
22399
|
danger: "danger";
|
|
22364
22400
|
}>>;
|
|
22365
22401
|
}, z.core.$strip>>>;
|
|
@@ -22620,8 +22656,8 @@ export declare const DaemonUpdateProgressMessageSchema: z.ZodObject<{
|
|
|
22620
22656
|
payload: z.ZodObject<{
|
|
22621
22657
|
requestId: z.ZodString;
|
|
22622
22658
|
phase: z.ZodEnum<{
|
|
22623
|
-
complete: "complete";
|
|
22624
22659
|
starting: "starting";
|
|
22660
|
+
complete: "complete";
|
|
22625
22661
|
downloading: "downloading";
|
|
22626
22662
|
installing: "installing";
|
|
22627
22663
|
}>;
|
|
@@ -22987,9 +23023,9 @@ export declare const HubExecutionAgentStreamSchema: z.ZodObject<{
|
|
|
22987
23023
|
provider: z.ZodString;
|
|
22988
23024
|
info: z.ZodObject<{
|
|
22989
23025
|
status: z.ZodEnum<{
|
|
23026
|
+
allowed: "allowed";
|
|
22990
23027
|
warning: "warning";
|
|
22991
23028
|
rejected: "rejected";
|
|
22992
|
-
allowed: "allowed";
|
|
22993
23029
|
}>;
|
|
22994
23030
|
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
22995
23031
|
limitType: z.ZodOptional<z.ZodString>;
|
|
@@ -23355,9 +23391,9 @@ export declare const HubExecutionOutboundMessageSchema: z.ZodDiscriminatedUnion<
|
|
|
23355
23391
|
provider: z.ZodString;
|
|
23356
23392
|
info: z.ZodObject<{
|
|
23357
23393
|
status: z.ZodEnum<{
|
|
23394
|
+
allowed: "allowed";
|
|
23358
23395
|
warning: "warning";
|
|
23359
23396
|
rejected: "rejected";
|
|
23360
|
-
allowed: "allowed";
|
|
23361
23397
|
}>;
|
|
23362
23398
|
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
23363
23399
|
limitType: z.ZodOptional<z.ZodString>;
|
|
@@ -24015,9 +24051,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
24015
24051
|
provider: z.ZodString;
|
|
24016
24052
|
info: z.ZodObject<{
|
|
24017
24053
|
status: z.ZodEnum<{
|
|
24054
|
+
allowed: "allowed";
|
|
24018
24055
|
warning: "warning";
|
|
24019
24056
|
rejected: "rejected";
|
|
24020
|
-
allowed: "allowed";
|
|
24021
24057
|
}>;
|
|
24022
24058
|
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
24023
24059
|
limitType: z.ZodOptional<z.ZodString>;
|
|
@@ -24181,8 +24217,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
24181
24217
|
args: z.ZodObject<{
|
|
24182
24218
|
browserId: z.ZodString;
|
|
24183
24219
|
filter: z.ZodDefault<z.ZodEnum<{
|
|
24184
|
-
failed: "failed";
|
|
24185
24220
|
all: "all";
|
|
24221
|
+
failed: "failed";
|
|
24186
24222
|
}>>;
|
|
24187
24223
|
requestId: z.ZodOptional<z.ZodString>;
|
|
24188
24224
|
}, z.core.$strict>;
|
|
@@ -24222,9 +24258,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
24222
24258
|
args: z.ZodObject<{
|
|
24223
24259
|
browserId: z.ZodString;
|
|
24224
24260
|
colorScheme: z.ZodEnum<{
|
|
24225
|
-
auto: "auto";
|
|
24226
24261
|
light: "light";
|
|
24227
24262
|
dark: "dark";
|
|
24263
|
+
auto: "auto";
|
|
24228
24264
|
}>;
|
|
24229
24265
|
}, z.core.$strict>;
|
|
24230
24266
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -24597,8 +24633,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
24597
24633
|
type: z.ZodLiteral<"artifact">;
|
|
24598
24634
|
payload: z.ZodObject<{
|
|
24599
24635
|
type: z.ZodEnum<{
|
|
24600
|
-
image: "image";
|
|
24601
24636
|
code: "code";
|
|
24637
|
+
image: "image";
|
|
24602
24638
|
markdown: "markdown";
|
|
24603
24639
|
diff: "diff";
|
|
24604
24640
|
}>;
|
|
@@ -24896,8 +24932,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
24896
24932
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
24897
24933
|
status: z.ZodEnum<{
|
|
24898
24934
|
running: "running";
|
|
24899
|
-
done: "done";
|
|
24900
24935
|
failed: "failed";
|
|
24936
|
+
done: "done";
|
|
24901
24937
|
attention: "attention";
|
|
24902
24938
|
needs_input: "needs_input";
|
|
24903
24939
|
}>;
|
|
@@ -25092,7 +25128,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
25092
25128
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
25093
25129
|
name: string;
|
|
25094
25130
|
archivingAt: string | null;
|
|
25095
|
-
status: "running" | "
|
|
25131
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
25096
25132
|
statusEnteredAt: string | null;
|
|
25097
25133
|
activityAt: string | null;
|
|
25098
25134
|
scripts: {
|
|
@@ -25219,7 +25255,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
25219
25255
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
25220
25256
|
name: string;
|
|
25221
25257
|
archivingAt: string | null;
|
|
25222
|
-
status: "running" | "
|
|
25258
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
25223
25259
|
statusEnteredAt: string | null;
|
|
25224
25260
|
activityAt: string | null;
|
|
25225
25261
|
scripts: {
|
|
@@ -25648,8 +25684,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
25648
25684
|
workspaceId: z.ZodString;
|
|
25649
25685
|
status: z.ZodEnum<{
|
|
25650
25686
|
running: "running";
|
|
25651
|
-
completed: "completed";
|
|
25652
25687
|
failed: "failed";
|
|
25688
|
+
completed: "completed";
|
|
25653
25689
|
}>;
|
|
25654
25690
|
detail: z.ZodObject<{
|
|
25655
25691
|
type: z.ZodLiteral<"worktree_setup">;
|
|
@@ -25663,8 +25699,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
25663
25699
|
log: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25664
25700
|
status: z.ZodEnum<{
|
|
25665
25701
|
running: "running";
|
|
25666
|
-
completed: "completed";
|
|
25667
25702
|
failed: "failed";
|
|
25703
|
+
completed: "completed";
|
|
25668
25704
|
}>;
|
|
25669
25705
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
25670
25706
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -25681,8 +25717,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
25681
25717
|
snapshot: z.ZodNullable<z.ZodObject<{
|
|
25682
25718
|
status: z.ZodEnum<{
|
|
25683
25719
|
running: "running";
|
|
25684
|
-
completed: "completed";
|
|
25685
25720
|
failed: "failed";
|
|
25721
|
+
completed: "completed";
|
|
25686
25722
|
}>;
|
|
25687
25723
|
detail: z.ZodObject<{
|
|
25688
25724
|
type: z.ZodLiteral<"worktree_setup">;
|
|
@@ -25696,8 +25732,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
25696
25732
|
log: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25697
25733
|
status: z.ZodEnum<{
|
|
25698
25734
|
running: "running";
|
|
25699
|
-
completed: "completed";
|
|
25700
25735
|
failed: "failed";
|
|
25736
|
+
completed: "completed";
|
|
25701
25737
|
}>;
|
|
25702
25738
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
25703
25739
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -25783,9 +25819,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
25783
25819
|
provider: z.ZodString;
|
|
25784
25820
|
info: z.ZodObject<{
|
|
25785
25821
|
status: z.ZodEnum<{
|
|
25822
|
+
allowed: "allowed";
|
|
25786
25823
|
warning: "warning";
|
|
25787
25824
|
rejected: "rejected";
|
|
25788
|
-
allowed: "allowed";
|
|
25789
25825
|
}>;
|
|
25790
25826
|
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
25791
25827
|
limitType: z.ZodOptional<z.ZodString>;
|
|
@@ -26417,8 +26453,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
26417
26453
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
26418
26454
|
status: z.ZodEnum<{
|
|
26419
26455
|
running: "running";
|
|
26420
|
-
done: "done";
|
|
26421
26456
|
failed: "failed";
|
|
26457
|
+
done: "done";
|
|
26422
26458
|
attention: "attention";
|
|
26423
26459
|
needs_input: "needs_input";
|
|
26424
26460
|
}>;
|
|
@@ -26613,7 +26649,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
26613
26649
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
26614
26650
|
name: string;
|
|
26615
26651
|
archivingAt: string | null;
|
|
26616
|
-
status: "running" | "
|
|
26652
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
26617
26653
|
statusEnteredAt: string | null;
|
|
26618
26654
|
activityAt: string | null;
|
|
26619
26655
|
scripts: {
|
|
@@ -26740,7 +26776,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
26740
26776
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
26741
26777
|
name: string;
|
|
26742
26778
|
archivingAt: string | null;
|
|
26743
|
-
status: "running" | "
|
|
26779
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
26744
26780
|
statusEnteredAt: string | null;
|
|
26745
26781
|
activityAt: string | null;
|
|
26746
26782
|
scripts: {
|
|
@@ -27020,8 +27056,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
27020
27056
|
id: z.ZodString;
|
|
27021
27057
|
status: z.ZodEnum<{
|
|
27022
27058
|
running: "running";
|
|
27023
|
-
done: "done";
|
|
27024
27059
|
failed: "failed";
|
|
27060
|
+
done: "done";
|
|
27025
27061
|
skipped: "skipped";
|
|
27026
27062
|
}>;
|
|
27027
27063
|
detail: z.ZodNullable<z.ZodString>;
|
|
@@ -27034,8 +27070,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
27034
27070
|
step: z.ZodString;
|
|
27035
27071
|
status: z.ZodEnum<{
|
|
27036
27072
|
running: "running";
|
|
27037
|
-
done: "done";
|
|
27038
27073
|
failed: "failed";
|
|
27074
|
+
done: "done";
|
|
27039
27075
|
skipped: "skipped";
|
|
27040
27076
|
}>;
|
|
27041
27077
|
detail: z.ZodNullable<z.ZodString>;
|
|
@@ -27122,8 +27158,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
27122
27158
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
27123
27159
|
status: z.ZodEnum<{
|
|
27124
27160
|
running: "running";
|
|
27125
|
-
done: "done";
|
|
27126
27161
|
failed: "failed";
|
|
27162
|
+
done: "done";
|
|
27127
27163
|
attention: "attention";
|
|
27128
27164
|
needs_input: "needs_input";
|
|
27129
27165
|
}>;
|
|
@@ -27318,7 +27354,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
27318
27354
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
27319
27355
|
name: string;
|
|
27320
27356
|
archivingAt: string | null;
|
|
27321
|
-
status: "running" | "
|
|
27357
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
27322
27358
|
statusEnteredAt: string | null;
|
|
27323
27359
|
activityAt: string | null;
|
|
27324
27360
|
scripts: {
|
|
@@ -27445,7 +27481,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
27445
27481
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
27446
27482
|
name: string;
|
|
27447
27483
|
archivingAt: string | null;
|
|
27448
|
-
status: "running" | "
|
|
27484
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
27449
27485
|
statusEnteredAt: string | null;
|
|
27450
27486
|
activityAt: string | null;
|
|
27451
27487
|
scripts: {
|
|
@@ -28011,8 +28047,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
28011
28047
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
28012
28048
|
status: z.ZodEnum<{
|
|
28013
28049
|
running: "running";
|
|
28014
|
-
done: "done";
|
|
28015
28050
|
failed: "failed";
|
|
28051
|
+
done: "done";
|
|
28016
28052
|
attention: "attention";
|
|
28017
28053
|
needs_input: "needs_input";
|
|
28018
28054
|
}>;
|
|
@@ -28207,7 +28243,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
28207
28243
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
28208
28244
|
name: string;
|
|
28209
28245
|
archivingAt: string | null;
|
|
28210
|
-
status: "running" | "
|
|
28246
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
28211
28247
|
statusEnteredAt: string | null;
|
|
28212
28248
|
activityAt: string | null;
|
|
28213
28249
|
scripts: {
|
|
@@ -28334,7 +28370,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
28334
28370
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
28335
28371
|
name: string;
|
|
28336
28372
|
archivingAt: string | null;
|
|
28337
|
-
status: "running" | "
|
|
28373
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
28338
28374
|
statusEnteredAt: string | null;
|
|
28339
28375
|
activityAt: string | null;
|
|
28340
28376
|
scripts: {
|
|
@@ -28794,6 +28830,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
28794
28830
|
hasOlder: z.ZodBoolean;
|
|
28795
28831
|
hasNewer: z.ZodBoolean;
|
|
28796
28832
|
mergeWindow: z.ZodOptional<z.ZodBoolean>;
|
|
28833
|
+
promptIndex: z.ZodOptional<z.ZodObject<{
|
|
28834
|
+
epoch: z.ZodString;
|
|
28835
|
+
prompts: z.ZodArray<z.ZodObject<{
|
|
28836
|
+
seq: z.ZodNumber;
|
|
28837
|
+
timestamp: z.ZodString;
|
|
28838
|
+
preview: z.ZodString;
|
|
28839
|
+
}, z.core.$strip>>;
|
|
28840
|
+
}, z.core.$strip>>;
|
|
28797
28841
|
entries: z.ZodArray<z.ZodObject<{
|
|
28798
28842
|
provider: z.ZodString;
|
|
28799
28843
|
item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
|
|
@@ -28816,15 +28860,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
28816
28860
|
}, z.core.$strip>, z.ZodObject<{
|
|
28817
28861
|
type: z.ZodLiteral<"agent.timeline.list_prompts.response">;
|
|
28818
28862
|
payload: z.ZodObject<{
|
|
28819
|
-
|
|
28820
|
-
agentId: z.ZodString;
|
|
28863
|
+
error: z.ZodNullable<z.ZodString>;
|
|
28821
28864
|
epoch: z.ZodString;
|
|
28822
28865
|
prompts: z.ZodArray<z.ZodObject<{
|
|
28823
28866
|
seq: z.ZodNumber;
|
|
28824
28867
|
timestamp: z.ZodString;
|
|
28825
28868
|
preview: z.ZodString;
|
|
28826
28869
|
}, z.core.$strip>>;
|
|
28827
|
-
|
|
28870
|
+
requestId: z.ZodString;
|
|
28871
|
+
agentId: z.ZodString;
|
|
28828
28872
|
}, z.core.$strip>;
|
|
28829
28873
|
}, z.core.$strip>, z.ZodObject<{
|
|
28830
28874
|
type: z.ZodLiteral<"agent.provider_subagents.list.response">;
|
|
@@ -28839,8 +28883,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
28839
28883
|
description: z.ZodNullable<z.ZodString>;
|
|
28840
28884
|
status: z.ZodEnum<{
|
|
28841
28885
|
running: "running";
|
|
28842
|
-
completed: "completed";
|
|
28843
28886
|
failed: "failed";
|
|
28887
|
+
completed: "completed";
|
|
28844
28888
|
canceled: "canceled";
|
|
28845
28889
|
}>;
|
|
28846
28890
|
createdAt: z.ZodString;
|
|
@@ -28893,8 +28937,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
28893
28937
|
description: z.ZodNullable<z.ZodString>;
|
|
28894
28938
|
status: z.ZodEnum<{
|
|
28895
28939
|
running: "running";
|
|
28896
|
-
completed: "completed";
|
|
28897
28940
|
failed: "failed";
|
|
28941
|
+
completed: "completed";
|
|
28898
28942
|
canceled: "canceled";
|
|
28899
28943
|
}>;
|
|
28900
28944
|
createdAt: z.ZodString;
|
|
@@ -29280,8 +29324,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
29280
29324
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
29281
29325
|
status: z.ZodEnum<{
|
|
29282
29326
|
running: "running";
|
|
29283
|
-
done: "done";
|
|
29284
29327
|
failed: "failed";
|
|
29328
|
+
done: "done";
|
|
29285
29329
|
attention: "attention";
|
|
29286
29330
|
needs_input: "needs_input";
|
|
29287
29331
|
}>;
|
|
@@ -29476,7 +29520,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
29476
29520
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
29477
29521
|
name: string;
|
|
29478
29522
|
archivingAt: string | null;
|
|
29479
|
-
status: "running" | "
|
|
29523
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
29480
29524
|
statusEnteredAt: string | null;
|
|
29481
29525
|
activityAt: string | null;
|
|
29482
29526
|
scripts: {
|
|
@@ -29603,7 +29647,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
29603
29647
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
29604
29648
|
name: string;
|
|
29605
29649
|
archivingAt: string | null;
|
|
29606
|
-
status: "running" | "
|
|
29650
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
29607
29651
|
statusEnteredAt: string | null;
|
|
29608
29652
|
activityAt: string | null;
|
|
29609
29653
|
scripts: {
|
|
@@ -30044,7 +30088,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
30044
30088
|
modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
30045
30089
|
provider: z.ZodString;
|
|
30046
30090
|
modelId: z.ZodString;
|
|
30047
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
30091
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
30048
30092
|
}, z.core.$loose>>>;
|
|
30049
30093
|
modelVisibilityOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
30050
30094
|
provider: z.ZodString;
|
|
@@ -30421,7 +30465,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
30421
30465
|
modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
30422
30466
|
provider: z.ZodString;
|
|
30423
30467
|
modelId: z.ZodString;
|
|
30424
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
30468
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
30425
30469
|
}, z.core.$loose>>>;
|
|
30426
30470
|
modelVisibilityOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
30427
30471
|
provider: z.ZodString;
|
|
@@ -31744,9 +31788,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
31744
31788
|
tldr: z.ZodString;
|
|
31745
31789
|
cwd: z.ZodOptional<z.ZodString>;
|
|
31746
31790
|
state: z.ZodEnum<{
|
|
31791
|
+
dismissed: "dismissed";
|
|
31747
31792
|
pending: "pending";
|
|
31748
31793
|
started: "started";
|
|
31749
|
-
dismissed: "dismissed";
|
|
31750
31794
|
}>;
|
|
31751
31795
|
createdAt: z.ZodString;
|
|
31752
31796
|
updatedAt: z.ZodString;
|
|
@@ -32601,9 +32645,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
32601
32645
|
value: z.ZodString;
|
|
32602
32646
|
label: z.ZodString;
|
|
32603
32647
|
kind: z.ZodEnum<{
|
|
32648
|
+
all: "all";
|
|
32604
32649
|
tailscale: "tailscale";
|
|
32605
32650
|
loopback: "loopback";
|
|
32606
|
-
all: "all";
|
|
32607
32651
|
lan: "lan";
|
|
32608
32652
|
}>;
|
|
32609
32653
|
}, z.core.$loose>>>;
|
|
@@ -36761,8 +36805,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
36761
36805
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
36762
36806
|
status: z.ZodEnum<{
|
|
36763
36807
|
running: "running";
|
|
36764
|
-
done: "done";
|
|
36765
36808
|
failed: "failed";
|
|
36809
|
+
done: "done";
|
|
36766
36810
|
attention: "attention";
|
|
36767
36811
|
needs_input: "needs_input";
|
|
36768
36812
|
}>;
|
|
@@ -36957,7 +37001,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
36957
37001
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
36958
37002
|
name: string;
|
|
36959
37003
|
archivingAt: string | null;
|
|
36960
|
-
status: "running" | "
|
|
37004
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
36961
37005
|
statusEnteredAt: string | null;
|
|
36962
37006
|
activityAt: string | null;
|
|
36963
37007
|
scripts: {
|
|
@@ -37084,7 +37128,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
37084
37128
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
37085
37129
|
name: string;
|
|
37086
37130
|
archivingAt: string | null;
|
|
37087
|
-
status: "running" | "
|
|
37131
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
37088
37132
|
statusEnteredAt: string | null;
|
|
37089
37133
|
activityAt: string | null;
|
|
37090
37134
|
scripts: {
|
|
@@ -37611,8 +37655,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
37611
37655
|
cwd: z.ZodString;
|
|
37612
37656
|
status: z.ZodEnum<{
|
|
37613
37657
|
error: "error";
|
|
37614
|
-
completed: "completed";
|
|
37615
37658
|
truncated: "truncated";
|
|
37659
|
+
completed: "completed";
|
|
37616
37660
|
superseded: "superseded";
|
|
37617
37661
|
}>;
|
|
37618
37662
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -37948,9 +37992,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
37948
37992
|
solutionPath: z.ZodString;
|
|
37949
37993
|
projectPath: z.ZodString;
|
|
37950
37994
|
status: z.ZodEnum<{
|
|
37995
|
+
failed: "failed";
|
|
37951
37996
|
ok: "ok";
|
|
37952
37997
|
unavailable: "unavailable";
|
|
37953
|
-
failed: "failed";
|
|
37954
37998
|
}>;
|
|
37955
37999
|
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
37956
38000
|
kind: z.ZodLiteral<"directory">;
|
|
@@ -38004,7 +38048,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38004
38048
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38005
38049
|
}, z.core.$strip>>>;
|
|
38006
38050
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
38007
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
38051
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
38008
38052
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
38009
38053
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
38010
38054
|
}, z.core.$strip>>>;
|
|
@@ -38099,7 +38143,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38099
38143
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38100
38144
|
}, z.core.$strip>>>;
|
|
38101
38145
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
38102
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
38146
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
38103
38147
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
38104
38148
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
38105
38149
|
}, z.core.$strip>>>;
|
|
@@ -38114,13 +38158,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38114
38158
|
error: z.ZodOptional<z.ZodString>;
|
|
38115
38159
|
description: z.ZodOptional<z.ZodString>;
|
|
38116
38160
|
label: z.ZodOptional<z.ZodString>;
|
|
38161
|
+
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
38117
38162
|
source: z.ZodOptional<z.ZodEnum<{
|
|
38118
38163
|
custom: "custom";
|
|
38119
38164
|
builtin: "builtin";
|
|
38120
38165
|
}>>;
|
|
38121
38166
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
38122
38167
|
provider: z.ZodString;
|
|
38123
|
-
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
38124
38168
|
defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38125
38169
|
modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
|
|
38126
38170
|
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -38131,7 +38175,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38131
38175
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38132
38176
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
38133
38177
|
family: z.ZodOptional<z.ZodString>;
|
|
38134
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
38178
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
38135
38179
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38136
38180
|
isSelectable: z.ZodOptional<z.ZodBoolean>;
|
|
38137
38181
|
contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -38191,7 +38235,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38191
38235
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38192
38236
|
}, z.core.$strip>>>;
|
|
38193
38237
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
38194
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
38238
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
38195
38239
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
38196
38240
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
38197
38241
|
}, z.core.$strip>>>;
|
|
@@ -38206,13 +38250,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38206
38250
|
error: z.ZodOptional<z.ZodString>;
|
|
38207
38251
|
description: z.ZodOptional<z.ZodString>;
|
|
38208
38252
|
label: z.ZodOptional<z.ZodString>;
|
|
38253
|
+
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
38209
38254
|
source: z.ZodOptional<z.ZodEnum<{
|
|
38210
38255
|
custom: "custom";
|
|
38211
38256
|
builtin: "builtin";
|
|
38212
38257
|
}>>;
|
|
38213
38258
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
38214
38259
|
provider: z.ZodString;
|
|
38215
|
-
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
38216
38260
|
defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38217
38261
|
modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
|
|
38218
38262
|
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -38223,7 +38267,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38223
38267
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38224
38268
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
38225
38269
|
family: z.ZodOptional<z.ZodString>;
|
|
38226
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
38270
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
38227
38271
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38228
38272
|
isSelectable: z.ZodOptional<z.ZodBoolean>;
|
|
38229
38273
|
contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -38287,9 +38331,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38287
38331
|
runsOutAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38288
38332
|
shortfallPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38289
38333
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
38334
|
+
warning: "warning";
|
|
38290
38335
|
default: "default";
|
|
38291
38336
|
ok: "ok";
|
|
38292
|
-
warning: "warning";
|
|
38293
38337
|
danger: "danger";
|
|
38294
38338
|
}>>;
|
|
38295
38339
|
}, z.core.$strip>>;
|
|
@@ -38300,16 +38344,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38300
38344
|
remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38301
38345
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38302
38346
|
unit: z.ZodEnum<{
|
|
38303
|
-
tokens: "tokens";
|
|
38304
38347
|
requests: "requests";
|
|
38348
|
+
tokens: "tokens";
|
|
38305
38349
|
usd: "usd";
|
|
38306
38350
|
credits: "credits";
|
|
38307
38351
|
}>;
|
|
38308
38352
|
resetsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38309
38353
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
38354
|
+
warning: "warning";
|
|
38310
38355
|
default: "default";
|
|
38311
38356
|
ok: "ok";
|
|
38312
|
-
warning: "warning";
|
|
38313
38357
|
danger: "danger";
|
|
38314
38358
|
}>>;
|
|
38315
38359
|
}, z.core.$strip>>>;
|
|
@@ -38318,9 +38362,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38318
38362
|
label: z.ZodString;
|
|
38319
38363
|
value: z.ZodString;
|
|
38320
38364
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
38365
|
+
warning: "warning";
|
|
38321
38366
|
default: "default";
|
|
38322
38367
|
ok: "ok";
|
|
38323
|
-
warning: "warning";
|
|
38324
38368
|
danger: "danger";
|
|
38325
38369
|
}>>;
|
|
38326
38370
|
}, z.core.$strip>>>;
|
|
@@ -38682,9 +38726,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38682
38726
|
}, z.core.$strip>>;
|
|
38683
38727
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
38684
38728
|
read: "read";
|
|
38729
|
+
rejected: "rejected";
|
|
38685
38730
|
unevaluated: "unevaluated";
|
|
38686
38731
|
adopted: "adopted";
|
|
38687
|
-
rejected: "rejected";
|
|
38688
38732
|
dependency: "dependency";
|
|
38689
38733
|
}>>;
|
|
38690
38734
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -38705,7 +38749,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38705
38749
|
title: z.ZodString;
|
|
38706
38750
|
path: z.ZodString;
|
|
38707
38751
|
absolutePath: z.ZodOptional<z.ZodString>;
|
|
38708
|
-
body: z.ZodString
|
|
38752
|
+
body: z.ZodOptional<z.ZodString>;
|
|
38709
38753
|
bodyDigest: z.ZodOptional<z.ZodString>;
|
|
38710
38754
|
}, z.core.$strip>>>;
|
|
38711
38755
|
findings: z.ZodArray<z.ZodObject<{
|
|
@@ -38770,9 +38814,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38770
38814
|
}, z.core.$strip>>;
|
|
38771
38815
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
38772
38816
|
read: "read";
|
|
38817
|
+
rejected: "rejected";
|
|
38773
38818
|
unevaluated: "unevaluated";
|
|
38774
38819
|
adopted: "adopted";
|
|
38775
|
-
rejected: "rejected";
|
|
38776
38820
|
dependency: "dependency";
|
|
38777
38821
|
}>>;
|
|
38778
38822
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -38789,6 +38833,19 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38789
38833
|
absolutePath: z.ZodOptional<z.ZodString>;
|
|
38790
38834
|
}, z.core.$strip>>;
|
|
38791
38835
|
}, z.core.$strip>;
|
|
38836
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38837
|
+
type: z.ZodLiteral<"project.knowledge.root.get.response">;
|
|
38838
|
+
payload: z.ZodObject<{
|
|
38839
|
+
requestId: z.ZodString;
|
|
38840
|
+
page: z.ZodNullable<z.ZodObject<{
|
|
38841
|
+
slug: z.ZodString;
|
|
38842
|
+
title: z.ZodString;
|
|
38843
|
+
path: z.ZodString;
|
|
38844
|
+
absolutePath: z.ZodOptional<z.ZodString>;
|
|
38845
|
+
body: z.ZodOptional<z.ZodString>;
|
|
38846
|
+
bodyDigest: z.ZodOptional<z.ZodString>;
|
|
38847
|
+
}, z.core.$strip>>;
|
|
38848
|
+
}, z.core.$strip>;
|
|
38792
38849
|
}, z.core.$strip>, z.ZodObject<{
|
|
38793
38850
|
type: z.ZodLiteral<"project.knowledge.create.response">;
|
|
38794
38851
|
payload: z.ZodObject<{
|
|
@@ -38831,9 +38888,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38831
38888
|
}, z.core.$strip>>;
|
|
38832
38889
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
38833
38890
|
read: "read";
|
|
38891
|
+
rejected: "rejected";
|
|
38834
38892
|
unevaluated: "unevaluated";
|
|
38835
38893
|
adopted: "adopted";
|
|
38836
|
-
rejected: "rejected";
|
|
38837
38894
|
dependency: "dependency";
|
|
38838
38895
|
}>>;
|
|
38839
38896
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -38892,9 +38949,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38892
38949
|
}, z.core.$strip>>;
|
|
38893
38950
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
38894
38951
|
read: "read";
|
|
38952
|
+
rejected: "rejected";
|
|
38895
38953
|
unevaluated: "unevaluated";
|
|
38896
38954
|
adopted: "adopted";
|
|
38897
|
-
rejected: "rejected";
|
|
38898
38955
|
dependency: "dependency";
|
|
38899
38956
|
}>>;
|
|
38900
38957
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -38954,9 +39011,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
38954
39011
|
}, z.core.$strip>>;
|
|
38955
39012
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
38956
39013
|
read: "read";
|
|
39014
|
+
rejected: "rejected";
|
|
38957
39015
|
unevaluated: "unevaluated";
|
|
38958
39016
|
adopted: "adopted";
|
|
38959
|
-
rejected: "rejected";
|
|
38960
39017
|
dependency: "dependency";
|
|
38961
39018
|
}>>;
|
|
38962
39019
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -39015,9 +39072,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
39015
39072
|
}, z.core.$strip>>;
|
|
39016
39073
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
39017
39074
|
read: "read";
|
|
39075
|
+
rejected: "rejected";
|
|
39018
39076
|
unevaluated: "unevaluated";
|
|
39019
39077
|
adopted: "adopted";
|
|
39020
|
-
rejected: "rejected";
|
|
39021
39078
|
dependency: "dependency";
|
|
39022
39079
|
}>>;
|
|
39023
39080
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -39077,9 +39134,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
39077
39134
|
}, z.core.$strip>>;
|
|
39078
39135
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
39079
39136
|
read: "read";
|
|
39137
|
+
rejected: "rejected";
|
|
39080
39138
|
unevaluated: "unevaluated";
|
|
39081
39139
|
adopted: "adopted";
|
|
39082
|
-
rejected: "rejected";
|
|
39083
39140
|
dependency: "dependency";
|
|
39084
39141
|
}>>;
|
|
39085
39142
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -39106,7 +39163,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
39106
39163
|
title: z.ZodString;
|
|
39107
39164
|
path: z.ZodString;
|
|
39108
39165
|
absolutePath: z.ZodOptional<z.ZodString>;
|
|
39109
|
-
body: z.ZodString
|
|
39166
|
+
body: z.ZodOptional<z.ZodString>;
|
|
39110
39167
|
bodyDigest: z.ZodOptional<z.ZodString>;
|
|
39111
39168
|
}, z.core.$strip>>;
|
|
39112
39169
|
}, z.core.$strip>;
|
|
@@ -39152,9 +39209,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
39152
39209
|
}, z.core.$strip>>;
|
|
39153
39210
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
39154
39211
|
read: "read";
|
|
39212
|
+
rejected: "rejected";
|
|
39155
39213
|
unevaluated: "unevaluated";
|
|
39156
39214
|
adopted: "adopted";
|
|
39157
|
-
rejected: "rejected";
|
|
39158
39215
|
dependency: "dependency";
|
|
39159
39216
|
}>>;
|
|
39160
39217
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -39175,7 +39232,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
39175
39232
|
title: z.ZodString;
|
|
39176
39233
|
path: z.ZodString;
|
|
39177
39234
|
absolutePath: z.ZodOptional<z.ZodString>;
|
|
39178
|
-
body: z.ZodString
|
|
39235
|
+
body: z.ZodOptional<z.ZodString>;
|
|
39179
39236
|
bodyDigest: z.ZodOptional<z.ZodString>;
|
|
39180
39237
|
}, z.core.$strip>>;
|
|
39181
39238
|
demoted: z.ZodBoolean;
|
|
@@ -39688,14 +39745,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
39688
39745
|
schedule: z.ZodNullable<z.ZodObject<{
|
|
39689
39746
|
prompt: z.ZodString;
|
|
39690
39747
|
name: z.ZodNullable<z.ZodString>;
|
|
39691
|
-
id: z.ZodString;
|
|
39692
|
-
createdAt: z.ZodString;
|
|
39693
|
-
updatedAt: z.ZodString;
|
|
39694
39748
|
status: z.ZodEnum<{
|
|
39695
39749
|
completed: "completed";
|
|
39696
39750
|
active: "active";
|
|
39697
39751
|
paused: "paused";
|
|
39698
39752
|
}>;
|
|
39753
|
+
id: z.ZodString;
|
|
39754
|
+
createdAt: z.ZodString;
|
|
39755
|
+
updatedAt: z.ZodString;
|
|
39699
39756
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
39700
39757
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39701
39758
|
type: z.ZodLiteral<"agent">;
|
|
@@ -39764,14 +39821,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
39764
39821
|
schedules: z.ZodArray<z.ZodObject<{
|
|
39765
39822
|
prompt: z.ZodString;
|
|
39766
39823
|
name: z.ZodNullable<z.ZodString>;
|
|
39767
|
-
id: z.ZodString;
|
|
39768
|
-
createdAt: z.ZodString;
|
|
39769
|
-
updatedAt: z.ZodString;
|
|
39770
39824
|
status: z.ZodEnum<{
|
|
39771
39825
|
completed: "completed";
|
|
39772
39826
|
active: "active";
|
|
39773
39827
|
paused: "paused";
|
|
39774
39828
|
}>;
|
|
39829
|
+
id: z.ZodString;
|
|
39830
|
+
createdAt: z.ZodString;
|
|
39831
|
+
updatedAt: z.ZodString;
|
|
39775
39832
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
39776
39833
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39777
39834
|
type: z.ZodLiteral<"agent">;
|
|
@@ -40048,14 +40105,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
40048
40105
|
schedule: z.ZodNullable<z.ZodObject<{
|
|
40049
40106
|
prompt: z.ZodString;
|
|
40050
40107
|
name: z.ZodNullable<z.ZodString>;
|
|
40051
|
-
id: z.ZodString;
|
|
40052
|
-
createdAt: z.ZodString;
|
|
40053
|
-
updatedAt: z.ZodString;
|
|
40054
40108
|
status: z.ZodEnum<{
|
|
40055
40109
|
completed: "completed";
|
|
40056
40110
|
active: "active";
|
|
40057
40111
|
paused: "paused";
|
|
40058
40112
|
}>;
|
|
40113
|
+
id: z.ZodString;
|
|
40114
|
+
createdAt: z.ZodString;
|
|
40115
|
+
updatedAt: z.ZodString;
|
|
40059
40116
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
40060
40117
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40061
40118
|
type: z.ZodLiteral<"agent">;
|
|
@@ -40124,14 +40181,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
40124
40181
|
schedule: z.ZodNullable<z.ZodObject<{
|
|
40125
40182
|
prompt: z.ZodString;
|
|
40126
40183
|
name: z.ZodNullable<z.ZodString>;
|
|
40127
|
-
id: z.ZodString;
|
|
40128
|
-
createdAt: z.ZodString;
|
|
40129
|
-
updatedAt: z.ZodString;
|
|
40130
40184
|
status: z.ZodEnum<{
|
|
40131
40185
|
completed: "completed";
|
|
40132
40186
|
active: "active";
|
|
40133
40187
|
paused: "paused";
|
|
40134
40188
|
}>;
|
|
40189
|
+
id: z.ZodString;
|
|
40190
|
+
createdAt: z.ZodString;
|
|
40191
|
+
updatedAt: z.ZodString;
|
|
40135
40192
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
40136
40193
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40137
40194
|
type: z.ZodLiteral<"agent">;
|
|
@@ -40525,8 +40582,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
40525
40582
|
stopped: "stopped";
|
|
40526
40583
|
}>;
|
|
40527
40584
|
workerOutcome: z.ZodNullable<z.ZodEnum<{
|
|
40528
|
-
completed: "completed";
|
|
40529
40585
|
failed: "failed";
|
|
40586
|
+
completed: "completed";
|
|
40530
40587
|
canceled: "canceled";
|
|
40531
40588
|
}>>;
|
|
40532
40589
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
@@ -40637,8 +40694,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
40637
40694
|
stopped: "stopped";
|
|
40638
40695
|
}>;
|
|
40639
40696
|
workerOutcome: z.ZodNullable<z.ZodEnum<{
|
|
40640
|
-
completed: "completed";
|
|
40641
40697
|
failed: "failed";
|
|
40698
|
+
completed: "completed";
|
|
40642
40699
|
canceled: "canceled";
|
|
40643
40700
|
}>>;
|
|
40644
40701
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
@@ -40729,8 +40786,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
40729
40786
|
stopped: "stopped";
|
|
40730
40787
|
}>;
|
|
40731
40788
|
workerOutcome: z.ZodNullable<z.ZodEnum<{
|
|
40732
|
-
completed: "completed";
|
|
40733
40789
|
failed: "failed";
|
|
40790
|
+
completed: "completed";
|
|
40734
40791
|
canceled: "canceled";
|
|
40735
40792
|
}>>;
|
|
40736
40793
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
@@ -40838,8 +40895,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
40838
40895
|
stopped: "stopped";
|
|
40839
40896
|
}>;
|
|
40840
40897
|
workerOutcome: z.ZodNullable<z.ZodEnum<{
|
|
40841
|
-
completed: "completed";
|
|
40842
40898
|
failed: "failed";
|
|
40899
|
+
completed: "completed";
|
|
40843
40900
|
canceled: "canceled";
|
|
40844
40901
|
}>>;
|
|
40845
40902
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
@@ -40888,8 +40945,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
40888
40945
|
payload: z.ZodObject<{
|
|
40889
40946
|
requestId: z.ZodString;
|
|
40890
40947
|
phase: z.ZodEnum<{
|
|
40891
|
-
complete: "complete";
|
|
40892
40948
|
starting: "starting";
|
|
40949
|
+
complete: "complete";
|
|
40893
40950
|
downloading: "downloading";
|
|
40894
40951
|
installing: "installing";
|
|
40895
40952
|
}>;
|
|
@@ -41550,6 +41607,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
41550
41607
|
}>;
|
|
41551
41608
|
htmlPath: z.ZodString;
|
|
41552
41609
|
renderedAt: z.ZodString;
|
|
41610
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
41611
|
+
workflow: "workflow";
|
|
41612
|
+
architecture: "architecture";
|
|
41613
|
+
sequence: "sequence";
|
|
41614
|
+
dataflow: "dataflow";
|
|
41615
|
+
lifecycle: "lifecycle";
|
|
41616
|
+
}>>;
|
|
41553
41617
|
sourceStatus: z.ZodOptional<z.ZodEnum<{
|
|
41554
41618
|
unknown: "unknown";
|
|
41555
41619
|
stale: "stale";
|
|
@@ -41579,6 +41643,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
41579
41643
|
}>;
|
|
41580
41644
|
htmlPath: z.ZodString;
|
|
41581
41645
|
renderedAt: z.ZodString;
|
|
41646
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
41647
|
+
workflow: "workflow";
|
|
41648
|
+
architecture: "architecture";
|
|
41649
|
+
sequence: "sequence";
|
|
41650
|
+
dataflow: "dataflow";
|
|
41651
|
+
lifecycle: "lifecycle";
|
|
41652
|
+
}>>;
|
|
41582
41653
|
sourceStatus: z.ZodOptional<z.ZodEnum<{
|
|
41583
41654
|
unknown: "unknown";
|
|
41584
41655
|
stale: "stale";
|
|
@@ -41605,6 +41676,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
41605
41676
|
id: z.ZodString;
|
|
41606
41677
|
}, z.core.$strip>>;
|
|
41607
41678
|
baseSpecificationSha256: z.ZodNullable<z.ZodString>;
|
|
41679
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
41680
|
+
workflow: "workflow";
|
|
41681
|
+
architecture: "architecture";
|
|
41682
|
+
sequence: "sequence";
|
|
41683
|
+
dataflow: "dataflow";
|
|
41684
|
+
lifecycle: "lifecycle";
|
|
41685
|
+
}>>;
|
|
41608
41686
|
authoringAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41609
41687
|
createdAt: z.ZodString;
|
|
41610
41688
|
updatedAt: z.ZodString;
|
|
@@ -41628,6 +41706,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
41628
41706
|
id: z.ZodString;
|
|
41629
41707
|
}, z.core.$strip>>;
|
|
41630
41708
|
baseSpecificationSha256: z.ZodNullable<z.ZodString>;
|
|
41709
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
41710
|
+
workflow: "workflow";
|
|
41711
|
+
architecture: "architecture";
|
|
41712
|
+
sequence: "sequence";
|
|
41713
|
+
dataflow: "dataflow";
|
|
41714
|
+
lifecycle: "lifecycle";
|
|
41715
|
+
}>>;
|
|
41631
41716
|
authoringAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41632
41717
|
createdAt: z.ZodString;
|
|
41633
41718
|
updatedAt: z.ZodString;
|
|
@@ -41655,6 +41740,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
41655
41740
|
}>;
|
|
41656
41741
|
htmlPath: z.ZodString;
|
|
41657
41742
|
renderedAt: z.ZodString;
|
|
41743
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
41744
|
+
workflow: "workflow";
|
|
41745
|
+
architecture: "architecture";
|
|
41746
|
+
sequence: "sequence";
|
|
41747
|
+
dataflow: "dataflow";
|
|
41748
|
+
lifecycle: "lifecycle";
|
|
41749
|
+
}>>;
|
|
41658
41750
|
sourceStatus: z.ZodOptional<z.ZodEnum<{
|
|
41659
41751
|
unknown: "unknown";
|
|
41660
41752
|
stale: "stale";
|
|
@@ -41687,6 +41779,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
41687
41779
|
id: z.ZodString;
|
|
41688
41780
|
}, z.core.$strip>>;
|
|
41689
41781
|
baseSpecificationSha256: z.ZodNullable<z.ZodString>;
|
|
41782
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
41783
|
+
workflow: "workflow";
|
|
41784
|
+
architecture: "architecture";
|
|
41785
|
+
sequence: "sequence";
|
|
41786
|
+
dataflow: "dataflow";
|
|
41787
|
+
lifecycle: "lifecycle";
|
|
41788
|
+
}>>;
|
|
41690
41789
|
authoringAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41691
41790
|
createdAt: z.ZodString;
|
|
41692
41791
|
updatedAt: z.ZodString;
|
|
@@ -41694,6 +41793,36 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
41694
41793
|
html: z.ZodNullable<z.ZodString>;
|
|
41695
41794
|
error: z.ZodNullable<z.ZodString>;
|
|
41696
41795
|
}, z.core.$strip>;
|
|
41796
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41797
|
+
type: z.ZodLiteral<"architectural-views.draft.list.response">;
|
|
41798
|
+
payload: z.ZodObject<{
|
|
41799
|
+
requestId: z.ZodString;
|
|
41800
|
+
success: z.ZodBoolean;
|
|
41801
|
+
drafts: z.ZodArray<z.ZodObject<{
|
|
41802
|
+
id: z.ZodString;
|
|
41803
|
+
viewId: z.ZodString;
|
|
41804
|
+
title: z.ZodString;
|
|
41805
|
+
knowledgeReferences: z.ZodArray<z.ZodObject<{
|
|
41806
|
+
kind: z.ZodEnum<{
|
|
41807
|
+
record: "record";
|
|
41808
|
+
root: "root";
|
|
41809
|
+
}>;
|
|
41810
|
+
id: z.ZodString;
|
|
41811
|
+
}, z.core.$strip>>;
|
|
41812
|
+
baseSpecificationSha256: z.ZodNullable<z.ZodString>;
|
|
41813
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
41814
|
+
workflow: "workflow";
|
|
41815
|
+
architecture: "architecture";
|
|
41816
|
+
sequence: "sequence";
|
|
41817
|
+
dataflow: "dataflow";
|
|
41818
|
+
lifecycle: "lifecycle";
|
|
41819
|
+
}>>;
|
|
41820
|
+
authoringAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41821
|
+
createdAt: z.ZodString;
|
|
41822
|
+
updatedAt: z.ZodString;
|
|
41823
|
+
}, z.core.$strip>>;
|
|
41824
|
+
error: z.ZodNullable<z.ZodString>;
|
|
41825
|
+
}, z.core.$strip>;
|
|
41697
41826
|
}, z.core.$strip>, z.ZodObject<{
|
|
41698
41827
|
type: z.ZodLiteral<"architectural-views.open.notification">;
|
|
41699
41828
|
payload: z.ZodObject<{
|
|
@@ -42102,43 +42231,6 @@ export type KillTerminalResponse = z.infer<typeof KillTerminalResponseSchema>;
|
|
|
42102
42231
|
export type CaptureTerminalRequest = z.infer<typeof CaptureTerminalRequestSchema>;
|
|
42103
42232
|
export type CaptureTerminalResponse = z.infer<typeof CaptureTerminalResponseSchema>;
|
|
42104
42233
|
export type TerminalStreamExit = z.infer<typeof TerminalStreamExitSchema>;
|
|
42105
|
-
export declare const WSPingMessageSchema: z.ZodObject<{
|
|
42106
|
-
type: z.ZodLiteral<"ping">;
|
|
42107
|
-
}, z.core.$strip>;
|
|
42108
|
-
export declare const WSPongMessageSchema: z.ZodObject<{
|
|
42109
|
-
type: z.ZodLiteral<"pong">;
|
|
42110
|
-
}, z.core.$strip>;
|
|
42111
|
-
export declare const WSHelloMessageSchema: z.ZodObject<{
|
|
42112
|
-
type: z.ZodLiteral<"hello">;
|
|
42113
|
-
clientId: z.ZodString;
|
|
42114
|
-
clientType: z.ZodEnum<{
|
|
42115
|
-
mcp: "mcp";
|
|
42116
|
-
browser: "browser";
|
|
42117
|
-
mobile: "mobile";
|
|
42118
|
-
cli: "cli";
|
|
42119
|
-
}>;
|
|
42120
|
-
protocolVersion: z.ZodNumber;
|
|
42121
|
-
appVersion: z.ZodOptional<z.ZodString>;
|
|
42122
|
-
capabilities: z.ZodOptional<z.ZodObject<{
|
|
42123
|
-
voice: z.ZodOptional<z.ZodBoolean>;
|
|
42124
|
-
pushNotifications: z.ZodOptional<z.ZodBoolean>;
|
|
42125
|
-
reasoning_merge_enum: z.ZodOptional<z.ZodBoolean>;
|
|
42126
|
-
selective_agent_timeline: z.ZodOptional<z.ZodBoolean>;
|
|
42127
|
-
custom_mode_icons: z.ZodOptional<z.ZodBoolean>;
|
|
42128
|
-
terminal_reflowable_snapshot: z.ZodOptional<z.ZodBoolean>;
|
|
42129
|
-
provider_subagents: z.ZodOptional<z.ZodBoolean>;
|
|
42130
|
-
project_updates: z.ZodOptional<z.ZodBoolean>;
|
|
42131
|
-
compact_provider_snapshots: z.ZodOptional<z.ZodBoolean>;
|
|
42132
|
-
browser_host: z.ZodOptional<z.ZodObject<{
|
|
42133
|
-
supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "fill" | "select" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "inspect" | "network" | "scroll" | "resize" | "close_tab" | "focus_tab" | "page_text" | "set_color_scheme" | "screenshot_element")[], string[]>>;
|
|
42134
|
-
hostKind: z.ZodDefault<z.ZodString>;
|
|
42135
|
-
}, z.core.$loose>>;
|
|
42136
|
-
}, z.core.$loose>>;
|
|
42137
|
-
}, z.core.$strip>;
|
|
42138
|
-
export declare const WSRecordingStateMessageSchema: z.ZodObject<{
|
|
42139
|
-
type: z.ZodLiteral<"recording_state">;
|
|
42140
|
-
isRecording: z.ZodBoolean;
|
|
42141
|
-
}, z.core.$strip>;
|
|
42142
42234
|
export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
42143
42235
|
type: z.ZodLiteral<"session">;
|
|
42144
42236
|
message: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -42223,8 +42315,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
42223
42315
|
canGoBack: z.ZodOptional<z.ZodBoolean>;
|
|
42224
42316
|
canGoForward: z.ZodOptional<z.ZodBoolean>;
|
|
42225
42317
|
status: z.ZodOptional<z.ZodEnum<{
|
|
42226
|
-
ready: "ready";
|
|
42227
42318
|
starting: "starting";
|
|
42319
|
+
ready: "ready";
|
|
42228
42320
|
detached: "detached";
|
|
42229
42321
|
}>>;
|
|
42230
42322
|
}, z.core.$strip>>;
|
|
@@ -42422,9 +42514,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
42422
42514
|
command: z.ZodLiteral<"set_color_scheme">;
|
|
42423
42515
|
browserId: z.ZodString;
|
|
42424
42516
|
colorScheme: z.ZodEnum<{
|
|
42425
|
-
auto: "auto";
|
|
42426
42517
|
light: "light";
|
|
42427
42518
|
dark: "dark";
|
|
42519
|
+
auto: "auto";
|
|
42428
42520
|
}>;
|
|
42429
42521
|
}, z.core.$strip>, z.ZodObject<{
|
|
42430
42522
|
command: z.ZodLiteral<"screenshot_element">;
|
|
@@ -43311,7 +43403,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
43311
43403
|
modelTierOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43312
43404
|
provider: z.ZodString;
|
|
43313
43405
|
modelId: z.ZodString;
|
|
43314
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
43406
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
43315
43407
|
}, z.core.$loose>>>>;
|
|
43316
43408
|
modelVisibilityOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43317
43409
|
provider: z.ZodString;
|
|
@@ -43662,18 +43754,18 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
43662
43754
|
type: z.ZodLiteral<"agent.profile.stats.request">;
|
|
43663
43755
|
}, z.core.$strip>, z.ZodObject<{
|
|
43664
43756
|
name: z.ZodString;
|
|
43757
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
43665
43758
|
requestId: z.ZodString;
|
|
43666
43759
|
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43667
43760
|
glowA: z.ZodOptional<z.ZodString>;
|
|
43668
43761
|
glowB: z.ZodOptional<z.ZodString>;
|
|
43669
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
43670
43762
|
type: z.ZodLiteral<"agent.profile.generate_prompt.request">;
|
|
43671
43763
|
}, z.core.$strip>, z.ZodObject<{
|
|
43672
43764
|
prompt: z.ZodOptional<z.ZodString>;
|
|
43673
43765
|
name: z.ZodString;
|
|
43766
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
43674
43767
|
requestId: z.ZodString;
|
|
43675
43768
|
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43676
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
43677
43769
|
moment: z.ZodOptional<z.ZodEnum<{
|
|
43678
43770
|
join: "join";
|
|
43679
43771
|
thinking: "thinking";
|
|
@@ -44012,11 +44104,17 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
44012
44104
|
type: z.ZodLiteral<"project.knowledge.list.request">;
|
|
44013
44105
|
requestId: z.ZodString;
|
|
44014
44106
|
workspaceId: z.ZodString;
|
|
44107
|
+
includeRootBodies: z.ZodOptional<z.ZodBoolean>;
|
|
44015
44108
|
}, z.core.$strip>, z.ZodObject<{
|
|
44016
44109
|
type: z.ZodLiteral<"project.knowledge.get.request">;
|
|
44017
44110
|
requestId: z.ZodString;
|
|
44018
44111
|
workspaceId: z.ZodString;
|
|
44019
44112
|
id: z.ZodString;
|
|
44113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44114
|
+
type: z.ZodLiteral<"project.knowledge.root.get.request">;
|
|
44115
|
+
requestId: z.ZodString;
|
|
44116
|
+
workspaceId: z.ZodString;
|
|
44117
|
+
slug: z.ZodString;
|
|
44020
44118
|
}, z.core.$strip>, z.ZodObject<{
|
|
44021
44119
|
type: z.ZodLiteral<"project.knowledge.create.request">;
|
|
44022
44120
|
requestId: z.ZodString;
|
|
@@ -44058,9 +44156,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
44058
44156
|
}, z.core.$strip>>;
|
|
44059
44157
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
44060
44158
|
read: "read";
|
|
44159
|
+
rejected: "rejected";
|
|
44061
44160
|
unevaluated: "unevaluated";
|
|
44062
44161
|
adopted: "adopted";
|
|
44063
|
-
rejected: "rejected";
|
|
44064
44162
|
dependency: "dependency";
|
|
44065
44163
|
}>>;
|
|
44066
44164
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -44117,9 +44215,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
44117
44215
|
id: z.ZodString;
|
|
44118
44216
|
disposition: z.ZodOptional<z.ZodEnum<{
|
|
44119
44217
|
read: "read";
|
|
44218
|
+
rejected: "rejected";
|
|
44120
44219
|
unevaluated: "unevaluated";
|
|
44121
44220
|
adopted: "adopted";
|
|
44122
|
-
rejected: "rejected";
|
|
44123
44221
|
dependency: "dependency";
|
|
44124
44222
|
}>>;
|
|
44125
44223
|
sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -44247,16 +44345,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
44247
44345
|
requestId: z.ZodString;
|
|
44248
44346
|
}, z.core.$strip>, z.ZodObject<{
|
|
44249
44347
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
44250
|
-
projectRoot: z.ZodOptional<z.ZodString>;
|
|
44251
44348
|
requestId: z.ZodString;
|
|
44349
|
+
projectRoot: z.ZodOptional<z.ZodString>;
|
|
44252
44350
|
personalityId: z.ZodString;
|
|
44253
44351
|
type: z.ZodLiteral<"profile.memory.list.request">;
|
|
44254
44352
|
}, z.core.$strip>, z.ZodObject<{
|
|
44255
44353
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
44256
44354
|
text: z.ZodOptional<z.ZodString>;
|
|
44355
|
+
requestId: z.ZodString;
|
|
44257
44356
|
scope: z.ZodOptional<z.ZodString>;
|
|
44258
44357
|
projectRoot: z.ZodOptional<z.ZodString>;
|
|
44259
|
-
requestId: z.ZodString;
|
|
44260
44358
|
personalityId: z.ZodString;
|
|
44261
44359
|
entryId: z.ZodOptional<z.ZodString>;
|
|
44262
44360
|
drop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -44376,6 +44474,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
44376
44474
|
canonical: "canonical";
|
|
44377
44475
|
}>>;
|
|
44378
44476
|
mergeWindow: z.ZodOptional<z.ZodBoolean>;
|
|
44477
|
+
includePromptIndex: z.ZodOptional<z.ZodBoolean>;
|
|
44379
44478
|
}, z.core.$strip>, z.ZodObject<{
|
|
44380
44479
|
type: z.ZodLiteral<"agent.timeline.list_prompts.request">;
|
|
44381
44480
|
agentId: z.ZodString;
|
|
@@ -44476,6 +44575,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
44476
44575
|
subagent: "subagent";
|
|
44477
44576
|
in_session: "in_session";
|
|
44478
44577
|
}>;
|
|
44578
|
+
launch: z.ZodOptional<z.ZodObject<{
|
|
44579
|
+
provider: z.ZodString;
|
|
44580
|
+
model: z.ZodString;
|
|
44581
|
+
}, z.core.$strip>>;
|
|
44479
44582
|
requestId: z.ZodString;
|
|
44480
44583
|
}, z.core.$strip>, z.ZodObject<{
|
|
44481
44584
|
type: z.ZodLiteral<"tasks.suggested.dismiss.request">;
|
|
@@ -46188,8 +46291,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
46188
46291
|
}, z.core.$strip>, z.ZodObject<{
|
|
46189
46292
|
type: z.ZodLiteral<"client_heartbeat">;
|
|
46190
46293
|
deviceType: z.ZodEnum<{
|
|
46191
|
-
web: "web";
|
|
46192
46294
|
mobile: "mobile";
|
|
46295
|
+
web: "web";
|
|
46193
46296
|
}>;
|
|
46194
46297
|
focusedAgentId: z.ZodNullable<z.ZodString>;
|
|
46195
46298
|
focusedTerminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -46610,6 +46713,13 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
46610
46713
|
id: z.ZodString;
|
|
46611
46714
|
}, z.core.$strip>>;
|
|
46612
46715
|
sourcePath: z.ZodString;
|
|
46716
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
46717
|
+
workflow: "workflow";
|
|
46718
|
+
architecture: "architecture";
|
|
46719
|
+
sequence: "sequence";
|
|
46720
|
+
dataflow: "dataflow";
|
|
46721
|
+
lifecycle: "lifecycle";
|
|
46722
|
+
}>>;
|
|
46613
46723
|
quality: z.ZodOptional<z.ZodEnum<{
|
|
46614
46724
|
standard: "standard";
|
|
46615
46725
|
showcase: "showcase";
|
|
@@ -46645,6 +46755,13 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
46645
46755
|
id: z.ZodString;
|
|
46646
46756
|
}, z.core.$strip>>;
|
|
46647
46757
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
46758
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
46759
|
+
workflow: "workflow";
|
|
46760
|
+
architecture: "architecture";
|
|
46761
|
+
sequence: "sequence";
|
|
46762
|
+
dataflow: "dataflow";
|
|
46763
|
+
lifecycle: "lifecycle";
|
|
46764
|
+
}>>;
|
|
46648
46765
|
quality: z.ZodOptional<z.ZodEnum<{
|
|
46649
46766
|
standard: "standard";
|
|
46650
46767
|
showcase: "showcase";
|
|
@@ -46679,6 +46796,17 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
46679
46796
|
viewId: z.ZodString;
|
|
46680
46797
|
draftId: z.ZodString;
|
|
46681
46798
|
requestId: z.ZodString;
|
|
46799
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46800
|
+
type: z.ZodLiteral<"architectural-views.draft.list.request">;
|
|
46801
|
+
workspaceId: z.ZodString;
|
|
46802
|
+
knowledgeReference: z.ZodOptional<z.ZodObject<{
|
|
46803
|
+
kind: z.ZodEnum<{
|
|
46804
|
+
record: "record";
|
|
46805
|
+
root: "root";
|
|
46806
|
+
}>;
|
|
46807
|
+
id: z.ZodString;
|
|
46808
|
+
}, z.core.$strip>>;
|
|
46809
|
+
requestId: z.ZodString;
|
|
46682
46810
|
}, z.core.$strip>], "type">;
|
|
46683
46811
|
}, z.core.$strip>;
|
|
46684
46812
|
export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
@@ -47034,9 +47162,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
47034
47162
|
provider: z.ZodString;
|
|
47035
47163
|
info: z.ZodObject<{
|
|
47036
47164
|
status: z.ZodEnum<{
|
|
47165
|
+
allowed: "allowed";
|
|
47037
47166
|
warning: "warning";
|
|
47038
47167
|
rejected: "rejected";
|
|
47039
|
-
allowed: "allowed";
|
|
47040
47168
|
}>;
|
|
47041
47169
|
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
47042
47170
|
limitType: z.ZodOptional<z.ZodString>;
|
|
@@ -47200,8 +47328,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
47200
47328
|
args: z.ZodObject<{
|
|
47201
47329
|
browserId: z.ZodString;
|
|
47202
47330
|
filter: z.ZodDefault<z.ZodEnum<{
|
|
47203
|
-
failed: "failed";
|
|
47204
47331
|
all: "all";
|
|
47332
|
+
failed: "failed";
|
|
47205
47333
|
}>>;
|
|
47206
47334
|
requestId: z.ZodOptional<z.ZodString>;
|
|
47207
47335
|
}, z.core.$strict>;
|
|
@@ -47241,9 +47369,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
47241
47369
|
args: z.ZodObject<{
|
|
47242
47370
|
browserId: z.ZodString;
|
|
47243
47371
|
colorScheme: z.ZodEnum<{
|
|
47244
|
-
auto: "auto";
|
|
47245
47372
|
light: "light";
|
|
47246
47373
|
dark: "dark";
|
|
47374
|
+
auto: "auto";
|
|
47247
47375
|
}>;
|
|
47248
47376
|
}, z.core.$strict>;
|
|
47249
47377
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -47616,8 +47744,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
47616
47744
|
type: z.ZodLiteral<"artifact">;
|
|
47617
47745
|
payload: z.ZodObject<{
|
|
47618
47746
|
type: z.ZodEnum<{
|
|
47619
|
-
image: "image";
|
|
47620
47747
|
code: "code";
|
|
47748
|
+
image: "image";
|
|
47621
47749
|
markdown: "markdown";
|
|
47622
47750
|
diff: "diff";
|
|
47623
47751
|
}>;
|
|
@@ -47915,8 +48043,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
47915
48043
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
47916
48044
|
status: z.ZodEnum<{
|
|
47917
48045
|
running: "running";
|
|
47918
|
-
done: "done";
|
|
47919
48046
|
failed: "failed";
|
|
48047
|
+
done: "done";
|
|
47920
48048
|
attention: "attention";
|
|
47921
48049
|
needs_input: "needs_input";
|
|
47922
48050
|
}>;
|
|
@@ -48111,7 +48239,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
48111
48239
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
48112
48240
|
name: string;
|
|
48113
48241
|
archivingAt: string | null;
|
|
48114
|
-
status: "running" | "
|
|
48242
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
48115
48243
|
statusEnteredAt: string | null;
|
|
48116
48244
|
activityAt: string | null;
|
|
48117
48245
|
scripts: {
|
|
@@ -48238,7 +48366,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
48238
48366
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
48239
48367
|
name: string;
|
|
48240
48368
|
archivingAt: string | null;
|
|
48241
|
-
status: "running" | "
|
|
48369
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
48242
48370
|
statusEnteredAt: string | null;
|
|
48243
48371
|
activityAt: string | null;
|
|
48244
48372
|
scripts: {
|
|
@@ -48667,8 +48795,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
48667
48795
|
workspaceId: z.ZodString;
|
|
48668
48796
|
status: z.ZodEnum<{
|
|
48669
48797
|
running: "running";
|
|
48670
|
-
completed: "completed";
|
|
48671
48798
|
failed: "failed";
|
|
48799
|
+
completed: "completed";
|
|
48672
48800
|
}>;
|
|
48673
48801
|
detail: z.ZodObject<{
|
|
48674
48802
|
type: z.ZodLiteral<"worktree_setup">;
|
|
@@ -48682,8 +48810,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
48682
48810
|
log: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
48683
48811
|
status: z.ZodEnum<{
|
|
48684
48812
|
running: "running";
|
|
48685
|
-
completed: "completed";
|
|
48686
48813
|
failed: "failed";
|
|
48814
|
+
completed: "completed";
|
|
48687
48815
|
}>;
|
|
48688
48816
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
48689
48817
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -48700,8 +48828,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
48700
48828
|
snapshot: z.ZodNullable<z.ZodObject<{
|
|
48701
48829
|
status: z.ZodEnum<{
|
|
48702
48830
|
running: "running";
|
|
48703
|
-
completed: "completed";
|
|
48704
48831
|
failed: "failed";
|
|
48832
|
+
completed: "completed";
|
|
48705
48833
|
}>;
|
|
48706
48834
|
detail: z.ZodObject<{
|
|
48707
48835
|
type: z.ZodLiteral<"worktree_setup">;
|
|
@@ -48715,8 +48843,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
48715
48843
|
log: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
48716
48844
|
status: z.ZodEnum<{
|
|
48717
48845
|
running: "running";
|
|
48718
|
-
completed: "completed";
|
|
48719
48846
|
failed: "failed";
|
|
48847
|
+
completed: "completed";
|
|
48720
48848
|
}>;
|
|
48721
48849
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
48722
48850
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -48802,9 +48930,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
48802
48930
|
provider: z.ZodString;
|
|
48803
48931
|
info: z.ZodObject<{
|
|
48804
48932
|
status: z.ZodEnum<{
|
|
48933
|
+
allowed: "allowed";
|
|
48805
48934
|
warning: "warning";
|
|
48806
48935
|
rejected: "rejected";
|
|
48807
|
-
allowed: "allowed";
|
|
48808
48936
|
}>;
|
|
48809
48937
|
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
48810
48938
|
limitType: z.ZodOptional<z.ZodString>;
|
|
@@ -49436,8 +49564,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
49436
49564
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
49437
49565
|
status: z.ZodEnum<{
|
|
49438
49566
|
running: "running";
|
|
49439
|
-
done: "done";
|
|
49440
49567
|
failed: "failed";
|
|
49568
|
+
done: "done";
|
|
49441
49569
|
attention: "attention";
|
|
49442
49570
|
needs_input: "needs_input";
|
|
49443
49571
|
}>;
|
|
@@ -49632,7 +49760,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
49632
49760
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
49633
49761
|
name: string;
|
|
49634
49762
|
archivingAt: string | null;
|
|
49635
|
-
status: "running" | "
|
|
49763
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
49636
49764
|
statusEnteredAt: string | null;
|
|
49637
49765
|
activityAt: string | null;
|
|
49638
49766
|
scripts: {
|
|
@@ -49759,7 +49887,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
49759
49887
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
49760
49888
|
name: string;
|
|
49761
49889
|
archivingAt: string | null;
|
|
49762
|
-
status: "running" | "
|
|
49890
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
49763
49891
|
statusEnteredAt: string | null;
|
|
49764
49892
|
activityAt: string | null;
|
|
49765
49893
|
scripts: {
|
|
@@ -50039,8 +50167,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
50039
50167
|
id: z.ZodString;
|
|
50040
50168
|
status: z.ZodEnum<{
|
|
50041
50169
|
running: "running";
|
|
50042
|
-
done: "done";
|
|
50043
50170
|
failed: "failed";
|
|
50171
|
+
done: "done";
|
|
50044
50172
|
skipped: "skipped";
|
|
50045
50173
|
}>;
|
|
50046
50174
|
detail: z.ZodNullable<z.ZodString>;
|
|
@@ -50053,8 +50181,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
50053
50181
|
step: z.ZodString;
|
|
50054
50182
|
status: z.ZodEnum<{
|
|
50055
50183
|
running: "running";
|
|
50056
|
-
done: "done";
|
|
50057
50184
|
failed: "failed";
|
|
50185
|
+
done: "done";
|
|
50058
50186
|
skipped: "skipped";
|
|
50059
50187
|
}>;
|
|
50060
50188
|
detail: z.ZodNullable<z.ZodString>;
|
|
@@ -50141,8 +50269,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
50141
50269
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
50142
50270
|
status: z.ZodEnum<{
|
|
50143
50271
|
running: "running";
|
|
50144
|
-
done: "done";
|
|
50145
50272
|
failed: "failed";
|
|
50273
|
+
done: "done";
|
|
50146
50274
|
attention: "attention";
|
|
50147
50275
|
needs_input: "needs_input";
|
|
50148
50276
|
}>;
|
|
@@ -50337,7 +50465,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
50337
50465
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
50338
50466
|
name: string;
|
|
50339
50467
|
archivingAt: string | null;
|
|
50340
|
-
status: "running" | "
|
|
50468
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
50341
50469
|
statusEnteredAt: string | null;
|
|
50342
50470
|
activityAt: string | null;
|
|
50343
50471
|
scripts: {
|
|
@@ -50464,7 +50592,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
50464
50592
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
50465
50593
|
name: string;
|
|
50466
50594
|
archivingAt: string | null;
|
|
50467
|
-
status: "running" | "
|
|
50595
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
50468
50596
|
statusEnteredAt: string | null;
|
|
50469
50597
|
activityAt: string | null;
|
|
50470
50598
|
scripts: {
|
|
@@ -51030,8 +51158,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
51030
51158
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
51031
51159
|
status: z.ZodEnum<{
|
|
51032
51160
|
running: "running";
|
|
51033
|
-
done: "done";
|
|
51034
51161
|
failed: "failed";
|
|
51162
|
+
done: "done";
|
|
51035
51163
|
attention: "attention";
|
|
51036
51164
|
needs_input: "needs_input";
|
|
51037
51165
|
}>;
|
|
@@ -51226,7 +51354,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
51226
51354
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
51227
51355
|
name: string;
|
|
51228
51356
|
archivingAt: string | null;
|
|
51229
|
-
status: "running" | "
|
|
51357
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
51230
51358
|
statusEnteredAt: string | null;
|
|
51231
51359
|
activityAt: string | null;
|
|
51232
51360
|
scripts: {
|
|
@@ -51353,7 +51481,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
51353
51481
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
51354
51482
|
name: string;
|
|
51355
51483
|
archivingAt: string | null;
|
|
51356
|
-
status: "running" | "
|
|
51484
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
51357
51485
|
statusEnteredAt: string | null;
|
|
51358
51486
|
activityAt: string | null;
|
|
51359
51487
|
scripts: {
|
|
@@ -51813,6 +51941,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
51813
51941
|
hasOlder: z.ZodBoolean;
|
|
51814
51942
|
hasNewer: z.ZodBoolean;
|
|
51815
51943
|
mergeWindow: z.ZodOptional<z.ZodBoolean>;
|
|
51944
|
+
promptIndex: z.ZodOptional<z.ZodObject<{
|
|
51945
|
+
epoch: z.ZodString;
|
|
51946
|
+
prompts: z.ZodArray<z.ZodObject<{
|
|
51947
|
+
seq: z.ZodNumber;
|
|
51948
|
+
timestamp: z.ZodString;
|
|
51949
|
+
preview: z.ZodString;
|
|
51950
|
+
}, z.core.$strip>>;
|
|
51951
|
+
}, z.core.$strip>>;
|
|
51816
51952
|
entries: z.ZodArray<z.ZodObject<{
|
|
51817
51953
|
provider: z.ZodString;
|
|
51818
51954
|
item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
|
|
@@ -51835,15 +51971,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
51835
51971
|
}, z.core.$strip>, z.ZodObject<{
|
|
51836
51972
|
type: z.ZodLiteral<"agent.timeline.list_prompts.response">;
|
|
51837
51973
|
payload: z.ZodObject<{
|
|
51838
|
-
|
|
51839
|
-
agentId: z.ZodString;
|
|
51974
|
+
error: z.ZodNullable<z.ZodString>;
|
|
51840
51975
|
epoch: z.ZodString;
|
|
51841
51976
|
prompts: z.ZodArray<z.ZodObject<{
|
|
51842
51977
|
seq: z.ZodNumber;
|
|
51843
51978
|
timestamp: z.ZodString;
|
|
51844
51979
|
preview: z.ZodString;
|
|
51845
51980
|
}, z.core.$strip>>;
|
|
51846
|
-
|
|
51981
|
+
requestId: z.ZodString;
|
|
51982
|
+
agentId: z.ZodString;
|
|
51847
51983
|
}, z.core.$strip>;
|
|
51848
51984
|
}, z.core.$strip>, z.ZodObject<{
|
|
51849
51985
|
type: z.ZodLiteral<"agent.provider_subagents.list.response">;
|
|
@@ -51858,8 +51994,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
51858
51994
|
description: z.ZodNullable<z.ZodString>;
|
|
51859
51995
|
status: z.ZodEnum<{
|
|
51860
51996
|
running: "running";
|
|
51861
|
-
completed: "completed";
|
|
51862
51997
|
failed: "failed";
|
|
51998
|
+
completed: "completed";
|
|
51863
51999
|
canceled: "canceled";
|
|
51864
52000
|
}>;
|
|
51865
52001
|
createdAt: z.ZodString;
|
|
@@ -51912,8 +52048,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
51912
52048
|
description: z.ZodNullable<z.ZodString>;
|
|
51913
52049
|
status: z.ZodEnum<{
|
|
51914
52050
|
running: "running";
|
|
51915
|
-
completed: "completed";
|
|
51916
52051
|
failed: "failed";
|
|
52052
|
+
completed: "completed";
|
|
51917
52053
|
canceled: "canceled";
|
|
51918
52054
|
}>;
|
|
51919
52055
|
createdAt: z.ZodString;
|
|
@@ -52299,8 +52435,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
52299
52435
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
52300
52436
|
status: z.ZodEnum<{
|
|
52301
52437
|
running: "running";
|
|
52302
|
-
done: "done";
|
|
52303
52438
|
failed: "failed";
|
|
52439
|
+
done: "done";
|
|
52304
52440
|
attention: "attention";
|
|
52305
52441
|
needs_input: "needs_input";
|
|
52306
52442
|
}>;
|
|
@@ -52495,7 +52631,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
52495
52631
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
52496
52632
|
name: string;
|
|
52497
52633
|
archivingAt: string | null;
|
|
52498
|
-
status: "running" | "
|
|
52634
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
52499
52635
|
statusEnteredAt: string | null;
|
|
52500
52636
|
activityAt: string | null;
|
|
52501
52637
|
scripts: {
|
|
@@ -52622,7 +52758,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
52622
52758
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
52623
52759
|
name: string;
|
|
52624
52760
|
archivingAt: string | null;
|
|
52625
|
-
status: "running" | "
|
|
52761
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
52626
52762
|
statusEnteredAt: string | null;
|
|
52627
52763
|
activityAt: string | null;
|
|
52628
52764
|
scripts: {
|
|
@@ -53063,7 +53199,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
53063
53199
|
modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
53064
53200
|
provider: z.ZodString;
|
|
53065
53201
|
modelId: z.ZodString;
|
|
53066
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
53202
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
53067
53203
|
}, z.core.$loose>>>;
|
|
53068
53204
|
modelVisibilityOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
53069
53205
|
provider: z.ZodString;
|
|
@@ -53440,7 +53576,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
53440
53576
|
modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
53441
53577
|
provider: z.ZodString;
|
|
53442
53578
|
modelId: z.ZodString;
|
|
53443
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
53579
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
53444
53580
|
}, z.core.$loose>>>;
|
|
53445
53581
|
modelVisibilityOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
53446
53582
|
provider: z.ZodString;
|
|
@@ -54763,9 +54899,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
54763
54899
|
tldr: z.ZodString;
|
|
54764
54900
|
cwd: z.ZodOptional<z.ZodString>;
|
|
54765
54901
|
state: z.ZodEnum<{
|
|
54902
|
+
dismissed: "dismissed";
|
|
54766
54903
|
pending: "pending";
|
|
54767
54904
|
started: "started";
|
|
54768
|
-
dismissed: "dismissed";
|
|
54769
54905
|
}>;
|
|
54770
54906
|
createdAt: z.ZodString;
|
|
54771
54907
|
updatedAt: z.ZodString;
|
|
@@ -55620,9 +55756,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
55620
55756
|
value: z.ZodString;
|
|
55621
55757
|
label: z.ZodString;
|
|
55622
55758
|
kind: z.ZodEnum<{
|
|
55759
|
+
all: "all";
|
|
55623
55760
|
tailscale: "tailscale";
|
|
55624
55761
|
loopback: "loopback";
|
|
55625
|
-
all: "all";
|
|
55626
55762
|
lan: "lan";
|
|
55627
55763
|
}>;
|
|
55628
55764
|
}, z.core.$loose>>>;
|
|
@@ -59780,8 +59916,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
59780
59916
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
59781
59917
|
status: z.ZodEnum<{
|
|
59782
59918
|
running: "running";
|
|
59783
|
-
done: "done";
|
|
59784
59919
|
failed: "failed";
|
|
59920
|
+
done: "done";
|
|
59785
59921
|
attention: "attention";
|
|
59786
59922
|
needs_input: "needs_input";
|
|
59787
59923
|
}>;
|
|
@@ -59976,7 +60112,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
59976
60112
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
59977
60113
|
name: string;
|
|
59978
60114
|
archivingAt: string | null;
|
|
59979
|
-
status: "running" | "
|
|
60115
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
59980
60116
|
statusEnteredAt: string | null;
|
|
59981
60117
|
activityAt: string | null;
|
|
59982
60118
|
scripts: {
|
|
@@ -60103,7 +60239,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
60103
60239
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
60104
60240
|
name: string;
|
|
60105
60241
|
archivingAt: string | null;
|
|
60106
|
-
status: "running" | "
|
|
60242
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
60107
60243
|
statusEnteredAt: string | null;
|
|
60108
60244
|
activityAt: string | null;
|
|
60109
60245
|
scripts: {
|
|
@@ -60630,8 +60766,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
60630
60766
|
cwd: z.ZodString;
|
|
60631
60767
|
status: z.ZodEnum<{
|
|
60632
60768
|
error: "error";
|
|
60633
|
-
completed: "completed";
|
|
60634
60769
|
truncated: "truncated";
|
|
60770
|
+
completed: "completed";
|
|
60635
60771
|
superseded: "superseded";
|
|
60636
60772
|
}>;
|
|
60637
60773
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -60967,9 +61103,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
60967
61103
|
solutionPath: z.ZodString;
|
|
60968
61104
|
projectPath: z.ZodString;
|
|
60969
61105
|
status: z.ZodEnum<{
|
|
61106
|
+
failed: "failed";
|
|
60970
61107
|
ok: "ok";
|
|
60971
61108
|
unavailable: "unavailable";
|
|
60972
|
-
failed: "failed";
|
|
60973
61109
|
}>;
|
|
60974
61110
|
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
60975
61111
|
kind: z.ZodLiteral<"directory">;
|
|
@@ -61023,7 +61159,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61023
61159
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
61024
61160
|
}, z.core.$strip>>>;
|
|
61025
61161
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
61026
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
61162
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
61027
61163
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
61028
61164
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
61029
61165
|
}, z.core.$strip>>>;
|
|
@@ -61118,7 +61254,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61118
61254
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
61119
61255
|
}, z.core.$strip>>>;
|
|
61120
61256
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
61121
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
61257
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
61122
61258
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
61123
61259
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
61124
61260
|
}, z.core.$strip>>>;
|
|
@@ -61133,13 +61269,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61133
61269
|
error: z.ZodOptional<z.ZodString>;
|
|
61134
61270
|
description: z.ZodOptional<z.ZodString>;
|
|
61135
61271
|
label: z.ZodOptional<z.ZodString>;
|
|
61272
|
+
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
61136
61273
|
source: z.ZodOptional<z.ZodEnum<{
|
|
61137
61274
|
custom: "custom";
|
|
61138
61275
|
builtin: "builtin";
|
|
61139
61276
|
}>>;
|
|
61140
61277
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
61141
61278
|
provider: z.ZodString;
|
|
61142
|
-
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
61143
61279
|
defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61144
61280
|
modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
|
|
61145
61281
|
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -61150,7 +61286,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61150
61286
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
61151
61287
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
61152
61288
|
family: z.ZodOptional<z.ZodString>;
|
|
61153
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
61289
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
61154
61290
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
61155
61291
|
isSelectable: z.ZodOptional<z.ZodBoolean>;
|
|
61156
61292
|
contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -61210,7 +61346,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61210
61346
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
61211
61347
|
}, z.core.$strip>>>;
|
|
61212
61348
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
61213
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
61349
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
61214
61350
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
61215
61351
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
61216
61352
|
}, z.core.$strip>>>;
|
|
@@ -61225,13 +61361,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61225
61361
|
error: z.ZodOptional<z.ZodString>;
|
|
61226
61362
|
description: z.ZodOptional<z.ZodString>;
|
|
61227
61363
|
label: z.ZodOptional<z.ZodString>;
|
|
61364
|
+
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
61228
61365
|
source: z.ZodOptional<z.ZodEnum<{
|
|
61229
61366
|
custom: "custom";
|
|
61230
61367
|
builtin: "builtin";
|
|
61231
61368
|
}>>;
|
|
61232
61369
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
61233
61370
|
provider: z.ZodString;
|
|
61234
|
-
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
61235
61371
|
defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61236
61372
|
modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
|
|
61237
61373
|
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -61242,7 +61378,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61242
61378
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
61243
61379
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
61244
61380
|
family: z.ZodOptional<z.ZodString>;
|
|
61245
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
61381
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
61246
61382
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
61247
61383
|
isSelectable: z.ZodOptional<z.ZodBoolean>;
|
|
61248
61384
|
contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -61306,9 +61442,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61306
61442
|
runsOutAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61307
61443
|
shortfallPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
61308
61444
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
61445
|
+
warning: "warning";
|
|
61309
61446
|
default: "default";
|
|
61310
61447
|
ok: "ok";
|
|
61311
|
-
warning: "warning";
|
|
61312
61448
|
danger: "danger";
|
|
61313
61449
|
}>>;
|
|
61314
61450
|
}, z.core.$strip>>;
|
|
@@ -61319,16 +61455,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61319
61455
|
remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
61320
61456
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
61321
61457
|
unit: z.ZodEnum<{
|
|
61322
|
-
tokens: "tokens";
|
|
61323
61458
|
requests: "requests";
|
|
61459
|
+
tokens: "tokens";
|
|
61324
61460
|
usd: "usd";
|
|
61325
61461
|
credits: "credits";
|
|
61326
61462
|
}>;
|
|
61327
61463
|
resetsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61328
61464
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
61465
|
+
warning: "warning";
|
|
61329
61466
|
default: "default";
|
|
61330
61467
|
ok: "ok";
|
|
61331
|
-
warning: "warning";
|
|
61332
61468
|
danger: "danger";
|
|
61333
61469
|
}>>;
|
|
61334
61470
|
}, z.core.$strip>>>;
|
|
@@ -61337,9 +61473,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61337
61473
|
label: z.ZodString;
|
|
61338
61474
|
value: z.ZodString;
|
|
61339
61475
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
61476
|
+
warning: "warning";
|
|
61340
61477
|
default: "default";
|
|
61341
61478
|
ok: "ok";
|
|
61342
|
-
warning: "warning";
|
|
61343
61479
|
danger: "danger";
|
|
61344
61480
|
}>>;
|
|
61345
61481
|
}, z.core.$strip>>>;
|
|
@@ -61701,9 +61837,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61701
61837
|
}, z.core.$strip>>;
|
|
61702
61838
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
61703
61839
|
read: "read";
|
|
61840
|
+
rejected: "rejected";
|
|
61704
61841
|
unevaluated: "unevaluated";
|
|
61705
61842
|
adopted: "adopted";
|
|
61706
|
-
rejected: "rejected";
|
|
61707
61843
|
dependency: "dependency";
|
|
61708
61844
|
}>>;
|
|
61709
61845
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -61724,7 +61860,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61724
61860
|
title: z.ZodString;
|
|
61725
61861
|
path: z.ZodString;
|
|
61726
61862
|
absolutePath: z.ZodOptional<z.ZodString>;
|
|
61727
|
-
body: z.ZodString
|
|
61863
|
+
body: z.ZodOptional<z.ZodString>;
|
|
61728
61864
|
bodyDigest: z.ZodOptional<z.ZodString>;
|
|
61729
61865
|
}, z.core.$strip>>>;
|
|
61730
61866
|
findings: z.ZodArray<z.ZodObject<{
|
|
@@ -61789,9 +61925,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61789
61925
|
}, z.core.$strip>>;
|
|
61790
61926
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
61791
61927
|
read: "read";
|
|
61928
|
+
rejected: "rejected";
|
|
61792
61929
|
unevaluated: "unevaluated";
|
|
61793
61930
|
adopted: "adopted";
|
|
61794
|
-
rejected: "rejected";
|
|
61795
61931
|
dependency: "dependency";
|
|
61796
61932
|
}>>;
|
|
61797
61933
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -61808,6 +61944,19 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61808
61944
|
absolutePath: z.ZodOptional<z.ZodString>;
|
|
61809
61945
|
}, z.core.$strip>>;
|
|
61810
61946
|
}, z.core.$strip>;
|
|
61947
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
61948
|
+
type: z.ZodLiteral<"project.knowledge.root.get.response">;
|
|
61949
|
+
payload: z.ZodObject<{
|
|
61950
|
+
requestId: z.ZodString;
|
|
61951
|
+
page: z.ZodNullable<z.ZodObject<{
|
|
61952
|
+
slug: z.ZodString;
|
|
61953
|
+
title: z.ZodString;
|
|
61954
|
+
path: z.ZodString;
|
|
61955
|
+
absolutePath: z.ZodOptional<z.ZodString>;
|
|
61956
|
+
body: z.ZodOptional<z.ZodString>;
|
|
61957
|
+
bodyDigest: z.ZodOptional<z.ZodString>;
|
|
61958
|
+
}, z.core.$strip>>;
|
|
61959
|
+
}, z.core.$strip>;
|
|
61811
61960
|
}, z.core.$strip>, z.ZodObject<{
|
|
61812
61961
|
type: z.ZodLiteral<"project.knowledge.create.response">;
|
|
61813
61962
|
payload: z.ZodObject<{
|
|
@@ -61850,9 +61999,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61850
61999
|
}, z.core.$strip>>;
|
|
61851
62000
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
61852
62001
|
read: "read";
|
|
62002
|
+
rejected: "rejected";
|
|
61853
62003
|
unevaluated: "unevaluated";
|
|
61854
62004
|
adopted: "adopted";
|
|
61855
|
-
rejected: "rejected";
|
|
61856
62005
|
dependency: "dependency";
|
|
61857
62006
|
}>>;
|
|
61858
62007
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -61911,9 +62060,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61911
62060
|
}, z.core.$strip>>;
|
|
61912
62061
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
61913
62062
|
read: "read";
|
|
62063
|
+
rejected: "rejected";
|
|
61914
62064
|
unevaluated: "unevaluated";
|
|
61915
62065
|
adopted: "adopted";
|
|
61916
|
-
rejected: "rejected";
|
|
61917
62066
|
dependency: "dependency";
|
|
61918
62067
|
}>>;
|
|
61919
62068
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -61973,9 +62122,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
61973
62122
|
}, z.core.$strip>>;
|
|
61974
62123
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
61975
62124
|
read: "read";
|
|
62125
|
+
rejected: "rejected";
|
|
61976
62126
|
unevaluated: "unevaluated";
|
|
61977
62127
|
adopted: "adopted";
|
|
61978
|
-
rejected: "rejected";
|
|
61979
62128
|
dependency: "dependency";
|
|
61980
62129
|
}>>;
|
|
61981
62130
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -62034,9 +62183,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
62034
62183
|
}, z.core.$strip>>;
|
|
62035
62184
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
62036
62185
|
read: "read";
|
|
62186
|
+
rejected: "rejected";
|
|
62037
62187
|
unevaluated: "unevaluated";
|
|
62038
62188
|
adopted: "adopted";
|
|
62039
|
-
rejected: "rejected";
|
|
62040
62189
|
dependency: "dependency";
|
|
62041
62190
|
}>>;
|
|
62042
62191
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -62096,9 +62245,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
62096
62245
|
}, z.core.$strip>>;
|
|
62097
62246
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
62098
62247
|
read: "read";
|
|
62248
|
+
rejected: "rejected";
|
|
62099
62249
|
unevaluated: "unevaluated";
|
|
62100
62250
|
adopted: "adopted";
|
|
62101
|
-
rejected: "rejected";
|
|
62102
62251
|
dependency: "dependency";
|
|
62103
62252
|
}>>;
|
|
62104
62253
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -62125,7 +62274,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
62125
62274
|
title: z.ZodString;
|
|
62126
62275
|
path: z.ZodString;
|
|
62127
62276
|
absolutePath: z.ZodOptional<z.ZodString>;
|
|
62128
|
-
body: z.ZodString
|
|
62277
|
+
body: z.ZodOptional<z.ZodString>;
|
|
62129
62278
|
bodyDigest: z.ZodOptional<z.ZodString>;
|
|
62130
62279
|
}, z.core.$strip>>;
|
|
62131
62280
|
}, z.core.$strip>;
|
|
@@ -62171,9 +62320,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
62171
62320
|
}, z.core.$strip>>;
|
|
62172
62321
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
62173
62322
|
read: "read";
|
|
62323
|
+
rejected: "rejected";
|
|
62174
62324
|
unevaluated: "unevaluated";
|
|
62175
62325
|
adopted: "adopted";
|
|
62176
|
-
rejected: "rejected";
|
|
62177
62326
|
dependency: "dependency";
|
|
62178
62327
|
}>>;
|
|
62179
62328
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -62194,7 +62343,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
62194
62343
|
title: z.ZodString;
|
|
62195
62344
|
path: z.ZodString;
|
|
62196
62345
|
absolutePath: z.ZodOptional<z.ZodString>;
|
|
62197
|
-
body: z.ZodString
|
|
62346
|
+
body: z.ZodOptional<z.ZodString>;
|
|
62198
62347
|
bodyDigest: z.ZodOptional<z.ZodString>;
|
|
62199
62348
|
}, z.core.$strip>>;
|
|
62200
62349
|
demoted: z.ZodBoolean;
|
|
@@ -62707,14 +62856,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
62707
62856
|
schedule: z.ZodNullable<z.ZodObject<{
|
|
62708
62857
|
prompt: z.ZodString;
|
|
62709
62858
|
name: z.ZodNullable<z.ZodString>;
|
|
62710
|
-
id: z.ZodString;
|
|
62711
|
-
createdAt: z.ZodString;
|
|
62712
|
-
updatedAt: z.ZodString;
|
|
62713
62859
|
status: z.ZodEnum<{
|
|
62714
62860
|
completed: "completed";
|
|
62715
62861
|
active: "active";
|
|
62716
62862
|
paused: "paused";
|
|
62717
62863
|
}>;
|
|
62864
|
+
id: z.ZodString;
|
|
62865
|
+
createdAt: z.ZodString;
|
|
62866
|
+
updatedAt: z.ZodString;
|
|
62718
62867
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
62719
62868
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
62720
62869
|
type: z.ZodLiteral<"agent">;
|
|
@@ -62783,14 +62932,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
62783
62932
|
schedules: z.ZodArray<z.ZodObject<{
|
|
62784
62933
|
prompt: z.ZodString;
|
|
62785
62934
|
name: z.ZodNullable<z.ZodString>;
|
|
62786
|
-
id: z.ZodString;
|
|
62787
|
-
createdAt: z.ZodString;
|
|
62788
|
-
updatedAt: z.ZodString;
|
|
62789
62935
|
status: z.ZodEnum<{
|
|
62790
62936
|
completed: "completed";
|
|
62791
62937
|
active: "active";
|
|
62792
62938
|
paused: "paused";
|
|
62793
62939
|
}>;
|
|
62940
|
+
id: z.ZodString;
|
|
62941
|
+
createdAt: z.ZodString;
|
|
62942
|
+
updatedAt: z.ZodString;
|
|
62794
62943
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
62795
62944
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
62796
62945
|
type: z.ZodLiteral<"agent">;
|
|
@@ -63067,14 +63216,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
63067
63216
|
schedule: z.ZodNullable<z.ZodObject<{
|
|
63068
63217
|
prompt: z.ZodString;
|
|
63069
63218
|
name: z.ZodNullable<z.ZodString>;
|
|
63070
|
-
id: z.ZodString;
|
|
63071
|
-
createdAt: z.ZodString;
|
|
63072
|
-
updatedAt: z.ZodString;
|
|
63073
63219
|
status: z.ZodEnum<{
|
|
63074
63220
|
completed: "completed";
|
|
63075
63221
|
active: "active";
|
|
63076
63222
|
paused: "paused";
|
|
63077
63223
|
}>;
|
|
63224
|
+
id: z.ZodString;
|
|
63225
|
+
createdAt: z.ZodString;
|
|
63226
|
+
updatedAt: z.ZodString;
|
|
63078
63227
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
63079
63228
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
63080
63229
|
type: z.ZodLiteral<"agent">;
|
|
@@ -63143,14 +63292,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
63143
63292
|
schedule: z.ZodNullable<z.ZodObject<{
|
|
63144
63293
|
prompt: z.ZodString;
|
|
63145
63294
|
name: z.ZodNullable<z.ZodString>;
|
|
63146
|
-
id: z.ZodString;
|
|
63147
|
-
createdAt: z.ZodString;
|
|
63148
|
-
updatedAt: z.ZodString;
|
|
63149
63295
|
status: z.ZodEnum<{
|
|
63150
63296
|
completed: "completed";
|
|
63151
63297
|
active: "active";
|
|
63152
63298
|
paused: "paused";
|
|
63153
63299
|
}>;
|
|
63300
|
+
id: z.ZodString;
|
|
63301
|
+
createdAt: z.ZodString;
|
|
63302
|
+
updatedAt: z.ZodString;
|
|
63154
63303
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
63155
63304
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
63156
63305
|
type: z.ZodLiteral<"agent">;
|
|
@@ -63544,8 +63693,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
63544
63693
|
stopped: "stopped";
|
|
63545
63694
|
}>;
|
|
63546
63695
|
workerOutcome: z.ZodNullable<z.ZodEnum<{
|
|
63547
|
-
completed: "completed";
|
|
63548
63696
|
failed: "failed";
|
|
63697
|
+
completed: "completed";
|
|
63549
63698
|
canceled: "canceled";
|
|
63550
63699
|
}>>;
|
|
63551
63700
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
@@ -63656,8 +63805,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
63656
63805
|
stopped: "stopped";
|
|
63657
63806
|
}>;
|
|
63658
63807
|
workerOutcome: z.ZodNullable<z.ZodEnum<{
|
|
63659
|
-
completed: "completed";
|
|
63660
63808
|
failed: "failed";
|
|
63809
|
+
completed: "completed";
|
|
63661
63810
|
canceled: "canceled";
|
|
63662
63811
|
}>>;
|
|
63663
63812
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
@@ -63748,8 +63897,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
63748
63897
|
stopped: "stopped";
|
|
63749
63898
|
}>;
|
|
63750
63899
|
workerOutcome: z.ZodNullable<z.ZodEnum<{
|
|
63751
|
-
completed: "completed";
|
|
63752
63900
|
failed: "failed";
|
|
63901
|
+
completed: "completed";
|
|
63753
63902
|
canceled: "canceled";
|
|
63754
63903
|
}>>;
|
|
63755
63904
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
@@ -63857,8 +64006,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
63857
64006
|
stopped: "stopped";
|
|
63858
64007
|
}>;
|
|
63859
64008
|
workerOutcome: z.ZodNullable<z.ZodEnum<{
|
|
63860
|
-
completed: "completed";
|
|
63861
64009
|
failed: "failed";
|
|
64010
|
+
completed: "completed";
|
|
63862
64011
|
canceled: "canceled";
|
|
63863
64012
|
}>>;
|
|
63864
64013
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
@@ -63907,8 +64056,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
63907
64056
|
payload: z.ZodObject<{
|
|
63908
64057
|
requestId: z.ZodString;
|
|
63909
64058
|
phase: z.ZodEnum<{
|
|
63910
|
-
complete: "complete";
|
|
63911
64059
|
starting: "starting";
|
|
64060
|
+
complete: "complete";
|
|
63912
64061
|
downloading: "downloading";
|
|
63913
64062
|
installing: "installing";
|
|
63914
64063
|
}>;
|
|
@@ -64569,6 +64718,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
64569
64718
|
}>;
|
|
64570
64719
|
htmlPath: z.ZodString;
|
|
64571
64720
|
renderedAt: z.ZodString;
|
|
64721
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
64722
|
+
workflow: "workflow";
|
|
64723
|
+
architecture: "architecture";
|
|
64724
|
+
sequence: "sequence";
|
|
64725
|
+
dataflow: "dataflow";
|
|
64726
|
+
lifecycle: "lifecycle";
|
|
64727
|
+
}>>;
|
|
64572
64728
|
sourceStatus: z.ZodOptional<z.ZodEnum<{
|
|
64573
64729
|
unknown: "unknown";
|
|
64574
64730
|
stale: "stale";
|
|
@@ -64598,6 +64754,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
64598
64754
|
}>;
|
|
64599
64755
|
htmlPath: z.ZodString;
|
|
64600
64756
|
renderedAt: z.ZodString;
|
|
64757
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
64758
|
+
workflow: "workflow";
|
|
64759
|
+
architecture: "architecture";
|
|
64760
|
+
sequence: "sequence";
|
|
64761
|
+
dataflow: "dataflow";
|
|
64762
|
+
lifecycle: "lifecycle";
|
|
64763
|
+
}>>;
|
|
64601
64764
|
sourceStatus: z.ZodOptional<z.ZodEnum<{
|
|
64602
64765
|
unknown: "unknown";
|
|
64603
64766
|
stale: "stale";
|
|
@@ -64624,6 +64787,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
64624
64787
|
id: z.ZodString;
|
|
64625
64788
|
}, z.core.$strip>>;
|
|
64626
64789
|
baseSpecificationSha256: z.ZodNullable<z.ZodString>;
|
|
64790
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
64791
|
+
workflow: "workflow";
|
|
64792
|
+
architecture: "architecture";
|
|
64793
|
+
sequence: "sequence";
|
|
64794
|
+
dataflow: "dataflow";
|
|
64795
|
+
lifecycle: "lifecycle";
|
|
64796
|
+
}>>;
|
|
64627
64797
|
authoringAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64628
64798
|
createdAt: z.ZodString;
|
|
64629
64799
|
updatedAt: z.ZodString;
|
|
@@ -64647,6 +64817,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
64647
64817
|
id: z.ZodString;
|
|
64648
64818
|
}, z.core.$strip>>;
|
|
64649
64819
|
baseSpecificationSha256: z.ZodNullable<z.ZodString>;
|
|
64820
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
64821
|
+
workflow: "workflow";
|
|
64822
|
+
architecture: "architecture";
|
|
64823
|
+
sequence: "sequence";
|
|
64824
|
+
dataflow: "dataflow";
|
|
64825
|
+
lifecycle: "lifecycle";
|
|
64826
|
+
}>>;
|
|
64650
64827
|
authoringAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64651
64828
|
createdAt: z.ZodString;
|
|
64652
64829
|
updatedAt: z.ZodString;
|
|
@@ -64674,6 +64851,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
64674
64851
|
}>;
|
|
64675
64852
|
htmlPath: z.ZodString;
|
|
64676
64853
|
renderedAt: z.ZodString;
|
|
64854
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
64855
|
+
workflow: "workflow";
|
|
64856
|
+
architecture: "architecture";
|
|
64857
|
+
sequence: "sequence";
|
|
64858
|
+
dataflow: "dataflow";
|
|
64859
|
+
lifecycle: "lifecycle";
|
|
64860
|
+
}>>;
|
|
64677
64861
|
sourceStatus: z.ZodOptional<z.ZodEnum<{
|
|
64678
64862
|
unknown: "unknown";
|
|
64679
64863
|
stale: "stale";
|
|
@@ -64706,6 +64890,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
64706
64890
|
id: z.ZodString;
|
|
64707
64891
|
}, z.core.$strip>>;
|
|
64708
64892
|
baseSpecificationSha256: z.ZodNullable<z.ZodString>;
|
|
64893
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
64894
|
+
workflow: "workflow";
|
|
64895
|
+
architecture: "architecture";
|
|
64896
|
+
sequence: "sequence";
|
|
64897
|
+
dataflow: "dataflow";
|
|
64898
|
+
lifecycle: "lifecycle";
|
|
64899
|
+
}>>;
|
|
64709
64900
|
authoringAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64710
64901
|
createdAt: z.ZodString;
|
|
64711
64902
|
updatedAt: z.ZodString;
|
|
@@ -64713,6 +64904,36 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
64713
64904
|
html: z.ZodNullable<z.ZodString>;
|
|
64714
64905
|
error: z.ZodNullable<z.ZodString>;
|
|
64715
64906
|
}, z.core.$strip>;
|
|
64907
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
64908
|
+
type: z.ZodLiteral<"architectural-views.draft.list.response">;
|
|
64909
|
+
payload: z.ZodObject<{
|
|
64910
|
+
requestId: z.ZodString;
|
|
64911
|
+
success: z.ZodBoolean;
|
|
64912
|
+
drafts: z.ZodArray<z.ZodObject<{
|
|
64913
|
+
id: z.ZodString;
|
|
64914
|
+
viewId: z.ZodString;
|
|
64915
|
+
title: z.ZodString;
|
|
64916
|
+
knowledgeReferences: z.ZodArray<z.ZodObject<{
|
|
64917
|
+
kind: z.ZodEnum<{
|
|
64918
|
+
record: "record";
|
|
64919
|
+
root: "root";
|
|
64920
|
+
}>;
|
|
64921
|
+
id: z.ZodString;
|
|
64922
|
+
}, z.core.$strip>>;
|
|
64923
|
+
baseSpecificationSha256: z.ZodNullable<z.ZodString>;
|
|
64924
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
64925
|
+
workflow: "workflow";
|
|
64926
|
+
architecture: "architecture";
|
|
64927
|
+
sequence: "sequence";
|
|
64928
|
+
dataflow: "dataflow";
|
|
64929
|
+
lifecycle: "lifecycle";
|
|
64930
|
+
}>>;
|
|
64931
|
+
authoringAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64932
|
+
createdAt: z.ZodString;
|
|
64933
|
+
updatedAt: z.ZodString;
|
|
64934
|
+
}, z.core.$strip>>;
|
|
64935
|
+
error: z.ZodNullable<z.ZodString>;
|
|
64936
|
+
}, z.core.$strip>;
|
|
64716
64937
|
}, z.core.$strip>, z.ZodObject<{
|
|
64717
64938
|
type: z.ZodLiteral<"architectural-views.open.notification">;
|
|
64718
64939
|
payload: z.ZodObject<{
|
|
@@ -64728,10 +64949,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
64728
64949
|
type: z.ZodLiteral<"hello">;
|
|
64729
64950
|
clientId: z.ZodString;
|
|
64730
64951
|
clientType: z.ZodEnum<{
|
|
64731
|
-
mcp: "mcp";
|
|
64732
|
-
browser: "browser";
|
|
64733
64952
|
mobile: "mobile";
|
|
64953
|
+
browser: "browser";
|
|
64734
64954
|
cli: "cli";
|
|
64955
|
+
mcp: "mcp";
|
|
64735
64956
|
}>;
|
|
64736
64957
|
protocolVersion: z.ZodNumber;
|
|
64737
64958
|
appVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -64746,7 +64967,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
64746
64967
|
project_updates: z.ZodOptional<z.ZodBoolean>;
|
|
64747
64968
|
compact_provider_snapshots: z.ZodOptional<z.ZodBoolean>;
|
|
64748
64969
|
browser_host: z.ZodOptional<z.ZodObject<{
|
|
64749
|
-
supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "fill" | "
|
|
64970
|
+
supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "fill" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "select" | "hover" | "drag" | "logs" | "evaluate" | "inspect" | "network" | "scroll" | "resize" | "close_tab" | "focus_tab" | "page_text" | "set_color_scheme" | "screenshot_element")[], string[]>>;
|
|
64750
64971
|
hostKind: z.ZodDefault<z.ZodString>;
|
|
64751
64972
|
}, z.core.$loose>>;
|
|
64752
64973
|
}, z.core.$loose>>;
|
|
@@ -64837,8 +65058,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
64837
65058
|
canGoBack: z.ZodOptional<z.ZodBoolean>;
|
|
64838
65059
|
canGoForward: z.ZodOptional<z.ZodBoolean>;
|
|
64839
65060
|
status: z.ZodOptional<z.ZodEnum<{
|
|
64840
|
-
ready: "ready";
|
|
64841
65061
|
starting: "starting";
|
|
65062
|
+
ready: "ready";
|
|
64842
65063
|
detached: "detached";
|
|
64843
65064
|
}>>;
|
|
64844
65065
|
}, z.core.$strip>>;
|
|
@@ -65036,9 +65257,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
65036
65257
|
command: z.ZodLiteral<"set_color_scheme">;
|
|
65037
65258
|
browserId: z.ZodString;
|
|
65038
65259
|
colorScheme: z.ZodEnum<{
|
|
65039
|
-
auto: "auto";
|
|
65040
65260
|
light: "light";
|
|
65041
65261
|
dark: "dark";
|
|
65262
|
+
auto: "auto";
|
|
65042
65263
|
}>;
|
|
65043
65264
|
}, z.core.$strip>, z.ZodObject<{
|
|
65044
65265
|
command: z.ZodLiteral<"screenshot_element">;
|
|
@@ -65925,7 +66146,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
65925
66146
|
modelTierOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
65926
66147
|
provider: z.ZodString;
|
|
65927
66148
|
modelId: z.ZodString;
|
|
65928
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
66149
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
65929
66150
|
}, z.core.$loose>>>>;
|
|
65930
66151
|
modelVisibilityOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
65931
66152
|
provider: z.ZodString;
|
|
@@ -66276,18 +66497,18 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
66276
66497
|
type: z.ZodLiteral<"agent.profile.stats.request">;
|
|
66277
66498
|
}, z.core.$strip>, z.ZodObject<{
|
|
66278
66499
|
name: z.ZodString;
|
|
66500
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
66279
66501
|
requestId: z.ZodString;
|
|
66280
66502
|
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
66281
66503
|
glowA: z.ZodOptional<z.ZodString>;
|
|
66282
66504
|
glowB: z.ZodOptional<z.ZodString>;
|
|
66283
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
66284
66505
|
type: z.ZodLiteral<"agent.profile.generate_prompt.request">;
|
|
66285
66506
|
}, z.core.$strip>, z.ZodObject<{
|
|
66286
66507
|
prompt: z.ZodOptional<z.ZodString>;
|
|
66287
66508
|
name: z.ZodString;
|
|
66509
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
66288
66510
|
requestId: z.ZodString;
|
|
66289
66511
|
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
66290
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
66291
66512
|
moment: z.ZodOptional<z.ZodEnum<{
|
|
66292
66513
|
join: "join";
|
|
66293
66514
|
thinking: "thinking";
|
|
@@ -66626,11 +66847,17 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
66626
66847
|
type: z.ZodLiteral<"project.knowledge.list.request">;
|
|
66627
66848
|
requestId: z.ZodString;
|
|
66628
66849
|
workspaceId: z.ZodString;
|
|
66850
|
+
includeRootBodies: z.ZodOptional<z.ZodBoolean>;
|
|
66629
66851
|
}, z.core.$strip>, z.ZodObject<{
|
|
66630
66852
|
type: z.ZodLiteral<"project.knowledge.get.request">;
|
|
66631
66853
|
requestId: z.ZodString;
|
|
66632
66854
|
workspaceId: z.ZodString;
|
|
66633
66855
|
id: z.ZodString;
|
|
66856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
66857
|
+
type: z.ZodLiteral<"project.knowledge.root.get.request">;
|
|
66858
|
+
requestId: z.ZodString;
|
|
66859
|
+
workspaceId: z.ZodString;
|
|
66860
|
+
slug: z.ZodString;
|
|
66634
66861
|
}, z.core.$strip>, z.ZodObject<{
|
|
66635
66862
|
type: z.ZodLiteral<"project.knowledge.create.request">;
|
|
66636
66863
|
requestId: z.ZodString;
|
|
@@ -66672,9 +66899,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
66672
66899
|
}, z.core.$strip>>;
|
|
66673
66900
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
66674
66901
|
read: "read";
|
|
66902
|
+
rejected: "rejected";
|
|
66675
66903
|
unevaluated: "unevaluated";
|
|
66676
66904
|
adopted: "adopted";
|
|
66677
|
-
rejected: "rejected";
|
|
66678
66905
|
dependency: "dependency";
|
|
66679
66906
|
}>>;
|
|
66680
66907
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -66731,9 +66958,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
66731
66958
|
id: z.ZodString;
|
|
66732
66959
|
disposition: z.ZodOptional<z.ZodEnum<{
|
|
66733
66960
|
read: "read";
|
|
66961
|
+
rejected: "rejected";
|
|
66734
66962
|
unevaluated: "unevaluated";
|
|
66735
66963
|
adopted: "adopted";
|
|
66736
|
-
rejected: "rejected";
|
|
66737
66964
|
dependency: "dependency";
|
|
66738
66965
|
}>>;
|
|
66739
66966
|
sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -66861,16 +67088,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
66861
67088
|
requestId: z.ZodString;
|
|
66862
67089
|
}, z.core.$strip>, z.ZodObject<{
|
|
66863
67090
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
66864
|
-
projectRoot: z.ZodOptional<z.ZodString>;
|
|
66865
67091
|
requestId: z.ZodString;
|
|
67092
|
+
projectRoot: z.ZodOptional<z.ZodString>;
|
|
66866
67093
|
personalityId: z.ZodString;
|
|
66867
67094
|
type: z.ZodLiteral<"profile.memory.list.request">;
|
|
66868
67095
|
}, z.core.$strip>, z.ZodObject<{
|
|
66869
67096
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
66870
67097
|
text: z.ZodOptional<z.ZodString>;
|
|
67098
|
+
requestId: z.ZodString;
|
|
66871
67099
|
scope: z.ZodOptional<z.ZodString>;
|
|
66872
67100
|
projectRoot: z.ZodOptional<z.ZodString>;
|
|
66873
|
-
requestId: z.ZodString;
|
|
66874
67101
|
personalityId: z.ZodString;
|
|
66875
67102
|
entryId: z.ZodOptional<z.ZodString>;
|
|
66876
67103
|
drop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -66990,6 +67217,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
66990
67217
|
canonical: "canonical";
|
|
66991
67218
|
}>>;
|
|
66992
67219
|
mergeWindow: z.ZodOptional<z.ZodBoolean>;
|
|
67220
|
+
includePromptIndex: z.ZodOptional<z.ZodBoolean>;
|
|
66993
67221
|
}, z.core.$strip>, z.ZodObject<{
|
|
66994
67222
|
type: z.ZodLiteral<"agent.timeline.list_prompts.request">;
|
|
66995
67223
|
agentId: z.ZodString;
|
|
@@ -67090,6 +67318,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
67090
67318
|
subagent: "subagent";
|
|
67091
67319
|
in_session: "in_session";
|
|
67092
67320
|
}>;
|
|
67321
|
+
launch: z.ZodOptional<z.ZodObject<{
|
|
67322
|
+
provider: z.ZodString;
|
|
67323
|
+
model: z.ZodString;
|
|
67324
|
+
}, z.core.$strip>>;
|
|
67093
67325
|
requestId: z.ZodString;
|
|
67094
67326
|
}, z.core.$strip>, z.ZodObject<{
|
|
67095
67327
|
type: z.ZodLiteral<"tasks.suggested.dismiss.request">;
|
|
@@ -68802,8 +69034,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
68802
69034
|
}, z.core.$strip>, z.ZodObject<{
|
|
68803
69035
|
type: z.ZodLiteral<"client_heartbeat">;
|
|
68804
69036
|
deviceType: z.ZodEnum<{
|
|
68805
|
-
web: "web";
|
|
68806
69037
|
mobile: "mobile";
|
|
69038
|
+
web: "web";
|
|
68807
69039
|
}>;
|
|
68808
69040
|
focusedAgentId: z.ZodNullable<z.ZodString>;
|
|
68809
69041
|
focusedTerminalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -69224,6 +69456,13 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
69224
69456
|
id: z.ZodString;
|
|
69225
69457
|
}, z.core.$strip>>;
|
|
69226
69458
|
sourcePath: z.ZodString;
|
|
69459
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
69460
|
+
workflow: "workflow";
|
|
69461
|
+
architecture: "architecture";
|
|
69462
|
+
sequence: "sequence";
|
|
69463
|
+
dataflow: "dataflow";
|
|
69464
|
+
lifecycle: "lifecycle";
|
|
69465
|
+
}>>;
|
|
69227
69466
|
quality: z.ZodOptional<z.ZodEnum<{
|
|
69228
69467
|
standard: "standard";
|
|
69229
69468
|
showcase: "showcase";
|
|
@@ -69259,6 +69498,13 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
69259
69498
|
id: z.ZodString;
|
|
69260
69499
|
}, z.core.$strip>>;
|
|
69261
69500
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
69501
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
69502
|
+
workflow: "workflow";
|
|
69503
|
+
architecture: "architecture";
|
|
69504
|
+
sequence: "sequence";
|
|
69505
|
+
dataflow: "dataflow";
|
|
69506
|
+
lifecycle: "lifecycle";
|
|
69507
|
+
}>>;
|
|
69262
69508
|
quality: z.ZodOptional<z.ZodEnum<{
|
|
69263
69509
|
standard: "standard";
|
|
69264
69510
|
showcase: "showcase";
|
|
@@ -69293,6 +69539,17 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
69293
69539
|
viewId: z.ZodString;
|
|
69294
69540
|
draftId: z.ZodString;
|
|
69295
69541
|
requestId: z.ZodString;
|
|
69542
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69543
|
+
type: z.ZodLiteral<"architectural-views.draft.list.request">;
|
|
69544
|
+
workspaceId: z.ZodString;
|
|
69545
|
+
knowledgeReference: z.ZodOptional<z.ZodObject<{
|
|
69546
|
+
kind: z.ZodEnum<{
|
|
69547
|
+
record: "record";
|
|
69548
|
+
root: "root";
|
|
69549
|
+
}>;
|
|
69550
|
+
id: z.ZodString;
|
|
69551
|
+
}, z.core.$strip>>;
|
|
69552
|
+
requestId: z.ZodString;
|
|
69296
69553
|
}, z.core.$strip>], "type">;
|
|
69297
69554
|
}, z.core.$strip>], "type">;
|
|
69298
69555
|
export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -69650,9 +69907,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
69650
69907
|
provider: z.ZodString;
|
|
69651
69908
|
info: z.ZodObject<{
|
|
69652
69909
|
status: z.ZodEnum<{
|
|
69910
|
+
allowed: "allowed";
|
|
69653
69911
|
warning: "warning";
|
|
69654
69912
|
rejected: "rejected";
|
|
69655
|
-
allowed: "allowed";
|
|
69656
69913
|
}>;
|
|
69657
69914
|
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
69658
69915
|
limitType: z.ZodOptional<z.ZodString>;
|
|
@@ -69816,8 +70073,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
69816
70073
|
args: z.ZodObject<{
|
|
69817
70074
|
browserId: z.ZodString;
|
|
69818
70075
|
filter: z.ZodDefault<z.ZodEnum<{
|
|
69819
|
-
failed: "failed";
|
|
69820
70076
|
all: "all";
|
|
70077
|
+
failed: "failed";
|
|
69821
70078
|
}>>;
|
|
69822
70079
|
requestId: z.ZodOptional<z.ZodString>;
|
|
69823
70080
|
}, z.core.$strict>;
|
|
@@ -69857,9 +70114,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
69857
70114
|
args: z.ZodObject<{
|
|
69858
70115
|
browserId: z.ZodString;
|
|
69859
70116
|
colorScheme: z.ZodEnum<{
|
|
69860
|
-
auto: "auto";
|
|
69861
70117
|
light: "light";
|
|
69862
70118
|
dark: "dark";
|
|
70119
|
+
auto: "auto";
|
|
69863
70120
|
}>;
|
|
69864
70121
|
}, z.core.$strict>;
|
|
69865
70122
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -70232,8 +70489,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
70232
70489
|
type: z.ZodLiteral<"artifact">;
|
|
70233
70490
|
payload: z.ZodObject<{
|
|
70234
70491
|
type: z.ZodEnum<{
|
|
70235
|
-
image: "image";
|
|
70236
70492
|
code: "code";
|
|
70493
|
+
image: "image";
|
|
70237
70494
|
markdown: "markdown";
|
|
70238
70495
|
diff: "diff";
|
|
70239
70496
|
}>;
|
|
@@ -70531,8 +70788,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
70531
70788
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
70532
70789
|
status: z.ZodEnum<{
|
|
70533
70790
|
running: "running";
|
|
70534
|
-
done: "done";
|
|
70535
70791
|
failed: "failed";
|
|
70792
|
+
done: "done";
|
|
70536
70793
|
attention: "attention";
|
|
70537
70794
|
needs_input: "needs_input";
|
|
70538
70795
|
}>;
|
|
@@ -70727,7 +70984,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
70727
70984
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
70728
70985
|
name: string;
|
|
70729
70986
|
archivingAt: string | null;
|
|
70730
|
-
status: "running" | "
|
|
70987
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
70731
70988
|
statusEnteredAt: string | null;
|
|
70732
70989
|
activityAt: string | null;
|
|
70733
70990
|
scripts: {
|
|
@@ -70854,7 +71111,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
70854
71111
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
70855
71112
|
name: string;
|
|
70856
71113
|
archivingAt: string | null;
|
|
70857
|
-
status: "running" | "
|
|
71114
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
70858
71115
|
statusEnteredAt: string | null;
|
|
70859
71116
|
activityAt: string | null;
|
|
70860
71117
|
scripts: {
|
|
@@ -71283,8 +71540,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
71283
71540
|
workspaceId: z.ZodString;
|
|
71284
71541
|
status: z.ZodEnum<{
|
|
71285
71542
|
running: "running";
|
|
71286
|
-
completed: "completed";
|
|
71287
71543
|
failed: "failed";
|
|
71544
|
+
completed: "completed";
|
|
71288
71545
|
}>;
|
|
71289
71546
|
detail: z.ZodObject<{
|
|
71290
71547
|
type: z.ZodLiteral<"worktree_setup">;
|
|
@@ -71298,8 +71555,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
71298
71555
|
log: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
71299
71556
|
status: z.ZodEnum<{
|
|
71300
71557
|
running: "running";
|
|
71301
|
-
completed: "completed";
|
|
71302
71558
|
failed: "failed";
|
|
71559
|
+
completed: "completed";
|
|
71303
71560
|
}>;
|
|
71304
71561
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
71305
71562
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -71316,8 +71573,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
71316
71573
|
snapshot: z.ZodNullable<z.ZodObject<{
|
|
71317
71574
|
status: z.ZodEnum<{
|
|
71318
71575
|
running: "running";
|
|
71319
|
-
completed: "completed";
|
|
71320
71576
|
failed: "failed";
|
|
71577
|
+
completed: "completed";
|
|
71321
71578
|
}>;
|
|
71322
71579
|
detail: z.ZodObject<{
|
|
71323
71580
|
type: z.ZodLiteral<"worktree_setup">;
|
|
@@ -71331,8 +71588,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
71331
71588
|
log: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
71332
71589
|
status: z.ZodEnum<{
|
|
71333
71590
|
running: "running";
|
|
71334
|
-
completed: "completed";
|
|
71335
71591
|
failed: "failed";
|
|
71592
|
+
completed: "completed";
|
|
71336
71593
|
}>;
|
|
71337
71594
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
71338
71595
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -71418,9 +71675,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
71418
71675
|
provider: z.ZodString;
|
|
71419
71676
|
info: z.ZodObject<{
|
|
71420
71677
|
status: z.ZodEnum<{
|
|
71678
|
+
allowed: "allowed";
|
|
71421
71679
|
warning: "warning";
|
|
71422
71680
|
rejected: "rejected";
|
|
71423
|
-
allowed: "allowed";
|
|
71424
71681
|
}>;
|
|
71425
71682
|
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
71426
71683
|
limitType: z.ZodOptional<z.ZodString>;
|
|
@@ -72052,8 +72309,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
72052
72309
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
72053
72310
|
status: z.ZodEnum<{
|
|
72054
72311
|
running: "running";
|
|
72055
|
-
done: "done";
|
|
72056
72312
|
failed: "failed";
|
|
72313
|
+
done: "done";
|
|
72057
72314
|
attention: "attention";
|
|
72058
72315
|
needs_input: "needs_input";
|
|
72059
72316
|
}>;
|
|
@@ -72248,7 +72505,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
72248
72505
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
72249
72506
|
name: string;
|
|
72250
72507
|
archivingAt: string | null;
|
|
72251
|
-
status: "running" | "
|
|
72508
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
72252
72509
|
statusEnteredAt: string | null;
|
|
72253
72510
|
activityAt: string | null;
|
|
72254
72511
|
scripts: {
|
|
@@ -72375,7 +72632,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
72375
72632
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
72376
72633
|
name: string;
|
|
72377
72634
|
archivingAt: string | null;
|
|
72378
|
-
status: "running" | "
|
|
72635
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
72379
72636
|
statusEnteredAt: string | null;
|
|
72380
72637
|
activityAt: string | null;
|
|
72381
72638
|
scripts: {
|
|
@@ -72655,8 +72912,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
72655
72912
|
id: z.ZodString;
|
|
72656
72913
|
status: z.ZodEnum<{
|
|
72657
72914
|
running: "running";
|
|
72658
|
-
done: "done";
|
|
72659
72915
|
failed: "failed";
|
|
72916
|
+
done: "done";
|
|
72660
72917
|
skipped: "skipped";
|
|
72661
72918
|
}>;
|
|
72662
72919
|
detail: z.ZodNullable<z.ZodString>;
|
|
@@ -72669,8 +72926,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
72669
72926
|
step: z.ZodString;
|
|
72670
72927
|
status: z.ZodEnum<{
|
|
72671
72928
|
running: "running";
|
|
72672
|
-
done: "done";
|
|
72673
72929
|
failed: "failed";
|
|
72930
|
+
done: "done";
|
|
72674
72931
|
skipped: "skipped";
|
|
72675
72932
|
}>;
|
|
72676
72933
|
detail: z.ZodNullable<z.ZodString>;
|
|
@@ -72757,8 +73014,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
72757
73014
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
72758
73015
|
status: z.ZodEnum<{
|
|
72759
73016
|
running: "running";
|
|
72760
|
-
done: "done";
|
|
72761
73017
|
failed: "failed";
|
|
73018
|
+
done: "done";
|
|
72762
73019
|
attention: "attention";
|
|
72763
73020
|
needs_input: "needs_input";
|
|
72764
73021
|
}>;
|
|
@@ -72953,7 +73210,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
72953
73210
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
72954
73211
|
name: string;
|
|
72955
73212
|
archivingAt: string | null;
|
|
72956
|
-
status: "running" | "
|
|
73213
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
72957
73214
|
statusEnteredAt: string | null;
|
|
72958
73215
|
activityAt: string | null;
|
|
72959
73216
|
scripts: {
|
|
@@ -73080,7 +73337,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
73080
73337
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
73081
73338
|
name: string;
|
|
73082
73339
|
archivingAt: string | null;
|
|
73083
|
-
status: "running" | "
|
|
73340
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
73084
73341
|
statusEnteredAt: string | null;
|
|
73085
73342
|
activityAt: string | null;
|
|
73086
73343
|
scripts: {
|
|
@@ -73646,8 +73903,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
73646
73903
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
73647
73904
|
status: z.ZodEnum<{
|
|
73648
73905
|
running: "running";
|
|
73649
|
-
done: "done";
|
|
73650
73906
|
failed: "failed";
|
|
73907
|
+
done: "done";
|
|
73651
73908
|
attention: "attention";
|
|
73652
73909
|
needs_input: "needs_input";
|
|
73653
73910
|
}>;
|
|
@@ -73842,7 +74099,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
73842
74099
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
73843
74100
|
name: string;
|
|
73844
74101
|
archivingAt: string | null;
|
|
73845
|
-
status: "running" | "
|
|
74102
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
73846
74103
|
statusEnteredAt: string | null;
|
|
73847
74104
|
activityAt: string | null;
|
|
73848
74105
|
scripts: {
|
|
@@ -73969,7 +74226,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
73969
74226
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
73970
74227
|
name: string;
|
|
73971
74228
|
archivingAt: string | null;
|
|
73972
|
-
status: "running" | "
|
|
74229
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
73973
74230
|
statusEnteredAt: string | null;
|
|
73974
74231
|
activityAt: string | null;
|
|
73975
74232
|
scripts: {
|
|
@@ -74429,6 +74686,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
74429
74686
|
hasOlder: z.ZodBoolean;
|
|
74430
74687
|
hasNewer: z.ZodBoolean;
|
|
74431
74688
|
mergeWindow: z.ZodOptional<z.ZodBoolean>;
|
|
74689
|
+
promptIndex: z.ZodOptional<z.ZodObject<{
|
|
74690
|
+
epoch: z.ZodString;
|
|
74691
|
+
prompts: z.ZodArray<z.ZodObject<{
|
|
74692
|
+
seq: z.ZodNumber;
|
|
74693
|
+
timestamp: z.ZodString;
|
|
74694
|
+
preview: z.ZodString;
|
|
74695
|
+
}, z.core.$strip>>;
|
|
74696
|
+
}, z.core.$strip>>;
|
|
74432
74697
|
entries: z.ZodArray<z.ZodObject<{
|
|
74433
74698
|
provider: z.ZodString;
|
|
74434
74699
|
item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
|
|
@@ -74451,15 +74716,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
74451
74716
|
}, z.core.$strip>, z.ZodObject<{
|
|
74452
74717
|
type: z.ZodLiteral<"agent.timeline.list_prompts.response">;
|
|
74453
74718
|
payload: z.ZodObject<{
|
|
74454
|
-
|
|
74455
|
-
agentId: z.ZodString;
|
|
74719
|
+
error: z.ZodNullable<z.ZodString>;
|
|
74456
74720
|
epoch: z.ZodString;
|
|
74457
74721
|
prompts: z.ZodArray<z.ZodObject<{
|
|
74458
74722
|
seq: z.ZodNumber;
|
|
74459
74723
|
timestamp: z.ZodString;
|
|
74460
74724
|
preview: z.ZodString;
|
|
74461
74725
|
}, z.core.$strip>>;
|
|
74462
|
-
|
|
74726
|
+
requestId: z.ZodString;
|
|
74727
|
+
agentId: z.ZodString;
|
|
74463
74728
|
}, z.core.$strip>;
|
|
74464
74729
|
}, z.core.$strip>, z.ZodObject<{
|
|
74465
74730
|
type: z.ZodLiteral<"agent.provider_subagents.list.response">;
|
|
@@ -74474,8 +74739,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
74474
74739
|
description: z.ZodNullable<z.ZodString>;
|
|
74475
74740
|
status: z.ZodEnum<{
|
|
74476
74741
|
running: "running";
|
|
74477
|
-
completed: "completed";
|
|
74478
74742
|
failed: "failed";
|
|
74743
|
+
completed: "completed";
|
|
74479
74744
|
canceled: "canceled";
|
|
74480
74745
|
}>;
|
|
74481
74746
|
createdAt: z.ZodString;
|
|
@@ -74528,8 +74793,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
74528
74793
|
description: z.ZodNullable<z.ZodString>;
|
|
74529
74794
|
status: z.ZodEnum<{
|
|
74530
74795
|
running: "running";
|
|
74531
|
-
completed: "completed";
|
|
74532
74796
|
failed: "failed";
|
|
74797
|
+
completed: "completed";
|
|
74533
74798
|
canceled: "canceled";
|
|
74534
74799
|
}>;
|
|
74535
74800
|
createdAt: z.ZodString;
|
|
@@ -74915,8 +75180,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
74915
75180
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
74916
75181
|
status: z.ZodEnum<{
|
|
74917
75182
|
running: "running";
|
|
74918
|
-
done: "done";
|
|
74919
75183
|
failed: "failed";
|
|
75184
|
+
done: "done";
|
|
74920
75185
|
attention: "attention";
|
|
74921
75186
|
needs_input: "needs_input";
|
|
74922
75187
|
}>;
|
|
@@ -75111,7 +75376,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
75111
75376
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
75112
75377
|
name: string;
|
|
75113
75378
|
archivingAt: string | null;
|
|
75114
|
-
status: "running" | "
|
|
75379
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
75115
75380
|
statusEnteredAt: string | null;
|
|
75116
75381
|
activityAt: string | null;
|
|
75117
75382
|
scripts: {
|
|
@@ -75238,7 +75503,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
75238
75503
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
75239
75504
|
name: string;
|
|
75240
75505
|
archivingAt: string | null;
|
|
75241
|
-
status: "running" | "
|
|
75506
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
75242
75507
|
statusEnteredAt: string | null;
|
|
75243
75508
|
activityAt: string | null;
|
|
75244
75509
|
scripts: {
|
|
@@ -75679,7 +75944,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
75679
75944
|
modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
75680
75945
|
provider: z.ZodString;
|
|
75681
75946
|
modelId: z.ZodString;
|
|
75682
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
75947
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
75683
75948
|
}, z.core.$loose>>>;
|
|
75684
75949
|
modelVisibilityOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
75685
75950
|
provider: z.ZodString;
|
|
@@ -76056,7 +76321,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
76056
76321
|
modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
76057
76322
|
provider: z.ZodString;
|
|
76058
76323
|
modelId: z.ZodString;
|
|
76059
|
-
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
76324
|
+
tier: z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>;
|
|
76060
76325
|
}, z.core.$loose>>>;
|
|
76061
76326
|
modelVisibilityOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
76062
76327
|
provider: z.ZodString;
|
|
@@ -77379,9 +77644,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
77379
77644
|
tldr: z.ZodString;
|
|
77380
77645
|
cwd: z.ZodOptional<z.ZodString>;
|
|
77381
77646
|
state: z.ZodEnum<{
|
|
77647
|
+
dismissed: "dismissed";
|
|
77382
77648
|
pending: "pending";
|
|
77383
77649
|
started: "started";
|
|
77384
|
-
dismissed: "dismissed";
|
|
77385
77650
|
}>;
|
|
77386
77651
|
createdAt: z.ZodString;
|
|
77387
77652
|
updatedAt: z.ZodString;
|
|
@@ -78236,9 +78501,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
78236
78501
|
value: z.ZodString;
|
|
78237
78502
|
label: z.ZodString;
|
|
78238
78503
|
kind: z.ZodEnum<{
|
|
78504
|
+
all: "all";
|
|
78239
78505
|
tailscale: "tailscale";
|
|
78240
78506
|
loopback: "loopback";
|
|
78241
|
-
all: "all";
|
|
78242
78507
|
lan: "lan";
|
|
78243
78508
|
}>;
|
|
78244
78509
|
}, z.core.$loose>>>;
|
|
@@ -82396,8 +82661,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
82396
82661
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
82397
82662
|
status: z.ZodEnum<{
|
|
82398
82663
|
running: "running";
|
|
82399
|
-
done: "done";
|
|
82400
82664
|
failed: "failed";
|
|
82665
|
+
done: "done";
|
|
82401
82666
|
attention: "attention";
|
|
82402
82667
|
needs_input: "needs_input";
|
|
82403
82668
|
}>;
|
|
@@ -82592,7 +82857,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
82592
82857
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
82593
82858
|
name: string;
|
|
82594
82859
|
archivingAt: string | null;
|
|
82595
|
-
status: "running" | "
|
|
82860
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
82596
82861
|
statusEnteredAt: string | null;
|
|
82597
82862
|
activityAt: string | null;
|
|
82598
82863
|
scripts: {
|
|
@@ -82719,7 +82984,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
82719
82984
|
workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
|
|
82720
82985
|
name: string;
|
|
82721
82986
|
archivingAt: string | null;
|
|
82722
|
-
status: "running" | "
|
|
82987
|
+
status: "running" | "failed" | "done" | "attention" | "needs_input";
|
|
82723
82988
|
statusEnteredAt: string | null;
|
|
82724
82989
|
activityAt: string | null;
|
|
82725
82990
|
scripts: {
|
|
@@ -83246,8 +83511,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83246
83511
|
cwd: z.ZodString;
|
|
83247
83512
|
status: z.ZodEnum<{
|
|
83248
83513
|
error: "error";
|
|
83249
|
-
completed: "completed";
|
|
83250
83514
|
truncated: "truncated";
|
|
83515
|
+
completed: "completed";
|
|
83251
83516
|
superseded: "superseded";
|
|
83252
83517
|
}>;
|
|
83253
83518
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -83583,9 +83848,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83583
83848
|
solutionPath: z.ZodString;
|
|
83584
83849
|
projectPath: z.ZodString;
|
|
83585
83850
|
status: z.ZodEnum<{
|
|
83851
|
+
failed: "failed";
|
|
83586
83852
|
ok: "ok";
|
|
83587
83853
|
unavailable: "unavailable";
|
|
83588
|
-
failed: "failed";
|
|
83589
83854
|
}>;
|
|
83590
83855
|
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
83591
83856
|
kind: z.ZodLiteral<"directory">;
|
|
@@ -83639,7 +83904,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83639
83904
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
83640
83905
|
}, z.core.$strip>>>;
|
|
83641
83906
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
83642
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
83907
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
83643
83908
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
83644
83909
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
83645
83910
|
}, z.core.$strip>>>;
|
|
@@ -83734,7 +83999,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83734
83999
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
83735
84000
|
}, z.core.$strip>>>;
|
|
83736
84001
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
83737
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
84002
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
83738
84003
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
83739
84004
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
83740
84005
|
}, z.core.$strip>>>;
|
|
@@ -83749,13 +84014,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83749
84014
|
error: z.ZodOptional<z.ZodString>;
|
|
83750
84015
|
description: z.ZodOptional<z.ZodString>;
|
|
83751
84016
|
label: z.ZodOptional<z.ZodString>;
|
|
84017
|
+
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
83752
84018
|
source: z.ZodOptional<z.ZodEnum<{
|
|
83753
84019
|
custom: "custom";
|
|
83754
84020
|
builtin: "builtin";
|
|
83755
84021
|
}>>;
|
|
83756
84022
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
83757
84023
|
provider: z.ZodString;
|
|
83758
|
-
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
83759
84024
|
defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83760
84025
|
modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
|
|
83761
84026
|
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -83766,7 +84031,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83766
84031
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
83767
84032
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
83768
84033
|
family: z.ZodOptional<z.ZodString>;
|
|
83769
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
84034
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
83770
84035
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
83771
84036
|
isSelectable: z.ZodOptional<z.ZodBoolean>;
|
|
83772
84037
|
contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -83826,7 +84091,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83826
84091
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
83827
84092
|
}, z.core.$strip>>>;
|
|
83828
84093
|
defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
83829
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
84094
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
83830
84095
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
83831
84096
|
supportsAutoMode: z.ZodOptional<z.ZodBoolean>;
|
|
83832
84097
|
}, z.core.$strip>>>;
|
|
@@ -83841,13 +84106,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83841
84106
|
error: z.ZodOptional<z.ZodString>;
|
|
83842
84107
|
description: z.ZodOptional<z.ZodString>;
|
|
83843
84108
|
label: z.ZodOptional<z.ZodString>;
|
|
84109
|
+
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
83844
84110
|
source: z.ZodOptional<z.ZodEnum<{
|
|
83845
84111
|
custom: "custom";
|
|
83846
84112
|
builtin: "builtin";
|
|
83847
84113
|
}>>;
|
|
83848
84114
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
83849
84115
|
provider: z.ZodString;
|
|
83850
|
-
status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
|
|
83851
84116
|
defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83852
84117
|
modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
|
|
83853
84118
|
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -83858,7 +84123,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83858
84123
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
83859
84124
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
83860
84125
|
family: z.ZodOptional<z.ZodString>;
|
|
83861
|
-
tier: z.ZodOptional<z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>>;
|
|
84126
|
+
tier: z.ZodOptional<z.ZodType<import("./agent-types.js").ModelTier, unknown, z.core.$ZodTypeInternals<import("./agent-types.js").ModelTier, unknown>>>;
|
|
83862
84127
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
83863
84128
|
isSelectable: z.ZodOptional<z.ZodBoolean>;
|
|
83864
84129
|
contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -83922,9 +84187,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83922
84187
|
runsOutAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83923
84188
|
shortfallPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
83924
84189
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
84190
|
+
warning: "warning";
|
|
83925
84191
|
default: "default";
|
|
83926
84192
|
ok: "ok";
|
|
83927
|
-
warning: "warning";
|
|
83928
84193
|
danger: "danger";
|
|
83929
84194
|
}>>;
|
|
83930
84195
|
}, z.core.$strip>>;
|
|
@@ -83935,16 +84200,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83935
84200
|
remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
83936
84201
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
83937
84202
|
unit: z.ZodEnum<{
|
|
83938
|
-
tokens: "tokens";
|
|
83939
84203
|
requests: "requests";
|
|
84204
|
+
tokens: "tokens";
|
|
83940
84205
|
usd: "usd";
|
|
83941
84206
|
credits: "credits";
|
|
83942
84207
|
}>;
|
|
83943
84208
|
resetsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83944
84209
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
84210
|
+
warning: "warning";
|
|
83945
84211
|
default: "default";
|
|
83946
84212
|
ok: "ok";
|
|
83947
|
-
warning: "warning";
|
|
83948
84213
|
danger: "danger";
|
|
83949
84214
|
}>>;
|
|
83950
84215
|
}, z.core.$strip>>>;
|
|
@@ -83953,9 +84218,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83953
84218
|
label: z.ZodString;
|
|
83954
84219
|
value: z.ZodString;
|
|
83955
84220
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
84221
|
+
warning: "warning";
|
|
83956
84222
|
default: "default";
|
|
83957
84223
|
ok: "ok";
|
|
83958
|
-
warning: "warning";
|
|
83959
84224
|
danger: "danger";
|
|
83960
84225
|
}>>;
|
|
83961
84226
|
}, z.core.$strip>>>;
|
|
@@ -84317,9 +84582,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
84317
84582
|
}, z.core.$strip>>;
|
|
84318
84583
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
84319
84584
|
read: "read";
|
|
84585
|
+
rejected: "rejected";
|
|
84320
84586
|
unevaluated: "unevaluated";
|
|
84321
84587
|
adopted: "adopted";
|
|
84322
|
-
rejected: "rejected";
|
|
84323
84588
|
dependency: "dependency";
|
|
84324
84589
|
}>>;
|
|
84325
84590
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -84340,7 +84605,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
84340
84605
|
title: z.ZodString;
|
|
84341
84606
|
path: z.ZodString;
|
|
84342
84607
|
absolutePath: z.ZodOptional<z.ZodString>;
|
|
84343
|
-
body: z.ZodString
|
|
84608
|
+
body: z.ZodOptional<z.ZodString>;
|
|
84344
84609
|
bodyDigest: z.ZodOptional<z.ZodString>;
|
|
84345
84610
|
}, z.core.$strip>>>;
|
|
84346
84611
|
findings: z.ZodArray<z.ZodObject<{
|
|
@@ -84405,9 +84670,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
84405
84670
|
}, z.core.$strip>>;
|
|
84406
84671
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
84407
84672
|
read: "read";
|
|
84673
|
+
rejected: "rejected";
|
|
84408
84674
|
unevaluated: "unevaluated";
|
|
84409
84675
|
adopted: "adopted";
|
|
84410
|
-
rejected: "rejected";
|
|
84411
84676
|
dependency: "dependency";
|
|
84412
84677
|
}>>;
|
|
84413
84678
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -84424,6 +84689,19 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
84424
84689
|
absolutePath: z.ZodOptional<z.ZodString>;
|
|
84425
84690
|
}, z.core.$strip>>;
|
|
84426
84691
|
}, z.core.$strip>;
|
|
84692
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84693
|
+
type: z.ZodLiteral<"project.knowledge.root.get.response">;
|
|
84694
|
+
payload: z.ZodObject<{
|
|
84695
|
+
requestId: z.ZodString;
|
|
84696
|
+
page: z.ZodNullable<z.ZodObject<{
|
|
84697
|
+
slug: z.ZodString;
|
|
84698
|
+
title: z.ZodString;
|
|
84699
|
+
path: z.ZodString;
|
|
84700
|
+
absolutePath: z.ZodOptional<z.ZodString>;
|
|
84701
|
+
body: z.ZodOptional<z.ZodString>;
|
|
84702
|
+
bodyDigest: z.ZodOptional<z.ZodString>;
|
|
84703
|
+
}, z.core.$strip>>;
|
|
84704
|
+
}, z.core.$strip>;
|
|
84427
84705
|
}, z.core.$strip>, z.ZodObject<{
|
|
84428
84706
|
type: z.ZodLiteral<"project.knowledge.create.response">;
|
|
84429
84707
|
payload: z.ZodObject<{
|
|
@@ -84466,9 +84744,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
84466
84744
|
}, z.core.$strip>>;
|
|
84467
84745
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
84468
84746
|
read: "read";
|
|
84747
|
+
rejected: "rejected";
|
|
84469
84748
|
unevaluated: "unevaluated";
|
|
84470
84749
|
adopted: "adopted";
|
|
84471
|
-
rejected: "rejected";
|
|
84472
84750
|
dependency: "dependency";
|
|
84473
84751
|
}>>;
|
|
84474
84752
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -84527,9 +84805,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
84527
84805
|
}, z.core.$strip>>;
|
|
84528
84806
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
84529
84807
|
read: "read";
|
|
84808
|
+
rejected: "rejected";
|
|
84530
84809
|
unevaluated: "unevaluated";
|
|
84531
84810
|
adopted: "adopted";
|
|
84532
|
-
rejected: "rejected";
|
|
84533
84811
|
dependency: "dependency";
|
|
84534
84812
|
}>>;
|
|
84535
84813
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -84589,9 +84867,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
84589
84867
|
}, z.core.$strip>>;
|
|
84590
84868
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
84591
84869
|
read: "read";
|
|
84870
|
+
rejected: "rejected";
|
|
84592
84871
|
unevaluated: "unevaluated";
|
|
84593
84872
|
adopted: "adopted";
|
|
84594
|
-
rejected: "rejected";
|
|
84595
84873
|
dependency: "dependency";
|
|
84596
84874
|
}>>;
|
|
84597
84875
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -84650,9 +84928,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
84650
84928
|
}, z.core.$strip>>;
|
|
84651
84929
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
84652
84930
|
read: "read";
|
|
84931
|
+
rejected: "rejected";
|
|
84653
84932
|
unevaluated: "unevaluated";
|
|
84654
84933
|
adopted: "adopted";
|
|
84655
|
-
rejected: "rejected";
|
|
84656
84934
|
dependency: "dependency";
|
|
84657
84935
|
}>>;
|
|
84658
84936
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -84712,9 +84990,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
84712
84990
|
}, z.core.$strip>>;
|
|
84713
84991
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
84714
84992
|
read: "read";
|
|
84993
|
+
rejected: "rejected";
|
|
84715
84994
|
unevaluated: "unevaluated";
|
|
84716
84995
|
adopted: "adopted";
|
|
84717
|
-
rejected: "rejected";
|
|
84718
84996
|
dependency: "dependency";
|
|
84719
84997
|
}>>;
|
|
84720
84998
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -84741,7 +85019,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
84741
85019
|
title: z.ZodString;
|
|
84742
85020
|
path: z.ZodString;
|
|
84743
85021
|
absolutePath: z.ZodOptional<z.ZodString>;
|
|
84744
|
-
body: z.ZodString
|
|
85022
|
+
body: z.ZodOptional<z.ZodString>;
|
|
84745
85023
|
bodyDigest: z.ZodOptional<z.ZodString>;
|
|
84746
85024
|
}, z.core.$strip>>;
|
|
84747
85025
|
}, z.core.$strip>;
|
|
@@ -84787,9 +85065,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
84787
85065
|
}, z.core.$strip>>;
|
|
84788
85066
|
referenceDisposition: z.ZodOptional<z.ZodEnum<{
|
|
84789
85067
|
read: "read";
|
|
85068
|
+
rejected: "rejected";
|
|
84790
85069
|
unevaluated: "unevaluated";
|
|
84791
85070
|
adopted: "adopted";
|
|
84792
|
-
rejected: "rejected";
|
|
84793
85071
|
dependency: "dependency";
|
|
84794
85072
|
}>>;
|
|
84795
85073
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -84810,7 +85088,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
84810
85088
|
title: z.ZodString;
|
|
84811
85089
|
path: z.ZodString;
|
|
84812
85090
|
absolutePath: z.ZodOptional<z.ZodString>;
|
|
84813
|
-
body: z.ZodString
|
|
85091
|
+
body: z.ZodOptional<z.ZodString>;
|
|
84814
85092
|
bodyDigest: z.ZodOptional<z.ZodString>;
|
|
84815
85093
|
}, z.core.$strip>>;
|
|
84816
85094
|
demoted: z.ZodBoolean;
|
|
@@ -85323,14 +85601,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
85323
85601
|
schedule: z.ZodNullable<z.ZodObject<{
|
|
85324
85602
|
prompt: z.ZodString;
|
|
85325
85603
|
name: z.ZodNullable<z.ZodString>;
|
|
85326
|
-
id: z.ZodString;
|
|
85327
|
-
createdAt: z.ZodString;
|
|
85328
|
-
updatedAt: z.ZodString;
|
|
85329
85604
|
status: z.ZodEnum<{
|
|
85330
85605
|
completed: "completed";
|
|
85331
85606
|
active: "active";
|
|
85332
85607
|
paused: "paused";
|
|
85333
85608
|
}>;
|
|
85609
|
+
id: z.ZodString;
|
|
85610
|
+
createdAt: z.ZodString;
|
|
85611
|
+
updatedAt: z.ZodString;
|
|
85334
85612
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
85335
85613
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
85336
85614
|
type: z.ZodLiteral<"agent">;
|
|
@@ -85399,14 +85677,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
85399
85677
|
schedules: z.ZodArray<z.ZodObject<{
|
|
85400
85678
|
prompt: z.ZodString;
|
|
85401
85679
|
name: z.ZodNullable<z.ZodString>;
|
|
85402
|
-
id: z.ZodString;
|
|
85403
|
-
createdAt: z.ZodString;
|
|
85404
|
-
updatedAt: z.ZodString;
|
|
85405
85680
|
status: z.ZodEnum<{
|
|
85406
85681
|
completed: "completed";
|
|
85407
85682
|
active: "active";
|
|
85408
85683
|
paused: "paused";
|
|
85409
85684
|
}>;
|
|
85685
|
+
id: z.ZodString;
|
|
85686
|
+
createdAt: z.ZodString;
|
|
85687
|
+
updatedAt: z.ZodString;
|
|
85410
85688
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
85411
85689
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
85412
85690
|
type: z.ZodLiteral<"agent">;
|
|
@@ -85683,14 +85961,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
85683
85961
|
schedule: z.ZodNullable<z.ZodObject<{
|
|
85684
85962
|
prompt: z.ZodString;
|
|
85685
85963
|
name: z.ZodNullable<z.ZodString>;
|
|
85686
|
-
id: z.ZodString;
|
|
85687
|
-
createdAt: z.ZodString;
|
|
85688
|
-
updatedAt: z.ZodString;
|
|
85689
85964
|
status: z.ZodEnum<{
|
|
85690
85965
|
completed: "completed";
|
|
85691
85966
|
active: "active";
|
|
85692
85967
|
paused: "paused";
|
|
85693
85968
|
}>;
|
|
85969
|
+
id: z.ZodString;
|
|
85970
|
+
createdAt: z.ZodString;
|
|
85971
|
+
updatedAt: z.ZodString;
|
|
85694
85972
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
85695
85973
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
85696
85974
|
type: z.ZodLiteral<"agent">;
|
|
@@ -85759,14 +86037,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
85759
86037
|
schedule: z.ZodNullable<z.ZodObject<{
|
|
85760
86038
|
prompt: z.ZodString;
|
|
85761
86039
|
name: z.ZodNullable<z.ZodString>;
|
|
85762
|
-
id: z.ZodString;
|
|
85763
|
-
createdAt: z.ZodString;
|
|
85764
|
-
updatedAt: z.ZodString;
|
|
85765
86040
|
status: z.ZodEnum<{
|
|
85766
86041
|
completed: "completed";
|
|
85767
86042
|
active: "active";
|
|
85768
86043
|
paused: "paused";
|
|
85769
86044
|
}>;
|
|
86045
|
+
id: z.ZodString;
|
|
86046
|
+
createdAt: z.ZodString;
|
|
86047
|
+
updatedAt: z.ZodString;
|
|
85770
86048
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
85771
86049
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
85772
86050
|
type: z.ZodLiteral<"agent">;
|
|
@@ -86160,8 +86438,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
86160
86438
|
stopped: "stopped";
|
|
86161
86439
|
}>;
|
|
86162
86440
|
workerOutcome: z.ZodNullable<z.ZodEnum<{
|
|
86163
|
-
completed: "completed";
|
|
86164
86441
|
failed: "failed";
|
|
86442
|
+
completed: "completed";
|
|
86165
86443
|
canceled: "canceled";
|
|
86166
86444
|
}>>;
|
|
86167
86445
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
@@ -86272,8 +86550,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
86272
86550
|
stopped: "stopped";
|
|
86273
86551
|
}>;
|
|
86274
86552
|
workerOutcome: z.ZodNullable<z.ZodEnum<{
|
|
86275
|
-
completed: "completed";
|
|
86276
86553
|
failed: "failed";
|
|
86554
|
+
completed: "completed";
|
|
86277
86555
|
canceled: "canceled";
|
|
86278
86556
|
}>>;
|
|
86279
86557
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
@@ -86364,8 +86642,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
86364
86642
|
stopped: "stopped";
|
|
86365
86643
|
}>;
|
|
86366
86644
|
workerOutcome: z.ZodNullable<z.ZodEnum<{
|
|
86367
|
-
completed: "completed";
|
|
86368
86645
|
failed: "failed";
|
|
86646
|
+
completed: "completed";
|
|
86369
86647
|
canceled: "canceled";
|
|
86370
86648
|
}>>;
|
|
86371
86649
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
@@ -86473,8 +86751,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
86473
86751
|
stopped: "stopped";
|
|
86474
86752
|
}>;
|
|
86475
86753
|
workerOutcome: z.ZodNullable<z.ZodEnum<{
|
|
86476
|
-
completed: "completed";
|
|
86477
86754
|
failed: "failed";
|
|
86755
|
+
completed: "completed";
|
|
86478
86756
|
canceled: "canceled";
|
|
86479
86757
|
}>>;
|
|
86480
86758
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
@@ -86523,8 +86801,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
86523
86801
|
payload: z.ZodObject<{
|
|
86524
86802
|
requestId: z.ZodString;
|
|
86525
86803
|
phase: z.ZodEnum<{
|
|
86526
|
-
complete: "complete";
|
|
86527
86804
|
starting: "starting";
|
|
86805
|
+
complete: "complete";
|
|
86528
86806
|
downloading: "downloading";
|
|
86529
86807
|
installing: "installing";
|
|
86530
86808
|
}>;
|
|
@@ -87185,6 +87463,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
87185
87463
|
}>;
|
|
87186
87464
|
htmlPath: z.ZodString;
|
|
87187
87465
|
renderedAt: z.ZodString;
|
|
87466
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
87467
|
+
workflow: "workflow";
|
|
87468
|
+
architecture: "architecture";
|
|
87469
|
+
sequence: "sequence";
|
|
87470
|
+
dataflow: "dataflow";
|
|
87471
|
+
lifecycle: "lifecycle";
|
|
87472
|
+
}>>;
|
|
87188
87473
|
sourceStatus: z.ZodOptional<z.ZodEnum<{
|
|
87189
87474
|
unknown: "unknown";
|
|
87190
87475
|
stale: "stale";
|
|
@@ -87214,6 +87499,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
87214
87499
|
}>;
|
|
87215
87500
|
htmlPath: z.ZodString;
|
|
87216
87501
|
renderedAt: z.ZodString;
|
|
87502
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
87503
|
+
workflow: "workflow";
|
|
87504
|
+
architecture: "architecture";
|
|
87505
|
+
sequence: "sequence";
|
|
87506
|
+
dataflow: "dataflow";
|
|
87507
|
+
lifecycle: "lifecycle";
|
|
87508
|
+
}>>;
|
|
87217
87509
|
sourceStatus: z.ZodOptional<z.ZodEnum<{
|
|
87218
87510
|
unknown: "unknown";
|
|
87219
87511
|
stale: "stale";
|
|
@@ -87240,6 +87532,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
87240
87532
|
id: z.ZodString;
|
|
87241
87533
|
}, z.core.$strip>>;
|
|
87242
87534
|
baseSpecificationSha256: z.ZodNullable<z.ZodString>;
|
|
87535
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
87536
|
+
workflow: "workflow";
|
|
87537
|
+
architecture: "architecture";
|
|
87538
|
+
sequence: "sequence";
|
|
87539
|
+
dataflow: "dataflow";
|
|
87540
|
+
lifecycle: "lifecycle";
|
|
87541
|
+
}>>;
|
|
87243
87542
|
authoringAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87244
87543
|
createdAt: z.ZodString;
|
|
87245
87544
|
updatedAt: z.ZodString;
|
|
@@ -87263,6 +87562,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
87263
87562
|
id: z.ZodString;
|
|
87264
87563
|
}, z.core.$strip>>;
|
|
87265
87564
|
baseSpecificationSha256: z.ZodNullable<z.ZodString>;
|
|
87565
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
87566
|
+
workflow: "workflow";
|
|
87567
|
+
architecture: "architecture";
|
|
87568
|
+
sequence: "sequence";
|
|
87569
|
+
dataflow: "dataflow";
|
|
87570
|
+
lifecycle: "lifecycle";
|
|
87571
|
+
}>>;
|
|
87266
87572
|
authoringAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87267
87573
|
createdAt: z.ZodString;
|
|
87268
87574
|
updatedAt: z.ZodString;
|
|
@@ -87290,6 +87596,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
87290
87596
|
}>;
|
|
87291
87597
|
htmlPath: z.ZodString;
|
|
87292
87598
|
renderedAt: z.ZodString;
|
|
87599
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
87600
|
+
workflow: "workflow";
|
|
87601
|
+
architecture: "architecture";
|
|
87602
|
+
sequence: "sequence";
|
|
87603
|
+
dataflow: "dataflow";
|
|
87604
|
+
lifecycle: "lifecycle";
|
|
87605
|
+
}>>;
|
|
87293
87606
|
sourceStatus: z.ZodOptional<z.ZodEnum<{
|
|
87294
87607
|
unknown: "unknown";
|
|
87295
87608
|
stale: "stale";
|
|
@@ -87322,6 +87635,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
87322
87635
|
id: z.ZodString;
|
|
87323
87636
|
}, z.core.$strip>>;
|
|
87324
87637
|
baseSpecificationSha256: z.ZodNullable<z.ZodString>;
|
|
87638
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
87639
|
+
workflow: "workflow";
|
|
87640
|
+
architecture: "architecture";
|
|
87641
|
+
sequence: "sequence";
|
|
87642
|
+
dataflow: "dataflow";
|
|
87643
|
+
lifecycle: "lifecycle";
|
|
87644
|
+
}>>;
|
|
87325
87645
|
authoringAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87326
87646
|
createdAt: z.ZodString;
|
|
87327
87647
|
updatedAt: z.ZodString;
|
|
@@ -87329,6 +87649,36 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
87329
87649
|
html: z.ZodNullable<z.ZodString>;
|
|
87330
87650
|
error: z.ZodNullable<z.ZodString>;
|
|
87331
87651
|
}, z.core.$strip>;
|
|
87652
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
87653
|
+
type: z.ZodLiteral<"architectural-views.draft.list.response">;
|
|
87654
|
+
payload: z.ZodObject<{
|
|
87655
|
+
requestId: z.ZodString;
|
|
87656
|
+
success: z.ZodBoolean;
|
|
87657
|
+
drafts: z.ZodArray<z.ZodObject<{
|
|
87658
|
+
id: z.ZodString;
|
|
87659
|
+
viewId: z.ZodString;
|
|
87660
|
+
title: z.ZodString;
|
|
87661
|
+
knowledgeReferences: z.ZodArray<z.ZodObject<{
|
|
87662
|
+
kind: z.ZodEnum<{
|
|
87663
|
+
record: "record";
|
|
87664
|
+
root: "root";
|
|
87665
|
+
}>;
|
|
87666
|
+
id: z.ZodString;
|
|
87667
|
+
}, z.core.$strip>>;
|
|
87668
|
+
baseSpecificationSha256: z.ZodNullable<z.ZodString>;
|
|
87669
|
+
diagramType: z.ZodOptional<z.ZodEnum<{
|
|
87670
|
+
workflow: "workflow";
|
|
87671
|
+
architecture: "architecture";
|
|
87672
|
+
sequence: "sequence";
|
|
87673
|
+
dataflow: "dataflow";
|
|
87674
|
+
lifecycle: "lifecycle";
|
|
87675
|
+
}>>;
|
|
87676
|
+
authoringAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87677
|
+
createdAt: z.ZodString;
|
|
87678
|
+
updatedAt: z.ZodString;
|
|
87679
|
+
}, z.core.$strip>>;
|
|
87680
|
+
error: z.ZodNullable<z.ZodString>;
|
|
87681
|
+
}, z.core.$strip>;
|
|
87332
87682
|
}, z.core.$strip>, z.ZodObject<{
|
|
87333
87683
|
type: z.ZodLiteral<"architectural-views.open.notification">;
|
|
87334
87684
|
payload: z.ZodObject<{
|