librechat-data-provider 0.8.509 → 0.8.522
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/{data-service-BsdHkdKS.mjs → data-service-CaB7saTP.mjs} +2175 -113
- package/dist/data-service-CaB7saTP.mjs.map +1 -0
- package/dist/{data-service-XTxx76uB.js → data-service-D5kHzBt-.js} +2806 -150
- package/dist/data-service-D5kHzBt-.js.map +1 -0
- package/dist/index.js +1403 -92
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1248 -93
- package/dist/index.mjs.map +1 -1
- package/dist/react-query/index.js +2 -1
- package/dist/react-query/index.js.map +1 -1
- package/dist/react-query/index.mjs +2 -1
- package/dist/react-query/index.mjs.map +1 -1
- package/dist/types/accessPermissions.d.ts +4 -0
- package/dist/types/actions.d.ts +3 -3
- package/dist/types/agentToolOptions.d.ts +11 -0
- package/dist/types/api-endpoints.d.ts +28 -2
- package/dist/types/bedrock.d.ts +220 -0
- package/dist/types/cadence.d.ts +33 -0
- package/dist/types/codeEnvRef.d.ts +21 -0
- package/dist/types/config.d.ts +13457 -1573
- package/dist/types/data-service.d.ts +65 -14
- package/dist/types/feedback.d.ts +9 -1
- package/dist/types/file-config.d.ts +42 -5
- package/dist/types/filters.d.ts +1422 -0
- package/dist/types/generate.d.ts +85 -1
- package/dist/types/index.d.ts +10 -0
- package/dist/types/keys.d.ts +29 -4
- package/dist/types/langchain.d.ts +4 -0
- package/dist/types/limits.d.ts +13 -0
- package/dist/types/mcp.d.ts +338 -228
- package/dist/types/messages.d.ts +13 -0
- package/dist/types/models.d.ts +840 -68
- package/dist/types/parameterSettings.d.ts +7 -3
- package/dist/types/parsers.d.ts +13 -1
- package/dist/types/permissions.d.ts +42 -1
- package/dist/types/providers.d.ts +36 -0
- package/dist/types/react-query/react-query-service.d.ts +2 -7
- package/dist/types/request.d.ts +4 -2
- package/dist/types/roles.d.ts +34 -0
- package/dist/types/runSteps.d.ts +59 -0
- package/dist/types/schemas.d.ts +1358 -34
- package/dist/types/stateful-code.d.ts +7 -0
- package/dist/types/types/agents.d.ts +303 -8
- package/dist/types/types/assistants.d.ts +170 -7
- package/dist/types/types/files.d.ts +29 -8
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/insights.d.ts +62 -0
- package/dist/types/types/mcpServers.d.ts +25 -0
- package/dist/types/types/mutations.d.ts +2 -0
- package/dist/types/types/queries.d.ts +47 -5
- package/dist/types/types/queuedTurns.d.ts +870 -0
- package/dist/types/types/runs.d.ts +206 -26
- package/dist/types/types/schedules.d.ts +306 -0
- package/dist/types/types/skills.d.ts +34 -6
- package/dist/types/types/subagents.d.ts +159 -0
- package/dist/types/types/web.d.ts +12 -2
- package/dist/types/types.d.ts +175 -2
- package/dist/types/upload.d.ts +2 -0
- package/package.json +7 -5
- package/dist/data-service-BsdHkdKS.mjs.map +0 -1
- package/dist/data-service-XTxx76uB.js.map +0 -1
package/dist/types/schemas.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import type { TMessageContentParts,
|
|
2
|
+
import type { TMessageContentParts, AgentSubagentGraph, FunctionTool } from './types/assistants';
|
|
3
3
|
import type { SearchResultData } from './types/web';
|
|
4
4
|
import type { TFile } from './types/files';
|
|
5
5
|
import { TFeedback } from './feedback';
|
|
@@ -90,7 +90,8 @@ export declare enum ReasoningEffort {
|
|
|
90
90
|
low = "low",
|
|
91
91
|
medium = "medium",
|
|
92
92
|
high = "high",
|
|
93
|
-
xhigh = "xhigh"
|
|
93
|
+
xhigh = "xhigh",
|
|
94
|
+
max = "max"
|
|
94
95
|
}
|
|
95
96
|
export declare enum ReasoningParameterFormat {
|
|
96
97
|
disabled = "disabled",
|
|
@@ -153,6 +154,19 @@ export declare enum ThinkingLevel {
|
|
|
153
154
|
medium = "medium",
|
|
154
155
|
high = "high"
|
|
155
156
|
}
|
|
157
|
+
/** OpenAI Responses API `reasoning.mode` (GPT-5.6+). */
|
|
158
|
+
export declare enum ReasoningMode {
|
|
159
|
+
unset = "",
|
|
160
|
+
standard = "standard",
|
|
161
|
+
pro = "pro"
|
|
162
|
+
}
|
|
163
|
+
/** OpenAI Responses API `reasoning.context` (GPT-5.6+). */
|
|
164
|
+
export declare enum ReasoningContext {
|
|
165
|
+
unset = "",
|
|
166
|
+
auto = "auto",
|
|
167
|
+
current_turn = "current_turn",
|
|
168
|
+
all_turns = "all_turns"
|
|
169
|
+
}
|
|
156
170
|
export declare const imageDetailNumeric: {
|
|
157
171
|
low: number;
|
|
158
172
|
auto: number;
|
|
@@ -172,6 +186,8 @@ export declare const eThinkingDisplaySchema: z.ZodNativeEnum<typeof ThinkingDisp
|
|
|
172
186
|
export declare const eReasoningSummarySchema: z.ZodNativeEnum<typeof ReasoningSummary>;
|
|
173
187
|
export declare const eVerbositySchema: z.ZodNativeEnum<typeof Verbosity>;
|
|
174
188
|
export declare const eThinkingLevelSchema: z.ZodNativeEnum<typeof ThinkingLevel>;
|
|
189
|
+
export declare const eReasoningModeSchema: z.ZodNativeEnum<typeof ReasoningMode>;
|
|
190
|
+
export declare const eReasoningContextSchema: z.ZodNativeEnum<typeof ReasoningContext>;
|
|
175
191
|
export declare const defaultAssistantFormValues: {
|
|
176
192
|
assistant: string;
|
|
177
193
|
id: string;
|
|
@@ -203,6 +219,9 @@ export declare const defaultAgentFormValues: {
|
|
|
203
219
|
execute_code: boolean;
|
|
204
220
|
file_search: boolean;
|
|
205
221
|
web_search: boolean;
|
|
222
|
+
memory: boolean;
|
|
223
|
+
stateful_code_environment: "user";
|
|
224
|
+
code_environment_id: string | null | undefined;
|
|
206
225
|
category: string;
|
|
207
226
|
support_contact: {
|
|
208
227
|
name: string;
|
|
@@ -214,15 +233,29 @@ export declare const defaultAgentFormValues: {
|
|
|
214
233
|
/** Master toggle for skill use on this agent. `true` activates skills
|
|
215
234
|
* (full catalog unless `skills` narrows it). Anything else = inactive. */
|
|
216
235
|
skills_enabled: boolean | undefined;
|
|
236
|
+
/** Enables runtime skill creation without exposing an existing skill catalog. */
|
|
237
|
+
skill_authoring_enabled: boolean | undefined;
|
|
238
|
+
/** Explicit catalog scope. Missing preserves the legacy enabled + empty = all behavior. */
|
|
239
|
+
skills_scope: SkillsScope | undefined;
|
|
217
240
|
/** `undefined` = feature disabled by default (no subagent tool injected). */
|
|
218
241
|
subagents: {
|
|
219
242
|
enabled?: boolean;
|
|
220
243
|
allowSelf?: boolean;
|
|
221
244
|
agent_ids?: string[];
|
|
245
|
+
graphs?: AgentSubagentGraph[];
|
|
222
246
|
} | undefined;
|
|
247
|
+
/** Memory partition: 'agent' isolates memories per (user, agent); default shared pool */
|
|
248
|
+
memory_scope: MemoryScope | undefined;
|
|
223
249
|
};
|
|
224
250
|
export declare const ImageVisionTool: FunctionTool;
|
|
225
|
-
|
|
251
|
+
/** Structural on purpose: accepts assistants tools/tool calls and agents function tool
|
|
252
|
+
* calls alike — the check only ever reads `type` and `function.name`. */
|
|
253
|
+
export declare const isImageVisionTool: (tool: {
|
|
254
|
+
type?: string;
|
|
255
|
+
function?: {
|
|
256
|
+
name?: string;
|
|
257
|
+
};
|
|
258
|
+
}) => boolean;
|
|
226
259
|
export declare const openAISettings: {
|
|
227
260
|
model: {
|
|
228
261
|
default: "gpt-4o-mini";
|
|
@@ -267,10 +300,21 @@ export declare const openAISettings: {
|
|
|
267
300
|
step: 1;
|
|
268
301
|
};
|
|
269
302
|
};
|
|
303
|
+
export type GoogleThinkingBudgetBounds = {
|
|
304
|
+
min: number;
|
|
305
|
+
max: number;
|
|
306
|
+
};
|
|
307
|
+
export declare const getGoogleThinkingBudgetBounds: (modelName: string) => GoogleThinkingBudgetBounds | undefined;
|
|
308
|
+
export declare const getGoogleThinkingBudgetMax: (modelName: string) => number | undefined;
|
|
270
309
|
export declare const googleSettings: {
|
|
271
310
|
model: {
|
|
272
311
|
default: "gemini-1.5-flash-latest";
|
|
273
312
|
};
|
|
313
|
+
maxContextTokens: {
|
|
314
|
+
min: 10;
|
|
315
|
+
max: 2000000;
|
|
316
|
+
step: 1000;
|
|
317
|
+
};
|
|
274
318
|
maxOutputTokens: {
|
|
275
319
|
min: 1;
|
|
276
320
|
max: 65535;
|
|
@@ -489,6 +533,11 @@ export declare const endpointSettings: {
|
|
|
489
533
|
model: {
|
|
490
534
|
default: "gemini-1.5-flash-latest";
|
|
491
535
|
};
|
|
536
|
+
maxContextTokens: {
|
|
537
|
+
min: 10;
|
|
538
|
+
max: 2000000;
|
|
539
|
+
step: 1000;
|
|
540
|
+
};
|
|
492
541
|
maxOutputTokens: {
|
|
493
542
|
min: 1;
|
|
494
543
|
max: 65535;
|
|
@@ -737,6 +786,9 @@ export declare const tPluginSchema: z.ZodObject<{
|
|
|
737
786
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
738
787
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
739
788
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
789
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
790
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
791
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
740
792
|
}, "strip", z.ZodTypeAny, {
|
|
741
793
|
name: string;
|
|
742
794
|
pluginKey: string;
|
|
@@ -753,6 +805,7 @@ export declare const tPluginSchema: z.ZodObject<{
|
|
|
753
805
|
chatMenu?: boolean | undefined;
|
|
754
806
|
isButton?: boolean | undefined;
|
|
755
807
|
toolkit?: boolean | undefined;
|
|
808
|
+
serverToolName?: string | undefined;
|
|
756
809
|
}, {
|
|
757
810
|
name: string;
|
|
758
811
|
pluginKey: string;
|
|
@@ -769,6 +822,7 @@ export declare const tPluginSchema: z.ZodObject<{
|
|
|
769
822
|
chatMenu?: boolean | undefined;
|
|
770
823
|
isButton?: boolean | undefined;
|
|
771
824
|
toolkit?: boolean | undefined;
|
|
825
|
+
serverToolName?: string | undefined;
|
|
772
826
|
}>;
|
|
773
827
|
export type TPlugin = z.infer<typeof tPluginSchema>;
|
|
774
828
|
export type TInput = {
|
|
@@ -821,6 +875,21 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
821
875
|
/** @deprecated */
|
|
822
876
|
generation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
823
877
|
isCreatedByUser: z.ZodBoolean;
|
|
878
|
+
/** True when the complete stored row came from outside the model. */
|
|
879
|
+
isUserSubmitted: z.ZodOptional<z.ZodBoolean>;
|
|
880
|
+
/** JSON pointers to caller-authored fields in an otherwise mixed model response. */
|
|
881
|
+
userSubmittedPaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
882
|
+
/** Exact HITL message-field identity for caller-authored values stored in mixed responses. */
|
|
883
|
+
userSubmittedMessageFieldPaths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
884
|
+
path: z.ZodString;
|
|
885
|
+
field: z.ZodEnum<["answer", "decision_response", "decision_reason"]>;
|
|
886
|
+
}, "strict", z.ZodTypeAny, {
|
|
887
|
+
path: string;
|
|
888
|
+
field: "answer" | "decision_response" | "decision_reason";
|
|
889
|
+
}, {
|
|
890
|
+
path: string;
|
|
891
|
+
field: "answer" | "decision_response" | "decision_reason";
|
|
892
|
+
}>, "many">>;
|
|
824
893
|
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
825
894
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
826
895
|
error: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -833,7 +902,7 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
833
902
|
finish_reason: z.ZodOptional<z.ZodString>;
|
|
834
903
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
835
904
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
836
|
-
feedback: z.ZodOptional<z.ZodObject<{
|
|
905
|
+
feedback: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
837
906
|
rating: z.ZodEnum<["thumbsUp", "thumbsDown"]>;
|
|
838
907
|
tag: z.ZodEnum<["not_matched", "inaccurate", "bad_style", "missing_image", "unjustified_refusal", "not_helpful", "other", "accurate_reliable", "creative_solution", "clear_well_written", "attention_to_detail"]>;
|
|
839
908
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -845,6 +914,14 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
845
914
|
rating: "thumbsUp" | "thumbsDown";
|
|
846
915
|
tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
|
|
847
916
|
text?: string | undefined;
|
|
917
|
+
}>, {
|
|
918
|
+
rating: "thumbsUp" | "thumbsDown";
|
|
919
|
+
tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
|
|
920
|
+
text?: string | undefined;
|
|
921
|
+
}, {
|
|
922
|
+
rating: "thumbsUp" | "thumbsDown";
|
|
923
|
+
tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
|
|
924
|
+
text?: string | undefined;
|
|
848
925
|
}>>;
|
|
849
926
|
/** metadata */
|
|
850
927
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -853,12 +930,64 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
853
930
|
contextMeta: z.ZodOptional<z.ZodObject<{
|
|
854
931
|
calibrationRatio: z.ZodOptional<z.ZodNumber>;
|
|
855
932
|
encoding: z.ZodOptional<z.ZodString>;
|
|
933
|
+
fading: z.ZodOptional<z.ZodObject<{
|
|
934
|
+
v: z.ZodLiteral<1>;
|
|
935
|
+
budgetTokens: z.ZodNumber;
|
|
936
|
+
masked: z.ZodBoolean;
|
|
937
|
+
}, "strip", z.ZodTypeAny, {
|
|
938
|
+
v: 1;
|
|
939
|
+
budgetTokens: number;
|
|
940
|
+
masked: boolean;
|
|
941
|
+
}, {
|
|
942
|
+
v: 1;
|
|
943
|
+
budgetTokens: number;
|
|
944
|
+
masked: boolean;
|
|
945
|
+
}>>;
|
|
946
|
+
fadingTiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
947
|
+
v: z.ZodLiteral<1>;
|
|
948
|
+
budgetTokens: z.ZodNumber;
|
|
949
|
+
masked: z.ZodBoolean;
|
|
950
|
+
} & {
|
|
951
|
+
agentId: z.ZodString;
|
|
952
|
+
}, "strip", z.ZodTypeAny, {
|
|
953
|
+
v: 1;
|
|
954
|
+
budgetTokens: number;
|
|
955
|
+
masked: boolean;
|
|
956
|
+
agentId: string;
|
|
957
|
+
}, {
|
|
958
|
+
v: 1;
|
|
959
|
+
budgetTokens: number;
|
|
960
|
+
masked: boolean;
|
|
961
|
+
agentId: string;
|
|
962
|
+
}>, "many">>;
|
|
856
963
|
}, "strip", z.ZodTypeAny, {
|
|
857
964
|
calibrationRatio?: number | undefined;
|
|
858
965
|
encoding?: string | undefined;
|
|
966
|
+
fading?: {
|
|
967
|
+
v: 1;
|
|
968
|
+
budgetTokens: number;
|
|
969
|
+
masked: boolean;
|
|
970
|
+
} | undefined;
|
|
971
|
+
fadingTiers?: {
|
|
972
|
+
v: 1;
|
|
973
|
+
budgetTokens: number;
|
|
974
|
+
masked: boolean;
|
|
975
|
+
agentId: string;
|
|
976
|
+
}[] | undefined;
|
|
859
977
|
}, {
|
|
860
978
|
calibrationRatio?: number | undefined;
|
|
861
979
|
encoding?: string | undefined;
|
|
980
|
+
fading?: {
|
|
981
|
+
v: 1;
|
|
982
|
+
budgetTokens: number;
|
|
983
|
+
masked: boolean;
|
|
984
|
+
} | undefined;
|
|
985
|
+
fadingTiers?: {
|
|
986
|
+
v: 1;
|
|
987
|
+
budgetTokens: number;
|
|
988
|
+
masked: boolean;
|
|
989
|
+
agentId: string;
|
|
990
|
+
}[] | undefined;
|
|
862
991
|
}>>;
|
|
863
992
|
/**
|
|
864
993
|
* Skill names the user invoked manually via the `$` popover on this turn.
|
|
@@ -899,13 +1028,19 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
899
1028
|
iconURL?: string | null | undefined;
|
|
900
1029
|
expiredAt?: string | null | undefined;
|
|
901
1030
|
isTemporary?: boolean | undefined;
|
|
902
|
-
error?: boolean | undefined;
|
|
903
1031
|
clientId?: string | null | undefined;
|
|
904
1032
|
responseMessageId?: string | null | undefined;
|
|
905
1033
|
overrideParentMessageId?: string | null | undefined;
|
|
906
1034
|
bg?: string | null | undefined;
|
|
907
1035
|
sender?: string | undefined;
|
|
908
1036
|
generation?: string | null | undefined;
|
|
1037
|
+
isUserSubmitted?: boolean | undefined;
|
|
1038
|
+
userSubmittedPaths?: string[] | undefined;
|
|
1039
|
+
userSubmittedMessageFieldPaths?: {
|
|
1040
|
+
path: string;
|
|
1041
|
+
field: "answer" | "decision_response" | "decision_reason";
|
|
1042
|
+
}[] | undefined;
|
|
1043
|
+
error?: boolean | undefined;
|
|
909
1044
|
clientTimestamp?: string | undefined;
|
|
910
1045
|
current?: boolean | undefined;
|
|
911
1046
|
unfinished?: boolean | undefined;
|
|
@@ -922,6 +1057,17 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
922
1057
|
contextMeta?: {
|
|
923
1058
|
calibrationRatio?: number | undefined;
|
|
924
1059
|
encoding?: string | undefined;
|
|
1060
|
+
fading?: {
|
|
1061
|
+
v: 1;
|
|
1062
|
+
budgetTokens: number;
|
|
1063
|
+
masked: boolean;
|
|
1064
|
+
} | undefined;
|
|
1065
|
+
fadingTiers?: {
|
|
1066
|
+
v: 1;
|
|
1067
|
+
budgetTokens: number;
|
|
1068
|
+
masked: boolean;
|
|
1069
|
+
agentId: string;
|
|
1070
|
+
}[] | undefined;
|
|
925
1071
|
} | undefined;
|
|
926
1072
|
manualSkills?: string[] | undefined;
|
|
927
1073
|
alwaysAppliedSkills?: string[] | undefined;
|
|
@@ -940,13 +1086,19 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
940
1086
|
iconURL?: string | null | undefined;
|
|
941
1087
|
expiredAt?: string | null | undefined;
|
|
942
1088
|
isTemporary?: boolean | undefined;
|
|
943
|
-
error?: boolean | undefined;
|
|
944
1089
|
clientId?: string | null | undefined;
|
|
945
1090
|
responseMessageId?: string | null | undefined;
|
|
946
1091
|
overrideParentMessageId?: string | null | undefined;
|
|
947
1092
|
bg?: string | null | undefined;
|
|
948
1093
|
sender?: string | undefined;
|
|
949
1094
|
generation?: string | null | undefined;
|
|
1095
|
+
isUserSubmitted?: boolean | undefined;
|
|
1096
|
+
userSubmittedPaths?: string[] | undefined;
|
|
1097
|
+
userSubmittedMessageFieldPaths?: {
|
|
1098
|
+
path: string;
|
|
1099
|
+
field: "answer" | "decision_response" | "decision_reason";
|
|
1100
|
+
}[] | undefined;
|
|
1101
|
+
error?: boolean | undefined;
|
|
950
1102
|
clientTimestamp?: string | undefined;
|
|
951
1103
|
current?: boolean | undefined;
|
|
952
1104
|
unfinished?: boolean | undefined;
|
|
@@ -963,16 +1115,46 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
963
1115
|
contextMeta?: {
|
|
964
1116
|
calibrationRatio?: number | undefined;
|
|
965
1117
|
encoding?: string | undefined;
|
|
1118
|
+
fading?: {
|
|
1119
|
+
v: 1;
|
|
1120
|
+
budgetTokens: number;
|
|
1121
|
+
masked: boolean;
|
|
1122
|
+
} | undefined;
|
|
1123
|
+
fadingTiers?: {
|
|
1124
|
+
v: 1;
|
|
1125
|
+
budgetTokens: number;
|
|
1126
|
+
masked: boolean;
|
|
1127
|
+
agentId: string;
|
|
1128
|
+
}[] | undefined;
|
|
966
1129
|
} | undefined;
|
|
967
1130
|
manualSkills?: string[] | undefined;
|
|
968
1131
|
alwaysAppliedSkills?: string[] | undefined;
|
|
969
1132
|
quotes?: string[] | undefined;
|
|
970
1133
|
}>;
|
|
1134
|
+
/**
|
|
1135
|
+
* Which memory partition an agent reads/writes.
|
|
1136
|
+
* `user` = the shared personal pool (default); `agent` = a partition
|
|
1137
|
+
* isolated per (user, agent) so the agent only sees its own memories.
|
|
1138
|
+
*/
|
|
1139
|
+
export declare enum MemoryScope {
|
|
1140
|
+
user = "user",
|
|
1141
|
+
agent = "agent"
|
|
1142
|
+
}
|
|
1143
|
+
/** Catalog exposure for a persisted agent with skills enabled. */
|
|
1144
|
+
export declare enum SkillsScope {
|
|
1145
|
+
all = "all",
|
|
1146
|
+
selected = "selected",
|
|
1147
|
+
none = "none"
|
|
1148
|
+
}
|
|
1149
|
+
/** Resolves explicit and legacy persisted-agent skill catalog states. */
|
|
1150
|
+
export declare function resolveAgentSkillsScope(skills: readonly string[] | undefined, enabled: boolean | undefined, scope: SkillsScope | undefined): SkillsScope;
|
|
971
1151
|
export type MemoryArtifact = {
|
|
972
1152
|
key: string;
|
|
973
1153
|
value?: string;
|
|
974
1154
|
tokenCount?: number;
|
|
975
1155
|
type: 'update' | 'delete' | 'error';
|
|
1156
|
+
/** Agent partition the write targeted; absent = shared personal pool */
|
|
1157
|
+
agentId?: string;
|
|
976
1158
|
};
|
|
977
1159
|
export type UIResource = {
|
|
978
1160
|
resourceId: string;
|
|
@@ -981,10 +1163,20 @@ export type UIResource = {
|
|
|
981
1163
|
text?: string;
|
|
982
1164
|
[key: string]: unknown;
|
|
983
1165
|
};
|
|
1166
|
+
export type WorkspaceChange = {
|
|
1167
|
+
profile: 'stateful';
|
|
1168
|
+
operation: 'created' | 'updated';
|
|
1169
|
+
path: string;
|
|
1170
|
+
};
|
|
984
1171
|
export type TAttachmentMetadata = {
|
|
985
1172
|
type?: Tools;
|
|
986
1173
|
messageId: string;
|
|
987
1174
|
toolCallId: string;
|
|
1175
|
+
/** Saved-agent owner when provider tool-call ids repeat across handoffs. */
|
|
1176
|
+
agentId?: string;
|
|
1177
|
+
/** Host run-step owner when one agent repeats a provider tool-call id. */
|
|
1178
|
+
stepId?: string;
|
|
1179
|
+
workspaceChange?: WorkspaceChange;
|
|
988
1180
|
[Tools.memory]?: MemoryArtifact;
|
|
989
1181
|
[Tools.ui_resources]?: UIResource[];
|
|
990
1182
|
[Tools.web_search]?: SearchResultData;
|
|
@@ -1007,12 +1199,45 @@ export declare const coerceNumber: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodSt
|
|
|
1007
1199
|
type DocumentTypeValue = null | boolean | number | string | DocumentTypeValue[] | {
|
|
1008
1200
|
[key: string]: DocumentTypeValue;
|
|
1009
1201
|
};
|
|
1202
|
+
export declare const subagentThreadLineageSchema: z.ZodObject<{
|
|
1203
|
+
rootConversationId: z.ZodString;
|
|
1204
|
+
parentConversationId: z.ZodString;
|
|
1205
|
+
parentMessageId: z.ZodString;
|
|
1206
|
+
parentToolCallId: z.ZodString;
|
|
1207
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
1208
|
+
subagentType: z.ZodString;
|
|
1209
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
1210
|
+
depth: z.ZodNumber;
|
|
1211
|
+
}, "strip", z.ZodTypeAny, {
|
|
1212
|
+
parentMessageId: string;
|
|
1213
|
+
rootConversationId: string;
|
|
1214
|
+
parentConversationId: string;
|
|
1215
|
+
parentToolCallId: string;
|
|
1216
|
+
subagentType: string;
|
|
1217
|
+
subagentKind: "agent" | "graph";
|
|
1218
|
+
depth: number;
|
|
1219
|
+
parentAgentId?: string | undefined;
|
|
1220
|
+
}, {
|
|
1221
|
+
parentMessageId: string;
|
|
1222
|
+
rootConversationId: string;
|
|
1223
|
+
parentConversationId: string;
|
|
1224
|
+
parentToolCallId: string;
|
|
1225
|
+
subagentType: string;
|
|
1226
|
+
subagentKind: "agent" | "graph";
|
|
1227
|
+
depth: number;
|
|
1228
|
+
parentAgentId?: string | undefined;
|
|
1229
|
+
}>;
|
|
1230
|
+
export type TSubagentThreadLineage = z.infer<typeof subagentThreadLineageSchema>;
|
|
1010
1231
|
export declare const tConversationSchema: z.ZodObject<{
|
|
1011
1232
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
1012
1233
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
1013
1234
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
1014
1235
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
1236
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
1237
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1015
1238
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1239
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
1240
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
1016
1241
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
1017
1242
|
user: z.ZodOptional<z.ZodString>;
|
|
1018
1243
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1045,6 +1270,9 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1045
1270
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
1046
1271
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
1047
1272
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
1273
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
1274
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
1275
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
1048
1276
|
}, "strip", z.ZodTypeAny, {
|
|
1049
1277
|
name: string;
|
|
1050
1278
|
pluginKey: string;
|
|
@@ -1061,6 +1289,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1061
1289
|
chatMenu?: boolean | undefined;
|
|
1062
1290
|
isButton?: boolean | undefined;
|
|
1063
1291
|
toolkit?: boolean | undefined;
|
|
1292
|
+
serverToolName?: string | undefined;
|
|
1064
1293
|
}, {
|
|
1065
1294
|
name: string;
|
|
1066
1295
|
pluginKey: string;
|
|
@@ -1077,6 +1306,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1077
1306
|
chatMenu?: boolean | undefined;
|
|
1078
1307
|
isButton?: boolean | undefined;
|
|
1079
1308
|
toolkit?: boolean | undefined;
|
|
1309
|
+
serverToolName?: string | undefined;
|
|
1080
1310
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
1081
1311
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1082
1312
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1140,6 +1370,8 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1140
1370
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
1141
1371
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
1142
1372
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
1373
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
1374
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
1143
1375
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
1144
1376
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
1145
1377
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -1149,6 +1381,35 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1149
1381
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1150
1382
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1151
1383
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
1385
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
1386
|
+
rootConversationId: z.ZodString;
|
|
1387
|
+
parentConversationId: z.ZodString;
|
|
1388
|
+
parentMessageId: z.ZodString;
|
|
1389
|
+
parentToolCallId: z.ZodString;
|
|
1390
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
1391
|
+
subagentType: z.ZodString;
|
|
1392
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
1393
|
+
depth: z.ZodNumber;
|
|
1394
|
+
}, "strip", z.ZodTypeAny, {
|
|
1395
|
+
parentMessageId: string;
|
|
1396
|
+
rootConversationId: string;
|
|
1397
|
+
parentConversationId: string;
|
|
1398
|
+
parentToolCallId: string;
|
|
1399
|
+
subagentType: string;
|
|
1400
|
+
subagentKind: "agent" | "graph";
|
|
1401
|
+
depth: number;
|
|
1402
|
+
parentAgentId?: string | undefined;
|
|
1403
|
+
}, {
|
|
1404
|
+
parentMessageId: string;
|
|
1405
|
+
rootConversationId: string;
|
|
1406
|
+
parentConversationId: string;
|
|
1407
|
+
parentToolCallId: string;
|
|
1408
|
+
subagentType: string;
|
|
1409
|
+
subagentKind: "agent" | "graph";
|
|
1410
|
+
depth: number;
|
|
1411
|
+
parentAgentId?: string | undefined;
|
|
1412
|
+
}>>;
|
|
1152
1413
|
region: z.ZodOptional<z.ZodString>;
|
|
1153
1414
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1154
1415
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -1179,7 +1440,9 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1179
1440
|
model?: string | null | undefined;
|
|
1180
1441
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1181
1442
|
isArchived?: boolean | undefined;
|
|
1443
|
+
archivedAt?: string | null | undefined;
|
|
1182
1444
|
pinned?: boolean | undefined;
|
|
1445
|
+
isShared?: boolean | undefined;
|
|
1183
1446
|
messages?: string[] | undefined;
|
|
1184
1447
|
tools?: string[] | {
|
|
1185
1448
|
name: string;
|
|
@@ -1197,6 +1460,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1197
1460
|
chatMenu?: boolean | undefined;
|
|
1198
1461
|
isButton?: boolean | undefined;
|
|
1199
1462
|
toolkit?: boolean | undefined;
|
|
1463
|
+
serverToolName?: string | undefined;
|
|
1200
1464
|
}[] | undefined;
|
|
1201
1465
|
modelLabel?: string | null | undefined;
|
|
1202
1466
|
userLabel?: string | undefined;
|
|
@@ -1234,6 +1498,8 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1234
1498
|
imageDetail?: ImageDetail | undefined;
|
|
1235
1499
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
1236
1500
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
1501
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
1502
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
1237
1503
|
verbosity?: Verbosity | null | undefined;
|
|
1238
1504
|
useResponsesApi?: boolean | undefined;
|
|
1239
1505
|
effort?: AnthropicEffort | null | undefined;
|
|
@@ -1243,6 +1509,16 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1243
1509
|
disableStreaming?: boolean | undefined;
|
|
1244
1510
|
assistant_id?: string | undefined;
|
|
1245
1511
|
agent_id?: string | undefined;
|
|
1512
|
+
subagentThread?: {
|
|
1513
|
+
parentMessageId: string;
|
|
1514
|
+
rootConversationId: string;
|
|
1515
|
+
parentConversationId: string;
|
|
1516
|
+
parentToolCallId: string;
|
|
1517
|
+
subagentType: string;
|
|
1518
|
+
subagentKind: "agent" | "graph";
|
|
1519
|
+
depth: number;
|
|
1520
|
+
parentAgentId?: string | undefined;
|
|
1521
|
+
} | undefined;
|
|
1246
1522
|
region?: string | undefined;
|
|
1247
1523
|
maxTokens?: number | undefined;
|
|
1248
1524
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
@@ -1269,7 +1545,9 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1269
1545
|
model?: string | null | undefined;
|
|
1270
1546
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1271
1547
|
isArchived?: boolean | undefined;
|
|
1548
|
+
archivedAt?: string | null | undefined;
|
|
1272
1549
|
pinned?: boolean | undefined;
|
|
1550
|
+
isShared?: boolean | undefined;
|
|
1273
1551
|
title?: string | null | undefined;
|
|
1274
1552
|
messages?: string[] | undefined;
|
|
1275
1553
|
tools?: string[] | {
|
|
@@ -1288,6 +1566,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1288
1566
|
chatMenu?: boolean | undefined;
|
|
1289
1567
|
isButton?: boolean | undefined;
|
|
1290
1568
|
toolkit?: boolean | undefined;
|
|
1569
|
+
serverToolName?: string | undefined;
|
|
1291
1570
|
}[] | undefined;
|
|
1292
1571
|
modelLabel?: string | null | undefined;
|
|
1293
1572
|
userLabel?: string | undefined;
|
|
@@ -1325,6 +1604,8 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1325
1604
|
imageDetail?: ImageDetail | undefined;
|
|
1326
1605
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
1327
1606
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
1607
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
1608
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
1328
1609
|
verbosity?: Verbosity | null | undefined;
|
|
1329
1610
|
useResponsesApi?: boolean | undefined;
|
|
1330
1611
|
effort?: AnthropicEffort | null | undefined;
|
|
@@ -1334,6 +1615,16 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1334
1615
|
disableStreaming?: boolean | undefined;
|
|
1335
1616
|
assistant_id?: string | undefined;
|
|
1336
1617
|
agent_id?: string | undefined;
|
|
1618
|
+
subagentThread?: {
|
|
1619
|
+
parentMessageId: string;
|
|
1620
|
+
rootConversationId: string;
|
|
1621
|
+
parentConversationId: string;
|
|
1622
|
+
parentToolCallId: string;
|
|
1623
|
+
subagentType: string;
|
|
1624
|
+
subagentKind: "agent" | "graph";
|
|
1625
|
+
depth: number;
|
|
1626
|
+
parentAgentId?: string | undefined;
|
|
1627
|
+
} | undefined;
|
|
1337
1628
|
region?: string | undefined;
|
|
1338
1629
|
maxTokens?: string | number | undefined;
|
|
1339
1630
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
@@ -1357,7 +1648,9 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1357
1648
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1358
1649
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
1359
1650
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
1651
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1360
1652
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1653
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
1361
1654
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1362
1655
|
tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
1363
1656
|
name: z.ZodString;
|
|
@@ -1388,6 +1681,9 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1388
1681
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
1389
1682
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
1390
1683
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
1684
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
1685
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
1686
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
1391
1687
|
}, "strip", z.ZodTypeAny, {
|
|
1392
1688
|
name: string;
|
|
1393
1689
|
pluginKey: string;
|
|
@@ -1404,6 +1700,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1404
1700
|
chatMenu?: boolean | undefined;
|
|
1405
1701
|
isButton?: boolean | undefined;
|
|
1406
1702
|
toolkit?: boolean | undefined;
|
|
1703
|
+
serverToolName?: string | undefined;
|
|
1407
1704
|
}, {
|
|
1408
1705
|
name: string;
|
|
1409
1706
|
pluginKey: string;
|
|
@@ -1420,6 +1717,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1420
1717
|
chatMenu?: boolean | undefined;
|
|
1421
1718
|
isButton?: boolean | undefined;
|
|
1422
1719
|
toolkit?: boolean | undefined;
|
|
1720
|
+
serverToolName?: string | undefined;
|
|
1423
1721
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
1424
1722
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1425
1723
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1478,6 +1776,8 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1478
1776
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
1479
1777
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
1480
1778
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
1779
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
1780
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
1481
1781
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
1482
1782
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
1483
1783
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -1487,6 +1787,34 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1487
1787
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1488
1788
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1489
1789
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
1790
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
1791
|
+
rootConversationId: z.ZodString;
|
|
1792
|
+
parentConversationId: z.ZodString;
|
|
1793
|
+
parentMessageId: z.ZodString;
|
|
1794
|
+
parentToolCallId: z.ZodString;
|
|
1795
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
subagentType: z.ZodString;
|
|
1797
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
1798
|
+
depth: z.ZodNumber;
|
|
1799
|
+
}, "strip", z.ZodTypeAny, {
|
|
1800
|
+
parentMessageId: string;
|
|
1801
|
+
rootConversationId: string;
|
|
1802
|
+
parentConversationId: string;
|
|
1803
|
+
parentToolCallId: string;
|
|
1804
|
+
subagentType: string;
|
|
1805
|
+
subagentKind: "agent" | "graph";
|
|
1806
|
+
depth: number;
|
|
1807
|
+
parentAgentId?: string | undefined;
|
|
1808
|
+
}, {
|
|
1809
|
+
parentMessageId: string;
|
|
1810
|
+
rootConversationId: string;
|
|
1811
|
+
parentConversationId: string;
|
|
1812
|
+
parentToolCallId: string;
|
|
1813
|
+
subagentType: string;
|
|
1814
|
+
subagentKind: "agent" | "graph";
|
|
1815
|
+
depth: number;
|
|
1816
|
+
parentAgentId?: string | undefined;
|
|
1817
|
+
}>>;
|
|
1490
1818
|
region: z.ZodOptional<z.ZodString>;
|
|
1491
1819
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1492
1820
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -1518,7 +1846,9 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1518
1846
|
conversationId?: string | null | undefined;
|
|
1519
1847
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1520
1848
|
isArchived?: boolean | undefined;
|
|
1849
|
+
archivedAt?: string | null | undefined;
|
|
1521
1850
|
pinned?: boolean | undefined;
|
|
1851
|
+
isShared?: boolean | undefined;
|
|
1522
1852
|
title?: string | null | undefined;
|
|
1523
1853
|
messages?: string[] | undefined;
|
|
1524
1854
|
tools?: string[] | {
|
|
@@ -1537,6 +1867,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1537
1867
|
chatMenu?: boolean | undefined;
|
|
1538
1868
|
isButton?: boolean | undefined;
|
|
1539
1869
|
toolkit?: boolean | undefined;
|
|
1870
|
+
serverToolName?: string | undefined;
|
|
1540
1871
|
}[] | undefined;
|
|
1541
1872
|
modelLabel?: string | null | undefined;
|
|
1542
1873
|
userLabel?: string | undefined;
|
|
@@ -1573,6 +1904,8 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1573
1904
|
imageDetail?: ImageDetail | undefined;
|
|
1574
1905
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
1575
1906
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
1907
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
1908
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
1576
1909
|
verbosity?: Verbosity | null | undefined;
|
|
1577
1910
|
useResponsesApi?: boolean | undefined;
|
|
1578
1911
|
effort?: AnthropicEffort | null | undefined;
|
|
@@ -1582,6 +1915,16 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1582
1915
|
disableStreaming?: boolean | undefined;
|
|
1583
1916
|
assistant_id?: string | undefined;
|
|
1584
1917
|
agent_id?: string | undefined;
|
|
1918
|
+
subagentThread?: {
|
|
1919
|
+
parentMessageId: string;
|
|
1920
|
+
rootConversationId: string;
|
|
1921
|
+
parentConversationId: string;
|
|
1922
|
+
parentToolCallId: string;
|
|
1923
|
+
subagentType: string;
|
|
1924
|
+
subagentKind: "agent" | "graph";
|
|
1925
|
+
depth: number;
|
|
1926
|
+
parentAgentId?: string | undefined;
|
|
1927
|
+
} | undefined;
|
|
1585
1928
|
region?: string | undefined;
|
|
1586
1929
|
maxTokens?: number | undefined;
|
|
1587
1930
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
@@ -1609,7 +1952,9 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1609
1952
|
conversationId?: string | null | undefined;
|
|
1610
1953
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1611
1954
|
isArchived?: boolean | undefined;
|
|
1955
|
+
archivedAt?: string | null | undefined;
|
|
1612
1956
|
pinned?: boolean | undefined;
|
|
1957
|
+
isShared?: boolean | undefined;
|
|
1613
1958
|
title?: string | null | undefined;
|
|
1614
1959
|
messages?: string[] | undefined;
|
|
1615
1960
|
tools?: string[] | {
|
|
@@ -1628,6 +1973,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1628
1973
|
chatMenu?: boolean | undefined;
|
|
1629
1974
|
isButton?: boolean | undefined;
|
|
1630
1975
|
toolkit?: boolean | undefined;
|
|
1976
|
+
serverToolName?: string | undefined;
|
|
1631
1977
|
}[] | undefined;
|
|
1632
1978
|
modelLabel?: string | null | undefined;
|
|
1633
1979
|
userLabel?: string | undefined;
|
|
@@ -1664,6 +2010,8 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1664
2010
|
imageDetail?: ImageDetail | undefined;
|
|
1665
2011
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
1666
2012
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
2013
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
2014
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
1667
2015
|
verbosity?: Verbosity | null | undefined;
|
|
1668
2016
|
useResponsesApi?: boolean | undefined;
|
|
1669
2017
|
effort?: AnthropicEffort | null | undefined;
|
|
@@ -1673,6 +2021,16 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1673
2021
|
disableStreaming?: boolean | undefined;
|
|
1674
2022
|
assistant_id?: string | undefined;
|
|
1675
2023
|
agent_id?: string | undefined;
|
|
2024
|
+
subagentThread?: {
|
|
2025
|
+
parentMessageId: string;
|
|
2026
|
+
rootConversationId: string;
|
|
2027
|
+
parentConversationId: string;
|
|
2028
|
+
parentToolCallId: string;
|
|
2029
|
+
subagentType: string;
|
|
2030
|
+
subagentKind: "agent" | "graph";
|
|
2031
|
+
depth: number;
|
|
2032
|
+
parentAgentId?: string | undefined;
|
|
2033
|
+
} | undefined;
|
|
1676
2034
|
region?: string | undefined;
|
|
1677
2035
|
maxTokens?: string | number | undefined;
|
|
1678
2036
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
@@ -1697,7 +2055,9 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1697
2055
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
1698
2056
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
1699
2057
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
2058
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1700
2059
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
2060
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
1701
2061
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
1702
2062
|
user: z.ZodOptional<z.ZodString>;
|
|
1703
2063
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1730,6 +2090,9 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1730
2090
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
1731
2091
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
1732
2092
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
2093
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
2094
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
2095
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
1733
2096
|
}, "strip", z.ZodTypeAny, {
|
|
1734
2097
|
name: string;
|
|
1735
2098
|
pluginKey: string;
|
|
@@ -1746,6 +2109,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1746
2109
|
chatMenu?: boolean | undefined;
|
|
1747
2110
|
isButton?: boolean | undefined;
|
|
1748
2111
|
toolkit?: boolean | undefined;
|
|
2112
|
+
serverToolName?: string | undefined;
|
|
1749
2113
|
}, {
|
|
1750
2114
|
name: string;
|
|
1751
2115
|
pluginKey: string;
|
|
@@ -1762,6 +2126,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1762
2126
|
chatMenu?: boolean | undefined;
|
|
1763
2127
|
isButton?: boolean | undefined;
|
|
1764
2128
|
toolkit?: boolean | undefined;
|
|
2129
|
+
serverToolName?: string | undefined;
|
|
1765
2130
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
1766
2131
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1767
2132
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1823,6 +2188,8 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1823
2188
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
1824
2189
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
1825
2190
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
2191
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
2192
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
1826
2193
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
1827
2194
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
1828
2195
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -1832,6 +2199,34 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1832
2199
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1833
2200
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1834
2201
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
2202
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
2203
|
+
rootConversationId: z.ZodString;
|
|
2204
|
+
parentConversationId: z.ZodString;
|
|
2205
|
+
parentMessageId: z.ZodString;
|
|
2206
|
+
parentToolCallId: z.ZodString;
|
|
2207
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
2208
|
+
subagentType: z.ZodString;
|
|
2209
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
2210
|
+
depth: z.ZodNumber;
|
|
2211
|
+
}, "strip", z.ZodTypeAny, {
|
|
2212
|
+
parentMessageId: string;
|
|
2213
|
+
rootConversationId: string;
|
|
2214
|
+
parentConversationId: string;
|
|
2215
|
+
parentToolCallId: string;
|
|
2216
|
+
subagentType: string;
|
|
2217
|
+
subagentKind: "agent" | "graph";
|
|
2218
|
+
depth: number;
|
|
2219
|
+
parentAgentId?: string | undefined;
|
|
2220
|
+
}, {
|
|
2221
|
+
parentMessageId: string;
|
|
2222
|
+
rootConversationId: string;
|
|
2223
|
+
parentConversationId: string;
|
|
2224
|
+
parentToolCallId: string;
|
|
2225
|
+
subagentType: string;
|
|
2226
|
+
subagentKind: "agent" | "graph";
|
|
2227
|
+
depth: number;
|
|
2228
|
+
parentAgentId?: string | undefined;
|
|
2229
|
+
}>>;
|
|
1835
2230
|
region: z.ZodOptional<z.ZodString>;
|
|
1836
2231
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1837
2232
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -1861,7 +2256,9 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1861
2256
|
model?: string | null | undefined;
|
|
1862
2257
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1863
2258
|
isArchived?: boolean | undefined;
|
|
2259
|
+
archivedAt?: string | null | undefined;
|
|
1864
2260
|
pinned?: boolean | undefined;
|
|
2261
|
+
isShared?: boolean | undefined;
|
|
1865
2262
|
messages?: string[] | undefined;
|
|
1866
2263
|
tools?: string[] | {
|
|
1867
2264
|
name: string;
|
|
@@ -1879,6 +2276,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1879
2276
|
chatMenu?: boolean | undefined;
|
|
1880
2277
|
isButton?: boolean | undefined;
|
|
1881
2278
|
toolkit?: boolean | undefined;
|
|
2279
|
+
serverToolName?: string | undefined;
|
|
1882
2280
|
}[] | undefined;
|
|
1883
2281
|
modelLabel?: string | null | undefined;
|
|
1884
2282
|
userLabel?: string | undefined;
|
|
@@ -1918,6 +2316,8 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1918
2316
|
imageDetail?: ImageDetail | undefined;
|
|
1919
2317
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
1920
2318
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
2319
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
2320
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
1921
2321
|
verbosity?: Verbosity | null | undefined;
|
|
1922
2322
|
useResponsesApi?: boolean | undefined;
|
|
1923
2323
|
effort?: AnthropicEffort | null | undefined;
|
|
@@ -1927,6 +2327,16 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1927
2327
|
disableStreaming?: boolean | undefined;
|
|
1928
2328
|
assistant_id?: string | undefined;
|
|
1929
2329
|
agent_id?: string | undefined;
|
|
2330
|
+
subagentThread?: {
|
|
2331
|
+
parentMessageId: string;
|
|
2332
|
+
rootConversationId: string;
|
|
2333
|
+
parentConversationId: string;
|
|
2334
|
+
parentToolCallId: string;
|
|
2335
|
+
subagentType: string;
|
|
2336
|
+
subagentKind: "agent" | "graph";
|
|
2337
|
+
depth: number;
|
|
2338
|
+
parentAgentId?: string | undefined;
|
|
2339
|
+
} | undefined;
|
|
1930
2340
|
region?: string | undefined;
|
|
1931
2341
|
maxTokens?: number | undefined;
|
|
1932
2342
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
@@ -1951,7 +2361,9 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1951
2361
|
model?: string | null | undefined;
|
|
1952
2362
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1953
2363
|
isArchived?: boolean | undefined;
|
|
2364
|
+
archivedAt?: string | null | undefined;
|
|
1954
2365
|
pinned?: boolean | undefined;
|
|
2366
|
+
isShared?: boolean | undefined;
|
|
1955
2367
|
title?: string | null | undefined;
|
|
1956
2368
|
messages?: string[] | undefined;
|
|
1957
2369
|
tools?: string[] | {
|
|
@@ -1970,6 +2382,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1970
2382
|
chatMenu?: boolean | undefined;
|
|
1971
2383
|
isButton?: boolean | undefined;
|
|
1972
2384
|
toolkit?: boolean | undefined;
|
|
2385
|
+
serverToolName?: string | undefined;
|
|
1973
2386
|
}[] | undefined;
|
|
1974
2387
|
modelLabel?: string | null | undefined;
|
|
1975
2388
|
userLabel?: string | undefined;
|
|
@@ -2009,6 +2422,8 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
2009
2422
|
imageDetail?: ImageDetail | undefined;
|
|
2010
2423
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
2011
2424
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
2425
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
2426
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
2012
2427
|
verbosity?: Verbosity | null | undefined;
|
|
2013
2428
|
useResponsesApi?: boolean | undefined;
|
|
2014
2429
|
effort?: AnthropicEffort | null | undefined;
|
|
@@ -2018,6 +2433,16 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
2018
2433
|
disableStreaming?: boolean | undefined;
|
|
2019
2434
|
assistant_id?: string | undefined;
|
|
2020
2435
|
agent_id?: string | undefined;
|
|
2436
|
+
subagentThread?: {
|
|
2437
|
+
parentMessageId: string;
|
|
2438
|
+
rootConversationId: string;
|
|
2439
|
+
parentConversationId: string;
|
|
2440
|
+
parentToolCallId: string;
|
|
2441
|
+
subagentType: string;
|
|
2442
|
+
subagentKind: "agent" | "graph";
|
|
2443
|
+
depth: number;
|
|
2444
|
+
parentAgentId?: string | undefined;
|
|
2445
|
+
} | undefined;
|
|
2021
2446
|
region?: string | undefined;
|
|
2022
2447
|
maxTokens?: string | number | undefined;
|
|
2023
2448
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
@@ -2040,7 +2465,11 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2040
2465
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
2041
2466
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
2042
2467
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
2468
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
2469
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2043
2470
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
2471
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
2472
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
2044
2473
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
2045
2474
|
user: z.ZodOptional<z.ZodString>;
|
|
2046
2475
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2073,6 +2502,9 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2073
2502
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
2074
2503
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
2075
2504
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
2505
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
2506
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
2507
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
2076
2508
|
}, "strip", z.ZodTypeAny, {
|
|
2077
2509
|
name: string;
|
|
2078
2510
|
pluginKey: string;
|
|
@@ -2089,6 +2521,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2089
2521
|
chatMenu?: boolean | undefined;
|
|
2090
2522
|
isButton?: boolean | undefined;
|
|
2091
2523
|
toolkit?: boolean | undefined;
|
|
2524
|
+
serverToolName?: string | undefined;
|
|
2092
2525
|
}, {
|
|
2093
2526
|
name: string;
|
|
2094
2527
|
pluginKey: string;
|
|
@@ -2105,6 +2538,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2105
2538
|
chatMenu?: boolean | undefined;
|
|
2106
2539
|
isButton?: boolean | undefined;
|
|
2107
2540
|
toolkit?: boolean | undefined;
|
|
2541
|
+
serverToolName?: string | undefined;
|
|
2108
2542
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
2109
2543
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2110
2544
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -2168,6 +2602,8 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2168
2602
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
2169
2603
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
2170
2604
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
2605
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
2606
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
2171
2607
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
2172
2608
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
2173
2609
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -2177,6 +2613,35 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2177
2613
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2178
2614
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
2179
2615
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
2616
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
2617
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
2618
|
+
rootConversationId: z.ZodString;
|
|
2619
|
+
parentConversationId: z.ZodString;
|
|
2620
|
+
parentMessageId: z.ZodString;
|
|
2621
|
+
parentToolCallId: z.ZodString;
|
|
2622
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
2623
|
+
subagentType: z.ZodString;
|
|
2624
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
2625
|
+
depth: z.ZodNumber;
|
|
2626
|
+
}, "strip", z.ZodTypeAny, {
|
|
2627
|
+
parentMessageId: string;
|
|
2628
|
+
rootConversationId: string;
|
|
2629
|
+
parentConversationId: string;
|
|
2630
|
+
parentToolCallId: string;
|
|
2631
|
+
subagentType: string;
|
|
2632
|
+
subagentKind: "agent" | "graph";
|
|
2633
|
+
depth: number;
|
|
2634
|
+
parentAgentId?: string | undefined;
|
|
2635
|
+
}, {
|
|
2636
|
+
parentMessageId: string;
|
|
2637
|
+
rootConversationId: string;
|
|
2638
|
+
parentConversationId: string;
|
|
2639
|
+
parentToolCallId: string;
|
|
2640
|
+
subagentType: string;
|
|
2641
|
+
subagentKind: "agent" | "graph";
|
|
2642
|
+
depth: number;
|
|
2643
|
+
parentAgentId?: string | undefined;
|
|
2644
|
+
}>>;
|
|
2180
2645
|
region: z.ZodOptional<z.ZodString>;
|
|
2181
2646
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2182
2647
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -2196,7 +2661,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2196
2661
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
2197
2662
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
2198
2663
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2199
|
-
}, "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxOutputTokens" | "maxContextTokens" | "max_tokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "thinkingLevel" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "effort" | "thinkingDisplay" | "web_search" | "url_context" | "disableStreaming" | "assistant_id" | "agent_id" | "region" | "maxTokens" | "instructions" | "append_current_datetime" | "stop" | "spec" | "fileTokenLimit"> & {
|
|
2664
|
+
}, "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxOutputTokens" | "maxContextTokens" | "max_tokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "thinkingLevel" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "effort" | "thinkingDisplay" | "web_search" | "url_context" | "disableStreaming" | "assistant_id" | "agent_id" | "region" | "maxTokens" | "instructions" | "append_current_datetime" | "stop" | "spec" | "fileTokenLimit"> & {
|
|
2200
2665
|
/** @endpoints openAI, custom, azureOpenAI, google, anthropic, assistants, azureAssistants, bedrock, agents */
|
|
2201
2666
|
endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
|
|
2202
2667
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2221,6 +2686,8 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2221
2686
|
imageDetail?: ImageDetail | undefined;
|
|
2222
2687
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
2223
2688
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
2689
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
2690
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
2224
2691
|
verbosity?: Verbosity | null | undefined;
|
|
2225
2692
|
useResponsesApi?: boolean | undefined;
|
|
2226
2693
|
effort?: AnthropicEffort | null | undefined;
|
|
@@ -2259,6 +2726,8 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2259
2726
|
imageDetail?: ImageDetail | undefined;
|
|
2260
2727
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
2261
2728
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
2729
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
2730
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
2262
2731
|
verbosity?: Verbosity | null | undefined;
|
|
2263
2732
|
useResponsesApi?: boolean | undefined;
|
|
2264
2733
|
effort?: AnthropicEffort | null | undefined;
|
|
@@ -2283,14 +2752,12 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2283
2752
|
* `spec` is set by the client from `modelSpec.name` via `getModelSpecPreset` and is
|
|
2284
2753
|
* omitted to avoid duplicate configuration surface.
|
|
2285
2754
|
*/
|
|
2286
|
-
export declare const tModelSpecPresetSchema: z.ZodObject<
|
|
2287
|
-
user: z.ZodOptional<z.ZodString>;
|
|
2288
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2755
|
+
export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
|
|
2289
2756
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2290
2757
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
2291
|
-
|
|
2758
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2292
2759
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
2293
|
-
|
|
2760
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
2294
2761
|
tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
2295
2762
|
name: z.ZodString;
|
|
2296
2763
|
pluginKey: z.ZodString;
|
|
@@ -2320,6 +2787,9 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2320
2787
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
2321
2788
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
2322
2789
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
2790
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
2791
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
2792
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
2323
2793
|
}, "strip", z.ZodTypeAny, {
|
|
2324
2794
|
name: string;
|
|
2325
2795
|
pluginKey: string;
|
|
@@ -2336,6 +2806,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2336
2806
|
chatMenu?: boolean | undefined;
|
|
2337
2807
|
isButton?: boolean | undefined;
|
|
2338
2808
|
toolkit?: boolean | undefined;
|
|
2809
|
+
serverToolName?: string | undefined;
|
|
2339
2810
|
}, {
|
|
2340
2811
|
name: string;
|
|
2341
2812
|
pluginKey: string;
|
|
@@ -2352,6 +2823,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2352
2823
|
chatMenu?: boolean | undefined;
|
|
2353
2824
|
isButton?: boolean | undefined;
|
|
2354
2825
|
toolkit?: boolean | undefined;
|
|
2826
|
+
serverToolName?: string | undefined;
|
|
2355
2827
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
2356
2828
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2357
2829
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -2362,7 +2834,6 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2362
2834
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
2363
2835
|
frequency_penalty: z.ZodOptional<z.ZodNumber>;
|
|
2364
2836
|
presence_penalty: z.ZodOptional<z.ZodNumber>;
|
|
2365
|
-
parentMessageId: z.ZodOptional<z.ZodString>;
|
|
2366
2837
|
maxOutputTokens: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>>;
|
|
2367
2838
|
maxContextTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2368
2839
|
max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
@@ -2406,10 +2877,11 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2406
2877
|
};
|
|
2407
2878
|
}>, "many">>;
|
|
2408
2879
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
2409
|
-
file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2410
2880
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
2411
2881
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
2412
2882
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
2883
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
2884
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
2413
2885
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
2414
2886
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
2415
2887
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -2419,34 +2891,54 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2419
2891
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2420
2892
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
2421
2893
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
2894
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
2895
|
+
rootConversationId: z.ZodString;
|
|
2896
|
+
parentConversationId: z.ZodString;
|
|
2897
|
+
parentMessageId: z.ZodString;
|
|
2898
|
+
parentToolCallId: z.ZodString;
|
|
2899
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
2900
|
+
subagentType: z.ZodString;
|
|
2901
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
2902
|
+
depth: z.ZodNumber;
|
|
2903
|
+
}, "strip", z.ZodTypeAny, {
|
|
2904
|
+
parentMessageId: string;
|
|
2905
|
+
rootConversationId: string;
|
|
2906
|
+
parentConversationId: string;
|
|
2907
|
+
parentToolCallId: string;
|
|
2908
|
+
subagentType: string;
|
|
2909
|
+
subagentKind: "agent" | "graph";
|
|
2910
|
+
depth: number;
|
|
2911
|
+
parentAgentId?: string | undefined;
|
|
2912
|
+
}, {
|
|
2913
|
+
parentMessageId: string;
|
|
2914
|
+
rootConversationId: string;
|
|
2915
|
+
parentConversationId: string;
|
|
2916
|
+
parentToolCallId: string;
|
|
2917
|
+
subagentType: string;
|
|
2918
|
+
subagentKind: "agent" | "graph";
|
|
2919
|
+
depth: number;
|
|
2920
|
+
parentAgentId?: string | undefined;
|
|
2921
|
+
}>>;
|
|
2422
2922
|
region: z.ZodOptional<z.ZodString>;
|
|
2423
2923
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2424
2924
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
2425
2925
|
instructions: z.ZodOptional<z.ZodString>;
|
|
2426
2926
|
additional_instructions: z.ZodOptional<z.ZodString>;
|
|
2427
2927
|
append_current_datetime: z.ZodOptional<z.ZodBoolean>;
|
|
2428
|
-
presetOverride: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2429
2928
|
stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2430
2929
|
greeting: z.ZodOptional<z.ZodString>;
|
|
2431
|
-
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2432
2930
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2433
|
-
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2434
2931
|
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
2435
2932
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2436
|
-
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
2437
|
-
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2438
2933
|
} & {
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2442
|
-
defaultPreset: z.ZodOptional<z.ZodBoolean>;
|
|
2443
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
2444
|
-
endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
|
|
2445
|
-
}, "user" | "tags" | "conversationId" | "isArchived" | "title" | "messages" | "parentMessageId" | "file_ids" | "presetOverride" | "spec" | "expiredAt" | "resendImages" | "chatGptLabel" | "presetId" | "defaultPreset" | "order">, "strip", z.ZodTypeAny, {
|
|
2446
|
-
endpoint: string | null;
|
|
2934
|
+
endpoint: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>>;
|
|
2935
|
+
}, "strip", z.ZodTypeAny, {
|
|
2447
2936
|
model?: string | null | undefined;
|
|
2937
|
+
endpoint?: string | null | undefined;
|
|
2448
2938
|
endpointType?: EModelEndpoint | null | undefined;
|
|
2939
|
+
archivedAt?: string | null | undefined;
|
|
2449
2940
|
pinned?: boolean | undefined;
|
|
2941
|
+
isShared?: boolean | undefined;
|
|
2450
2942
|
tools?: string[] | {
|
|
2451
2943
|
name: string;
|
|
2452
2944
|
pluginKey: string;
|
|
@@ -2463,6 +2955,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2463
2955
|
chatMenu?: boolean | undefined;
|
|
2464
2956
|
isButton?: boolean | undefined;
|
|
2465
2957
|
toolkit?: boolean | undefined;
|
|
2958
|
+
serverToolName?: string | undefined;
|
|
2466
2959
|
}[] | undefined;
|
|
2467
2960
|
modelLabel?: string | null | undefined;
|
|
2468
2961
|
userLabel?: string | undefined;
|
|
@@ -2497,6 +2990,8 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2497
2990
|
imageDetail?: ImageDetail | undefined;
|
|
2498
2991
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
2499
2992
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
2993
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
2994
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
2500
2995
|
verbosity?: Verbosity | null | undefined;
|
|
2501
2996
|
useResponsesApi?: boolean | undefined;
|
|
2502
2997
|
effort?: AnthropicEffort | null | undefined;
|
|
@@ -2506,6 +3001,16 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2506
3001
|
disableStreaming?: boolean | undefined;
|
|
2507
3002
|
assistant_id?: string | undefined;
|
|
2508
3003
|
agent_id?: string | undefined;
|
|
3004
|
+
subagentThread?: {
|
|
3005
|
+
parentMessageId: string;
|
|
3006
|
+
rootConversationId: string;
|
|
3007
|
+
parentConversationId: string;
|
|
3008
|
+
parentToolCallId: string;
|
|
3009
|
+
subagentType: string;
|
|
3010
|
+
subagentKind: "agent" | "graph";
|
|
3011
|
+
depth: number;
|
|
3012
|
+
parentAgentId?: string | undefined;
|
|
3013
|
+
} | undefined;
|
|
2509
3014
|
region?: string | undefined;
|
|
2510
3015
|
maxTokens?: number | undefined;
|
|
2511
3016
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
@@ -2518,10 +3023,12 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2518
3023
|
isTemporary?: boolean | undefined;
|
|
2519
3024
|
fileTokenLimit?: number | undefined;
|
|
2520
3025
|
}, {
|
|
2521
|
-
endpoint: string | null;
|
|
2522
3026
|
model?: string | null | undefined;
|
|
3027
|
+
endpoint?: string | null | undefined;
|
|
2523
3028
|
endpointType?: EModelEndpoint | null | undefined;
|
|
3029
|
+
archivedAt?: string | null | undefined;
|
|
2524
3030
|
pinned?: boolean | undefined;
|
|
3031
|
+
isShared?: boolean | undefined;
|
|
2525
3032
|
tools?: string[] | {
|
|
2526
3033
|
name: string;
|
|
2527
3034
|
pluginKey: string;
|
|
@@ -2538,6 +3045,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2538
3045
|
chatMenu?: boolean | undefined;
|
|
2539
3046
|
isButton?: boolean | undefined;
|
|
2540
3047
|
toolkit?: boolean | undefined;
|
|
3048
|
+
serverToolName?: string | undefined;
|
|
2541
3049
|
}[] | undefined;
|
|
2542
3050
|
modelLabel?: string | null | undefined;
|
|
2543
3051
|
userLabel?: string | undefined;
|
|
@@ -2572,6 +3080,8 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2572
3080
|
imageDetail?: ImageDetail | undefined;
|
|
2573
3081
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
2574
3082
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
3083
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
3084
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
2575
3085
|
verbosity?: Verbosity | null | undefined;
|
|
2576
3086
|
useResponsesApi?: boolean | undefined;
|
|
2577
3087
|
effort?: AnthropicEffort | null | undefined;
|
|
@@ -2581,6 +3091,196 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2581
3091
|
disableStreaming?: boolean | undefined;
|
|
2582
3092
|
assistant_id?: string | undefined;
|
|
2583
3093
|
agent_id?: string | undefined;
|
|
3094
|
+
subagentThread?: {
|
|
3095
|
+
parentMessageId: string;
|
|
3096
|
+
rootConversationId: string;
|
|
3097
|
+
parentConversationId: string;
|
|
3098
|
+
parentToolCallId: string;
|
|
3099
|
+
subagentType: string;
|
|
3100
|
+
subagentKind: "agent" | "graph";
|
|
3101
|
+
depth: number;
|
|
3102
|
+
parentAgentId?: string | undefined;
|
|
3103
|
+
} | undefined;
|
|
3104
|
+
region?: string | undefined;
|
|
3105
|
+
maxTokens?: string | number | undefined;
|
|
3106
|
+
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
3107
|
+
instructions?: string | undefined;
|
|
3108
|
+
additional_instructions?: string | undefined;
|
|
3109
|
+
append_current_datetime?: boolean | undefined;
|
|
3110
|
+
stop?: string[] | undefined;
|
|
3111
|
+
greeting?: string | undefined;
|
|
3112
|
+
iconURL?: string | null | undefined;
|
|
3113
|
+
isTemporary?: boolean | undefined;
|
|
3114
|
+
fileTokenLimit?: string | number | undefined;
|
|
3115
|
+
}>, {
|
|
3116
|
+
model?: string | null | undefined;
|
|
3117
|
+
endpoint?: string | null | undefined;
|
|
3118
|
+
endpointType?: EModelEndpoint | null | undefined;
|
|
3119
|
+
archivedAt?: string | null | undefined;
|
|
3120
|
+
pinned?: boolean | undefined;
|
|
3121
|
+
isShared?: boolean | undefined;
|
|
3122
|
+
tools?: string[] | {
|
|
3123
|
+
name: string;
|
|
3124
|
+
pluginKey: string;
|
|
3125
|
+
description?: string | undefined;
|
|
3126
|
+
icon?: string | undefined;
|
|
3127
|
+
authConfig?: {
|
|
3128
|
+
description: string;
|
|
3129
|
+
authField: string;
|
|
3130
|
+
label: string;
|
|
3131
|
+
optional?: boolean | undefined;
|
|
3132
|
+
sensitive?: boolean | undefined;
|
|
3133
|
+
}[] | undefined;
|
|
3134
|
+
authenticated?: boolean | undefined;
|
|
3135
|
+
chatMenu?: boolean | undefined;
|
|
3136
|
+
isButton?: boolean | undefined;
|
|
3137
|
+
toolkit?: boolean | undefined;
|
|
3138
|
+
serverToolName?: string | undefined;
|
|
3139
|
+
}[] | undefined;
|
|
3140
|
+
modelLabel?: string | null | undefined;
|
|
3141
|
+
userLabel?: string | undefined;
|
|
3142
|
+
promptPrefix?: string | null | undefined;
|
|
3143
|
+
temperature?: number | null | undefined;
|
|
3144
|
+
topP?: number | undefined;
|
|
3145
|
+
topK?: number | undefined;
|
|
3146
|
+
top_p?: number | undefined;
|
|
3147
|
+
frequency_penalty?: number | undefined;
|
|
3148
|
+
presence_penalty?: number | undefined;
|
|
3149
|
+
maxOutputTokens?: number | null | undefined;
|
|
3150
|
+
maxContextTokens?: number | undefined;
|
|
3151
|
+
max_tokens?: number | undefined;
|
|
3152
|
+
promptCache?: boolean | undefined;
|
|
3153
|
+
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
3154
|
+
system?: string | undefined;
|
|
3155
|
+
thinking?: boolean | undefined;
|
|
3156
|
+
thinkingBudget?: number | undefined;
|
|
3157
|
+
thinkingLevel?: ThinkingLevel | undefined;
|
|
3158
|
+
stream?: boolean | undefined;
|
|
3159
|
+
artifacts?: string | undefined;
|
|
3160
|
+
context?: string | null | undefined;
|
|
3161
|
+
examples?: {
|
|
3162
|
+
input: {
|
|
3163
|
+
content: string;
|
|
3164
|
+
};
|
|
3165
|
+
output: {
|
|
3166
|
+
content: string;
|
|
3167
|
+
};
|
|
3168
|
+
}[] | undefined;
|
|
3169
|
+
resendFiles?: boolean | undefined;
|
|
3170
|
+
imageDetail?: ImageDetail | undefined;
|
|
3171
|
+
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
3172
|
+
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
3173
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
3174
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
3175
|
+
verbosity?: Verbosity | null | undefined;
|
|
3176
|
+
useResponsesApi?: boolean | undefined;
|
|
3177
|
+
effort?: AnthropicEffort | null | undefined;
|
|
3178
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
3179
|
+
web_search?: boolean | undefined;
|
|
3180
|
+
url_context?: boolean | undefined;
|
|
3181
|
+
disableStreaming?: boolean | undefined;
|
|
3182
|
+
assistant_id?: string | undefined;
|
|
3183
|
+
agent_id?: string | undefined;
|
|
3184
|
+
subagentThread?: {
|
|
3185
|
+
parentMessageId: string;
|
|
3186
|
+
rootConversationId: string;
|
|
3187
|
+
parentConversationId: string;
|
|
3188
|
+
parentToolCallId: string;
|
|
3189
|
+
subagentType: string;
|
|
3190
|
+
subagentKind: "agent" | "graph";
|
|
3191
|
+
depth: number;
|
|
3192
|
+
parentAgentId?: string | undefined;
|
|
3193
|
+
} | undefined;
|
|
3194
|
+
region?: string | undefined;
|
|
3195
|
+
maxTokens?: number | undefined;
|
|
3196
|
+
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
3197
|
+
instructions?: string | undefined;
|
|
3198
|
+
additional_instructions?: string | undefined;
|
|
3199
|
+
append_current_datetime?: boolean | undefined;
|
|
3200
|
+
stop?: string[] | undefined;
|
|
3201
|
+
greeting?: string | undefined;
|
|
3202
|
+
iconURL?: string | null | undefined;
|
|
3203
|
+
isTemporary?: boolean | undefined;
|
|
3204
|
+
fileTokenLimit?: number | undefined;
|
|
3205
|
+
}, {
|
|
3206
|
+
model?: string | null | undefined;
|
|
3207
|
+
endpoint?: string | null | undefined;
|
|
3208
|
+
endpointType?: EModelEndpoint | null | undefined;
|
|
3209
|
+
archivedAt?: string | null | undefined;
|
|
3210
|
+
pinned?: boolean | undefined;
|
|
3211
|
+
isShared?: boolean | undefined;
|
|
3212
|
+
tools?: string[] | {
|
|
3213
|
+
name: string;
|
|
3214
|
+
pluginKey: string;
|
|
3215
|
+
description?: string | undefined;
|
|
3216
|
+
icon?: string | undefined;
|
|
3217
|
+
authConfig?: {
|
|
3218
|
+
description: string;
|
|
3219
|
+
authField: string;
|
|
3220
|
+
label: string;
|
|
3221
|
+
optional?: boolean | undefined;
|
|
3222
|
+
sensitive?: boolean | undefined;
|
|
3223
|
+
}[] | undefined;
|
|
3224
|
+
authenticated?: boolean | undefined;
|
|
3225
|
+
chatMenu?: boolean | undefined;
|
|
3226
|
+
isButton?: boolean | undefined;
|
|
3227
|
+
toolkit?: boolean | undefined;
|
|
3228
|
+
serverToolName?: string | undefined;
|
|
3229
|
+
}[] | undefined;
|
|
3230
|
+
modelLabel?: string | null | undefined;
|
|
3231
|
+
userLabel?: string | undefined;
|
|
3232
|
+
promptPrefix?: string | null | undefined;
|
|
3233
|
+
temperature?: number | null | undefined;
|
|
3234
|
+
topP?: number | undefined;
|
|
3235
|
+
topK?: number | undefined;
|
|
3236
|
+
top_p?: number | undefined;
|
|
3237
|
+
frequency_penalty?: number | undefined;
|
|
3238
|
+
presence_penalty?: number | undefined;
|
|
3239
|
+
maxOutputTokens?: string | number | null | undefined;
|
|
3240
|
+
maxContextTokens?: string | number | undefined;
|
|
3241
|
+
max_tokens?: string | number | undefined;
|
|
3242
|
+
promptCache?: boolean | undefined;
|
|
3243
|
+
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
3244
|
+
system?: string | undefined;
|
|
3245
|
+
thinking?: boolean | undefined;
|
|
3246
|
+
thinkingBudget?: string | number | undefined;
|
|
3247
|
+
thinkingLevel?: ThinkingLevel | undefined;
|
|
3248
|
+
stream?: boolean | undefined;
|
|
3249
|
+
artifacts?: string | undefined;
|
|
3250
|
+
context?: string | null | undefined;
|
|
3251
|
+
examples?: {
|
|
3252
|
+
input: {
|
|
3253
|
+
content: string;
|
|
3254
|
+
};
|
|
3255
|
+
output: {
|
|
3256
|
+
content: string;
|
|
3257
|
+
};
|
|
3258
|
+
}[] | undefined;
|
|
3259
|
+
resendFiles?: boolean | undefined;
|
|
3260
|
+
imageDetail?: ImageDetail | undefined;
|
|
3261
|
+
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
3262
|
+
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
3263
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
3264
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
3265
|
+
verbosity?: Verbosity | null | undefined;
|
|
3266
|
+
useResponsesApi?: boolean | undefined;
|
|
3267
|
+
effort?: AnthropicEffort | null | undefined;
|
|
3268
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
3269
|
+
web_search?: boolean | undefined;
|
|
3270
|
+
url_context?: boolean | undefined;
|
|
3271
|
+
disableStreaming?: boolean | undefined;
|
|
3272
|
+
assistant_id?: string | undefined;
|
|
3273
|
+
agent_id?: string | undefined;
|
|
3274
|
+
subagentThread?: {
|
|
3275
|
+
parentMessageId: string;
|
|
3276
|
+
rootConversationId: string;
|
|
3277
|
+
parentConversationId: string;
|
|
3278
|
+
parentToolCallId: string;
|
|
3279
|
+
subagentType: string;
|
|
3280
|
+
subagentKind: "agent" | "graph";
|
|
3281
|
+
depth: number;
|
|
3282
|
+
parentAgentId?: string | undefined;
|
|
3283
|
+
} | undefined;
|
|
2584
3284
|
region?: string | undefined;
|
|
2585
3285
|
maxTokens?: string | number | undefined;
|
|
2586
3286
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
@@ -2660,7 +3360,11 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2660
3360
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
2661
3361
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
2662
3362
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
3363
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
3364
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2663
3365
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
3366
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
3367
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
2664
3368
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
2665
3369
|
user: z.ZodOptional<z.ZodString>;
|
|
2666
3370
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2693,6 +3397,9 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2693
3397
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
2694
3398
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
2695
3399
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
3400
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
3401
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
3402
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
2696
3403
|
}, "strip", z.ZodTypeAny, {
|
|
2697
3404
|
name: string;
|
|
2698
3405
|
pluginKey: string;
|
|
@@ -2709,6 +3416,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2709
3416
|
chatMenu?: boolean | undefined;
|
|
2710
3417
|
isButton?: boolean | undefined;
|
|
2711
3418
|
toolkit?: boolean | undefined;
|
|
3419
|
+
serverToolName?: string | undefined;
|
|
2712
3420
|
}, {
|
|
2713
3421
|
name: string;
|
|
2714
3422
|
pluginKey: string;
|
|
@@ -2725,6 +3433,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2725
3433
|
chatMenu?: boolean | undefined;
|
|
2726
3434
|
isButton?: boolean | undefined;
|
|
2727
3435
|
toolkit?: boolean | undefined;
|
|
3436
|
+
serverToolName?: string | undefined;
|
|
2728
3437
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
2729
3438
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2730
3439
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -2788,6 +3497,8 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2788
3497
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
2789
3498
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
2790
3499
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
3500
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
3501
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
2791
3502
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
2792
3503
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
2793
3504
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -2797,6 +3508,35 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2797
3508
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2798
3509
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
2799
3510
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
3511
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
3512
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
3513
|
+
rootConversationId: z.ZodString;
|
|
3514
|
+
parentConversationId: z.ZodString;
|
|
3515
|
+
parentMessageId: z.ZodString;
|
|
3516
|
+
parentToolCallId: z.ZodString;
|
|
3517
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
3518
|
+
subagentType: z.ZodString;
|
|
3519
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
3520
|
+
depth: z.ZodNumber;
|
|
3521
|
+
}, "strip", z.ZodTypeAny, {
|
|
3522
|
+
parentMessageId: string;
|
|
3523
|
+
rootConversationId: string;
|
|
3524
|
+
parentConversationId: string;
|
|
3525
|
+
parentToolCallId: string;
|
|
3526
|
+
subagentType: string;
|
|
3527
|
+
subagentKind: "agent" | "graph";
|
|
3528
|
+
depth: number;
|
|
3529
|
+
parentAgentId?: string | undefined;
|
|
3530
|
+
}, {
|
|
3531
|
+
parentMessageId: string;
|
|
3532
|
+
rootConversationId: string;
|
|
3533
|
+
parentConversationId: string;
|
|
3534
|
+
parentToolCallId: string;
|
|
3535
|
+
subagentType: string;
|
|
3536
|
+
subagentKind: "agent" | "graph";
|
|
3537
|
+
depth: number;
|
|
3538
|
+
parentAgentId?: string | undefined;
|
|
3539
|
+
}>>;
|
|
2800
3540
|
region: z.ZodOptional<z.ZodString>;
|
|
2801
3541
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2802
3542
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -2816,7 +3556,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2816
3556
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
2817
3557
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
2818
3558
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2819
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
3559
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "resendFiles" | "web_search" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
2820
3560
|
model?: string | null | undefined;
|
|
2821
3561
|
modelLabel?: string | null | undefined;
|
|
2822
3562
|
promptPrefix?: string | null | undefined;
|
|
@@ -2838,6 +3578,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2838
3578
|
};
|
|
2839
3579
|
}[] | undefined;
|
|
2840
3580
|
chatProjectId?: string | null | undefined;
|
|
3581
|
+
resendFiles?: boolean | undefined;
|
|
2841
3582
|
web_search?: boolean | undefined;
|
|
2842
3583
|
url_context?: boolean | undefined;
|
|
2843
3584
|
greeting?: string | undefined;
|
|
@@ -2866,6 +3607,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2866
3607
|
};
|
|
2867
3608
|
}[] | undefined;
|
|
2868
3609
|
chatProjectId?: string | null | undefined;
|
|
3610
|
+
resendFiles?: boolean | undefined;
|
|
2869
3611
|
web_search?: boolean | undefined;
|
|
2870
3612
|
url_context?: boolean | undefined;
|
|
2871
3613
|
greeting?: string | undefined;
|
|
@@ -2878,7 +3620,11 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2878
3620
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
2879
3621
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
2880
3622
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
3623
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
3624
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2881
3625
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
3626
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
3627
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
2882
3628
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
2883
3629
|
user: z.ZodOptional<z.ZodString>;
|
|
2884
3630
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2911,6 +3657,9 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2911
3657
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
2912
3658
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
2913
3659
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
3660
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
3661
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
3662
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
2914
3663
|
}, "strip", z.ZodTypeAny, {
|
|
2915
3664
|
name: string;
|
|
2916
3665
|
pluginKey: string;
|
|
@@ -2927,6 +3676,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2927
3676
|
chatMenu?: boolean | undefined;
|
|
2928
3677
|
isButton?: boolean | undefined;
|
|
2929
3678
|
toolkit?: boolean | undefined;
|
|
3679
|
+
serverToolName?: string | undefined;
|
|
2930
3680
|
}, {
|
|
2931
3681
|
name: string;
|
|
2932
3682
|
pluginKey: string;
|
|
@@ -2943,6 +3693,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2943
3693
|
chatMenu?: boolean | undefined;
|
|
2944
3694
|
isButton?: boolean | undefined;
|
|
2945
3695
|
toolkit?: boolean | undefined;
|
|
3696
|
+
serverToolName?: string | undefined;
|
|
2946
3697
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
2947
3698
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2948
3699
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -3006,6 +3757,8 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3006
3757
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
3007
3758
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
3008
3759
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
3760
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
3761
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
3009
3762
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
3010
3763
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
3011
3764
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -3015,6 +3768,35 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3015
3768
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3016
3769
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3017
3770
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
3771
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
3772
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
3773
|
+
rootConversationId: z.ZodString;
|
|
3774
|
+
parentConversationId: z.ZodString;
|
|
3775
|
+
parentMessageId: z.ZodString;
|
|
3776
|
+
parentToolCallId: z.ZodString;
|
|
3777
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
3778
|
+
subagentType: z.ZodString;
|
|
3779
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
3780
|
+
depth: z.ZodNumber;
|
|
3781
|
+
}, "strip", z.ZodTypeAny, {
|
|
3782
|
+
parentMessageId: string;
|
|
3783
|
+
rootConversationId: string;
|
|
3784
|
+
parentConversationId: string;
|
|
3785
|
+
parentToolCallId: string;
|
|
3786
|
+
subagentType: string;
|
|
3787
|
+
subagentKind: "agent" | "graph";
|
|
3788
|
+
depth: number;
|
|
3789
|
+
parentAgentId?: string | undefined;
|
|
3790
|
+
}, {
|
|
3791
|
+
parentMessageId: string;
|
|
3792
|
+
rootConversationId: string;
|
|
3793
|
+
parentConversationId: string;
|
|
3794
|
+
parentToolCallId: string;
|
|
3795
|
+
subagentType: string;
|
|
3796
|
+
subagentKind: "agent" | "graph";
|
|
3797
|
+
depth: number;
|
|
3798
|
+
parentAgentId?: string | undefined;
|
|
3799
|
+
}>>;
|
|
3018
3800
|
region: z.ZodOptional<z.ZodString>;
|
|
3019
3801
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3020
3802
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -3034,7 +3816,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3034
3816
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
3035
3817
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
3036
3818
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3037
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
3819
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "resendFiles" | "web_search" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
3038
3820
|
model?: string | null | undefined;
|
|
3039
3821
|
modelLabel?: string | null | undefined;
|
|
3040
3822
|
promptPrefix?: string | null | undefined;
|
|
@@ -3056,6 +3838,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3056
3838
|
};
|
|
3057
3839
|
}[] | undefined;
|
|
3058
3840
|
chatProjectId?: string | null | undefined;
|
|
3841
|
+
resendFiles?: boolean | undefined;
|
|
3059
3842
|
web_search?: boolean | undefined;
|
|
3060
3843
|
url_context?: boolean | undefined;
|
|
3061
3844
|
greeting?: string | undefined;
|
|
@@ -3084,6 +3867,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3084
3867
|
};
|
|
3085
3868
|
}[] | undefined;
|
|
3086
3869
|
chatProjectId?: string | null | undefined;
|
|
3870
|
+
resendFiles?: boolean | undefined;
|
|
3087
3871
|
web_search?: boolean | undefined;
|
|
3088
3872
|
url_context?: boolean | undefined;
|
|
3089
3873
|
greeting?: string | undefined;
|
|
@@ -3112,6 +3896,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3112
3896
|
};
|
|
3113
3897
|
}[] | undefined;
|
|
3114
3898
|
chatProjectId?: string | null | undefined;
|
|
3899
|
+
resendFiles?: boolean | undefined;
|
|
3115
3900
|
web_search?: boolean | undefined;
|
|
3116
3901
|
url_context?: boolean | undefined;
|
|
3117
3902
|
greeting?: string | undefined;
|
|
@@ -3185,7 +3970,11 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3185
3970
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
3186
3971
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
3187
3972
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
3973
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
3974
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3188
3975
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
3976
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
3977
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
3189
3978
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
3190
3979
|
user: z.ZodOptional<z.ZodString>;
|
|
3191
3980
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3218,6 +4007,9 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3218
4007
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
3219
4008
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
3220
4009
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
4010
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
4011
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
4012
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
3221
4013
|
}, "strip", z.ZodTypeAny, {
|
|
3222
4014
|
name: string;
|
|
3223
4015
|
pluginKey: string;
|
|
@@ -3234,6 +4026,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3234
4026
|
chatMenu?: boolean | undefined;
|
|
3235
4027
|
isButton?: boolean | undefined;
|
|
3236
4028
|
toolkit?: boolean | undefined;
|
|
4029
|
+
serverToolName?: string | undefined;
|
|
3237
4030
|
}, {
|
|
3238
4031
|
name: string;
|
|
3239
4032
|
pluginKey: string;
|
|
@@ -3250,6 +4043,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3250
4043
|
chatMenu?: boolean | undefined;
|
|
3251
4044
|
isButton?: boolean | undefined;
|
|
3252
4045
|
toolkit?: boolean | undefined;
|
|
4046
|
+
serverToolName?: string | undefined;
|
|
3253
4047
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
3254
4048
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3255
4049
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -3313,6 +4107,8 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3313
4107
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
3314
4108
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
3315
4109
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
4110
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
4111
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
3316
4112
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
3317
4113
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
3318
4114
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -3322,6 +4118,35 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3322
4118
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3323
4119
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3324
4120
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
4121
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
4122
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
4123
|
+
rootConversationId: z.ZodString;
|
|
4124
|
+
parentConversationId: z.ZodString;
|
|
4125
|
+
parentMessageId: z.ZodString;
|
|
4126
|
+
parentToolCallId: z.ZodString;
|
|
4127
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
4128
|
+
subagentType: z.ZodString;
|
|
4129
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
4130
|
+
depth: z.ZodNumber;
|
|
4131
|
+
}, "strip", z.ZodTypeAny, {
|
|
4132
|
+
parentMessageId: string;
|
|
4133
|
+
rootConversationId: string;
|
|
4134
|
+
parentConversationId: string;
|
|
4135
|
+
parentToolCallId: string;
|
|
4136
|
+
subagentType: string;
|
|
4137
|
+
subagentKind: "agent" | "graph";
|
|
4138
|
+
depth: number;
|
|
4139
|
+
parentAgentId?: string | undefined;
|
|
4140
|
+
}, {
|
|
4141
|
+
parentMessageId: string;
|
|
4142
|
+
rootConversationId: string;
|
|
4143
|
+
parentConversationId: string;
|
|
4144
|
+
parentToolCallId: string;
|
|
4145
|
+
subagentType: string;
|
|
4146
|
+
subagentKind: "agent" | "graph";
|
|
4147
|
+
depth: number;
|
|
4148
|
+
parentAgentId?: string | undefined;
|
|
4149
|
+
}>>;
|
|
3325
4150
|
region: z.ZodOptional<z.ZodString>;
|
|
3326
4151
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3327
4152
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -3391,7 +4216,11 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3391
4216
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
3392
4217
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
3393
4218
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
4219
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
4220
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3394
4221
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
4222
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
4223
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
3395
4224
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
3396
4225
|
user: z.ZodOptional<z.ZodString>;
|
|
3397
4226
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3424,6 +4253,9 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3424
4253
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
3425
4254
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
3426
4255
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
4256
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
4257
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
4258
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
3427
4259
|
}, "strip", z.ZodTypeAny, {
|
|
3428
4260
|
name: string;
|
|
3429
4261
|
pluginKey: string;
|
|
@@ -3440,6 +4272,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3440
4272
|
chatMenu?: boolean | undefined;
|
|
3441
4273
|
isButton?: boolean | undefined;
|
|
3442
4274
|
toolkit?: boolean | undefined;
|
|
4275
|
+
serverToolName?: string | undefined;
|
|
3443
4276
|
}, {
|
|
3444
4277
|
name: string;
|
|
3445
4278
|
pluginKey: string;
|
|
@@ -3456,6 +4289,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3456
4289
|
chatMenu?: boolean | undefined;
|
|
3457
4290
|
isButton?: boolean | undefined;
|
|
3458
4291
|
toolkit?: boolean | undefined;
|
|
4292
|
+
serverToolName?: string | undefined;
|
|
3459
4293
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
3460
4294
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3461
4295
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -3519,6 +4353,8 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3519
4353
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
3520
4354
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
3521
4355
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
4356
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
4357
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
3522
4358
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
3523
4359
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
3524
4360
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -3528,6 +4364,35 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3528
4364
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3529
4365
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3530
4366
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
4367
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
4368
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
4369
|
+
rootConversationId: z.ZodString;
|
|
4370
|
+
parentConversationId: z.ZodString;
|
|
4371
|
+
parentMessageId: z.ZodString;
|
|
4372
|
+
parentToolCallId: z.ZodString;
|
|
4373
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
4374
|
+
subagentType: z.ZodString;
|
|
4375
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
4376
|
+
depth: z.ZodNumber;
|
|
4377
|
+
}, "strip", z.ZodTypeAny, {
|
|
4378
|
+
parentMessageId: string;
|
|
4379
|
+
rootConversationId: string;
|
|
4380
|
+
parentConversationId: string;
|
|
4381
|
+
parentToolCallId: string;
|
|
4382
|
+
subagentType: string;
|
|
4383
|
+
subagentKind: "agent" | "graph";
|
|
4384
|
+
depth: number;
|
|
4385
|
+
parentAgentId?: string | undefined;
|
|
4386
|
+
}, {
|
|
4387
|
+
parentMessageId: string;
|
|
4388
|
+
rootConversationId: string;
|
|
4389
|
+
parentConversationId: string;
|
|
4390
|
+
parentToolCallId: string;
|
|
4391
|
+
subagentType: string;
|
|
4392
|
+
subagentKind: "agent" | "graph";
|
|
4393
|
+
depth: number;
|
|
4394
|
+
parentAgentId?: string | undefined;
|
|
4395
|
+
}>>;
|
|
3531
4396
|
region: z.ZodOptional<z.ZodString>;
|
|
3532
4397
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3533
4398
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -3593,7 +4458,11 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3593
4458
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
3594
4459
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
3595
4460
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
4461
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
4462
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3596
4463
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
4464
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
4465
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
3597
4466
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
3598
4467
|
user: z.ZodOptional<z.ZodString>;
|
|
3599
4468
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3626,6 +4495,9 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3626
4495
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
3627
4496
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
3628
4497
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
4498
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
4499
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
4500
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
3629
4501
|
}, "strip", z.ZodTypeAny, {
|
|
3630
4502
|
name: string;
|
|
3631
4503
|
pluginKey: string;
|
|
@@ -3642,6 +4514,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3642
4514
|
chatMenu?: boolean | undefined;
|
|
3643
4515
|
isButton?: boolean | undefined;
|
|
3644
4516
|
toolkit?: boolean | undefined;
|
|
4517
|
+
serverToolName?: string | undefined;
|
|
3645
4518
|
}, {
|
|
3646
4519
|
name: string;
|
|
3647
4520
|
pluginKey: string;
|
|
@@ -3658,6 +4531,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3658
4531
|
chatMenu?: boolean | undefined;
|
|
3659
4532
|
isButton?: boolean | undefined;
|
|
3660
4533
|
toolkit?: boolean | undefined;
|
|
4534
|
+
serverToolName?: string | undefined;
|
|
3661
4535
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
3662
4536
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3663
4537
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -3721,6 +4595,8 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3721
4595
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
3722
4596
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
3723
4597
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
4598
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
4599
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
3724
4600
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
3725
4601
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
3726
4602
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -3730,6 +4606,35 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3730
4606
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3731
4607
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3732
4608
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
4609
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
4610
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
4611
|
+
rootConversationId: z.ZodString;
|
|
4612
|
+
parentConversationId: z.ZodString;
|
|
4613
|
+
parentMessageId: z.ZodString;
|
|
4614
|
+
parentToolCallId: z.ZodString;
|
|
4615
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
4616
|
+
subagentType: z.ZodString;
|
|
4617
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
4618
|
+
depth: z.ZodNumber;
|
|
4619
|
+
}, "strip", z.ZodTypeAny, {
|
|
4620
|
+
parentMessageId: string;
|
|
4621
|
+
rootConversationId: string;
|
|
4622
|
+
parentConversationId: string;
|
|
4623
|
+
parentToolCallId: string;
|
|
4624
|
+
subagentType: string;
|
|
4625
|
+
subagentKind: "agent" | "graph";
|
|
4626
|
+
depth: number;
|
|
4627
|
+
parentAgentId?: string | undefined;
|
|
4628
|
+
}, {
|
|
4629
|
+
parentMessageId: string;
|
|
4630
|
+
rootConversationId: string;
|
|
4631
|
+
parentConversationId: string;
|
|
4632
|
+
parentToolCallId: string;
|
|
4633
|
+
subagentType: string;
|
|
4634
|
+
subagentKind: "agent" | "graph";
|
|
4635
|
+
depth: number;
|
|
4636
|
+
parentAgentId?: string | undefined;
|
|
4637
|
+
}>>;
|
|
3733
4638
|
region: z.ZodOptional<z.ZodString>;
|
|
3734
4639
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3735
4640
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -3787,7 +4692,11 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3787
4692
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
3788
4693
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
3789
4694
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
4695
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
4696
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3790
4697
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
4698
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
4699
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
3791
4700
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
3792
4701
|
user: z.ZodOptional<z.ZodString>;
|
|
3793
4702
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3820,6 +4729,9 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3820
4729
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
3821
4730
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
3822
4731
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
4732
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
4733
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
4734
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
3823
4735
|
}, "strip", z.ZodTypeAny, {
|
|
3824
4736
|
name: string;
|
|
3825
4737
|
pluginKey: string;
|
|
@@ -3836,6 +4748,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3836
4748
|
chatMenu?: boolean | undefined;
|
|
3837
4749
|
isButton?: boolean | undefined;
|
|
3838
4750
|
toolkit?: boolean | undefined;
|
|
4751
|
+
serverToolName?: string | undefined;
|
|
3839
4752
|
}, {
|
|
3840
4753
|
name: string;
|
|
3841
4754
|
pluginKey: string;
|
|
@@ -3852,6 +4765,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3852
4765
|
chatMenu?: boolean | undefined;
|
|
3853
4766
|
isButton?: boolean | undefined;
|
|
3854
4767
|
toolkit?: boolean | undefined;
|
|
4768
|
+
serverToolName?: string | undefined;
|
|
3855
4769
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
3856
4770
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3857
4771
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -3915,6 +4829,8 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3915
4829
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
3916
4830
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
3917
4831
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
4832
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
4833
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
3918
4834
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
3919
4835
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
3920
4836
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -3924,6 +4840,35 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3924
4840
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3925
4841
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3926
4842
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
4843
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
4844
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
4845
|
+
rootConversationId: z.ZodString;
|
|
4846
|
+
parentConversationId: z.ZodString;
|
|
4847
|
+
parentMessageId: z.ZodString;
|
|
4848
|
+
parentToolCallId: z.ZodString;
|
|
4849
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
4850
|
+
subagentType: z.ZodString;
|
|
4851
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
4852
|
+
depth: z.ZodNumber;
|
|
4853
|
+
}, "strip", z.ZodTypeAny, {
|
|
4854
|
+
parentMessageId: string;
|
|
4855
|
+
rootConversationId: string;
|
|
4856
|
+
parentConversationId: string;
|
|
4857
|
+
parentToolCallId: string;
|
|
4858
|
+
subagentType: string;
|
|
4859
|
+
subagentKind: "agent" | "graph";
|
|
4860
|
+
depth: number;
|
|
4861
|
+
parentAgentId?: string | undefined;
|
|
4862
|
+
}, {
|
|
4863
|
+
parentMessageId: string;
|
|
4864
|
+
rootConversationId: string;
|
|
4865
|
+
parentConversationId: string;
|
|
4866
|
+
parentToolCallId: string;
|
|
4867
|
+
subagentType: string;
|
|
4868
|
+
subagentKind: "agent" | "graph";
|
|
4869
|
+
depth: number;
|
|
4870
|
+
parentAgentId?: string | undefined;
|
|
4871
|
+
}>>;
|
|
3927
4872
|
region: z.ZodOptional<z.ZodString>;
|
|
3928
4873
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3929
4874
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -4013,7 +4958,11 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4013
4958
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
4014
4959
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
4015
4960
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
4961
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
4962
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4016
4963
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
4964
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
4965
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
4017
4966
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
4018
4967
|
user: z.ZodOptional<z.ZodString>;
|
|
4019
4968
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4046,6 +4995,9 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4046
4995
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
4047
4996
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
4048
4997
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
4998
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
4999
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
5000
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
4049
5001
|
}, "strip", z.ZodTypeAny, {
|
|
4050
5002
|
name: string;
|
|
4051
5003
|
pluginKey: string;
|
|
@@ -4062,6 +5014,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4062
5014
|
chatMenu?: boolean | undefined;
|
|
4063
5015
|
isButton?: boolean | undefined;
|
|
4064
5016
|
toolkit?: boolean | undefined;
|
|
5017
|
+
serverToolName?: string | undefined;
|
|
4065
5018
|
}, {
|
|
4066
5019
|
name: string;
|
|
4067
5020
|
pluginKey: string;
|
|
@@ -4078,6 +5031,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4078
5031
|
chatMenu?: boolean | undefined;
|
|
4079
5032
|
isButton?: boolean | undefined;
|
|
4080
5033
|
toolkit?: boolean | undefined;
|
|
5034
|
+
serverToolName?: string | undefined;
|
|
4081
5035
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
4082
5036
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4083
5037
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -4141,6 +5095,8 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4141
5095
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
4142
5096
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
4143
5097
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
5098
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
5099
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
4144
5100
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
4145
5101
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
4146
5102
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -4150,6 +5106,35 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4150
5106
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4151
5107
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4152
5108
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
5109
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
5110
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
5111
|
+
rootConversationId: z.ZodString;
|
|
5112
|
+
parentConversationId: z.ZodString;
|
|
5113
|
+
parentMessageId: z.ZodString;
|
|
5114
|
+
parentToolCallId: z.ZodString;
|
|
5115
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
5116
|
+
subagentType: z.ZodString;
|
|
5117
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
5118
|
+
depth: z.ZodNumber;
|
|
5119
|
+
}, "strip", z.ZodTypeAny, {
|
|
5120
|
+
parentMessageId: string;
|
|
5121
|
+
rootConversationId: string;
|
|
5122
|
+
parentConversationId: string;
|
|
5123
|
+
parentToolCallId: string;
|
|
5124
|
+
subagentType: string;
|
|
5125
|
+
subagentKind: "agent" | "graph";
|
|
5126
|
+
depth: number;
|
|
5127
|
+
parentAgentId?: string | undefined;
|
|
5128
|
+
}, {
|
|
5129
|
+
parentMessageId: string;
|
|
5130
|
+
rootConversationId: string;
|
|
5131
|
+
parentConversationId: string;
|
|
5132
|
+
parentToolCallId: string;
|
|
5133
|
+
subagentType: string;
|
|
5134
|
+
subagentKind: "agent" | "graph";
|
|
5135
|
+
depth: number;
|
|
5136
|
+
parentAgentId?: string | undefined;
|
|
5137
|
+
}>>;
|
|
4153
5138
|
region: z.ZodOptional<z.ZodString>;
|
|
4154
5139
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4155
5140
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -4169,7 +5154,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4169
5154
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4170
5155
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4171
5156
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4172
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
|
|
5157
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
|
|
4173
5158
|
model?: string | null | undefined;
|
|
4174
5159
|
modelLabel?: string | null | undefined;
|
|
4175
5160
|
promptPrefix?: string | null | undefined;
|
|
@@ -4185,6 +5170,8 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4185
5170
|
imageDetail?: ImageDetail | undefined;
|
|
4186
5171
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
4187
5172
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
5173
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
5174
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
4188
5175
|
verbosity?: Verbosity | null | undefined;
|
|
4189
5176
|
useResponsesApi?: boolean | undefined;
|
|
4190
5177
|
web_search?: boolean | undefined;
|
|
@@ -4211,6 +5198,8 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4211
5198
|
imageDetail?: ImageDetail | undefined;
|
|
4212
5199
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
4213
5200
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
5201
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
5202
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
4214
5203
|
verbosity?: Verbosity | null | undefined;
|
|
4215
5204
|
useResponsesApi?: boolean | undefined;
|
|
4216
5205
|
web_search?: boolean | undefined;
|
|
@@ -4227,7 +5216,11 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4227
5216
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
4228
5217
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
4229
5218
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
5219
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
5220
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4230
5221
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
5222
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
5223
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
4231
5224
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
4232
5225
|
user: z.ZodOptional<z.ZodString>;
|
|
4233
5226
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4260,6 +5253,9 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4260
5253
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
4261
5254
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
4262
5255
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
5256
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
5257
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
5258
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
4263
5259
|
}, "strip", z.ZodTypeAny, {
|
|
4264
5260
|
name: string;
|
|
4265
5261
|
pluginKey: string;
|
|
@@ -4276,6 +5272,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4276
5272
|
chatMenu?: boolean | undefined;
|
|
4277
5273
|
isButton?: boolean | undefined;
|
|
4278
5274
|
toolkit?: boolean | undefined;
|
|
5275
|
+
serverToolName?: string | undefined;
|
|
4279
5276
|
}, {
|
|
4280
5277
|
name: string;
|
|
4281
5278
|
pluginKey: string;
|
|
@@ -4292,6 +5289,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4292
5289
|
chatMenu?: boolean | undefined;
|
|
4293
5290
|
isButton?: boolean | undefined;
|
|
4294
5291
|
toolkit?: boolean | undefined;
|
|
5292
|
+
serverToolName?: string | undefined;
|
|
4295
5293
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
4296
5294
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4297
5295
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -4355,6 +5353,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4355
5353
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
4356
5354
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
4357
5355
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
5356
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
5357
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
4358
5358
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
4359
5359
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
4360
5360
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -4364,6 +5364,35 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4364
5364
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4365
5365
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4366
5366
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
5367
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
5368
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
5369
|
+
rootConversationId: z.ZodString;
|
|
5370
|
+
parentConversationId: z.ZodString;
|
|
5371
|
+
parentMessageId: z.ZodString;
|
|
5372
|
+
parentToolCallId: z.ZodString;
|
|
5373
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
5374
|
+
subagentType: z.ZodString;
|
|
5375
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
5376
|
+
depth: z.ZodNumber;
|
|
5377
|
+
}, "strip", z.ZodTypeAny, {
|
|
5378
|
+
parentMessageId: string;
|
|
5379
|
+
rootConversationId: string;
|
|
5380
|
+
parentConversationId: string;
|
|
5381
|
+
parentToolCallId: string;
|
|
5382
|
+
subagentType: string;
|
|
5383
|
+
subagentKind: "agent" | "graph";
|
|
5384
|
+
depth: number;
|
|
5385
|
+
parentAgentId?: string | undefined;
|
|
5386
|
+
}, {
|
|
5387
|
+
parentMessageId: string;
|
|
5388
|
+
rootConversationId: string;
|
|
5389
|
+
parentConversationId: string;
|
|
5390
|
+
parentToolCallId: string;
|
|
5391
|
+
subagentType: string;
|
|
5392
|
+
subagentKind: "agent" | "graph";
|
|
5393
|
+
depth: number;
|
|
5394
|
+
parentAgentId?: string | undefined;
|
|
5395
|
+
}>>;
|
|
4367
5396
|
region: z.ZodOptional<z.ZodString>;
|
|
4368
5397
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4369
5398
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -4383,7 +5412,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4383
5412
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4384
5413
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4385
5414
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4386
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
|
|
5415
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
|
|
4387
5416
|
model?: string | null | undefined;
|
|
4388
5417
|
modelLabel?: string | null | undefined;
|
|
4389
5418
|
promptPrefix?: string | null | undefined;
|
|
@@ -4399,6 +5428,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4399
5428
|
imageDetail?: ImageDetail | undefined;
|
|
4400
5429
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
4401
5430
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
5431
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
5432
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
4402
5433
|
verbosity?: Verbosity | null | undefined;
|
|
4403
5434
|
useResponsesApi?: boolean | undefined;
|
|
4404
5435
|
web_search?: boolean | undefined;
|
|
@@ -4425,6 +5456,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4425
5456
|
imageDetail?: ImageDetail | undefined;
|
|
4426
5457
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
4427
5458
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
5459
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
5460
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
4428
5461
|
verbosity?: Verbosity | null | undefined;
|
|
4429
5462
|
useResponsesApi?: boolean | undefined;
|
|
4430
5463
|
web_search?: boolean | undefined;
|
|
@@ -4451,6 +5484,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4451
5484
|
imageDetail?: ImageDetail | undefined;
|
|
4452
5485
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
4453
5486
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
5487
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
5488
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
4454
5489
|
verbosity?: Verbosity | null | undefined;
|
|
4455
5490
|
useResponsesApi?: boolean | undefined;
|
|
4456
5491
|
web_search?: boolean | undefined;
|
|
@@ -4467,7 +5502,11 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4467
5502
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
4468
5503
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
4469
5504
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
5505
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
5506
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4470
5507
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
5508
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
5509
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
4471
5510
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
4472
5511
|
user: z.ZodOptional<z.ZodString>;
|
|
4473
5512
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4500,6 +5539,9 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4500
5539
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
4501
5540
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
4502
5541
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
5542
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
5543
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
5544
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
4503
5545
|
}, "strip", z.ZodTypeAny, {
|
|
4504
5546
|
name: string;
|
|
4505
5547
|
pluginKey: string;
|
|
@@ -4516,6 +5558,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4516
5558
|
chatMenu?: boolean | undefined;
|
|
4517
5559
|
isButton?: boolean | undefined;
|
|
4518
5560
|
toolkit?: boolean | undefined;
|
|
5561
|
+
serverToolName?: string | undefined;
|
|
4519
5562
|
}, {
|
|
4520
5563
|
name: string;
|
|
4521
5564
|
pluginKey: string;
|
|
@@ -4532,6 +5575,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4532
5575
|
chatMenu?: boolean | undefined;
|
|
4533
5576
|
isButton?: boolean | undefined;
|
|
4534
5577
|
toolkit?: boolean | undefined;
|
|
5578
|
+
serverToolName?: string | undefined;
|
|
4535
5579
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
4536
5580
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4537
5581
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -4595,6 +5639,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4595
5639
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
4596
5640
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
4597
5641
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
5642
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
5643
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
4598
5644
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
4599
5645
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
4600
5646
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -4604,6 +5650,35 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4604
5650
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4605
5651
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4606
5652
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
5653
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
5654
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
5655
|
+
rootConversationId: z.ZodString;
|
|
5656
|
+
parentConversationId: z.ZodString;
|
|
5657
|
+
parentMessageId: z.ZodString;
|
|
5658
|
+
parentToolCallId: z.ZodString;
|
|
5659
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
5660
|
+
subagentType: z.ZodString;
|
|
5661
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
5662
|
+
depth: z.ZodNumber;
|
|
5663
|
+
}, "strip", z.ZodTypeAny, {
|
|
5664
|
+
parentMessageId: string;
|
|
5665
|
+
rootConversationId: string;
|
|
5666
|
+
parentConversationId: string;
|
|
5667
|
+
parentToolCallId: string;
|
|
5668
|
+
subagentType: string;
|
|
5669
|
+
subagentKind: "agent" | "graph";
|
|
5670
|
+
depth: number;
|
|
5671
|
+
parentAgentId?: string | undefined;
|
|
5672
|
+
}, {
|
|
5673
|
+
parentMessageId: string;
|
|
5674
|
+
rootConversationId: string;
|
|
5675
|
+
parentConversationId: string;
|
|
5676
|
+
parentToolCallId: string;
|
|
5677
|
+
subagentType: string;
|
|
5678
|
+
subagentKind: "agent" | "graph";
|
|
5679
|
+
depth: number;
|
|
5680
|
+
parentAgentId?: string | undefined;
|
|
5681
|
+
}>>;
|
|
4607
5682
|
region: z.ZodOptional<z.ZodString>;
|
|
4608
5683
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4609
5684
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -4623,12 +5698,16 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4623
5698
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4624
5699
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4625
5700
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4626
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel"> & Pick<{
|
|
5701
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel"> & Pick<{
|
|
4627
5702
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
4628
5703
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
4629
5704
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
4630
5705
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
5706
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
5707
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4631
5708
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
5709
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
5710
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
4632
5711
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
4633
5712
|
user: z.ZodOptional<z.ZodString>;
|
|
4634
5713
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4661,6 +5740,9 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4661
5740
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
4662
5741
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
4663
5742
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
5743
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
5744
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
5745
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
4664
5746
|
}, "strip", z.ZodTypeAny, {
|
|
4665
5747
|
name: string;
|
|
4666
5748
|
pluginKey: string;
|
|
@@ -4677,6 +5759,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4677
5759
|
chatMenu?: boolean | undefined;
|
|
4678
5760
|
isButton?: boolean | undefined;
|
|
4679
5761
|
toolkit?: boolean | undefined;
|
|
5762
|
+
serverToolName?: string | undefined;
|
|
4680
5763
|
}, {
|
|
4681
5764
|
name: string;
|
|
4682
5765
|
pluginKey: string;
|
|
@@ -4693,6 +5776,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4693
5776
|
chatMenu?: boolean | undefined;
|
|
4694
5777
|
isButton?: boolean | undefined;
|
|
4695
5778
|
toolkit?: boolean | undefined;
|
|
5779
|
+
serverToolName?: string | undefined;
|
|
4696
5780
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
4697
5781
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4698
5782
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -4756,6 +5840,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4756
5840
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
4757
5841
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
4758
5842
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
5843
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
5844
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
4759
5845
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
4760
5846
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
4761
5847
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -4765,6 +5851,35 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4765
5851
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4766
5852
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4767
5853
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
5854
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
5855
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
5856
|
+
rootConversationId: z.ZodString;
|
|
5857
|
+
parentConversationId: z.ZodString;
|
|
5858
|
+
parentMessageId: z.ZodString;
|
|
5859
|
+
parentToolCallId: z.ZodString;
|
|
5860
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
5861
|
+
subagentType: z.ZodString;
|
|
5862
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
5863
|
+
depth: z.ZodNumber;
|
|
5864
|
+
}, "strip", z.ZodTypeAny, {
|
|
5865
|
+
parentMessageId: string;
|
|
5866
|
+
rootConversationId: string;
|
|
5867
|
+
parentConversationId: string;
|
|
5868
|
+
parentToolCallId: string;
|
|
5869
|
+
subagentType: string;
|
|
5870
|
+
subagentKind: "agent" | "graph";
|
|
5871
|
+
depth: number;
|
|
5872
|
+
parentAgentId?: string | undefined;
|
|
5873
|
+
}, {
|
|
5874
|
+
parentMessageId: string;
|
|
5875
|
+
rootConversationId: string;
|
|
5876
|
+
parentConversationId: string;
|
|
5877
|
+
parentToolCallId: string;
|
|
5878
|
+
subagentType: string;
|
|
5879
|
+
subagentKind: "agent" | "graph";
|
|
5880
|
+
depth: number;
|
|
5881
|
+
parentAgentId?: string | undefined;
|
|
5882
|
+
}>>;
|
|
4768
5883
|
region: z.ZodOptional<z.ZodString>;
|
|
4769
5884
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4770
5885
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -4802,6 +5917,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4802
5917
|
imageDetail?: ImageDetail | undefined;
|
|
4803
5918
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
4804
5919
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
5920
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
5921
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
4805
5922
|
verbosity?: Verbosity | null | undefined;
|
|
4806
5923
|
useResponsesApi?: boolean | undefined;
|
|
4807
5924
|
web_search?: boolean | undefined;
|
|
@@ -4830,6 +5947,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4830
5947
|
imageDetail?: ImageDetail | undefined;
|
|
4831
5948
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
4832
5949
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
5950
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
5951
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
4833
5952
|
verbosity?: Verbosity | null | undefined;
|
|
4834
5953
|
useResponsesApi?: boolean | undefined;
|
|
4835
5954
|
web_search?: boolean | undefined;
|
|
@@ -4858,6 +5977,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4858
5977
|
imageDetail?: ImageDetail | undefined;
|
|
4859
5978
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
4860
5979
|
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
5980
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
5981
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
4861
5982
|
verbosity?: Verbosity | null | undefined;
|
|
4862
5983
|
useResponsesApi?: boolean | undefined;
|
|
4863
5984
|
web_search?: boolean | undefined;
|
|
@@ -4874,7 +5995,11 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4874
5995
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
4875
5996
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
4876
5997
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
5998
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
5999
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4877
6000
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
6001
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
6002
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
4878
6003
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
4879
6004
|
user: z.ZodOptional<z.ZodString>;
|
|
4880
6005
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4907,6 +6032,9 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4907
6032
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
4908
6033
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
4909
6034
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
6035
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
6036
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
6037
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
4910
6038
|
}, "strip", z.ZodTypeAny, {
|
|
4911
6039
|
name: string;
|
|
4912
6040
|
pluginKey: string;
|
|
@@ -4923,6 +6051,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4923
6051
|
chatMenu?: boolean | undefined;
|
|
4924
6052
|
isButton?: boolean | undefined;
|
|
4925
6053
|
toolkit?: boolean | undefined;
|
|
6054
|
+
serverToolName?: string | undefined;
|
|
4926
6055
|
}, {
|
|
4927
6056
|
name: string;
|
|
4928
6057
|
pluginKey: string;
|
|
@@ -4939,6 +6068,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4939
6068
|
chatMenu?: boolean | undefined;
|
|
4940
6069
|
isButton?: boolean | undefined;
|
|
4941
6070
|
toolkit?: boolean | undefined;
|
|
6071
|
+
serverToolName?: string | undefined;
|
|
4942
6072
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
4943
6073
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4944
6074
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -5002,6 +6132,8 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5002
6132
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
5003
6133
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
5004
6134
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
6135
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
6136
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
5005
6137
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
5006
6138
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
5007
6139
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -5011,6 +6143,35 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5011
6143
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5012
6144
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5013
6145
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
6146
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
6147
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
6148
|
+
rootConversationId: z.ZodString;
|
|
6149
|
+
parentConversationId: z.ZodString;
|
|
6150
|
+
parentMessageId: z.ZodString;
|
|
6151
|
+
parentToolCallId: z.ZodString;
|
|
6152
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
6153
|
+
subagentType: z.ZodString;
|
|
6154
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
6155
|
+
depth: z.ZodNumber;
|
|
6156
|
+
}, "strip", z.ZodTypeAny, {
|
|
6157
|
+
parentMessageId: string;
|
|
6158
|
+
rootConversationId: string;
|
|
6159
|
+
parentConversationId: string;
|
|
6160
|
+
parentToolCallId: string;
|
|
6161
|
+
subagentType: string;
|
|
6162
|
+
subagentKind: "agent" | "graph";
|
|
6163
|
+
depth: number;
|
|
6164
|
+
parentAgentId?: string | undefined;
|
|
6165
|
+
}, {
|
|
6166
|
+
parentMessageId: string;
|
|
6167
|
+
rootConversationId: string;
|
|
6168
|
+
parentConversationId: string;
|
|
6169
|
+
parentToolCallId: string;
|
|
6170
|
+
subagentType: string;
|
|
6171
|
+
subagentKind: "agent" | "graph";
|
|
6172
|
+
depth: number;
|
|
6173
|
+
parentAgentId?: string | undefined;
|
|
6174
|
+
}>>;
|
|
5014
6175
|
region: z.ZodOptional<z.ZodString>;
|
|
5015
6176
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
5016
6177
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -5030,7 +6191,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5030
6191
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
5031
6192
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
5032
6193
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5033
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
6194
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "resendFiles" | "web_search" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
5034
6195
|
model?: string | null | undefined;
|
|
5035
6196
|
modelLabel?: string | null | undefined;
|
|
5036
6197
|
promptPrefix?: string | null | undefined;
|
|
@@ -5052,6 +6213,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5052
6213
|
};
|
|
5053
6214
|
}[] | undefined;
|
|
5054
6215
|
chatProjectId?: string | null | undefined;
|
|
6216
|
+
resendFiles?: boolean | undefined;
|
|
5055
6217
|
web_search?: boolean | undefined;
|
|
5056
6218
|
url_context?: boolean | undefined;
|
|
5057
6219
|
greeting?: string | undefined;
|
|
@@ -5080,6 +6242,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5080
6242
|
};
|
|
5081
6243
|
}[] | undefined;
|
|
5082
6244
|
chatProjectId?: string | null | undefined;
|
|
6245
|
+
resendFiles?: boolean | undefined;
|
|
5083
6246
|
web_search?: boolean | undefined;
|
|
5084
6247
|
url_context?: boolean | undefined;
|
|
5085
6248
|
greeting?: string | undefined;
|
|
@@ -5108,6 +6271,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5108
6271
|
};
|
|
5109
6272
|
}[] | undefined;
|
|
5110
6273
|
chatProjectId?: string | null | undefined;
|
|
6274
|
+
resendFiles?: boolean | undefined;
|
|
5111
6275
|
web_search?: boolean | undefined;
|
|
5112
6276
|
url_context?: boolean | undefined;
|
|
5113
6277
|
greeting?: string | undefined;
|
|
@@ -5120,7 +6284,11 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5120
6284
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
5121
6285
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
5122
6286
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
6287
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
6288
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5123
6289
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
6290
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
6291
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
5124
6292
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
5125
6293
|
user: z.ZodOptional<z.ZodString>;
|
|
5126
6294
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5153,6 +6321,9 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5153
6321
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
5154
6322
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
5155
6323
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
6324
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
6325
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
6326
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
5156
6327
|
}, "strip", z.ZodTypeAny, {
|
|
5157
6328
|
name: string;
|
|
5158
6329
|
pluginKey: string;
|
|
@@ -5169,6 +6340,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5169
6340
|
chatMenu?: boolean | undefined;
|
|
5170
6341
|
isButton?: boolean | undefined;
|
|
5171
6342
|
toolkit?: boolean | undefined;
|
|
6343
|
+
serverToolName?: string | undefined;
|
|
5172
6344
|
}, {
|
|
5173
6345
|
name: string;
|
|
5174
6346
|
pluginKey: string;
|
|
@@ -5185,6 +6357,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5185
6357
|
chatMenu?: boolean | undefined;
|
|
5186
6358
|
isButton?: boolean | undefined;
|
|
5187
6359
|
toolkit?: boolean | undefined;
|
|
6360
|
+
serverToolName?: string | undefined;
|
|
5188
6361
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
5189
6362
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5190
6363
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -5248,6 +6421,8 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5248
6421
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
5249
6422
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
5250
6423
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
6424
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
6425
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
5251
6426
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
5252
6427
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
5253
6428
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -5257,6 +6432,35 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5257
6432
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5258
6433
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5259
6434
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
6435
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
6436
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
6437
|
+
rootConversationId: z.ZodString;
|
|
6438
|
+
parentConversationId: z.ZodString;
|
|
6439
|
+
parentMessageId: z.ZodString;
|
|
6440
|
+
parentToolCallId: z.ZodString;
|
|
6441
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
6442
|
+
subagentType: z.ZodString;
|
|
6443
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
6444
|
+
depth: z.ZodNumber;
|
|
6445
|
+
}, "strip", z.ZodTypeAny, {
|
|
6446
|
+
parentMessageId: string;
|
|
6447
|
+
rootConversationId: string;
|
|
6448
|
+
parentConversationId: string;
|
|
6449
|
+
parentToolCallId: string;
|
|
6450
|
+
subagentType: string;
|
|
6451
|
+
subagentKind: "agent" | "graph";
|
|
6452
|
+
depth: number;
|
|
6453
|
+
parentAgentId?: string | undefined;
|
|
6454
|
+
}, {
|
|
6455
|
+
parentMessageId: string;
|
|
6456
|
+
rootConversationId: string;
|
|
6457
|
+
parentConversationId: string;
|
|
6458
|
+
parentToolCallId: string;
|
|
6459
|
+
subagentType: string;
|
|
6460
|
+
subagentKind: "agent" | "graph";
|
|
6461
|
+
depth: number;
|
|
6462
|
+
parentAgentId?: string | undefined;
|
|
6463
|
+
}>>;
|
|
5260
6464
|
region: z.ZodOptional<z.ZodString>;
|
|
5261
6465
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
5262
6466
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -5332,7 +6536,11 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5332
6536
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
5333
6537
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
5334
6538
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
6539
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
6540
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5335
6541
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
6542
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
6543
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
5336
6544
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
5337
6545
|
user: z.ZodOptional<z.ZodString>;
|
|
5338
6546
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5365,6 +6573,9 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5365
6573
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
5366
6574
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
5367
6575
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
6576
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
6577
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
6578
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
5368
6579
|
}, "strip", z.ZodTypeAny, {
|
|
5369
6580
|
name: string;
|
|
5370
6581
|
pluginKey: string;
|
|
@@ -5381,6 +6592,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5381
6592
|
chatMenu?: boolean | undefined;
|
|
5382
6593
|
isButton?: boolean | undefined;
|
|
5383
6594
|
toolkit?: boolean | undefined;
|
|
6595
|
+
serverToolName?: string | undefined;
|
|
5384
6596
|
}, {
|
|
5385
6597
|
name: string;
|
|
5386
6598
|
pluginKey: string;
|
|
@@ -5397,6 +6609,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5397
6609
|
chatMenu?: boolean | undefined;
|
|
5398
6610
|
isButton?: boolean | undefined;
|
|
5399
6611
|
toolkit?: boolean | undefined;
|
|
6612
|
+
serverToolName?: string | undefined;
|
|
5400
6613
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
5401
6614
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5402
6615
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -5460,6 +6673,8 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5460
6673
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
5461
6674
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
5462
6675
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
6676
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
6677
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
5463
6678
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
5464
6679
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
5465
6680
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -5469,6 +6684,35 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5469
6684
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5470
6685
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5471
6686
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
6687
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
6688
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
6689
|
+
rootConversationId: z.ZodString;
|
|
6690
|
+
parentConversationId: z.ZodString;
|
|
6691
|
+
parentMessageId: z.ZodString;
|
|
6692
|
+
parentToolCallId: z.ZodString;
|
|
6693
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
6694
|
+
subagentType: z.ZodString;
|
|
6695
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
6696
|
+
depth: z.ZodNumber;
|
|
6697
|
+
}, "strip", z.ZodTypeAny, {
|
|
6698
|
+
parentMessageId: string;
|
|
6699
|
+
rootConversationId: string;
|
|
6700
|
+
parentConversationId: string;
|
|
6701
|
+
parentToolCallId: string;
|
|
6702
|
+
subagentType: string;
|
|
6703
|
+
subagentKind: "agent" | "graph";
|
|
6704
|
+
depth: number;
|
|
6705
|
+
parentAgentId?: string | undefined;
|
|
6706
|
+
}, {
|
|
6707
|
+
parentMessageId: string;
|
|
6708
|
+
rootConversationId: string;
|
|
6709
|
+
parentConversationId: string;
|
|
6710
|
+
parentToolCallId: string;
|
|
6711
|
+
subagentType: string;
|
|
6712
|
+
subagentKind: "agent" | "graph";
|
|
6713
|
+
depth: number;
|
|
6714
|
+
parentAgentId?: string | undefined;
|
|
6715
|
+
}>>;
|
|
5472
6716
|
region: z.ZodOptional<z.ZodString>;
|
|
5473
6717
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
5474
6718
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -5623,7 +6867,11 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5623
6867
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
5624
6868
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
5625
6869
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
6870
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
6871
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5626
6872
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
6873
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
6874
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
5627
6875
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
5628
6876
|
user: z.ZodOptional<z.ZodString>;
|
|
5629
6877
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5656,6 +6904,9 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5656
6904
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
5657
6905
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
5658
6906
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
6907
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
6908
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
6909
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
5659
6910
|
}, "strip", z.ZodTypeAny, {
|
|
5660
6911
|
name: string;
|
|
5661
6912
|
pluginKey: string;
|
|
@@ -5672,6 +6923,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5672
6923
|
chatMenu?: boolean | undefined;
|
|
5673
6924
|
isButton?: boolean | undefined;
|
|
5674
6925
|
toolkit?: boolean | undefined;
|
|
6926
|
+
serverToolName?: string | undefined;
|
|
5675
6927
|
}, {
|
|
5676
6928
|
name: string;
|
|
5677
6929
|
pluginKey: string;
|
|
@@ -5688,6 +6940,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5688
6940
|
chatMenu?: boolean | undefined;
|
|
5689
6941
|
isButton?: boolean | undefined;
|
|
5690
6942
|
toolkit?: boolean | undefined;
|
|
6943
|
+
serverToolName?: string | undefined;
|
|
5691
6944
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
5692
6945
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5693
6946
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -5751,6 +7004,8 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5751
7004
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
5752
7005
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
5753
7006
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
7007
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
7008
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
5754
7009
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
5755
7010
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
5756
7011
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -5760,6 +7015,35 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5760
7015
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5761
7016
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5762
7017
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
7018
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
7019
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
7020
|
+
rootConversationId: z.ZodString;
|
|
7021
|
+
parentConversationId: z.ZodString;
|
|
7022
|
+
parentMessageId: z.ZodString;
|
|
7023
|
+
parentToolCallId: z.ZodString;
|
|
7024
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
7025
|
+
subagentType: z.ZodString;
|
|
7026
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
7027
|
+
depth: z.ZodNumber;
|
|
7028
|
+
}, "strip", z.ZodTypeAny, {
|
|
7029
|
+
parentMessageId: string;
|
|
7030
|
+
rootConversationId: string;
|
|
7031
|
+
parentConversationId: string;
|
|
7032
|
+
parentToolCallId: string;
|
|
7033
|
+
subagentType: string;
|
|
7034
|
+
subagentKind: "agent" | "graph";
|
|
7035
|
+
depth: number;
|
|
7036
|
+
parentAgentId?: string | undefined;
|
|
7037
|
+
}, {
|
|
7038
|
+
parentMessageId: string;
|
|
7039
|
+
rootConversationId: string;
|
|
7040
|
+
parentConversationId: string;
|
|
7041
|
+
parentToolCallId: string;
|
|
7042
|
+
subagentType: string;
|
|
7043
|
+
subagentKind: "agent" | "graph";
|
|
7044
|
+
depth: number;
|
|
7045
|
+
parentAgentId?: string | undefined;
|
|
7046
|
+
}>>;
|
|
5763
7047
|
region: z.ZodOptional<z.ZodString>;
|
|
5764
7048
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
5765
7049
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -5801,7 +7085,11 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5801
7085
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
5802
7086
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
5803
7087
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
7088
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
7089
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5804
7090
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
7091
|
+
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
7092
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
5805
7093
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
5806
7094
|
user: z.ZodOptional<z.ZodString>;
|
|
5807
7095
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5834,6 +7122,9 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5834
7122
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
5835
7123
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
5836
7124
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
7125
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
7126
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
7127
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
5837
7128
|
}, "strip", z.ZodTypeAny, {
|
|
5838
7129
|
name: string;
|
|
5839
7130
|
pluginKey: string;
|
|
@@ -5850,6 +7141,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5850
7141
|
chatMenu?: boolean | undefined;
|
|
5851
7142
|
isButton?: boolean | undefined;
|
|
5852
7143
|
toolkit?: boolean | undefined;
|
|
7144
|
+
serverToolName?: string | undefined;
|
|
5853
7145
|
}, {
|
|
5854
7146
|
name: string;
|
|
5855
7147
|
pluginKey: string;
|
|
@@ -5866,6 +7158,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5866
7158
|
chatMenu?: boolean | undefined;
|
|
5867
7159
|
isButton?: boolean | undefined;
|
|
5868
7160
|
toolkit?: boolean | undefined;
|
|
7161
|
+
serverToolName?: string | undefined;
|
|
5869
7162
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
5870
7163
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5871
7164
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -5929,6 +7222,8 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5929
7222
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
5930
7223
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
5931
7224
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
7225
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
|
|
7226
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
|
|
5932
7227
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
5933
7228
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
5934
7229
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
@@ -5938,6 +7233,35 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5938
7233
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5939
7234
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5940
7235
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
7236
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
7237
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
7238
|
+
rootConversationId: z.ZodString;
|
|
7239
|
+
parentConversationId: z.ZodString;
|
|
7240
|
+
parentMessageId: z.ZodString;
|
|
7241
|
+
parentToolCallId: z.ZodString;
|
|
7242
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
7243
|
+
subagentType: z.ZodString;
|
|
7244
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
7245
|
+
depth: z.ZodNumber;
|
|
7246
|
+
}, "strip", z.ZodTypeAny, {
|
|
7247
|
+
parentMessageId: string;
|
|
7248
|
+
rootConversationId: string;
|
|
7249
|
+
parentConversationId: string;
|
|
7250
|
+
parentToolCallId: string;
|
|
7251
|
+
subagentType: string;
|
|
7252
|
+
subagentKind: "agent" | "graph";
|
|
7253
|
+
depth: number;
|
|
7254
|
+
parentAgentId?: string | undefined;
|
|
7255
|
+
}, {
|
|
7256
|
+
parentMessageId: string;
|
|
7257
|
+
rootConversationId: string;
|
|
7258
|
+
parentConversationId: string;
|
|
7259
|
+
parentToolCallId: string;
|
|
7260
|
+
subagentType: string;
|
|
7261
|
+
subagentKind: "agent" | "graph";
|
|
7262
|
+
depth: number;
|
|
7263
|
+
parentAgentId?: string | undefined;
|
|
7264
|
+
}>>;
|
|
5941
7265
|
region: z.ZodOptional<z.ZodString>;
|
|
5942
7266
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
5943
7267
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|