@nekro-nxt/contracts 0.3.0 → 0.4.0
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/index.mjs +469 -18
- package/dist/index.mjs.map +1 -1
- package/lib/types/extension-capabilities.d.ts +102 -3
- package/lib/types/extension-capabilities.d.ts.map +1 -1
- package/lib/types/extension-ui.d.ts +82 -3
- package/lib/types/extension-ui.d.ts.map +1 -1
- package/lib/types/host-api.d.ts +1676 -273
- package/lib/types/host-api.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/extension-capabilities.ts +152 -8
- package/src/extension-ui.ts +40 -0
- package/src/host-api.ts +374 -15
package/lib/types/host-api.d.ts
CHANGED
|
@@ -51,7 +51,24 @@ export declare const ExtensionPermissionRequirementSchema: z.ZodObject<{
|
|
|
51
51
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
52
52
|
}, z.core.$strict>>;
|
|
53
53
|
assets: z.ZodOptional<z.ZodObject<{
|
|
54
|
-
write: z.ZodLiteral<true
|
|
54
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
55
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
56
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
}, z.core.$strict>>;
|
|
58
|
+
}, z.core.$strict>>;
|
|
59
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
61
|
+
name: z.ZodString;
|
|
62
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
63
|
+
name: z.ZodString;
|
|
64
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
65
|
+
}, z.core.$strict>>;
|
|
66
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
67
|
+
}, z.core.$strict>>;
|
|
68
|
+
}, z.core.$strict>>;
|
|
69
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
70
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
71
|
+
maxOutputTokens: z.ZodNumber;
|
|
55
72
|
}, z.core.$strict>>;
|
|
56
73
|
history: z.ZodOptional<z.ZodObject<{
|
|
57
74
|
read: z.ZodLiteral<true>;
|
|
@@ -562,6 +579,27 @@ export declare const ChannelRuntimeUsageSchema: z.ZodObject<{
|
|
|
562
579
|
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
563
580
|
}, z.core.$strict>;
|
|
564
581
|
export declare const ChannelRuntimeToolSchema: z.ZodObject<{
|
|
582
|
+
code: z.ZodOptional<z.ZodString>;
|
|
583
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
584
|
+
callId: z.ZodString;
|
|
585
|
+
name: z.ZodString;
|
|
586
|
+
displayName: z.ZodString;
|
|
587
|
+
state: z.ZodEnum<{
|
|
588
|
+
running: "running";
|
|
589
|
+
failed: "failed";
|
|
590
|
+
succeeded: "succeeded";
|
|
591
|
+
}>;
|
|
592
|
+
inputPreview: z.ZodOptional<z.ZodString>;
|
|
593
|
+
resultPreview: z.ZodOptional<z.ZodString>;
|
|
594
|
+
wroteToChannel: z.ZodOptional<z.ZodBoolean>;
|
|
595
|
+
deliveryState: z.ZodOptional<z.ZodEnum<{
|
|
596
|
+
unknown: "unknown";
|
|
597
|
+
failed: "failed";
|
|
598
|
+
sent: "sent";
|
|
599
|
+
"partially-sent": "partially-sent";
|
|
600
|
+
}>>;
|
|
601
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
602
|
+
}, z.core.$strict>>>;
|
|
565
603
|
callId: z.ZodString;
|
|
566
604
|
name: z.ZodString;
|
|
567
605
|
displayName: z.ZodString;
|
|
@@ -584,6 +622,27 @@ export declare const ChannelRuntimeToolSchema: z.ZodObject<{
|
|
|
584
622
|
export declare const ChannelRuntimeStepSchema: z.ZodObject<{
|
|
585
623
|
step: z.ZodNumber;
|
|
586
624
|
tools: z.ZodArray<z.ZodObject<{
|
|
625
|
+
code: z.ZodOptional<z.ZodString>;
|
|
626
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
627
|
+
callId: z.ZodString;
|
|
628
|
+
name: z.ZodString;
|
|
629
|
+
displayName: z.ZodString;
|
|
630
|
+
state: z.ZodEnum<{
|
|
631
|
+
running: "running";
|
|
632
|
+
failed: "failed";
|
|
633
|
+
succeeded: "succeeded";
|
|
634
|
+
}>;
|
|
635
|
+
inputPreview: z.ZodOptional<z.ZodString>;
|
|
636
|
+
resultPreview: z.ZodOptional<z.ZodString>;
|
|
637
|
+
wroteToChannel: z.ZodOptional<z.ZodBoolean>;
|
|
638
|
+
deliveryState: z.ZodOptional<z.ZodEnum<{
|
|
639
|
+
unknown: "unknown";
|
|
640
|
+
failed: "failed";
|
|
641
|
+
sent: "sent";
|
|
642
|
+
"partially-sent": "partially-sent";
|
|
643
|
+
}>>;
|
|
644
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
645
|
+
}, z.core.$strict>>>;
|
|
587
646
|
callId: z.ZodString;
|
|
588
647
|
name: z.ZodString;
|
|
589
648
|
displayName: z.ZodString;
|
|
@@ -654,6 +713,27 @@ export declare const ChannelRuntimeTurnSchema: z.ZodObject<{
|
|
|
654
713
|
steps: z.ZodArray<z.ZodObject<{
|
|
655
714
|
step: z.ZodNumber;
|
|
656
715
|
tools: z.ZodArray<z.ZodObject<{
|
|
716
|
+
code: z.ZodOptional<z.ZodString>;
|
|
717
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
718
|
+
callId: z.ZodString;
|
|
719
|
+
name: z.ZodString;
|
|
720
|
+
displayName: z.ZodString;
|
|
721
|
+
state: z.ZodEnum<{
|
|
722
|
+
running: "running";
|
|
723
|
+
failed: "failed";
|
|
724
|
+
succeeded: "succeeded";
|
|
725
|
+
}>;
|
|
726
|
+
inputPreview: z.ZodOptional<z.ZodString>;
|
|
727
|
+
resultPreview: z.ZodOptional<z.ZodString>;
|
|
728
|
+
wroteToChannel: z.ZodOptional<z.ZodBoolean>;
|
|
729
|
+
deliveryState: z.ZodOptional<z.ZodEnum<{
|
|
730
|
+
unknown: "unknown";
|
|
731
|
+
failed: "failed";
|
|
732
|
+
sent: "sent";
|
|
733
|
+
"partially-sent": "partially-sent";
|
|
734
|
+
}>>;
|
|
735
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
736
|
+
}, z.core.$strict>>>;
|
|
657
737
|
callId: z.ZodString;
|
|
658
738
|
name: z.ZodString;
|
|
659
739
|
displayName: z.ZodString;
|
|
@@ -709,6 +789,7 @@ export declare const ChannelRuntimeOccupancySchema: z.ZodObject<{
|
|
|
709
789
|
toolsTokens: z.ZodNumber;
|
|
710
790
|
messageTokens: z.ZodNumber;
|
|
711
791
|
}, z.core.$strict>>;
|
|
792
|
+
imageCount: z.ZodOptional<z.ZodNumber>;
|
|
712
793
|
}, z.core.$strict>;
|
|
713
794
|
export declare const ChannelRuntimeCacheSampleSchema: z.ZodObject<{
|
|
714
795
|
turn: z.ZodNumber;
|
|
@@ -776,6 +857,36 @@ export declare const ChannelRuntimePerformanceSchema: z.ZodObject<{
|
|
|
776
857
|
}, z.core.$strict>>;
|
|
777
858
|
}, z.core.$strict>;
|
|
778
859
|
}, z.core.$strict>;
|
|
860
|
+
/** What the agent remembered or looked up, newest first; the admin sees it, the model does not. */
|
|
861
|
+
export declare const ChannelMemoryActivitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
862
|
+
kind: z.ZodLiteral<"backlog-folded">;
|
|
863
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
864
|
+
foldedCount: z.ZodNumber;
|
|
865
|
+
shownCount: z.ZodNumber;
|
|
866
|
+
foldedImageCount: z.ZodNumber;
|
|
867
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
868
|
+
kind: z.ZodLiteral<"history-search">;
|
|
869
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
870
|
+
query: z.ZodString;
|
|
871
|
+
hits: z.ZodNumber;
|
|
872
|
+
sender: z.ZodOptional<z.ZodString>;
|
|
873
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
874
|
+
kind: z.ZodLiteral<"notes-updated">;
|
|
875
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
876
|
+
revision: z.ZodNumber;
|
|
877
|
+
chars: z.ZodNumber;
|
|
878
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
879
|
+
kind: z.ZodLiteral<"member-notes-updated">;
|
|
880
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
881
|
+
memberId: z.ZodString;
|
|
882
|
+
name: z.ZodOptional<z.ZodString>;
|
|
883
|
+
chars: z.ZodNumber;
|
|
884
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
885
|
+
kind: z.ZodLiteral<"idle-review">;
|
|
886
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
887
|
+
quietMinutes: z.ZodNumber;
|
|
888
|
+
}, z.core.$strict>], "kind">;
|
|
889
|
+
export type ChannelMemoryActivity = z.output<typeof ChannelMemoryActivitySchema>;
|
|
779
890
|
export declare const ChannelRuntimeProjectionSchema: z.ZodObject<{
|
|
780
891
|
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
781
892
|
agentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>;
|
|
@@ -797,6 +908,7 @@ export declare const ChannelRuntimeProjectionSchema: z.ZodObject<{
|
|
|
797
908
|
toolsTokens: z.ZodNumber;
|
|
798
909
|
messageTokens: z.ZodNumber;
|
|
799
910
|
}, z.core.$strict>>;
|
|
911
|
+
imageCount: z.ZodOptional<z.ZodNumber>;
|
|
800
912
|
}, z.core.$strict>>;
|
|
801
913
|
cache: z.ZodOptional<z.ZodObject<{
|
|
802
914
|
scope: z.ZodLiteral<"episode">;
|
|
@@ -848,6 +960,34 @@ export declare const ChannelRuntimeProjectionSchema: z.ZodObject<{
|
|
|
848
960
|
}, z.core.$strict>>;
|
|
849
961
|
}, z.core.$strict>;
|
|
850
962
|
}, z.core.$strict>>;
|
|
963
|
+
memory: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
964
|
+
kind: z.ZodLiteral<"backlog-folded">;
|
|
965
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
966
|
+
foldedCount: z.ZodNumber;
|
|
967
|
+
shownCount: z.ZodNumber;
|
|
968
|
+
foldedImageCount: z.ZodNumber;
|
|
969
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
970
|
+
kind: z.ZodLiteral<"history-search">;
|
|
971
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
972
|
+
query: z.ZodString;
|
|
973
|
+
hits: z.ZodNumber;
|
|
974
|
+
sender: z.ZodOptional<z.ZodString>;
|
|
975
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
976
|
+
kind: z.ZodLiteral<"notes-updated">;
|
|
977
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
978
|
+
revision: z.ZodNumber;
|
|
979
|
+
chars: z.ZodNumber;
|
|
980
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
981
|
+
kind: z.ZodLiteral<"member-notes-updated">;
|
|
982
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
983
|
+
memberId: z.ZodString;
|
|
984
|
+
name: z.ZodOptional<z.ZodString>;
|
|
985
|
+
chars: z.ZodNumber;
|
|
986
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
987
|
+
kind: z.ZodLiteral<"idle-review">;
|
|
988
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
989
|
+
quietMinutes: z.ZodNumber;
|
|
990
|
+
}, z.core.$strict>], "kind">>>;
|
|
851
991
|
turns: z.ZodArray<z.ZodObject<{
|
|
852
992
|
turn: z.ZodNumber;
|
|
853
993
|
state: z.ZodEnum<{
|
|
@@ -875,6 +1015,27 @@ export declare const ChannelRuntimeProjectionSchema: z.ZodObject<{
|
|
|
875
1015
|
steps: z.ZodArray<z.ZodObject<{
|
|
876
1016
|
step: z.ZodNumber;
|
|
877
1017
|
tools: z.ZodArray<z.ZodObject<{
|
|
1018
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1019
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1020
|
+
callId: z.ZodString;
|
|
1021
|
+
name: z.ZodString;
|
|
1022
|
+
displayName: z.ZodString;
|
|
1023
|
+
state: z.ZodEnum<{
|
|
1024
|
+
running: "running";
|
|
1025
|
+
failed: "failed";
|
|
1026
|
+
succeeded: "succeeded";
|
|
1027
|
+
}>;
|
|
1028
|
+
inputPreview: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
resultPreview: z.ZodOptional<z.ZodString>;
|
|
1030
|
+
wroteToChannel: z.ZodOptional<z.ZodBoolean>;
|
|
1031
|
+
deliveryState: z.ZodOptional<z.ZodEnum<{
|
|
1032
|
+
unknown: "unknown";
|
|
1033
|
+
failed: "failed";
|
|
1034
|
+
sent: "sent";
|
|
1035
|
+
"partially-sent": "partially-sent";
|
|
1036
|
+
}>>;
|
|
1037
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1038
|
+
}, z.core.$strict>>>;
|
|
878
1039
|
callId: z.ZodString;
|
|
879
1040
|
name: z.ZodString;
|
|
880
1041
|
displayName: z.ZodString;
|
|
@@ -944,6 +1105,7 @@ export declare const ChannelRuntimeSseDataSchema: z.ZodObject<{
|
|
|
944
1105
|
toolsTokens: z.ZodNumber;
|
|
945
1106
|
messageTokens: z.ZodNumber;
|
|
946
1107
|
}, z.core.$strict>>;
|
|
1108
|
+
imageCount: z.ZodOptional<z.ZodNumber>;
|
|
947
1109
|
}, z.core.$strict>>;
|
|
948
1110
|
cache: z.ZodOptional<z.ZodObject<{
|
|
949
1111
|
scope: z.ZodLiteral<"episode">;
|
|
@@ -995,6 +1157,34 @@ export declare const ChannelRuntimeSseDataSchema: z.ZodObject<{
|
|
|
995
1157
|
}, z.core.$strict>>;
|
|
996
1158
|
}, z.core.$strict>;
|
|
997
1159
|
}, z.core.$strict>>;
|
|
1160
|
+
memory: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1161
|
+
kind: z.ZodLiteral<"backlog-folded">;
|
|
1162
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
1163
|
+
foldedCount: z.ZodNumber;
|
|
1164
|
+
shownCount: z.ZodNumber;
|
|
1165
|
+
foldedImageCount: z.ZodNumber;
|
|
1166
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1167
|
+
kind: z.ZodLiteral<"history-search">;
|
|
1168
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
1169
|
+
query: z.ZodString;
|
|
1170
|
+
hits: z.ZodNumber;
|
|
1171
|
+
sender: z.ZodOptional<z.ZodString>;
|
|
1172
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1173
|
+
kind: z.ZodLiteral<"notes-updated">;
|
|
1174
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
1175
|
+
revision: z.ZodNumber;
|
|
1176
|
+
chars: z.ZodNumber;
|
|
1177
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1178
|
+
kind: z.ZodLiteral<"member-notes-updated">;
|
|
1179
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
1180
|
+
memberId: z.ZodString;
|
|
1181
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
chars: z.ZodNumber;
|
|
1183
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1184
|
+
kind: z.ZodLiteral<"idle-review">;
|
|
1185
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
1186
|
+
quietMinutes: z.ZodNumber;
|
|
1187
|
+
}, z.core.$strict>], "kind">>>;
|
|
998
1188
|
turns: z.ZodArray<z.ZodObject<{
|
|
999
1189
|
turn: z.ZodNumber;
|
|
1000
1190
|
state: z.ZodEnum<{
|
|
@@ -1022,6 +1212,27 @@ export declare const ChannelRuntimeSseDataSchema: z.ZodObject<{
|
|
|
1022
1212
|
steps: z.ZodArray<z.ZodObject<{
|
|
1023
1213
|
step: z.ZodNumber;
|
|
1024
1214
|
tools: z.ZodArray<z.ZodObject<{
|
|
1215
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1217
|
+
callId: z.ZodString;
|
|
1218
|
+
name: z.ZodString;
|
|
1219
|
+
displayName: z.ZodString;
|
|
1220
|
+
state: z.ZodEnum<{
|
|
1221
|
+
running: "running";
|
|
1222
|
+
failed: "failed";
|
|
1223
|
+
succeeded: "succeeded";
|
|
1224
|
+
}>;
|
|
1225
|
+
inputPreview: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
resultPreview: z.ZodOptional<z.ZodString>;
|
|
1227
|
+
wroteToChannel: z.ZodOptional<z.ZodBoolean>;
|
|
1228
|
+
deliveryState: z.ZodOptional<z.ZodEnum<{
|
|
1229
|
+
unknown: "unknown";
|
|
1230
|
+
failed: "failed";
|
|
1231
|
+
sent: "sent";
|
|
1232
|
+
"partially-sent": "partially-sent";
|
|
1233
|
+
}>>;
|
|
1234
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1235
|
+
}, z.core.$strict>>>;
|
|
1025
1236
|
callId: z.ZodString;
|
|
1026
1237
|
name: z.ZodString;
|
|
1027
1238
|
displayName: z.ZodString;
|
|
@@ -1106,40 +1317,12 @@ export declare const ChannelRuntimeContextSchema: z.ZodObject<{
|
|
|
1106
1317
|
toolCount: z.ZodNumber;
|
|
1107
1318
|
}, z.core.$strict>>;
|
|
1108
1319
|
}, z.core.$strict>;
|
|
1109
|
-
/**
|
|
1320
|
+
/**
|
|
1321
|
+
* What the agent answering a channel reads about it, each part with recent earlier versions to restore: the admin's
|
|
1322
|
+
* instructions (system prompt) and the agent's own notes (runtime context).
|
|
1323
|
+
*/
|
|
1110
1324
|
export declare const ChannelPromptViewSchema: z.ZodObject<{
|
|
1111
|
-
|
|
1112
|
-
version: z.ZodLiteral<1>;
|
|
1113
|
-
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1114
|
-
type: z.ZodLiteral<"text">;
|
|
1115
|
-
text: z.ZodString;
|
|
1116
|
-
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1117
|
-
type: z.ZodLiteral<"reference">;
|
|
1118
|
-
kind: z.ZodLiteral<"platform-user">;
|
|
1119
|
-
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
1120
|
-
labelSnapshot: z.ZodString;
|
|
1121
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1122
|
-
type: z.ZodLiteral<"reference">;
|
|
1123
|
-
kind: z.ZodLiteral<"channel">;
|
|
1124
|
-
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
1125
|
-
labelSnapshot: z.ZodString;
|
|
1126
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1127
|
-
type: z.ZodLiteral<"reference">;
|
|
1128
|
-
kind: z.ZodLiteral<"extension">;
|
|
1129
|
-
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
1130
|
-
labelSnapshot: z.ZodString;
|
|
1131
|
-
}, z.core.$strict>], "kind">]>>;
|
|
1132
|
-
}, z.core.$strict>;
|
|
1133
|
-
locked: z.ZodBoolean;
|
|
1134
|
-
revision: z.ZodNumber;
|
|
1135
|
-
maxChars: z.ZodNumber;
|
|
1136
|
-
updatedBy: z.ZodOptional<z.ZodEnum<{
|
|
1137
|
-
agent: "agent";
|
|
1138
|
-
admin: "admin";
|
|
1139
|
-
}>>;
|
|
1140
|
-
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1141
|
-
revisions: z.ZodArray<z.ZodObject<{
|
|
1142
|
-
revision: z.ZodNumber;
|
|
1325
|
+
instructions: z.ZodObject<{
|
|
1143
1326
|
document: z.ZodObject<{
|
|
1144
1327
|
version: z.ZodLiteral<1>;
|
|
1145
1328
|
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1162,53 +1345,273 @@ export declare const ChannelPromptViewSchema: z.ZodObject<{
|
|
|
1162
1345
|
labelSnapshot: z.ZodString;
|
|
1163
1346
|
}, z.core.$strict>], "kind">]>>;
|
|
1164
1347
|
}, z.core.$strict>;
|
|
1165
|
-
|
|
1348
|
+
locked: z.ZodBoolean;
|
|
1349
|
+
revision: z.ZodNumber;
|
|
1350
|
+
maxChars: z.ZodNumber;
|
|
1351
|
+
updatedBy: z.ZodOptional<z.ZodEnum<{
|
|
1166
1352
|
agent: "agent";
|
|
1167
1353
|
admin: "admin";
|
|
1168
|
-
}
|
|
1169
|
-
updatedAt: z.ZodNumber
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
}, z.core.$strict
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1354
|
+
}>>;
|
|
1355
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1356
|
+
revisions: z.ZodArray<z.ZodObject<{
|
|
1357
|
+
revision: z.ZodNumber;
|
|
1358
|
+
document: z.ZodObject<{
|
|
1359
|
+
version: z.ZodLiteral<1>;
|
|
1360
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1361
|
+
type: z.ZodLiteral<"text">;
|
|
1362
|
+
text: z.ZodString;
|
|
1363
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1364
|
+
type: z.ZodLiteral<"reference">;
|
|
1365
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
1366
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
1367
|
+
labelSnapshot: z.ZodString;
|
|
1368
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1369
|
+
type: z.ZodLiteral<"reference">;
|
|
1370
|
+
kind: z.ZodLiteral<"channel">;
|
|
1371
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
1372
|
+
labelSnapshot: z.ZodString;
|
|
1373
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1374
|
+
type: z.ZodLiteral<"reference">;
|
|
1375
|
+
kind: z.ZodLiteral<"extension">;
|
|
1376
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
1377
|
+
labelSnapshot: z.ZodString;
|
|
1378
|
+
}, z.core.$strict>], "kind">]>>;
|
|
1379
|
+
}, z.core.$strict>;
|
|
1380
|
+
updatedBy: z.ZodEnum<{
|
|
1381
|
+
agent: "agent";
|
|
1382
|
+
admin: "admin";
|
|
1383
|
+
}>;
|
|
1384
|
+
updatedAt: z.ZodNumber;
|
|
1385
|
+
}, z.core.$strict>>;
|
|
1386
|
+
}, z.core.$strict>;
|
|
1387
|
+
notes: z.ZodObject<{
|
|
1388
|
+
document: z.ZodObject<{
|
|
1389
|
+
version: z.ZodLiteral<1>;
|
|
1390
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1391
|
+
type: z.ZodLiteral<"text">;
|
|
1392
|
+
text: z.ZodString;
|
|
1393
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1394
|
+
type: z.ZodLiteral<"reference">;
|
|
1395
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
1396
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
1397
|
+
labelSnapshot: z.ZodString;
|
|
1398
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1399
|
+
type: z.ZodLiteral<"reference">;
|
|
1400
|
+
kind: z.ZodLiteral<"channel">;
|
|
1401
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
1402
|
+
labelSnapshot: z.ZodString;
|
|
1403
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1404
|
+
type: z.ZodLiteral<"reference">;
|
|
1405
|
+
kind: z.ZodLiteral<"extension">;
|
|
1406
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
1407
|
+
labelSnapshot: z.ZodString;
|
|
1408
|
+
}, z.core.$strict>], "kind">]>>;
|
|
1409
|
+
}, z.core.$strict>;
|
|
1410
|
+
locked: z.ZodBoolean;
|
|
1411
|
+
revision: z.ZodNumber;
|
|
1412
|
+
maxChars: z.ZodNumber;
|
|
1413
|
+
updatedBy: z.ZodOptional<z.ZodEnum<{
|
|
1200
1414
|
agent: "agent";
|
|
1201
|
-
member: "member";
|
|
1202
|
-
system: "system";
|
|
1203
1415
|
admin: "admin";
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1416
|
+
}>>;
|
|
1417
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1418
|
+
revisions: z.ZodArray<z.ZodObject<{
|
|
1419
|
+
revision: z.ZodNumber;
|
|
1420
|
+
document: z.ZodObject<{
|
|
1421
|
+
version: z.ZodLiteral<1>;
|
|
1422
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1423
|
+
type: z.ZodLiteral<"text">;
|
|
1424
|
+
text: z.ZodString;
|
|
1425
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1426
|
+
type: z.ZodLiteral<"reference">;
|
|
1427
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
1428
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
1429
|
+
labelSnapshot: z.ZodString;
|
|
1430
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1431
|
+
type: z.ZodLiteral<"reference">;
|
|
1432
|
+
kind: z.ZodLiteral<"channel">;
|
|
1433
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
1434
|
+
labelSnapshot: z.ZodString;
|
|
1435
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1436
|
+
type: z.ZodLiteral<"reference">;
|
|
1437
|
+
kind: z.ZodLiteral<"extension">;
|
|
1438
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
1439
|
+
labelSnapshot: z.ZodString;
|
|
1440
|
+
}, z.core.$strict>], "kind">]>>;
|
|
1441
|
+
}, z.core.$strict>;
|
|
1442
|
+
updatedBy: z.ZodEnum<{
|
|
1443
|
+
agent: "agent";
|
|
1444
|
+
admin: "admin";
|
|
1445
|
+
}>;
|
|
1446
|
+
updatedAt: z.ZodNumber;
|
|
1447
|
+
}, z.core.$strict>>;
|
|
1448
|
+
}, z.core.$strict>;
|
|
1449
|
+
}, z.core.$strict>;
|
|
1450
|
+
/**
|
|
1451
|
+
* How much of a channel's unread backlog reaches the agent at once, and when it looks back on its own. Uncertain
|
|
1452
|
+
* trade-offs stay per channel: a busy meme group and a long tabletop session want different budgets.
|
|
1453
|
+
*/
|
|
1454
|
+
export declare const ChannelContextPolicySchema: z.ZodObject<{
|
|
1455
|
+
backlogTextChars: z.ZodNumber;
|
|
1456
|
+
backlogImages: z.ZodNumber;
|
|
1457
|
+
idleReviewMinutes: z.ZodNumber;
|
|
1458
|
+
}, z.core.$strict>;
|
|
1459
|
+
export type ChannelContextPolicy = z.output<typeof ChannelContextPolicySchema>;
|
|
1460
|
+
export declare const DEFAULT_CHANNEL_CONTEXT_POLICY: ChannelContextPolicy;
|
|
1461
|
+
export declare const ChannelContextPolicyViewSchema: z.ZodObject<{
|
|
1462
|
+
policy: z.ZodObject<{
|
|
1463
|
+
backlogTextChars: z.ZodNumber;
|
|
1464
|
+
backlogImages: z.ZodNumber;
|
|
1465
|
+
idleReviewMinutes: z.ZodNumber;
|
|
1466
|
+
}, z.core.$strict>;
|
|
1467
|
+
defaults: z.ZodObject<{
|
|
1468
|
+
backlogTextChars: z.ZodNumber;
|
|
1469
|
+
backlogImages: z.ZodNumber;
|
|
1470
|
+
idleReviewMinutes: z.ZodNumber;
|
|
1471
|
+
}, z.core.$strict>;
|
|
1472
|
+
custom: z.ZodBoolean;
|
|
1473
|
+
}, z.core.$strict>;
|
|
1474
|
+
export type ChannelContextPolicyView = z.output<typeof ChannelContextPolicyViewSchema>;
|
|
1475
|
+
/** Whether a newer release exists on the build's own channel; development builds are never compared. */
|
|
1476
|
+
export declare const ProductUpdateStatusSchema: z.ZodObject<{
|
|
1477
|
+
channel: z.ZodEnum<{
|
|
1478
|
+
development: "development";
|
|
1479
|
+
preview: "preview";
|
|
1480
|
+
stable: "stable";
|
|
1481
|
+
}>;
|
|
1482
|
+
currentVersion: z.ZodString;
|
|
1483
|
+
currentCommit: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
state: z.ZodEnum<{
|
|
1485
|
+
unknown: "unknown";
|
|
1486
|
+
failed: "failed";
|
|
1487
|
+
available: "available";
|
|
1488
|
+
"up-to-date": "up-to-date";
|
|
1489
|
+
unsupported: "unsupported";
|
|
1490
|
+
}>;
|
|
1491
|
+
latest: z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
version: z.ZodString;
|
|
1493
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
1494
|
+
url: z.ZodString;
|
|
1495
|
+
publishedAt: z.ZodOptional<z.ZodNumber>;
|
|
1496
|
+
}, z.core.$strict>>;
|
|
1497
|
+
checkedAt: z.ZodOptional<z.ZodNumber>;
|
|
1498
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1499
|
+
autoCheck: z.ZodBoolean;
|
|
1500
|
+
}, z.core.$strict>;
|
|
1501
|
+
export type ProductUpdateStatus = z.output<typeof ProductUpdateStatusSchema>;
|
|
1502
|
+
/** Pause between consecutive messages an agent sends to one channel; longer messages wait a little longer. */
|
|
1503
|
+
export declare const MessagePacingSchema: z.ZodEnum<{
|
|
1504
|
+
normal: "normal";
|
|
1505
|
+
off: "off";
|
|
1506
|
+
fast: "fast";
|
|
1507
|
+
slow: "slow";
|
|
1508
|
+
}>;
|
|
1509
|
+
export type MessagePacing = z.output<typeof MessagePacingSchema>;
|
|
1510
|
+
export declare const DEFAULT_MESSAGE_PACING: MessagePacing;
|
|
1511
|
+
export declare const MessagePacingSettingsSchema: z.ZodObject<{
|
|
1512
|
+
pacing: z.ZodEnum<{
|
|
1513
|
+
normal: "normal";
|
|
1514
|
+
off: "off";
|
|
1515
|
+
fast: "fast";
|
|
1516
|
+
slow: "slow";
|
|
1517
|
+
}>;
|
|
1518
|
+
}, z.core.$strict>;
|
|
1519
|
+
/** `keyword`: SQLite keyword search only; `builtin`: keywords fused with the built-in semantic model. */
|
|
1520
|
+
export declare const RetrievalModeSchema: z.ZodEnum<{
|
|
1521
|
+
builtin: "builtin";
|
|
1522
|
+
keyword: "keyword";
|
|
1523
|
+
}>;
|
|
1524
|
+
export type RetrievalMode = z.output<typeof RetrievalModeSchema>;
|
|
1525
|
+
/** Search used by extension indexes (表情包与扩展素材能力 §6.4). */
|
|
1526
|
+
export declare const RetrievalStatusSchema: z.ZodObject<{
|
|
1527
|
+
mode: z.ZodEnum<{
|
|
1528
|
+
builtin: "builtin";
|
|
1529
|
+
keyword: "keyword";
|
|
1530
|
+
}>;
|
|
1531
|
+
builtin: z.ZodObject<{
|
|
1532
|
+
model: z.ZodString;
|
|
1533
|
+
supported: z.ZodBoolean;
|
|
1534
|
+
downloadBytes: z.ZodNumber;
|
|
1535
|
+
install: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1536
|
+
state: z.ZodLiteral<"not-installed">;
|
|
1537
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1538
|
+
state: z.ZodLiteral<"downloading">;
|
|
1539
|
+
receivedBytes: z.ZodNumber;
|
|
1540
|
+
totalBytes: z.ZodNumber;
|
|
1541
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1542
|
+
state: z.ZodLiteral<"installed">;
|
|
1543
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1544
|
+
state: z.ZodLiteral<"failed">;
|
|
1545
|
+
error: z.ZodString;
|
|
1546
|
+
}, z.core.$strict>], "state">;
|
|
1547
|
+
}, z.core.$strict>;
|
|
1548
|
+
vectors: z.ZodObject<{
|
|
1549
|
+
documents: z.ZodNumber;
|
|
1550
|
+
embedded: z.ZodNumber;
|
|
1551
|
+
state: z.ZodEnum<{
|
|
1552
|
+
ready: "ready";
|
|
1553
|
+
running: "running";
|
|
1554
|
+
idle: "idle";
|
|
1555
|
+
}>;
|
|
1556
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1557
|
+
}, z.core.$strict>;
|
|
1558
|
+
}, z.core.$strict>;
|
|
1559
|
+
export type RetrievalStatus = z.output<typeof RetrievalStatusSchema>;
|
|
1560
|
+
/** What the agent keeps about individual members of one channel; each note comes with that member's messages. */
|
|
1561
|
+
export declare const ChannelMemberNotesViewSchema: z.ZodObject<{
|
|
1562
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
1563
|
+
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
1564
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1565
|
+
text: z.ZodString;
|
|
1566
|
+
updatedBy: z.ZodEnum<{
|
|
1567
|
+
agent: "agent";
|
|
1568
|
+
admin: "admin";
|
|
1569
|
+
}>;
|
|
1570
|
+
updatedAt: z.ZodNumber;
|
|
1571
|
+
}, z.core.$strict>>;
|
|
1572
|
+
maxChars: z.ZodNumber;
|
|
1573
|
+
}, z.core.$strict>;
|
|
1574
|
+
export type ChannelMemberNotesView = z.output<typeof ChannelMemberNotesViewSchema>;
|
|
1575
|
+
export type ChannelRuntimePhase = z.output<typeof ChannelRuntimePhaseSchema>;
|
|
1576
|
+
export type ChannelRuntimeUsage = z.output<typeof ChannelRuntimeUsageSchema>;
|
|
1577
|
+
export type ChannelRuntimeOccupancy = z.output<typeof ChannelRuntimeOccupancySchema>;
|
|
1578
|
+
export type ChannelRuntimeCacheSample = z.output<typeof ChannelRuntimeCacheSampleSchema>;
|
|
1579
|
+
export type ChannelRuntimeCache = z.output<typeof ChannelRuntimeCacheSchema>;
|
|
1580
|
+
export type ChannelRuntimePerformanceSample = z.output<typeof ChannelRuntimePerformanceSampleSchema>;
|
|
1581
|
+
export type ChannelRuntimePerformance = z.output<typeof ChannelRuntimePerformanceSchema>;
|
|
1582
|
+
export type ChannelRuntimeProjection = z.output<typeof ChannelRuntimeProjectionSchema>;
|
|
1583
|
+
export type ChannelRuntimeContext = z.output<typeof ChannelRuntimeContextSchema>;
|
|
1584
|
+
export type ChannelRuntimeInput = z.output<typeof ChannelRuntimeInputSchema>;
|
|
1585
|
+
export type ChannelPromptView = z.output<typeof ChannelPromptViewSchema>;
|
|
1586
|
+
export type ChannelRuntimeSseData = z.output<typeof ChannelRuntimeSseDataSchema>;
|
|
1587
|
+
export type ChannelFactSseData = z.output<typeof ChannelFactSseDataSchema>;
|
|
1588
|
+
export declare const HostSyncCursorSchema: z.ZodObject<{
|
|
1589
|
+
epoch: z.ZodString;
|
|
1590
|
+
sequence: z.ZodNumber;
|
|
1591
|
+
}, z.core.$strict>;
|
|
1592
|
+
export declare const AgentAppearanceSchema: z.ZodObject<{
|
|
1593
|
+
hue: z.ZodOptional<z.ZodNumber>;
|
|
1594
|
+
avatarAssetId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AssetId", "out">>;
|
|
1595
|
+
}, z.core.$strict>;
|
|
1596
|
+
export type AgentAppearance = z.output<typeof AgentAppearanceSchema>;
|
|
1597
|
+
/** Upper bound of a reported unread count; `unreadCapped` marks that more exist. */
|
|
1598
|
+
export declare const CHANNEL_UNREAD_COUNT_CAP = 99;
|
|
1599
|
+
export declare const ChannelActivitySummarySchema: z.ZodObject<{
|
|
1600
|
+
lastActivityAt: z.ZodOptional<z.ZodNumber>;
|
|
1601
|
+
lastMessage: z.ZodOptional<z.ZodObject<{
|
|
1602
|
+
role: z.ZodEnum<{
|
|
1603
|
+
agent: "agent";
|
|
1604
|
+
member: "member";
|
|
1605
|
+
system: "system";
|
|
1606
|
+
admin: "admin";
|
|
1607
|
+
}>;
|
|
1608
|
+
author: z.ZodString;
|
|
1609
|
+
preview: z.ZodString;
|
|
1610
|
+
occurredAt: z.ZodNumber;
|
|
1611
|
+
}, z.core.$strict>>;
|
|
1612
|
+
unreadCount: z.ZodNumber;
|
|
1613
|
+
unreadCapped: z.ZodBoolean;
|
|
1614
|
+
}, z.core.$strict>;
|
|
1212
1615
|
export type ChannelActivitySummary = z.output<typeof ChannelActivitySummarySchema>;
|
|
1213
1616
|
export declare const AttentionItemSchema: z.ZodObject<{
|
|
1214
1617
|
id: z.ZodString;
|
|
@@ -1382,6 +1785,28 @@ export declare const ScheduledTaskSchema: z.ZodObject<{
|
|
|
1382
1785
|
createdAt: z.ZodNumber;
|
|
1383
1786
|
}, z.core.$strict>;
|
|
1384
1787
|
export type ScheduledTask = z.output<typeof ScheduledTaskSchema>;
|
|
1788
|
+
/** The Node that runs `run_code` programs, and the download the desktop app offers when there is none. */
|
|
1789
|
+
export declare const CodeRunAvailabilitySchema: z.ZodObject<{
|
|
1790
|
+
available: z.ZodBoolean;
|
|
1791
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1792
|
+
host: "host";
|
|
1793
|
+
system: "system";
|
|
1794
|
+
downloaded: "downloaded";
|
|
1795
|
+
}>>;
|
|
1796
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1797
|
+
download: z.ZodOptional<z.ZodObject<{
|
|
1798
|
+
version: z.ZodString;
|
|
1799
|
+
state: z.ZodEnum<{
|
|
1800
|
+
failed: "failed";
|
|
1801
|
+
idle: "idle";
|
|
1802
|
+
downloading: "downloading";
|
|
1803
|
+
}>;
|
|
1804
|
+
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
1805
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
1806
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1807
|
+
}, z.core.$strict>>;
|
|
1808
|
+
}, z.core.$strict>;
|
|
1809
|
+
export type CodeRunAvailability = z.output<typeof CodeRunAvailabilitySchema>;
|
|
1385
1810
|
export declare const HostSnapshotSchema: z.ZodObject<{
|
|
1386
1811
|
upgrade: z.ZodOptional<z.ZodObject<{
|
|
1387
1812
|
runtimeVersion: z.ZodString;
|
|
@@ -1446,6 +1871,30 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1446
1871
|
subagents: z.ZodObject<{
|
|
1447
1872
|
available: z.ZodBoolean;
|
|
1448
1873
|
}, z.core.$strict>;
|
|
1874
|
+
codeRun: z.ZodOptional<z.ZodObject<{
|
|
1875
|
+
available: z.ZodBoolean;
|
|
1876
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1877
|
+
host: "host";
|
|
1878
|
+
system: "system";
|
|
1879
|
+
downloaded: "downloaded";
|
|
1880
|
+
}>>;
|
|
1881
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1882
|
+
download: z.ZodOptional<z.ZodObject<{
|
|
1883
|
+
version: z.ZodString;
|
|
1884
|
+
state: z.ZodEnum<{
|
|
1885
|
+
failed: "failed";
|
|
1886
|
+
idle: "idle";
|
|
1887
|
+
downloading: "downloading";
|
|
1888
|
+
}>;
|
|
1889
|
+
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
1890
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
1891
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1892
|
+
}, z.core.$strict>>;
|
|
1893
|
+
}, z.core.$strict>>;
|
|
1894
|
+
commandConfinement: z.ZodOptional<z.ZodObject<{
|
|
1895
|
+
readScope: z.ZodBoolean;
|
|
1896
|
+
networkControl: z.ZodBoolean;
|
|
1897
|
+
}, z.core.$strict>>;
|
|
1449
1898
|
webSearch: z.ZodObject<{
|
|
1450
1899
|
provider: z.ZodLiteral<"deepseek-official">;
|
|
1451
1900
|
available: z.ZodBoolean;
|
|
@@ -1503,6 +1952,10 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1503
1952
|
internal: "internal";
|
|
1504
1953
|
direct: "direct";
|
|
1505
1954
|
}>>>;
|
|
1955
|
+
directedAt: z.ZodOptional<z.ZodEnum<{
|
|
1956
|
+
message: "message";
|
|
1957
|
+
member: "member";
|
|
1958
|
+
}>>;
|
|
1506
1959
|
}, z.core.$strict>>;
|
|
1507
1960
|
features: z.ZodObject<{
|
|
1508
1961
|
processingFeedback: z.ZodOptional<z.ZodObject<{
|
|
@@ -1608,6 +2061,8 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1608
2061
|
developmentShell: z.ZodBoolean;
|
|
1609
2062
|
unrestrictedFileAccess: z.ZodBoolean;
|
|
1610
2063
|
scheduledTasks: z.ZodDefault<z.ZodBoolean>;
|
|
2064
|
+
codeRun: z.ZodDefault<z.ZodBoolean>;
|
|
2065
|
+
commandNetwork: z.ZodDefault<z.ZodBoolean>;
|
|
1611
2066
|
}, z.core.$strict>;
|
|
1612
2067
|
imagePolicy: z.ZodObject<{
|
|
1613
2068
|
history: z.ZodObject<{
|
|
@@ -2187,6 +2642,25 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
2187
2642
|
storage: z.ZodOptional<z.ZodObject<{
|
|
2188
2643
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2189
2644
|
}, z.core.$strict>>;
|
|
2645
|
+
assets: z.ZodOptional<z.ZodObject<{
|
|
2646
|
+
library: z.ZodObject<{
|
|
2647
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2648
|
+
}, z.core.$strict>;
|
|
2649
|
+
}, z.core.$strict>>;
|
|
2650
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
2651
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
2652
|
+
name: z.ZodString;
|
|
2653
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
2654
|
+
name: z.ZodString;
|
|
2655
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
2656
|
+
}, z.core.$strict>>;
|
|
2657
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2658
|
+
}, z.core.$strict>>;
|
|
2659
|
+
}, z.core.$strict>>;
|
|
2660
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
2661
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
2662
|
+
maxOutputTokens: z.ZodNumber;
|
|
2663
|
+
}, z.core.$strict>>;
|
|
2190
2664
|
}, z.core.$strict>>;
|
|
2191
2665
|
agent: z.ZodOptional<z.ZodObject<{
|
|
2192
2666
|
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2209,7 +2683,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
2209
2683
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2210
2684
|
}, z.core.$strict>>;
|
|
2211
2685
|
assets: z.ZodOptional<z.ZodObject<{
|
|
2212
|
-
write: z.ZodLiteral<true
|
|
2686
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2687
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
2688
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2689
|
+
}, z.core.$strict>>;
|
|
2690
|
+
}, z.core.$strict>>;
|
|
2691
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
2692
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
2693
|
+
name: z.ZodString;
|
|
2694
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
2695
|
+
name: z.ZodString;
|
|
2696
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
2697
|
+
}, z.core.$strict>>;
|
|
2698
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2699
|
+
}, z.core.$strict>>;
|
|
2700
|
+
}, z.core.$strict>>;
|
|
2701
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
2702
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
2703
|
+
maxOutputTokens: z.ZodNumber;
|
|
2213
2704
|
}, z.core.$strict>>;
|
|
2214
2705
|
history: z.ZodOptional<z.ZodObject<{
|
|
2215
2706
|
read: z.ZodLiteral<true>;
|
|
@@ -2314,7 +2805,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
2314
2805
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2315
2806
|
}, z.core.$strict>>;
|
|
2316
2807
|
assets: z.ZodOptional<z.ZodObject<{
|
|
2317
|
-
write: z.ZodLiteral<true
|
|
2808
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2809
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
2810
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2811
|
+
}, z.core.$strict>>;
|
|
2812
|
+
}, z.core.$strict>>;
|
|
2813
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
2814
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
2815
|
+
name: z.ZodString;
|
|
2816
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
2817
|
+
name: z.ZodString;
|
|
2818
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
2819
|
+
}, z.core.$strict>>;
|
|
2820
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2821
|
+
}, z.core.$strict>>;
|
|
2822
|
+
}, z.core.$strict>>;
|
|
2823
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
2824
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
2825
|
+
maxOutputTokens: z.ZodNumber;
|
|
2318
2826
|
}, z.core.$strict>>;
|
|
2319
2827
|
history: z.ZodOptional<z.ZodObject<{
|
|
2320
2828
|
read: z.ZodLiteral<true>;
|
|
@@ -2422,7 +2930,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
2422
2930
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2423
2931
|
}, z.core.$strict>>;
|
|
2424
2932
|
assets: z.ZodOptional<z.ZodObject<{
|
|
2425
|
-
write: z.ZodLiteral<true
|
|
2933
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2934
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
2935
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2936
|
+
}, z.core.$strict>>;
|
|
2937
|
+
}, z.core.$strict>>;
|
|
2938
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
2939
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
2940
|
+
name: z.ZodString;
|
|
2941
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
2942
|
+
name: z.ZodString;
|
|
2943
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
2944
|
+
}, z.core.$strict>>;
|
|
2945
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2946
|
+
}, z.core.$strict>>;
|
|
2947
|
+
}, z.core.$strict>>;
|
|
2948
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
2949
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
2950
|
+
maxOutputTokens: z.ZodNumber;
|
|
2426
2951
|
}, z.core.$strict>>;
|
|
2427
2952
|
history: z.ZodOptional<z.ZodObject<{
|
|
2428
2953
|
read: z.ZodLiteral<true>;
|
|
@@ -2604,7 +3129,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
2604
3129
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2605
3130
|
}, z.core.$strict>>;
|
|
2606
3131
|
assets: z.ZodOptional<z.ZodObject<{
|
|
2607
|
-
write: z.ZodLiteral<true
|
|
3132
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3133
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
3134
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
3135
|
+
}, z.core.$strict>>;
|
|
3136
|
+
}, z.core.$strict>>;
|
|
3137
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
3138
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
3139
|
+
name: z.ZodString;
|
|
3140
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3141
|
+
name: z.ZodString;
|
|
3142
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
3143
|
+
}, z.core.$strict>>;
|
|
3144
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3145
|
+
}, z.core.$strict>>;
|
|
3146
|
+
}, z.core.$strict>>;
|
|
3147
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
3148
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
3149
|
+
maxOutputTokens: z.ZodNumber;
|
|
2608
3150
|
}, z.core.$strict>>;
|
|
2609
3151
|
history: z.ZodOptional<z.ZodObject<{
|
|
2610
3152
|
read: z.ZodLiteral<true>;
|
|
@@ -3203,7 +3745,24 @@ export declare const DshPluginCatalogEntrySchema: z.ZodObject<{
|
|
|
3203
3745
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
3204
3746
|
}, z.core.$strict>>;
|
|
3205
3747
|
assets: z.ZodOptional<z.ZodObject<{
|
|
3206
|
-
write: z.ZodLiteral<true
|
|
3748
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3749
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
3750
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
3751
|
+
}, z.core.$strict>>;
|
|
3752
|
+
}, z.core.$strict>>;
|
|
3753
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
3754
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
3755
|
+
name: z.ZodString;
|
|
3756
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3757
|
+
name: z.ZodString;
|
|
3758
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
3759
|
+
}, z.core.$strict>>;
|
|
3760
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3761
|
+
}, z.core.$strict>>;
|
|
3762
|
+
}, z.core.$strict>>;
|
|
3763
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
3764
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
3765
|
+
maxOutputTokens: z.ZodNumber;
|
|
3207
3766
|
}, z.core.$strict>>;
|
|
3208
3767
|
history: z.ZodOptional<z.ZodObject<{
|
|
3209
3768
|
read: z.ZodLiteral<true>;
|
|
@@ -3379,8 +3938,8 @@ export declare const HostSseStatusDataSchema: z.ZodObject<{
|
|
|
3379
3938
|
export declare const DshPluginOperationSseDataSchema: z.ZodObject<{
|
|
3380
3939
|
operationId: z.ZodString;
|
|
3381
3940
|
kind: z.ZodEnum<{
|
|
3382
|
-
inspect: "inspect";
|
|
3383
3941
|
install: "install";
|
|
3942
|
+
inspect: "inspect";
|
|
3384
3943
|
}>;
|
|
3385
3944
|
phase: z.ZodEnum<{
|
|
3386
3945
|
download: "download";
|
|
@@ -3538,6 +4097,7 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3538
4097
|
toolsTokens: z.ZodNumber;
|
|
3539
4098
|
messageTokens: z.ZodNumber;
|
|
3540
4099
|
}, z.core.$strict>>;
|
|
4100
|
+
imageCount: z.ZodOptional<z.ZodNumber>;
|
|
3541
4101
|
}, z.core.$strict>>;
|
|
3542
4102
|
cache: z.ZodOptional<z.ZodObject<{
|
|
3543
4103
|
scope: z.ZodLiteral<"episode">;
|
|
@@ -3589,6 +4149,34 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3589
4149
|
}, z.core.$strict>>;
|
|
3590
4150
|
}, z.core.$strict>;
|
|
3591
4151
|
}, z.core.$strict>>;
|
|
4152
|
+
memory: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4153
|
+
kind: z.ZodLiteral<"backlog-folded">;
|
|
4154
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
4155
|
+
foldedCount: z.ZodNumber;
|
|
4156
|
+
shownCount: z.ZodNumber;
|
|
4157
|
+
foldedImageCount: z.ZodNumber;
|
|
4158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4159
|
+
kind: z.ZodLiteral<"history-search">;
|
|
4160
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
4161
|
+
query: z.ZodString;
|
|
4162
|
+
hits: z.ZodNumber;
|
|
4163
|
+
sender: z.ZodOptional<z.ZodString>;
|
|
4164
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4165
|
+
kind: z.ZodLiteral<"notes-updated">;
|
|
4166
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
4167
|
+
revision: z.ZodNumber;
|
|
4168
|
+
chars: z.ZodNumber;
|
|
4169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4170
|
+
kind: z.ZodLiteral<"member-notes-updated">;
|
|
4171
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
4172
|
+
memberId: z.ZodString;
|
|
4173
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4174
|
+
chars: z.ZodNumber;
|
|
4175
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4176
|
+
kind: z.ZodLiteral<"idle-review">;
|
|
4177
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
4178
|
+
quietMinutes: z.ZodNumber;
|
|
4179
|
+
}, z.core.$strict>], "kind">>>;
|
|
3592
4180
|
turns: z.ZodArray<z.ZodObject<{
|
|
3593
4181
|
turn: z.ZodNumber;
|
|
3594
4182
|
state: z.ZodEnum<{
|
|
@@ -3616,6 +4204,27 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3616
4204
|
steps: z.ZodArray<z.ZodObject<{
|
|
3617
4205
|
step: z.ZodNumber;
|
|
3618
4206
|
tools: z.ZodArray<z.ZodObject<{
|
|
4207
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4208
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4209
|
+
callId: z.ZodString;
|
|
4210
|
+
name: z.ZodString;
|
|
4211
|
+
displayName: z.ZodString;
|
|
4212
|
+
state: z.ZodEnum<{
|
|
4213
|
+
running: "running";
|
|
4214
|
+
failed: "failed";
|
|
4215
|
+
succeeded: "succeeded";
|
|
4216
|
+
}>;
|
|
4217
|
+
inputPreview: z.ZodOptional<z.ZodString>;
|
|
4218
|
+
resultPreview: z.ZodOptional<z.ZodString>;
|
|
4219
|
+
wroteToChannel: z.ZodOptional<z.ZodBoolean>;
|
|
4220
|
+
deliveryState: z.ZodOptional<z.ZodEnum<{
|
|
4221
|
+
unknown: "unknown";
|
|
4222
|
+
failed: "failed";
|
|
4223
|
+
sent: "sent";
|
|
4224
|
+
"partially-sent": "partially-sent";
|
|
4225
|
+
}>>;
|
|
4226
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
4227
|
+
}, z.core.$strict>>>;
|
|
3619
4228
|
callId: z.ZodString;
|
|
3620
4229
|
name: z.ZodString;
|
|
3621
4230
|
displayName: z.ZodString;
|
|
@@ -3681,8 +4290,8 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3681
4290
|
data: z.ZodObject<{
|
|
3682
4291
|
operationId: z.ZodString;
|
|
3683
4292
|
kind: z.ZodEnum<{
|
|
3684
|
-
inspect: "inspect";
|
|
3685
4293
|
install: "install";
|
|
4294
|
+
inspect: "inspect";
|
|
3686
4295
|
}>;
|
|
3687
4296
|
phase: z.ZodEnum<{
|
|
3688
4297
|
download: "download";
|
|
@@ -4069,6 +4678,30 @@ export declare const HostApiContracts: {
|
|
|
4069
4678
|
subagents: z.ZodObject<{
|
|
4070
4679
|
available: z.ZodBoolean;
|
|
4071
4680
|
}, z.core.$strict>;
|
|
4681
|
+
codeRun: z.ZodOptional<z.ZodObject<{
|
|
4682
|
+
available: z.ZodBoolean;
|
|
4683
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
4684
|
+
host: "host";
|
|
4685
|
+
system: "system";
|
|
4686
|
+
downloaded: "downloaded";
|
|
4687
|
+
}>>;
|
|
4688
|
+
version: z.ZodOptional<z.ZodString>;
|
|
4689
|
+
download: z.ZodOptional<z.ZodObject<{
|
|
4690
|
+
version: z.ZodString;
|
|
4691
|
+
state: z.ZodEnum<{
|
|
4692
|
+
failed: "failed";
|
|
4693
|
+
idle: "idle";
|
|
4694
|
+
downloading: "downloading";
|
|
4695
|
+
}>;
|
|
4696
|
+
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
4697
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
4698
|
+
error: z.ZodOptional<z.ZodString>;
|
|
4699
|
+
}, z.core.$strict>>;
|
|
4700
|
+
}, z.core.$strict>>;
|
|
4701
|
+
commandConfinement: z.ZodOptional<z.ZodObject<{
|
|
4702
|
+
readScope: z.ZodBoolean;
|
|
4703
|
+
networkControl: z.ZodBoolean;
|
|
4704
|
+
}, z.core.$strict>>;
|
|
4072
4705
|
webSearch: z.ZodObject<{
|
|
4073
4706
|
provider: z.ZodLiteral<"deepseek-official">;
|
|
4074
4707
|
available: z.ZodBoolean;
|
|
@@ -4126,6 +4759,10 @@ export declare const HostApiContracts: {
|
|
|
4126
4759
|
internal: "internal";
|
|
4127
4760
|
direct: "direct";
|
|
4128
4761
|
}>>>;
|
|
4762
|
+
directedAt: z.ZodOptional<z.ZodEnum<{
|
|
4763
|
+
message: "message";
|
|
4764
|
+
member: "member";
|
|
4765
|
+
}>>;
|
|
4129
4766
|
}, z.core.$strict>>;
|
|
4130
4767
|
features: z.ZodObject<{
|
|
4131
4768
|
processingFeedback: z.ZodOptional<z.ZodObject<{
|
|
@@ -4231,6 +4868,8 @@ export declare const HostApiContracts: {
|
|
|
4231
4868
|
developmentShell: z.ZodBoolean;
|
|
4232
4869
|
unrestrictedFileAccess: z.ZodBoolean;
|
|
4233
4870
|
scheduledTasks: z.ZodDefault<z.ZodBoolean>;
|
|
4871
|
+
codeRun: z.ZodDefault<z.ZodBoolean>;
|
|
4872
|
+
commandNetwork: z.ZodDefault<z.ZodBoolean>;
|
|
4234
4873
|
}, z.core.$strict>;
|
|
4235
4874
|
imagePolicy: z.ZodObject<{
|
|
4236
4875
|
history: z.ZodObject<{
|
|
@@ -4810,6 +5449,25 @@ export declare const HostApiContracts: {
|
|
|
4810
5449
|
storage: z.ZodOptional<z.ZodObject<{
|
|
4811
5450
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4812
5451
|
}, z.core.$strict>>;
|
|
5452
|
+
assets: z.ZodOptional<z.ZodObject<{
|
|
5453
|
+
library: z.ZodObject<{
|
|
5454
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
5455
|
+
}, z.core.$strict>;
|
|
5456
|
+
}, z.core.$strict>>;
|
|
5457
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
5458
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
5459
|
+
name: z.ZodString;
|
|
5460
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
5461
|
+
name: z.ZodString;
|
|
5462
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
5463
|
+
}, z.core.$strict>>;
|
|
5464
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5465
|
+
}, z.core.$strict>>;
|
|
5466
|
+
}, z.core.$strict>>;
|
|
5467
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
5468
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
5469
|
+
maxOutputTokens: z.ZodNumber;
|
|
5470
|
+
}, z.core.$strict>>;
|
|
4813
5471
|
}, z.core.$strict>>;
|
|
4814
5472
|
agent: z.ZodOptional<z.ZodObject<{
|
|
4815
5473
|
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4832,7 +5490,24 @@ export declare const HostApiContracts: {
|
|
|
4832
5490
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4833
5491
|
}, z.core.$strict>>;
|
|
4834
5492
|
assets: z.ZodOptional<z.ZodObject<{
|
|
4835
|
-
write: z.ZodLiteral<true
|
|
5493
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5494
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
5495
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
5496
|
+
}, z.core.$strict>>;
|
|
5497
|
+
}, z.core.$strict>>;
|
|
5498
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
5499
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
5500
|
+
name: z.ZodString;
|
|
5501
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
5502
|
+
name: z.ZodString;
|
|
5503
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
5504
|
+
}, z.core.$strict>>;
|
|
5505
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5506
|
+
}, z.core.$strict>>;
|
|
5507
|
+
}, z.core.$strict>>;
|
|
5508
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
5509
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
5510
|
+
maxOutputTokens: z.ZodNumber;
|
|
4836
5511
|
}, z.core.$strict>>;
|
|
4837
5512
|
history: z.ZodOptional<z.ZodObject<{
|
|
4838
5513
|
read: z.ZodLiteral<true>;
|
|
@@ -4937,10 +5612,27 @@ export declare const HostApiContracts: {
|
|
|
4937
5612
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4938
5613
|
}, z.core.$strict>>;
|
|
4939
5614
|
assets: z.ZodOptional<z.ZodObject<{
|
|
4940
|
-
write: z.ZodLiteral<true
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
5615
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5616
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
5617
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
5618
|
+
}, z.core.$strict>>;
|
|
5619
|
+
}, z.core.$strict>>;
|
|
5620
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
5621
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
5622
|
+
name: z.ZodString;
|
|
5623
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
5624
|
+
name: z.ZodString;
|
|
5625
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
5626
|
+
}, z.core.$strict>>;
|
|
5627
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5628
|
+
}, z.core.$strict>>;
|
|
5629
|
+
}, z.core.$strict>>;
|
|
5630
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
5631
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
5632
|
+
maxOutputTokens: z.ZodNumber;
|
|
5633
|
+
}, z.core.$strict>>;
|
|
5634
|
+
history: z.ZodOptional<z.ZodObject<{
|
|
5635
|
+
read: z.ZodLiteral<true>;
|
|
4944
5636
|
}, z.core.$strict>>;
|
|
4945
5637
|
inboundHook: z.ZodOptional<z.ZodObject<{
|
|
4946
5638
|
reads: z.ZodEnum<{
|
|
@@ -5045,7 +5737,24 @@ export declare const HostApiContracts: {
|
|
|
5045
5737
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
5046
5738
|
}, z.core.$strict>>;
|
|
5047
5739
|
assets: z.ZodOptional<z.ZodObject<{
|
|
5048
|
-
write: z.ZodLiteral<true
|
|
5740
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5741
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
5742
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
5743
|
+
}, z.core.$strict>>;
|
|
5744
|
+
}, z.core.$strict>>;
|
|
5745
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
5746
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
5747
|
+
name: z.ZodString;
|
|
5748
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
5749
|
+
name: z.ZodString;
|
|
5750
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
5751
|
+
}, z.core.$strict>>;
|
|
5752
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5753
|
+
}, z.core.$strict>>;
|
|
5754
|
+
}, z.core.$strict>>;
|
|
5755
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
5756
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
5757
|
+
maxOutputTokens: z.ZodNumber;
|
|
5049
5758
|
}, z.core.$strict>>;
|
|
5050
5759
|
history: z.ZodOptional<z.ZodObject<{
|
|
5051
5760
|
read: z.ZodLiteral<true>;
|
|
@@ -5227,7 +5936,24 @@ export declare const HostApiContracts: {
|
|
|
5227
5936
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
5228
5937
|
}, z.core.$strict>>;
|
|
5229
5938
|
assets: z.ZodOptional<z.ZodObject<{
|
|
5230
|
-
write: z.ZodLiteral<true
|
|
5939
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5940
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
5941
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
5942
|
+
}, z.core.$strict>>;
|
|
5943
|
+
}, z.core.$strict>>;
|
|
5944
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
5945
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
5946
|
+
name: z.ZodString;
|
|
5947
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
5948
|
+
name: z.ZodString;
|
|
5949
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
5950
|
+
}, z.core.$strict>>;
|
|
5951
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5952
|
+
}, z.core.$strict>>;
|
|
5953
|
+
}, z.core.$strict>>;
|
|
5954
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
5955
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
5956
|
+
maxOutputTokens: z.ZodNumber;
|
|
5231
5957
|
}, z.core.$strict>>;
|
|
5232
5958
|
history: z.ZodOptional<z.ZodObject<{
|
|
5233
5959
|
read: z.ZodLiteral<true>;
|
|
@@ -6845,6 +7571,8 @@ export declare const HostApiContracts: {
|
|
|
6845
7571
|
developmentShell: z.ZodBoolean;
|
|
6846
7572
|
unrestrictedFileAccess: z.ZodBoolean;
|
|
6847
7573
|
scheduledTasks: z.ZodDefault<z.ZodBoolean>;
|
|
7574
|
+
codeRun: z.ZodDefault<z.ZodBoolean>;
|
|
7575
|
+
commandNetwork: z.ZodDefault<z.ZodBoolean>;
|
|
6848
7576
|
}, z.core.$strict>>;
|
|
6849
7577
|
}, z.core.$strict>, z.ZodObject<{
|
|
6850
7578
|
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
@@ -6936,6 +7664,8 @@ export declare const HostApiContracts: {
|
|
|
6936
7664
|
developmentShell: z.ZodOptional<z.ZodBoolean>;
|
|
6937
7665
|
unrestrictedFileAccess: z.ZodOptional<z.ZodBoolean>;
|
|
6938
7666
|
scheduledTasks: z.ZodOptional<z.ZodBoolean>;
|
|
7667
|
+
codeRun: z.ZodOptional<z.ZodBoolean>;
|
|
7668
|
+
commandNetwork: z.ZodOptional<z.ZodBoolean>;
|
|
6939
7669
|
}, z.core.$strict>, z.ZodObject<{
|
|
6940
7670
|
currentRevisionId: z.core.$ZodBranded<z.ZodString, "AgentRevisionId", "out">;
|
|
6941
7671
|
capabilities: z.ZodObject<{
|
|
@@ -6946,6 +7676,8 @@ export declare const HostApiContracts: {
|
|
|
6946
7676
|
developmentShell: z.ZodBoolean;
|
|
6947
7677
|
unrestrictedFileAccess: z.ZodBoolean;
|
|
6948
7678
|
scheduledTasks: z.ZodDefault<z.ZodBoolean>;
|
|
7679
|
+
codeRun: z.ZodDefault<z.ZodBoolean>;
|
|
7680
|
+
commandNetwork: z.ZodDefault<z.ZodBoolean>;
|
|
6949
7681
|
}, z.core.$strict>;
|
|
6950
7682
|
}, z.core.$strict>, z.ZodObject<{
|
|
6951
7683
|
error: z.ZodObject<{
|
|
@@ -7222,6 +7954,7 @@ export declare const HostApiContracts: {
|
|
|
7222
7954
|
toolsTokens: z.ZodNumber;
|
|
7223
7955
|
messageTokens: z.ZodNumber;
|
|
7224
7956
|
}, z.core.$strict>>;
|
|
7957
|
+
imageCount: z.ZodOptional<z.ZodNumber>;
|
|
7225
7958
|
}, z.core.$strict>>;
|
|
7226
7959
|
cache: z.ZodOptional<z.ZodObject<{
|
|
7227
7960
|
scope: z.ZodLiteral<"episode">;
|
|
@@ -7273,6 +8006,34 @@ export declare const HostApiContracts: {
|
|
|
7273
8006
|
}, z.core.$strict>>;
|
|
7274
8007
|
}, z.core.$strict>;
|
|
7275
8008
|
}, z.core.$strict>>;
|
|
8009
|
+
memory: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8010
|
+
kind: z.ZodLiteral<"backlog-folded">;
|
|
8011
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
8012
|
+
foldedCount: z.ZodNumber;
|
|
8013
|
+
shownCount: z.ZodNumber;
|
|
8014
|
+
foldedImageCount: z.ZodNumber;
|
|
8015
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8016
|
+
kind: z.ZodLiteral<"history-search">;
|
|
8017
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
8018
|
+
query: z.ZodString;
|
|
8019
|
+
hits: z.ZodNumber;
|
|
8020
|
+
sender: z.ZodOptional<z.ZodString>;
|
|
8021
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8022
|
+
kind: z.ZodLiteral<"notes-updated">;
|
|
8023
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
8024
|
+
revision: z.ZodNumber;
|
|
8025
|
+
chars: z.ZodNumber;
|
|
8026
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8027
|
+
kind: z.ZodLiteral<"member-notes-updated">;
|
|
8028
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
8029
|
+
memberId: z.ZodString;
|
|
8030
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8031
|
+
chars: z.ZodNumber;
|
|
8032
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8033
|
+
kind: z.ZodLiteral<"idle-review">;
|
|
8034
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
8035
|
+
quietMinutes: z.ZodNumber;
|
|
8036
|
+
}, z.core.$strict>], "kind">>>;
|
|
7276
8037
|
turns: z.ZodArray<z.ZodObject<{
|
|
7277
8038
|
turn: z.ZodNumber;
|
|
7278
8039
|
state: z.ZodEnum<{
|
|
@@ -7300,6 +8061,27 @@ export declare const HostApiContracts: {
|
|
|
7300
8061
|
steps: z.ZodArray<z.ZodObject<{
|
|
7301
8062
|
step: z.ZodNumber;
|
|
7302
8063
|
tools: z.ZodArray<z.ZodObject<{
|
|
8064
|
+
code: z.ZodOptional<z.ZodString>;
|
|
8065
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8066
|
+
callId: z.ZodString;
|
|
8067
|
+
name: z.ZodString;
|
|
8068
|
+
displayName: z.ZodString;
|
|
8069
|
+
state: z.ZodEnum<{
|
|
8070
|
+
running: "running";
|
|
8071
|
+
failed: "failed";
|
|
8072
|
+
succeeded: "succeeded";
|
|
8073
|
+
}>;
|
|
8074
|
+
inputPreview: z.ZodOptional<z.ZodString>;
|
|
8075
|
+
resultPreview: z.ZodOptional<z.ZodString>;
|
|
8076
|
+
wroteToChannel: z.ZodOptional<z.ZodBoolean>;
|
|
8077
|
+
deliveryState: z.ZodOptional<z.ZodEnum<{
|
|
8078
|
+
unknown: "unknown";
|
|
8079
|
+
failed: "failed";
|
|
8080
|
+
sent: "sent";
|
|
8081
|
+
"partially-sent": "partially-sent";
|
|
8082
|
+
}>>;
|
|
8083
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
8084
|
+
}, z.core.$strict>>>;
|
|
7303
8085
|
callId: z.ZodString;
|
|
7304
8086
|
name: z.ZodString;
|
|
7305
8087
|
displayName: z.ZodString;
|
|
@@ -7374,40 +8156,682 @@ export declare const HostApiContracts: {
|
|
|
7374
8156
|
message: z.ZodString;
|
|
7375
8157
|
}, z.core.$strict>;
|
|
7376
8158
|
}, z.core.$strict>>;
|
|
7377
|
-
readonly getChannelRuntimeContext: HostApiContract<"GET", z.ZodObject<{
|
|
7378
|
-
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7379
|
-
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8159
|
+
readonly getChannelRuntimeContext: HostApiContract<"GET", z.ZodObject<{
|
|
8160
|
+
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8161
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8162
|
+
available: z.ZodBoolean;
|
|
8163
|
+
route: z.ZodOptional<z.ZodObject<{
|
|
8164
|
+
provider: z.ZodString;
|
|
8165
|
+
model: z.ZodString;
|
|
8166
|
+
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
8167
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
8168
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
8169
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
8170
|
+
}, z.core.$strict>>;
|
|
8171
|
+
instructions: z.ZodArray<z.ZodObject<{
|
|
8172
|
+
role: z.ZodEnum<{
|
|
8173
|
+
system: "system";
|
|
8174
|
+
developer: "developer";
|
|
8175
|
+
}>;
|
|
8176
|
+
text: z.ZodString;
|
|
8177
|
+
truncated: z.ZodBoolean;
|
|
8178
|
+
}, z.core.$strict>>;
|
|
8179
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
8180
|
+
name: z.ZodString;
|
|
8181
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8182
|
+
parameters: z.ZodOptional<z.ZodString>;
|
|
8183
|
+
}, z.core.$strict>>;
|
|
8184
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
8185
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
8186
|
+
reason: z.ZodEnum<{
|
|
8187
|
+
initial: "initial";
|
|
8188
|
+
resume: "resume";
|
|
8189
|
+
change: "change";
|
|
8190
|
+
series: "series";
|
|
8191
|
+
}>;
|
|
8192
|
+
toolCount: z.ZodNumber;
|
|
8193
|
+
}, z.core.$strict>>;
|
|
8194
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8195
|
+
error: z.ZodObject<{
|
|
8196
|
+
code: z.ZodString;
|
|
8197
|
+
message: z.ZodString;
|
|
8198
|
+
}, z.core.$strict>;
|
|
8199
|
+
}, z.core.$strict>>;
|
|
8200
|
+
readonly getChannelRuntimeInput: HostApiContract<"GET", z.ZodObject<{
|
|
8201
|
+
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8202
|
+
messageId: z.ZodString;
|
|
8203
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8204
|
+
messageId: z.ZodString;
|
|
8205
|
+
available: z.ZodBoolean;
|
|
8206
|
+
source: z.ZodOptional<z.ZodString>;
|
|
8207
|
+
text: z.ZodOptional<z.ZodString>;
|
|
8208
|
+
truncated: z.ZodBoolean;
|
|
8209
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8210
|
+
error: z.ZodObject<{
|
|
8211
|
+
code: z.ZodString;
|
|
8212
|
+
message: z.ZodString;
|
|
8213
|
+
}, z.core.$strict>;
|
|
8214
|
+
}, z.core.$strict>>;
|
|
8215
|
+
readonly getChannelPrompt: HostApiContract<"GET", z.ZodObject<{
|
|
8216
|
+
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8217
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8218
|
+
instructions: z.ZodObject<{
|
|
8219
|
+
document: z.ZodObject<{
|
|
8220
|
+
version: z.ZodLiteral<1>;
|
|
8221
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
8222
|
+
type: z.ZodLiteral<"text">;
|
|
8223
|
+
text: z.ZodString;
|
|
8224
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8225
|
+
type: z.ZodLiteral<"reference">;
|
|
8226
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
8227
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
8228
|
+
labelSnapshot: z.ZodString;
|
|
8229
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8230
|
+
type: z.ZodLiteral<"reference">;
|
|
8231
|
+
kind: z.ZodLiteral<"channel">;
|
|
8232
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8233
|
+
labelSnapshot: z.ZodString;
|
|
8234
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8235
|
+
type: z.ZodLiteral<"reference">;
|
|
8236
|
+
kind: z.ZodLiteral<"extension">;
|
|
8237
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8238
|
+
labelSnapshot: z.ZodString;
|
|
8239
|
+
}, z.core.$strict>], "kind">]>>;
|
|
8240
|
+
}, z.core.$strict>;
|
|
8241
|
+
locked: z.ZodBoolean;
|
|
8242
|
+
revision: z.ZodNumber;
|
|
8243
|
+
maxChars: z.ZodNumber;
|
|
8244
|
+
updatedBy: z.ZodOptional<z.ZodEnum<{
|
|
8245
|
+
agent: "agent";
|
|
8246
|
+
admin: "admin";
|
|
8247
|
+
}>>;
|
|
8248
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
8249
|
+
revisions: z.ZodArray<z.ZodObject<{
|
|
8250
|
+
revision: z.ZodNumber;
|
|
8251
|
+
document: z.ZodObject<{
|
|
8252
|
+
version: z.ZodLiteral<1>;
|
|
8253
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
8254
|
+
type: z.ZodLiteral<"text">;
|
|
8255
|
+
text: z.ZodString;
|
|
8256
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8257
|
+
type: z.ZodLiteral<"reference">;
|
|
8258
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
8259
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
8260
|
+
labelSnapshot: z.ZodString;
|
|
8261
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8262
|
+
type: z.ZodLiteral<"reference">;
|
|
8263
|
+
kind: z.ZodLiteral<"channel">;
|
|
8264
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8265
|
+
labelSnapshot: z.ZodString;
|
|
8266
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8267
|
+
type: z.ZodLiteral<"reference">;
|
|
8268
|
+
kind: z.ZodLiteral<"extension">;
|
|
8269
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8270
|
+
labelSnapshot: z.ZodString;
|
|
8271
|
+
}, z.core.$strict>], "kind">]>>;
|
|
8272
|
+
}, z.core.$strict>;
|
|
8273
|
+
updatedBy: z.ZodEnum<{
|
|
8274
|
+
agent: "agent";
|
|
8275
|
+
admin: "admin";
|
|
8276
|
+
}>;
|
|
8277
|
+
updatedAt: z.ZodNumber;
|
|
8278
|
+
}, z.core.$strict>>;
|
|
8279
|
+
}, z.core.$strict>;
|
|
8280
|
+
notes: z.ZodObject<{
|
|
8281
|
+
document: z.ZodObject<{
|
|
8282
|
+
version: z.ZodLiteral<1>;
|
|
8283
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
8284
|
+
type: z.ZodLiteral<"text">;
|
|
8285
|
+
text: z.ZodString;
|
|
8286
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8287
|
+
type: z.ZodLiteral<"reference">;
|
|
8288
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
8289
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
8290
|
+
labelSnapshot: z.ZodString;
|
|
8291
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8292
|
+
type: z.ZodLiteral<"reference">;
|
|
8293
|
+
kind: z.ZodLiteral<"channel">;
|
|
8294
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8295
|
+
labelSnapshot: z.ZodString;
|
|
8296
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8297
|
+
type: z.ZodLiteral<"reference">;
|
|
8298
|
+
kind: z.ZodLiteral<"extension">;
|
|
8299
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8300
|
+
labelSnapshot: z.ZodString;
|
|
8301
|
+
}, z.core.$strict>], "kind">]>>;
|
|
8302
|
+
}, z.core.$strict>;
|
|
8303
|
+
locked: z.ZodBoolean;
|
|
8304
|
+
revision: z.ZodNumber;
|
|
8305
|
+
maxChars: z.ZodNumber;
|
|
8306
|
+
updatedBy: z.ZodOptional<z.ZodEnum<{
|
|
8307
|
+
agent: "agent";
|
|
8308
|
+
admin: "admin";
|
|
8309
|
+
}>>;
|
|
8310
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
8311
|
+
revisions: z.ZodArray<z.ZodObject<{
|
|
8312
|
+
revision: z.ZodNumber;
|
|
8313
|
+
document: z.ZodObject<{
|
|
8314
|
+
version: z.ZodLiteral<1>;
|
|
8315
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
8316
|
+
type: z.ZodLiteral<"text">;
|
|
8317
|
+
text: z.ZodString;
|
|
8318
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8319
|
+
type: z.ZodLiteral<"reference">;
|
|
8320
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
8321
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
8322
|
+
labelSnapshot: z.ZodString;
|
|
8323
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8324
|
+
type: z.ZodLiteral<"reference">;
|
|
8325
|
+
kind: z.ZodLiteral<"channel">;
|
|
8326
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8327
|
+
labelSnapshot: z.ZodString;
|
|
8328
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8329
|
+
type: z.ZodLiteral<"reference">;
|
|
8330
|
+
kind: z.ZodLiteral<"extension">;
|
|
8331
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8332
|
+
labelSnapshot: z.ZodString;
|
|
8333
|
+
}, z.core.$strict>], "kind">]>>;
|
|
8334
|
+
}, z.core.$strict>;
|
|
8335
|
+
updatedBy: z.ZodEnum<{
|
|
8336
|
+
agent: "agent";
|
|
8337
|
+
admin: "admin";
|
|
8338
|
+
}>;
|
|
8339
|
+
updatedAt: z.ZodNumber;
|
|
8340
|
+
}, z.core.$strict>>;
|
|
8341
|
+
}, z.core.$strict>;
|
|
8342
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8343
|
+
error: z.ZodObject<{
|
|
8344
|
+
code: z.ZodString;
|
|
8345
|
+
message: z.ZodString;
|
|
8346
|
+
}, z.core.$strict>;
|
|
8347
|
+
}, z.core.$strict>>;
|
|
8348
|
+
readonly updateChannelPrompt: HostApiContract<"PUT", z.ZodObject<{
|
|
8349
|
+
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8350
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8351
|
+
kind: z.ZodEnum<{
|
|
8352
|
+
notes: "notes";
|
|
8353
|
+
instructions: "instructions";
|
|
8354
|
+
}>;
|
|
8355
|
+
document: z.ZodObject<{
|
|
8356
|
+
version: z.ZodLiteral<1>;
|
|
8357
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
8358
|
+
type: z.ZodLiteral<"text">;
|
|
8359
|
+
text: z.ZodString;
|
|
8360
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8361
|
+
type: z.ZodLiteral<"reference">;
|
|
8362
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
8363
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
8364
|
+
labelSnapshot: z.ZodString;
|
|
8365
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8366
|
+
type: z.ZodLiteral<"reference">;
|
|
8367
|
+
kind: z.ZodLiteral<"channel">;
|
|
8368
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8369
|
+
labelSnapshot: z.ZodString;
|
|
8370
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8371
|
+
type: z.ZodLiteral<"reference">;
|
|
8372
|
+
kind: z.ZodLiteral<"extension">;
|
|
8373
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8374
|
+
labelSnapshot: z.ZodString;
|
|
8375
|
+
}, z.core.$strict>], "kind">]>>;
|
|
8376
|
+
}, z.core.$strict>;
|
|
8377
|
+
locked: z.ZodBoolean;
|
|
8378
|
+
expectedRevision: z.ZodNumber;
|
|
8379
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8380
|
+
instructions: z.ZodObject<{
|
|
8381
|
+
document: z.ZodObject<{
|
|
8382
|
+
version: z.ZodLiteral<1>;
|
|
8383
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
8384
|
+
type: z.ZodLiteral<"text">;
|
|
8385
|
+
text: z.ZodString;
|
|
8386
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8387
|
+
type: z.ZodLiteral<"reference">;
|
|
8388
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
8389
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
8390
|
+
labelSnapshot: z.ZodString;
|
|
8391
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8392
|
+
type: z.ZodLiteral<"reference">;
|
|
8393
|
+
kind: z.ZodLiteral<"channel">;
|
|
8394
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8395
|
+
labelSnapshot: z.ZodString;
|
|
8396
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8397
|
+
type: z.ZodLiteral<"reference">;
|
|
8398
|
+
kind: z.ZodLiteral<"extension">;
|
|
8399
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8400
|
+
labelSnapshot: z.ZodString;
|
|
8401
|
+
}, z.core.$strict>], "kind">]>>;
|
|
8402
|
+
}, z.core.$strict>;
|
|
8403
|
+
locked: z.ZodBoolean;
|
|
8404
|
+
revision: z.ZodNumber;
|
|
8405
|
+
maxChars: z.ZodNumber;
|
|
8406
|
+
updatedBy: z.ZodOptional<z.ZodEnum<{
|
|
8407
|
+
agent: "agent";
|
|
8408
|
+
admin: "admin";
|
|
8409
|
+
}>>;
|
|
8410
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
8411
|
+
revisions: z.ZodArray<z.ZodObject<{
|
|
8412
|
+
revision: z.ZodNumber;
|
|
8413
|
+
document: z.ZodObject<{
|
|
8414
|
+
version: z.ZodLiteral<1>;
|
|
8415
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
8416
|
+
type: z.ZodLiteral<"text">;
|
|
8417
|
+
text: z.ZodString;
|
|
8418
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8419
|
+
type: z.ZodLiteral<"reference">;
|
|
8420
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
8421
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
8422
|
+
labelSnapshot: z.ZodString;
|
|
8423
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8424
|
+
type: z.ZodLiteral<"reference">;
|
|
8425
|
+
kind: z.ZodLiteral<"channel">;
|
|
8426
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8427
|
+
labelSnapshot: z.ZodString;
|
|
8428
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8429
|
+
type: z.ZodLiteral<"reference">;
|
|
8430
|
+
kind: z.ZodLiteral<"extension">;
|
|
8431
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8432
|
+
labelSnapshot: z.ZodString;
|
|
8433
|
+
}, z.core.$strict>], "kind">]>>;
|
|
8434
|
+
}, z.core.$strict>;
|
|
8435
|
+
updatedBy: z.ZodEnum<{
|
|
8436
|
+
agent: "agent";
|
|
8437
|
+
admin: "admin";
|
|
8438
|
+
}>;
|
|
8439
|
+
updatedAt: z.ZodNumber;
|
|
8440
|
+
}, z.core.$strict>>;
|
|
8441
|
+
}, z.core.$strict>;
|
|
8442
|
+
notes: z.ZodObject<{
|
|
8443
|
+
document: z.ZodObject<{
|
|
8444
|
+
version: z.ZodLiteral<1>;
|
|
8445
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
8446
|
+
type: z.ZodLiteral<"text">;
|
|
8447
|
+
text: z.ZodString;
|
|
8448
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8449
|
+
type: z.ZodLiteral<"reference">;
|
|
8450
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
8451
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
8452
|
+
labelSnapshot: z.ZodString;
|
|
8453
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8454
|
+
type: z.ZodLiteral<"reference">;
|
|
8455
|
+
kind: z.ZodLiteral<"channel">;
|
|
8456
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8457
|
+
labelSnapshot: z.ZodString;
|
|
8458
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8459
|
+
type: z.ZodLiteral<"reference">;
|
|
8460
|
+
kind: z.ZodLiteral<"extension">;
|
|
8461
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8462
|
+
labelSnapshot: z.ZodString;
|
|
8463
|
+
}, z.core.$strict>], "kind">]>>;
|
|
8464
|
+
}, z.core.$strict>;
|
|
8465
|
+
locked: z.ZodBoolean;
|
|
8466
|
+
revision: z.ZodNumber;
|
|
8467
|
+
maxChars: z.ZodNumber;
|
|
8468
|
+
updatedBy: z.ZodOptional<z.ZodEnum<{
|
|
8469
|
+
agent: "agent";
|
|
8470
|
+
admin: "admin";
|
|
8471
|
+
}>>;
|
|
8472
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
8473
|
+
revisions: z.ZodArray<z.ZodObject<{
|
|
8474
|
+
revision: z.ZodNumber;
|
|
8475
|
+
document: z.ZodObject<{
|
|
8476
|
+
version: z.ZodLiteral<1>;
|
|
8477
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
8478
|
+
type: z.ZodLiteral<"text">;
|
|
8479
|
+
text: z.ZodString;
|
|
8480
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8481
|
+
type: z.ZodLiteral<"reference">;
|
|
8482
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
8483
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
8484
|
+
labelSnapshot: z.ZodString;
|
|
8485
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8486
|
+
type: z.ZodLiteral<"reference">;
|
|
8487
|
+
kind: z.ZodLiteral<"channel">;
|
|
8488
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8489
|
+
labelSnapshot: z.ZodString;
|
|
8490
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8491
|
+
type: z.ZodLiteral<"reference">;
|
|
8492
|
+
kind: z.ZodLiteral<"extension">;
|
|
8493
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8494
|
+
labelSnapshot: z.ZodString;
|
|
8495
|
+
}, z.core.$strict>], "kind">]>>;
|
|
8496
|
+
}, z.core.$strict>;
|
|
8497
|
+
updatedBy: z.ZodEnum<{
|
|
8498
|
+
agent: "agent";
|
|
8499
|
+
admin: "admin";
|
|
8500
|
+
}>;
|
|
8501
|
+
updatedAt: z.ZodNumber;
|
|
8502
|
+
}, z.core.$strict>>;
|
|
8503
|
+
}, z.core.$strict>;
|
|
8504
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8505
|
+
error: z.ZodObject<{
|
|
8506
|
+
code: z.ZodString;
|
|
8507
|
+
message: z.ZodString;
|
|
8508
|
+
}, z.core.$strict>;
|
|
8509
|
+
}, z.core.$strict>>;
|
|
8510
|
+
readonly getProductUpdates: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8511
|
+
channel: z.ZodEnum<{
|
|
8512
|
+
development: "development";
|
|
8513
|
+
preview: "preview";
|
|
8514
|
+
stable: "stable";
|
|
8515
|
+
}>;
|
|
8516
|
+
currentVersion: z.ZodString;
|
|
8517
|
+
currentCommit: z.ZodOptional<z.ZodString>;
|
|
8518
|
+
state: z.ZodEnum<{
|
|
8519
|
+
unknown: "unknown";
|
|
8520
|
+
failed: "failed";
|
|
8521
|
+
available: "available";
|
|
8522
|
+
"up-to-date": "up-to-date";
|
|
8523
|
+
unsupported: "unsupported";
|
|
8524
|
+
}>;
|
|
8525
|
+
latest: z.ZodOptional<z.ZodObject<{
|
|
8526
|
+
version: z.ZodString;
|
|
8527
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
8528
|
+
url: z.ZodString;
|
|
8529
|
+
publishedAt: z.ZodOptional<z.ZodNumber>;
|
|
8530
|
+
}, z.core.$strict>>;
|
|
8531
|
+
checkedAt: z.ZodOptional<z.ZodNumber>;
|
|
8532
|
+
error: z.ZodOptional<z.ZodString>;
|
|
8533
|
+
autoCheck: z.ZodBoolean;
|
|
8534
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8535
|
+
error: z.ZodObject<{
|
|
8536
|
+
code: z.ZodString;
|
|
8537
|
+
message: z.ZodString;
|
|
8538
|
+
}, z.core.$strict>;
|
|
8539
|
+
}, z.core.$strict>>;
|
|
8540
|
+
readonly checkProductUpdates: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8541
|
+
channel: z.ZodEnum<{
|
|
8542
|
+
development: "development";
|
|
8543
|
+
preview: "preview";
|
|
8544
|
+
stable: "stable";
|
|
8545
|
+
}>;
|
|
8546
|
+
currentVersion: z.ZodString;
|
|
8547
|
+
currentCommit: z.ZodOptional<z.ZodString>;
|
|
8548
|
+
state: z.ZodEnum<{
|
|
8549
|
+
unknown: "unknown";
|
|
8550
|
+
failed: "failed";
|
|
8551
|
+
available: "available";
|
|
8552
|
+
"up-to-date": "up-to-date";
|
|
8553
|
+
unsupported: "unsupported";
|
|
8554
|
+
}>;
|
|
8555
|
+
latest: z.ZodOptional<z.ZodObject<{
|
|
8556
|
+
version: z.ZodString;
|
|
8557
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
8558
|
+
url: z.ZodString;
|
|
8559
|
+
publishedAt: z.ZodOptional<z.ZodNumber>;
|
|
8560
|
+
}, z.core.$strict>>;
|
|
8561
|
+
checkedAt: z.ZodOptional<z.ZodNumber>;
|
|
8562
|
+
error: z.ZodOptional<z.ZodString>;
|
|
8563
|
+
autoCheck: z.ZodBoolean;
|
|
8564
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8565
|
+
error: z.ZodObject<{
|
|
8566
|
+
code: z.ZodString;
|
|
8567
|
+
message: z.ZodString;
|
|
8568
|
+
}, z.core.$strict>;
|
|
8569
|
+
}, z.core.$strict>>;
|
|
8570
|
+
readonly updateProductUpdateSettings: HostApiContract<"PUT", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
8571
|
+
autoCheck: z.ZodBoolean;
|
|
8572
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8573
|
+
channel: z.ZodEnum<{
|
|
8574
|
+
development: "development";
|
|
8575
|
+
preview: "preview";
|
|
8576
|
+
stable: "stable";
|
|
8577
|
+
}>;
|
|
8578
|
+
currentVersion: z.ZodString;
|
|
8579
|
+
currentCommit: z.ZodOptional<z.ZodString>;
|
|
8580
|
+
state: z.ZodEnum<{
|
|
8581
|
+
unknown: "unknown";
|
|
8582
|
+
failed: "failed";
|
|
8583
|
+
available: "available";
|
|
8584
|
+
"up-to-date": "up-to-date";
|
|
8585
|
+
unsupported: "unsupported";
|
|
8586
|
+
}>;
|
|
8587
|
+
latest: z.ZodOptional<z.ZodObject<{
|
|
8588
|
+
version: z.ZodString;
|
|
8589
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
8590
|
+
url: z.ZodString;
|
|
8591
|
+
publishedAt: z.ZodOptional<z.ZodNumber>;
|
|
8592
|
+
}, z.core.$strict>>;
|
|
8593
|
+
checkedAt: z.ZodOptional<z.ZodNumber>;
|
|
8594
|
+
error: z.ZodOptional<z.ZodString>;
|
|
8595
|
+
autoCheck: z.ZodBoolean;
|
|
8596
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8597
|
+
error: z.ZodObject<{
|
|
8598
|
+
code: z.ZodString;
|
|
8599
|
+
message: z.ZodString;
|
|
8600
|
+
}, z.core.$strict>;
|
|
8601
|
+
}, z.core.$strict>>;
|
|
8602
|
+
readonly getMessagePacingSettings: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8603
|
+
pacing: z.ZodEnum<{
|
|
8604
|
+
normal: "normal";
|
|
8605
|
+
off: "off";
|
|
8606
|
+
fast: "fast";
|
|
8607
|
+
slow: "slow";
|
|
8608
|
+
}>;
|
|
8609
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8610
|
+
error: z.ZodObject<{
|
|
8611
|
+
code: z.ZodString;
|
|
8612
|
+
message: z.ZodString;
|
|
8613
|
+
}, z.core.$strict>;
|
|
8614
|
+
}, z.core.$strict>>;
|
|
8615
|
+
readonly updateMessagePacingSettings: HostApiContract<"PUT", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
8616
|
+
pacing: z.ZodEnum<{
|
|
8617
|
+
normal: "normal";
|
|
8618
|
+
off: "off";
|
|
8619
|
+
fast: "fast";
|
|
8620
|
+
slow: "slow";
|
|
8621
|
+
}>;
|
|
8622
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8623
|
+
pacing: z.ZodEnum<{
|
|
8624
|
+
normal: "normal";
|
|
8625
|
+
off: "off";
|
|
8626
|
+
fast: "fast";
|
|
8627
|
+
slow: "slow";
|
|
8628
|
+
}>;
|
|
8629
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8630
|
+
error: z.ZodObject<{
|
|
8631
|
+
code: z.ZodString;
|
|
8632
|
+
message: z.ZodString;
|
|
8633
|
+
}, z.core.$strict>;
|
|
8634
|
+
}, z.core.$strict>>;
|
|
8635
|
+
readonly getRetrievalStatus: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8636
|
+
mode: z.ZodEnum<{
|
|
8637
|
+
builtin: "builtin";
|
|
8638
|
+
keyword: "keyword";
|
|
8639
|
+
}>;
|
|
8640
|
+
builtin: z.ZodObject<{
|
|
8641
|
+
model: z.ZodString;
|
|
8642
|
+
supported: z.ZodBoolean;
|
|
8643
|
+
downloadBytes: z.ZodNumber;
|
|
8644
|
+
install: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8645
|
+
state: z.ZodLiteral<"not-installed">;
|
|
8646
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8647
|
+
state: z.ZodLiteral<"downloading">;
|
|
8648
|
+
receivedBytes: z.ZodNumber;
|
|
8649
|
+
totalBytes: z.ZodNumber;
|
|
8650
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8651
|
+
state: z.ZodLiteral<"installed">;
|
|
8652
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8653
|
+
state: z.ZodLiteral<"failed">;
|
|
8654
|
+
error: z.ZodString;
|
|
8655
|
+
}, z.core.$strict>], "state">;
|
|
8656
|
+
}, z.core.$strict>;
|
|
8657
|
+
vectors: z.ZodObject<{
|
|
8658
|
+
documents: z.ZodNumber;
|
|
8659
|
+
embedded: z.ZodNumber;
|
|
8660
|
+
state: z.ZodEnum<{
|
|
8661
|
+
ready: "ready";
|
|
8662
|
+
running: "running";
|
|
8663
|
+
idle: "idle";
|
|
8664
|
+
}>;
|
|
8665
|
+
error: z.ZodOptional<z.ZodString>;
|
|
8666
|
+
}, z.core.$strict>;
|
|
8667
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8668
|
+
error: z.ZodObject<{
|
|
8669
|
+
code: z.ZodString;
|
|
8670
|
+
message: z.ZodString;
|
|
8671
|
+
}, z.core.$strict>;
|
|
8672
|
+
}, z.core.$strict>>;
|
|
8673
|
+
readonly updateRetrievalMode: HostApiContract<"PUT", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
8674
|
+
mode: z.ZodEnum<{
|
|
8675
|
+
builtin: "builtin";
|
|
8676
|
+
keyword: "keyword";
|
|
8677
|
+
}>;
|
|
8678
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8679
|
+
mode: z.ZodEnum<{
|
|
8680
|
+
builtin: "builtin";
|
|
8681
|
+
keyword: "keyword";
|
|
8682
|
+
}>;
|
|
8683
|
+
builtin: z.ZodObject<{
|
|
8684
|
+
model: z.ZodString;
|
|
8685
|
+
supported: z.ZodBoolean;
|
|
8686
|
+
downloadBytes: z.ZodNumber;
|
|
8687
|
+
install: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8688
|
+
state: z.ZodLiteral<"not-installed">;
|
|
8689
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8690
|
+
state: z.ZodLiteral<"downloading">;
|
|
8691
|
+
receivedBytes: z.ZodNumber;
|
|
8692
|
+
totalBytes: z.ZodNumber;
|
|
8693
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8694
|
+
state: z.ZodLiteral<"installed">;
|
|
8695
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8696
|
+
state: z.ZodLiteral<"failed">;
|
|
8697
|
+
error: z.ZodString;
|
|
8698
|
+
}, z.core.$strict>], "state">;
|
|
8699
|
+
}, z.core.$strict>;
|
|
8700
|
+
vectors: z.ZodObject<{
|
|
8701
|
+
documents: z.ZodNumber;
|
|
8702
|
+
embedded: z.ZodNumber;
|
|
8703
|
+
state: z.ZodEnum<{
|
|
8704
|
+
ready: "ready";
|
|
8705
|
+
running: "running";
|
|
8706
|
+
idle: "idle";
|
|
8707
|
+
}>;
|
|
8708
|
+
error: z.ZodOptional<z.ZodString>;
|
|
8709
|
+
}, z.core.$strict>;
|
|
8710
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8711
|
+
error: z.ZodObject<{
|
|
8712
|
+
code: z.ZodString;
|
|
8713
|
+
message: z.ZodString;
|
|
8714
|
+
}, z.core.$strict>;
|
|
8715
|
+
}, z.core.$strict>>;
|
|
8716
|
+
readonly downloadRetrievalModel: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8717
|
+
mode: z.ZodEnum<{
|
|
8718
|
+
builtin: "builtin";
|
|
8719
|
+
keyword: "keyword";
|
|
8720
|
+
}>;
|
|
8721
|
+
builtin: z.ZodObject<{
|
|
8722
|
+
model: z.ZodString;
|
|
8723
|
+
supported: z.ZodBoolean;
|
|
8724
|
+
downloadBytes: z.ZodNumber;
|
|
8725
|
+
install: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8726
|
+
state: z.ZodLiteral<"not-installed">;
|
|
8727
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8728
|
+
state: z.ZodLiteral<"downloading">;
|
|
8729
|
+
receivedBytes: z.ZodNumber;
|
|
8730
|
+
totalBytes: z.ZodNumber;
|
|
8731
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8732
|
+
state: z.ZodLiteral<"installed">;
|
|
8733
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8734
|
+
state: z.ZodLiteral<"failed">;
|
|
8735
|
+
error: z.ZodString;
|
|
8736
|
+
}, z.core.$strict>], "state">;
|
|
8737
|
+
}, z.core.$strict>;
|
|
8738
|
+
vectors: z.ZodObject<{
|
|
8739
|
+
documents: z.ZodNumber;
|
|
8740
|
+
embedded: z.ZodNumber;
|
|
8741
|
+
state: z.ZodEnum<{
|
|
8742
|
+
ready: "ready";
|
|
8743
|
+
running: "running";
|
|
8744
|
+
idle: "idle";
|
|
8745
|
+
}>;
|
|
8746
|
+
error: z.ZodOptional<z.ZodString>;
|
|
8747
|
+
}, z.core.$strict>;
|
|
8748
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8749
|
+
error: z.ZodObject<{
|
|
8750
|
+
code: z.ZodString;
|
|
8751
|
+
message: z.ZodString;
|
|
8752
|
+
}, z.core.$strict>;
|
|
8753
|
+
}, z.core.$strict>>;
|
|
8754
|
+
readonly removeRetrievalModel: HostApiContract<"DELETE", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8755
|
+
mode: z.ZodEnum<{
|
|
8756
|
+
builtin: "builtin";
|
|
8757
|
+
keyword: "keyword";
|
|
8758
|
+
}>;
|
|
8759
|
+
builtin: z.ZodObject<{
|
|
8760
|
+
model: z.ZodString;
|
|
8761
|
+
supported: z.ZodBoolean;
|
|
8762
|
+
downloadBytes: z.ZodNumber;
|
|
8763
|
+
install: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8764
|
+
state: z.ZodLiteral<"not-installed">;
|
|
8765
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8766
|
+
state: z.ZodLiteral<"downloading">;
|
|
8767
|
+
receivedBytes: z.ZodNumber;
|
|
8768
|
+
totalBytes: z.ZodNumber;
|
|
8769
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8770
|
+
state: z.ZodLiteral<"installed">;
|
|
8771
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8772
|
+
state: z.ZodLiteral<"failed">;
|
|
8773
|
+
error: z.ZodString;
|
|
8774
|
+
}, z.core.$strict>], "state">;
|
|
8775
|
+
}, z.core.$strict>;
|
|
8776
|
+
vectors: z.ZodObject<{
|
|
8777
|
+
documents: z.ZodNumber;
|
|
8778
|
+
embedded: z.ZodNumber;
|
|
8779
|
+
state: z.ZodEnum<{
|
|
8780
|
+
ready: "ready";
|
|
8781
|
+
running: "running";
|
|
8782
|
+
idle: "idle";
|
|
8783
|
+
}>;
|
|
8784
|
+
error: z.ZodOptional<z.ZodString>;
|
|
8785
|
+
}, z.core.$strict>;
|
|
8786
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8787
|
+
error: z.ZodObject<{
|
|
8788
|
+
code: z.ZodString;
|
|
8789
|
+
message: z.ZodString;
|
|
8790
|
+
}, z.core.$strict>;
|
|
8791
|
+
}, z.core.$strict>>;
|
|
8792
|
+
readonly downloadCodeRunNode: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8793
|
+
available: z.ZodBoolean;
|
|
8794
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
8795
|
+
host: "host";
|
|
8796
|
+
system: "system";
|
|
8797
|
+
downloaded: "downloaded";
|
|
8798
|
+
}>>;
|
|
8799
|
+
version: z.ZodOptional<z.ZodString>;
|
|
8800
|
+
download: z.ZodOptional<z.ZodObject<{
|
|
8801
|
+
version: z.ZodString;
|
|
8802
|
+
state: z.ZodEnum<{
|
|
8803
|
+
failed: "failed";
|
|
8804
|
+
idle: "idle";
|
|
8805
|
+
downloading: "downloading";
|
|
8806
|
+
}>;
|
|
8807
|
+
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
8808
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
8809
|
+
error: z.ZodOptional<z.ZodString>;
|
|
8810
|
+
}, z.core.$strict>>;
|
|
8811
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8812
|
+
error: z.ZodObject<{
|
|
8813
|
+
code: z.ZodString;
|
|
8814
|
+
message: z.ZodString;
|
|
8815
|
+
}, z.core.$strict>;
|
|
8816
|
+
}, z.core.$strict>>;
|
|
8817
|
+
readonly removeCodeRunNode: HostApiContract<"DELETE", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
7380
8818
|
available: z.ZodBoolean;
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
}>;
|
|
7394
|
-
text: z.ZodString;
|
|
7395
|
-
truncated: z.ZodBoolean;
|
|
7396
|
-
}, z.core.$strict>>;
|
|
7397
|
-
tools: z.ZodArray<z.ZodObject<{
|
|
7398
|
-
name: z.ZodString;
|
|
7399
|
-
description: z.ZodOptional<z.ZodString>;
|
|
7400
|
-
parameters: z.ZodOptional<z.ZodString>;
|
|
7401
|
-
}, z.core.$strict>>;
|
|
7402
|
-
changes: z.ZodArray<z.ZodObject<{
|
|
7403
|
-
at: z.ZodOptional<z.ZodNumber>;
|
|
7404
|
-
reason: z.ZodEnum<{
|
|
7405
|
-
initial: "initial";
|
|
7406
|
-
resume: "resume";
|
|
7407
|
-
change: "change";
|
|
7408
|
-
series: "series";
|
|
8819
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
8820
|
+
host: "host";
|
|
8821
|
+
system: "system";
|
|
8822
|
+
downloaded: "downloaded";
|
|
8823
|
+
}>>;
|
|
8824
|
+
version: z.ZodOptional<z.ZodString>;
|
|
8825
|
+
download: z.ZodOptional<z.ZodObject<{
|
|
8826
|
+
version: z.ZodString;
|
|
8827
|
+
state: z.ZodEnum<{
|
|
8828
|
+
failed: "failed";
|
|
8829
|
+
idle: "idle";
|
|
8830
|
+
downloading: "downloading";
|
|
7409
8831
|
}>;
|
|
7410
|
-
|
|
8832
|
+
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
8833
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
8834
|
+
error: z.ZodOptional<z.ZodString>;
|
|
7411
8835
|
}, z.core.$strict>>;
|
|
7412
8836
|
}, z.core.$strict>, z.ZodObject<{
|
|
7413
8837
|
error: z.ZodObject<{
|
|
@@ -7415,178 +8839,89 @@ export declare const HostApiContracts: {
|
|
|
7415
8839
|
message: z.ZodString;
|
|
7416
8840
|
}, z.core.$strict>;
|
|
7417
8841
|
}, z.core.$strict>>;
|
|
7418
|
-
readonly
|
|
8842
|
+
readonly getChannelMemberNotes: HostApiContract<"GET", z.ZodObject<{
|
|
7419
8843
|
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7420
|
-
messageId: z.ZodString;
|
|
7421
8844
|
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
7422
|
-
|
|
7423
|
-
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
8845
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
8846
|
+
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
8847
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
8848
|
+
text: z.ZodString;
|
|
8849
|
+
updatedBy: z.ZodEnum<{
|
|
8850
|
+
agent: "agent";
|
|
8851
|
+
admin: "admin";
|
|
8852
|
+
}>;
|
|
8853
|
+
updatedAt: z.ZodNumber;
|
|
8854
|
+
}, z.core.$strict>>;
|
|
8855
|
+
maxChars: z.ZodNumber;
|
|
7427
8856
|
}, z.core.$strict>, z.ZodObject<{
|
|
7428
8857
|
error: z.ZodObject<{
|
|
7429
8858
|
code: z.ZodString;
|
|
7430
8859
|
message: z.ZodString;
|
|
7431
8860
|
}, z.core.$strict>;
|
|
7432
8861
|
}, z.core.$strict>>;
|
|
7433
|
-
readonly
|
|
8862
|
+
readonly updateChannelMemberNote: HostApiContract<"PUT", z.ZodObject<{
|
|
7434
8863
|
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
kind: z.ZodLiteral<"platform-user">;
|
|
7444
|
-
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
7445
|
-
labelSnapshot: z.ZodString;
|
|
7446
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7447
|
-
type: z.ZodLiteral<"reference">;
|
|
7448
|
-
kind: z.ZodLiteral<"channel">;
|
|
7449
|
-
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7450
|
-
labelSnapshot: z.ZodString;
|
|
7451
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7452
|
-
type: z.ZodLiteral<"reference">;
|
|
7453
|
-
kind: z.ZodLiteral<"extension">;
|
|
7454
|
-
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7455
|
-
labelSnapshot: z.ZodString;
|
|
7456
|
-
}, z.core.$strict>], "kind">]>>;
|
|
7457
|
-
}, z.core.$strict>;
|
|
7458
|
-
locked: z.ZodBoolean;
|
|
7459
|
-
revision: z.ZodNumber;
|
|
7460
|
-
maxChars: z.ZodNumber;
|
|
7461
|
-
updatedBy: z.ZodOptional<z.ZodEnum<{
|
|
7462
|
-
agent: "agent";
|
|
7463
|
-
admin: "admin";
|
|
7464
|
-
}>>;
|
|
7465
|
-
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
7466
|
-
revisions: z.ZodArray<z.ZodObject<{
|
|
7467
|
-
revision: z.ZodNumber;
|
|
7468
|
-
document: z.ZodObject<{
|
|
7469
|
-
version: z.ZodLiteral<1>;
|
|
7470
|
-
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7471
|
-
type: z.ZodLiteral<"text">;
|
|
7472
|
-
text: z.ZodString;
|
|
7473
|
-
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7474
|
-
type: z.ZodLiteral<"reference">;
|
|
7475
|
-
kind: z.ZodLiteral<"platform-user">;
|
|
7476
|
-
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
7477
|
-
labelSnapshot: z.ZodString;
|
|
7478
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7479
|
-
type: z.ZodLiteral<"reference">;
|
|
7480
|
-
kind: z.ZodLiteral<"channel">;
|
|
7481
|
-
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7482
|
-
labelSnapshot: z.ZodString;
|
|
7483
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7484
|
-
type: z.ZodLiteral<"reference">;
|
|
7485
|
-
kind: z.ZodLiteral<"extension">;
|
|
7486
|
-
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7487
|
-
labelSnapshot: z.ZodString;
|
|
7488
|
-
}, z.core.$strict>], "kind">]>>;
|
|
7489
|
-
}, z.core.$strict>;
|
|
8864
|
+
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
8865
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8866
|
+
text: z.ZodString;
|
|
8867
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8868
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
8869
|
+
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
8870
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
8871
|
+
text: z.ZodString;
|
|
7490
8872
|
updatedBy: z.ZodEnum<{
|
|
7491
8873
|
agent: "agent";
|
|
7492
8874
|
admin: "admin";
|
|
7493
8875
|
}>;
|
|
7494
8876
|
updatedAt: z.ZodNumber;
|
|
7495
8877
|
}, z.core.$strict>>;
|
|
8878
|
+
maxChars: z.ZodNumber;
|
|
7496
8879
|
}, z.core.$strict>, z.ZodObject<{
|
|
7497
8880
|
error: z.ZodObject<{
|
|
7498
8881
|
code: z.ZodString;
|
|
7499
8882
|
message: z.ZodString;
|
|
7500
8883
|
}, z.core.$strict>;
|
|
7501
8884
|
}, z.core.$strict>>;
|
|
7502
|
-
readonly
|
|
8885
|
+
readonly getChannelContextPolicy: HostApiContract<"GET", z.ZodObject<{
|
|
7503
8886
|
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7504
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
text: z.ZodString;
|
|
7510
|
-
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7511
|
-
type: z.ZodLiteral<"reference">;
|
|
7512
|
-
kind: z.ZodLiteral<"platform-user">;
|
|
7513
|
-
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
7514
|
-
labelSnapshot: z.ZodString;
|
|
7515
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7516
|
-
type: z.ZodLiteral<"reference">;
|
|
7517
|
-
kind: z.ZodLiteral<"channel">;
|
|
7518
|
-
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7519
|
-
labelSnapshot: z.ZodString;
|
|
7520
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7521
|
-
type: z.ZodLiteral<"reference">;
|
|
7522
|
-
kind: z.ZodLiteral<"extension">;
|
|
7523
|
-
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7524
|
-
labelSnapshot: z.ZodString;
|
|
7525
|
-
}, z.core.$strict>], "kind">]>>;
|
|
8887
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8888
|
+
policy: z.ZodObject<{
|
|
8889
|
+
backlogTextChars: z.ZodNumber;
|
|
8890
|
+
backlogImages: z.ZodNumber;
|
|
8891
|
+
idleReviewMinutes: z.ZodNumber;
|
|
7526
8892
|
}, z.core.$strict>;
|
|
7527
|
-
|
|
7528
|
-
|
|
8893
|
+
defaults: z.ZodObject<{
|
|
8894
|
+
backlogTextChars: z.ZodNumber;
|
|
8895
|
+
backlogImages: z.ZodNumber;
|
|
8896
|
+
idleReviewMinutes: z.ZodNumber;
|
|
8897
|
+
}, z.core.$strict>;
|
|
8898
|
+
custom: z.ZodBoolean;
|
|
7529
8899
|
}, z.core.$strict>, z.ZodObject<{
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
type: z.ZodLiteral<"text">;
|
|
7534
|
-
text: z.ZodString;
|
|
7535
|
-
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7536
|
-
type: z.ZodLiteral<"reference">;
|
|
7537
|
-
kind: z.ZodLiteral<"platform-user">;
|
|
7538
|
-
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
7539
|
-
labelSnapshot: z.ZodString;
|
|
7540
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7541
|
-
type: z.ZodLiteral<"reference">;
|
|
7542
|
-
kind: z.ZodLiteral<"channel">;
|
|
7543
|
-
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7544
|
-
labelSnapshot: z.ZodString;
|
|
7545
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7546
|
-
type: z.ZodLiteral<"reference">;
|
|
7547
|
-
kind: z.ZodLiteral<"extension">;
|
|
7548
|
-
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7549
|
-
labelSnapshot: z.ZodString;
|
|
7550
|
-
}, z.core.$strict>], "kind">]>>;
|
|
8900
|
+
error: z.ZodObject<{
|
|
8901
|
+
code: z.ZodString;
|
|
8902
|
+
message: z.ZodString;
|
|
7551
8903
|
}, z.core.$strict>;
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
|
|
7560
|
-
revisions: z.ZodArray<z.ZodObject<{
|
|
7561
|
-
revision: z.ZodNumber;
|
|
7562
|
-
document: z.ZodObject<{
|
|
7563
|
-
version: z.ZodLiteral<1>;
|
|
7564
|
-
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7565
|
-
type: z.ZodLiteral<"text">;
|
|
7566
|
-
text: z.ZodString;
|
|
7567
|
-
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7568
|
-
type: z.ZodLiteral<"reference">;
|
|
7569
|
-
kind: z.ZodLiteral<"platform-user">;
|
|
7570
|
-
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
7571
|
-
labelSnapshot: z.ZodString;
|
|
7572
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7573
|
-
type: z.ZodLiteral<"reference">;
|
|
7574
|
-
kind: z.ZodLiteral<"channel">;
|
|
7575
|
-
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7576
|
-
labelSnapshot: z.ZodString;
|
|
7577
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7578
|
-
type: z.ZodLiteral<"reference">;
|
|
7579
|
-
kind: z.ZodLiteral<"extension">;
|
|
7580
|
-
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7581
|
-
labelSnapshot: z.ZodString;
|
|
7582
|
-
}, z.core.$strict>], "kind">]>>;
|
|
7583
|
-
}, z.core.$strict>;
|
|
7584
|
-
updatedBy: z.ZodEnum<{
|
|
7585
|
-
agent: "agent";
|
|
7586
|
-
admin: "admin";
|
|
7587
|
-
}>;
|
|
7588
|
-
updatedAt: z.ZodNumber;
|
|
8904
|
+
}, z.core.$strict>>;
|
|
8905
|
+
readonly updateChannelContextPolicy: HostApiContract<"PUT", z.ZodObject<{
|
|
8906
|
+
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
8907
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8908
|
+
policy: z.ZodNullable<z.ZodObject<{
|
|
8909
|
+
backlogTextChars: z.ZodNumber;
|
|
8910
|
+
backlogImages: z.ZodNumber;
|
|
8911
|
+
idleReviewMinutes: z.ZodNumber;
|
|
7589
8912
|
}, z.core.$strict>>;
|
|
8913
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8914
|
+
policy: z.ZodObject<{
|
|
8915
|
+
backlogTextChars: z.ZodNumber;
|
|
8916
|
+
backlogImages: z.ZodNumber;
|
|
8917
|
+
idleReviewMinutes: z.ZodNumber;
|
|
8918
|
+
}, z.core.$strict>;
|
|
8919
|
+
defaults: z.ZodObject<{
|
|
8920
|
+
backlogTextChars: z.ZodNumber;
|
|
8921
|
+
backlogImages: z.ZodNumber;
|
|
8922
|
+
idleReviewMinutes: z.ZodNumber;
|
|
8923
|
+
}, z.core.$strict>;
|
|
8924
|
+
custom: z.ZodBoolean;
|
|
7590
8925
|
}, z.core.$strict>, z.ZodObject<{
|
|
7591
8926
|
error: z.ZodObject<{
|
|
7592
8927
|
code: z.ZodString;
|
|
@@ -7851,7 +9186,24 @@ export declare const HostApiContracts: {
|
|
|
7851
9186
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
7852
9187
|
}, z.core.$strict>>;
|
|
7853
9188
|
assets: z.ZodOptional<z.ZodObject<{
|
|
7854
|
-
write: z.ZodLiteral<true
|
|
9189
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
9190
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
9191
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
9192
|
+
}, z.core.$strict>>;
|
|
9193
|
+
}, z.core.$strict>>;
|
|
9194
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
9195
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
9196
|
+
name: z.ZodString;
|
|
9197
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
9198
|
+
name: z.ZodString;
|
|
9199
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
9200
|
+
}, z.core.$strict>>;
|
|
9201
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9202
|
+
}, z.core.$strict>>;
|
|
9203
|
+
}, z.core.$strict>>;
|
|
9204
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
9205
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
9206
|
+
maxOutputTokens: z.ZodNumber;
|
|
7855
9207
|
}, z.core.$strict>>;
|
|
7856
9208
|
history: z.ZodOptional<z.ZodObject<{
|
|
7857
9209
|
read: z.ZodLiteral<true>;
|
|
@@ -8058,7 +9410,24 @@ export declare const HostApiContracts: {
|
|
|
8058
9410
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8059
9411
|
}, z.core.$strict>>;
|
|
8060
9412
|
assets: z.ZodOptional<z.ZodObject<{
|
|
8061
|
-
write: z.ZodLiteral<true
|
|
9413
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
9414
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
9415
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
9416
|
+
}, z.core.$strict>>;
|
|
9417
|
+
}, z.core.$strict>>;
|
|
9418
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
9419
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
9420
|
+
name: z.ZodString;
|
|
9421
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
9422
|
+
name: z.ZodString;
|
|
9423
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
9424
|
+
}, z.core.$strict>>;
|
|
9425
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9426
|
+
}, z.core.$strict>>;
|
|
9427
|
+
}, z.core.$strict>>;
|
|
9428
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
9429
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
9430
|
+
maxOutputTokens: z.ZodNumber;
|
|
8062
9431
|
}, z.core.$strict>>;
|
|
8063
9432
|
history: z.ZodOptional<z.ZodObject<{
|
|
8064
9433
|
read: z.ZodLiteral<true>;
|
|
@@ -8239,7 +9608,24 @@ export declare const HostApiContracts: {
|
|
|
8239
9608
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8240
9609
|
}, z.core.$strict>>;
|
|
8241
9610
|
assets: z.ZodOptional<z.ZodObject<{
|
|
8242
|
-
write: z.ZodLiteral<true
|
|
9611
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
9612
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
9613
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
9614
|
+
}, z.core.$strict>>;
|
|
9615
|
+
}, z.core.$strict>>;
|
|
9616
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
9617
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
9618
|
+
name: z.ZodString;
|
|
9619
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
9620
|
+
name: z.ZodString;
|
|
9621
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
9622
|
+
}, z.core.$strict>>;
|
|
9623
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9624
|
+
}, z.core.$strict>>;
|
|
9625
|
+
}, z.core.$strict>>;
|
|
9626
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
9627
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
9628
|
+
maxOutputTokens: z.ZodNumber;
|
|
8243
9629
|
}, z.core.$strict>>;
|
|
8244
9630
|
history: z.ZodOptional<z.ZodObject<{
|
|
8245
9631
|
read: z.ZodLiteral<true>;
|
|
@@ -10096,7 +11482,24 @@ export declare const HostApiContracts: {
|
|
|
10096
11482
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
10097
11483
|
}, z.core.$strict>>;
|
|
10098
11484
|
assets: z.ZodOptional<z.ZodObject<{
|
|
10099
|
-
write: z.ZodLiteral<true
|
|
11485
|
+
write: z.ZodOptional<z.ZodLiteral<true>>;
|
|
11486
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
11487
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
11488
|
+
}, z.core.$strict>>;
|
|
11489
|
+
}, z.core.$strict>>;
|
|
11490
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
11491
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
11492
|
+
name: z.ZodString;
|
|
11493
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
11494
|
+
name: z.ZodString;
|
|
11495
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
11496
|
+
}, z.core.$strict>>;
|
|
11497
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
11498
|
+
}, z.core.$strict>>;
|
|
11499
|
+
}, z.core.$strict>>;
|
|
11500
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
11501
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
11502
|
+
maxOutputTokens: z.ZodNumber;
|
|
10100
11503
|
}, z.core.$strict>>;
|
|
10101
11504
|
history: z.ZodOptional<z.ZodObject<{
|
|
10102
11505
|
read: z.ZodLiteral<true>;
|