librechat-data-provider 0.8.521 → 0.8.523
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-pwrlWjJs.mjs → data-service-Bx6IFaSa.mjs} +1770 -51
- package/dist/data-service-Bx6IFaSa.mjs.map +1 -0
- package/dist/{data-service-DOIF4BkW.js → data-service-CTX0tVO5.js} +2509 -112
- package/dist/data-service-CTX0tVO5.js.map +1 -0
- package/dist/index.js +1503 -54
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1314 -55
- 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 +58 -1
- package/dist/types/actions.d.ts +2 -2
- package/dist/types/agentToolOptions.d.ts +11 -0
- package/dist/types/api-endpoints.d.ts +24 -0
- package/dist/types/bedrock.d.ts +238 -10
- package/dist/types/cadence.d.ts +33 -0
- package/dist/types/code/approval.d.ts +26 -0
- package/dist/types/code/worker.d.ts +10 -0
- package/dist/types/code/workspace.d.ts +28 -0
- package/dist/types/codeEnvRef.d.ts +26 -0
- package/dist/types/config.d.ts +13180 -3021
- package/dist/types/data-service.d.ts +48 -2
- package/dist/types/errors.d.ts +2 -0
- package/dist/types/file-config.d.ts +138 -9
- package/dist/types/filters.d.ts +1422 -0
- package/dist/types/generate.d.ts +103 -1
- package/dist/types/index.d.ts +17 -0
- package/dist/types/keys.d.ts +33 -2
- package/dist/types/langchain.d.ts +4 -0
- package/dist/types/limits.d.ts +13 -0
- package/dist/types/mcp.d.ts +555 -460
- package/dist/types/messages.d.ts +24 -0
- package/dist/types/models.d.ts +1112 -319
- package/dist/types/parameterSettings.d.ts +13 -1
- package/dist/types/parsers.d.ts +10 -0
- package/dist/types/permissions.d.ts +42 -1
- package/dist/types/providers.d.ts +37 -0
- package/dist/types/request.d.ts +2 -2
- package/dist/types/resolve-llm-delivery-path.d.ts +68 -0
- package/dist/types/roles.d.ts +34 -0
- package/dist/types/runSteps.d.ts +59 -0
- package/dist/types/schemas.d.ts +1724 -248
- package/dist/types/stateful-code.d.ts +7 -0
- package/dist/types/svg.d.ts +34 -0
- package/dist/types/types/agents.d.ts +116 -7
- package/dist/types/types/assistants.d.ts +121 -6
- package/dist/types/types/files.d.ts +46 -2
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/insights.d.ts +71 -0
- package/dist/types/types/mutations.d.ts +1 -0
- package/dist/types/types/queries.d.ts +37 -2
- package/dist/types/types/queuedTurns.d.ts +870 -0
- package/dist/types/types/runs.d.ts +119 -9
- package/dist/types/types/schedules.d.ts +339 -0
- package/dist/types/types/skills.d.ts +9 -0
- package/dist/types/types/subagents.d.ts +159 -0
- package/dist/types/types/traces.d.ts +85 -0
- package/dist/types/types/web.d.ts +12 -2
- package/dist/types/types.d.ts +101 -1
- package/package.json +5 -3
- package/dist/data-service-DOIF4BkW.js.map +0 -1
- package/dist/data-service-pwrlWjJs.mjs.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';
|
|
@@ -56,6 +56,14 @@ export declare const isOpenAILikeProvider: (provider?: string | null) => boolean
|
|
|
56
56
|
export declare const cacheSubsetProviders: Set<string>;
|
|
57
57
|
export declare const inputTokensIncludesCache: (provider?: string | null) => boolean;
|
|
58
58
|
export declare const isDocumentSupportedProvider: (provider?: string | null) => boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Endpoints whose encoders actually build native audio/video payloads. Narrower than
|
|
61
|
+
* `documentSupportedProviders`: a provider can accept PDFs and still emit nothing for
|
|
62
|
+
* media, in which case the upload has to fall back to text/STT.
|
|
63
|
+
*/
|
|
64
|
+
export declare const mediaSupportedProviders: Set<string>;
|
|
65
|
+
export declare const isMediaSupportedProvider: (provider?: string | null) => boolean;
|
|
66
|
+
export declare const isKnownProviderIdentifier: (provider?: string | null) => boolean;
|
|
59
67
|
export declare const paramEndpoints: Set<string>;
|
|
60
68
|
export declare enum BedrockProviders {
|
|
61
69
|
AI21 = "ai21",
|
|
@@ -220,6 +228,9 @@ export declare const defaultAgentFormValues: {
|
|
|
220
228
|
file_search: boolean;
|
|
221
229
|
web_search: boolean;
|
|
222
230
|
memory: boolean;
|
|
231
|
+
stateful_code_environment: "user";
|
|
232
|
+
code_environment_id: string | null | undefined;
|
|
233
|
+
code_workspace_id: string | undefined;
|
|
223
234
|
category: string;
|
|
224
235
|
support_contact: {
|
|
225
236
|
name: string;
|
|
@@ -231,17 +242,29 @@ export declare const defaultAgentFormValues: {
|
|
|
231
242
|
/** Master toggle for skill use on this agent. `true` activates skills
|
|
232
243
|
* (full catalog unless `skills` narrows it). Anything else = inactive. */
|
|
233
244
|
skills_enabled: boolean | undefined;
|
|
245
|
+
/** Enables runtime skill creation without exposing an existing skill catalog. */
|
|
246
|
+
skill_authoring_enabled: boolean | undefined;
|
|
247
|
+
/** Explicit catalog scope. Missing preserves the legacy enabled + empty = all behavior. */
|
|
248
|
+
skills_scope: SkillsScope | undefined;
|
|
234
249
|
/** `undefined` = feature disabled by default (no subagent tool injected). */
|
|
235
250
|
subagents: {
|
|
236
251
|
enabled?: boolean;
|
|
237
252
|
allowSelf?: boolean;
|
|
238
253
|
agent_ids?: string[];
|
|
254
|
+
graphs?: AgentSubagentGraph[];
|
|
239
255
|
} | undefined;
|
|
240
256
|
/** Memory partition: 'agent' isolates memories per (user, agent); default shared pool */
|
|
241
257
|
memory_scope: MemoryScope | undefined;
|
|
242
258
|
};
|
|
243
259
|
export declare const ImageVisionTool: FunctionTool;
|
|
244
|
-
|
|
260
|
+
/** Structural on purpose: accepts assistants tools/tool calls and agents function tool
|
|
261
|
+
* calls alike — the check only ever reads `type` and `function.name`. */
|
|
262
|
+
export declare const isImageVisionTool: (tool: {
|
|
263
|
+
type?: string;
|
|
264
|
+
function?: {
|
|
265
|
+
name?: string;
|
|
266
|
+
};
|
|
267
|
+
}) => boolean;
|
|
245
268
|
export declare const openAISettings: {
|
|
246
269
|
model: {
|
|
247
270
|
default: "gpt-4o-mini";
|
|
@@ -286,10 +309,21 @@ export declare const openAISettings: {
|
|
|
286
309
|
step: 1;
|
|
287
310
|
};
|
|
288
311
|
};
|
|
312
|
+
export type GoogleThinkingBudgetBounds = {
|
|
313
|
+
min: number;
|
|
314
|
+
max: number;
|
|
315
|
+
};
|
|
316
|
+
export declare const getGoogleThinkingBudgetBounds: (modelName: string) => GoogleThinkingBudgetBounds | undefined;
|
|
317
|
+
export declare const getGoogleThinkingBudgetMax: (modelName: string) => number | undefined;
|
|
289
318
|
export declare const googleSettings: {
|
|
290
319
|
model: {
|
|
291
320
|
default: "gemini-1.5-flash-latest";
|
|
292
321
|
};
|
|
322
|
+
maxContextTokens: {
|
|
323
|
+
min: 10;
|
|
324
|
+
max: 2000000;
|
|
325
|
+
step: 1000;
|
|
326
|
+
};
|
|
293
327
|
maxOutputTokens: {
|
|
294
328
|
min: 1;
|
|
295
329
|
max: 65535;
|
|
@@ -508,6 +542,11 @@ export declare const endpointSettings: {
|
|
|
508
542
|
model: {
|
|
509
543
|
default: "gemini-1.5-flash-latest";
|
|
510
544
|
};
|
|
545
|
+
maxContextTokens: {
|
|
546
|
+
min: 10;
|
|
547
|
+
max: 2000000;
|
|
548
|
+
step: 1000;
|
|
549
|
+
};
|
|
511
550
|
maxOutputTokens: {
|
|
512
551
|
min: 1;
|
|
513
552
|
max: 65535;
|
|
@@ -756,6 +795,9 @@ export declare const tPluginSchema: z.ZodObject<{
|
|
|
756
795
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
757
796
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
758
797
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
798
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
799
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
800
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
759
801
|
}, "strip", z.ZodTypeAny, {
|
|
760
802
|
name: string;
|
|
761
803
|
pluginKey: string;
|
|
@@ -772,6 +814,7 @@ export declare const tPluginSchema: z.ZodObject<{
|
|
|
772
814
|
chatMenu?: boolean | undefined;
|
|
773
815
|
isButton?: boolean | undefined;
|
|
774
816
|
toolkit?: boolean | undefined;
|
|
817
|
+
serverToolName?: string | undefined;
|
|
775
818
|
}, {
|
|
776
819
|
name: string;
|
|
777
820
|
pluginKey: string;
|
|
@@ -788,6 +831,7 @@ export declare const tPluginSchema: z.ZodObject<{
|
|
|
788
831
|
chatMenu?: boolean | undefined;
|
|
789
832
|
isButton?: boolean | undefined;
|
|
790
833
|
toolkit?: boolean | undefined;
|
|
834
|
+
serverToolName?: string | undefined;
|
|
791
835
|
}>;
|
|
792
836
|
export type TPlugin = z.infer<typeof tPluginSchema>;
|
|
793
837
|
export type TInput = {
|
|
@@ -840,6 +884,21 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
840
884
|
/** @deprecated */
|
|
841
885
|
generation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
842
886
|
isCreatedByUser: z.ZodBoolean;
|
|
887
|
+
/** True when the complete stored row came from outside the model. */
|
|
888
|
+
isUserSubmitted: z.ZodOptional<z.ZodBoolean>;
|
|
889
|
+
/** JSON pointers to caller-authored fields in an otherwise mixed model response. */
|
|
890
|
+
userSubmittedPaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
891
|
+
/** Exact HITL message-field identity for caller-authored values stored in mixed responses. */
|
|
892
|
+
userSubmittedMessageFieldPaths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
893
|
+
path: z.ZodString;
|
|
894
|
+
field: z.ZodEnum<["answer", "decision_response", "decision_reason"]>;
|
|
895
|
+
}, "strict", z.ZodTypeAny, {
|
|
896
|
+
path: string;
|
|
897
|
+
field: "answer" | "decision_response" | "decision_reason";
|
|
898
|
+
}, {
|
|
899
|
+
path: string;
|
|
900
|
+
field: "answer" | "decision_response" | "decision_reason";
|
|
901
|
+
}>, "many">>;
|
|
843
902
|
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
844
903
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
845
904
|
error: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -880,12 +939,64 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
880
939
|
contextMeta: z.ZodOptional<z.ZodObject<{
|
|
881
940
|
calibrationRatio: z.ZodOptional<z.ZodNumber>;
|
|
882
941
|
encoding: z.ZodOptional<z.ZodString>;
|
|
942
|
+
fading: z.ZodOptional<z.ZodObject<{
|
|
943
|
+
v: z.ZodLiteral<1>;
|
|
944
|
+
budgetTokens: z.ZodNumber;
|
|
945
|
+
masked: z.ZodBoolean;
|
|
946
|
+
}, "strip", z.ZodTypeAny, {
|
|
947
|
+
v: 1;
|
|
948
|
+
budgetTokens: number;
|
|
949
|
+
masked: boolean;
|
|
950
|
+
}, {
|
|
951
|
+
v: 1;
|
|
952
|
+
budgetTokens: number;
|
|
953
|
+
masked: boolean;
|
|
954
|
+
}>>;
|
|
955
|
+
fadingTiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
956
|
+
v: z.ZodLiteral<1>;
|
|
957
|
+
budgetTokens: z.ZodNumber;
|
|
958
|
+
masked: z.ZodBoolean;
|
|
959
|
+
} & {
|
|
960
|
+
agentId: z.ZodString;
|
|
961
|
+
}, "strip", z.ZodTypeAny, {
|
|
962
|
+
agentId: string;
|
|
963
|
+
v: 1;
|
|
964
|
+
budgetTokens: number;
|
|
965
|
+
masked: boolean;
|
|
966
|
+
}, {
|
|
967
|
+
agentId: string;
|
|
968
|
+
v: 1;
|
|
969
|
+
budgetTokens: number;
|
|
970
|
+
masked: boolean;
|
|
971
|
+
}>, "many">>;
|
|
883
972
|
}, "strip", z.ZodTypeAny, {
|
|
884
973
|
calibrationRatio?: number | undefined;
|
|
885
974
|
encoding?: string | undefined;
|
|
975
|
+
fading?: {
|
|
976
|
+
v: 1;
|
|
977
|
+
budgetTokens: number;
|
|
978
|
+
masked: boolean;
|
|
979
|
+
} | undefined;
|
|
980
|
+
fadingTiers?: {
|
|
981
|
+
agentId: string;
|
|
982
|
+
v: 1;
|
|
983
|
+
budgetTokens: number;
|
|
984
|
+
masked: boolean;
|
|
985
|
+
}[] | undefined;
|
|
886
986
|
}, {
|
|
887
987
|
calibrationRatio?: number | undefined;
|
|
888
988
|
encoding?: string | undefined;
|
|
989
|
+
fading?: {
|
|
990
|
+
v: 1;
|
|
991
|
+
budgetTokens: number;
|
|
992
|
+
masked: boolean;
|
|
993
|
+
} | undefined;
|
|
994
|
+
fadingTiers?: {
|
|
995
|
+
agentId: string;
|
|
996
|
+
v: 1;
|
|
997
|
+
budgetTokens: number;
|
|
998
|
+
masked: boolean;
|
|
999
|
+
}[] | undefined;
|
|
889
1000
|
}>>;
|
|
890
1001
|
/**
|
|
891
1002
|
* Skill names the user invoked manually via the `$` popover on this turn.
|
|
@@ -913,16 +1024,18 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
913
1024
|
*/
|
|
914
1025
|
quotes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
915
1026
|
}, "strip", z.ZodTypeAny, {
|
|
1027
|
+
text: string;
|
|
916
1028
|
conversationId: string | null;
|
|
917
1029
|
title: string | null;
|
|
918
1030
|
parentMessageId: string | null;
|
|
919
1031
|
createdAt: string;
|
|
920
1032
|
updatedAt: string;
|
|
921
|
-
text: string;
|
|
922
1033
|
messageId: string;
|
|
923
1034
|
isCreatedByUser: boolean;
|
|
924
|
-
model?: string | null | undefined;
|
|
925
1035
|
endpoint?: string | undefined;
|
|
1036
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1037
|
+
model?: string | null | undefined;
|
|
1038
|
+
error?: boolean | undefined;
|
|
926
1039
|
iconURL?: string | null | undefined;
|
|
927
1040
|
expiredAt?: string | null | undefined;
|
|
928
1041
|
isTemporary?: boolean | undefined;
|
|
@@ -932,7 +1045,12 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
932
1045
|
bg?: string | null | undefined;
|
|
933
1046
|
sender?: string | undefined;
|
|
934
1047
|
generation?: string | null | undefined;
|
|
935
|
-
|
|
1048
|
+
isUserSubmitted?: boolean | undefined;
|
|
1049
|
+
userSubmittedPaths?: string[] | undefined;
|
|
1050
|
+
userSubmittedMessageFieldPaths?: {
|
|
1051
|
+
path: string;
|
|
1052
|
+
field: "answer" | "decision_response" | "decision_reason";
|
|
1053
|
+
}[] | undefined;
|
|
936
1054
|
clientTimestamp?: string | undefined;
|
|
937
1055
|
current?: boolean | undefined;
|
|
938
1056
|
unfinished?: boolean | undefined;
|
|
@@ -944,23 +1062,35 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
944
1062
|
tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
|
|
945
1063
|
text?: string | undefined;
|
|
946
1064
|
} | undefined;
|
|
947
|
-
metadata?: Record<string, unknown> | undefined;
|
|
948
1065
|
tokenCount?: number | undefined;
|
|
949
1066
|
contextMeta?: {
|
|
950
1067
|
calibrationRatio?: number | undefined;
|
|
951
1068
|
encoding?: string | undefined;
|
|
1069
|
+
fading?: {
|
|
1070
|
+
v: 1;
|
|
1071
|
+
budgetTokens: number;
|
|
1072
|
+
masked: boolean;
|
|
1073
|
+
} | undefined;
|
|
1074
|
+
fadingTiers?: {
|
|
1075
|
+
agentId: string;
|
|
1076
|
+
v: 1;
|
|
1077
|
+
budgetTokens: number;
|
|
1078
|
+
masked: boolean;
|
|
1079
|
+
}[] | undefined;
|
|
952
1080
|
} | undefined;
|
|
953
1081
|
manualSkills?: string[] | undefined;
|
|
954
1082
|
alwaysAppliedSkills?: string[] | undefined;
|
|
955
1083
|
quotes?: string[] | undefined;
|
|
956
1084
|
}, {
|
|
1085
|
+
text: string;
|
|
957
1086
|
conversationId: string | null;
|
|
958
1087
|
parentMessageId: string | null;
|
|
959
|
-
text: string;
|
|
960
1088
|
messageId: string;
|
|
961
1089
|
isCreatedByUser: boolean;
|
|
962
|
-
model?: string | null | undefined;
|
|
963
1090
|
endpoint?: string | undefined;
|
|
1091
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1092
|
+
model?: string | null | undefined;
|
|
1093
|
+
error?: boolean | undefined;
|
|
964
1094
|
title?: string | null | undefined;
|
|
965
1095
|
createdAt?: string | undefined;
|
|
966
1096
|
updatedAt?: string | undefined;
|
|
@@ -973,7 +1103,12 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
973
1103
|
bg?: string | null | undefined;
|
|
974
1104
|
sender?: string | undefined;
|
|
975
1105
|
generation?: string | null | undefined;
|
|
976
|
-
|
|
1106
|
+
isUserSubmitted?: boolean | undefined;
|
|
1107
|
+
userSubmittedPaths?: string[] | undefined;
|
|
1108
|
+
userSubmittedMessageFieldPaths?: {
|
|
1109
|
+
path: string;
|
|
1110
|
+
field: "answer" | "decision_response" | "decision_reason";
|
|
1111
|
+
}[] | undefined;
|
|
977
1112
|
clientTimestamp?: string | undefined;
|
|
978
1113
|
current?: boolean | undefined;
|
|
979
1114
|
unfinished?: boolean | undefined;
|
|
@@ -985,11 +1120,21 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
985
1120
|
tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
|
|
986
1121
|
text?: string | undefined;
|
|
987
1122
|
} | undefined;
|
|
988
|
-
metadata?: Record<string, unknown> | undefined;
|
|
989
1123
|
tokenCount?: number | undefined;
|
|
990
1124
|
contextMeta?: {
|
|
991
1125
|
calibrationRatio?: number | undefined;
|
|
992
1126
|
encoding?: string | undefined;
|
|
1127
|
+
fading?: {
|
|
1128
|
+
v: 1;
|
|
1129
|
+
budgetTokens: number;
|
|
1130
|
+
masked: boolean;
|
|
1131
|
+
} | undefined;
|
|
1132
|
+
fadingTiers?: {
|
|
1133
|
+
agentId: string;
|
|
1134
|
+
v: 1;
|
|
1135
|
+
budgetTokens: number;
|
|
1136
|
+
masked: boolean;
|
|
1137
|
+
}[] | undefined;
|
|
993
1138
|
} | undefined;
|
|
994
1139
|
manualSkills?: string[] | undefined;
|
|
995
1140
|
alwaysAppliedSkills?: string[] | undefined;
|
|
@@ -1004,6 +1149,14 @@ export declare enum MemoryScope {
|
|
|
1004
1149
|
user = "user",
|
|
1005
1150
|
agent = "agent"
|
|
1006
1151
|
}
|
|
1152
|
+
/** Catalog exposure for a persisted agent with skills enabled. */
|
|
1153
|
+
export declare enum SkillsScope {
|
|
1154
|
+
all = "all",
|
|
1155
|
+
selected = "selected",
|
|
1156
|
+
none = "none"
|
|
1157
|
+
}
|
|
1158
|
+
/** Resolves explicit and legacy persisted-agent skill catalog states. */
|
|
1159
|
+
export declare function resolveAgentSkillsScope(skills: readonly string[] | undefined, enabled: boolean | undefined, scope: SkillsScope | undefined): SkillsScope;
|
|
1007
1160
|
export type MemoryArtifact = {
|
|
1008
1161
|
key: string;
|
|
1009
1162
|
value?: string;
|
|
@@ -1019,10 +1172,20 @@ export type UIResource = {
|
|
|
1019
1172
|
text?: string;
|
|
1020
1173
|
[key: string]: unknown;
|
|
1021
1174
|
};
|
|
1175
|
+
export type WorkspaceChange = {
|
|
1176
|
+
profile: 'stateful';
|
|
1177
|
+
operation: 'created' | 'updated';
|
|
1178
|
+
path: string;
|
|
1179
|
+
};
|
|
1022
1180
|
export type TAttachmentMetadata = {
|
|
1023
1181
|
type?: Tools;
|
|
1024
1182
|
messageId: string;
|
|
1025
1183
|
toolCallId: string;
|
|
1184
|
+
/** Saved-agent owner when provider tool-call ids repeat across handoffs. */
|
|
1185
|
+
agentId?: string;
|
|
1186
|
+
/** Host run-step owner when one agent repeats a provider tool-call id. */
|
|
1187
|
+
stepId?: string;
|
|
1188
|
+
workspaceChange?: WorkspaceChange;
|
|
1026
1189
|
[Tools.memory]?: MemoryArtifact;
|
|
1027
1190
|
[Tools.ui_resources]?: UIResource[];
|
|
1028
1191
|
[Tools.web_search]?: SearchResultData;
|
|
@@ -1039,20 +1202,65 @@ export type TMessage = z.input<typeof tMessageSchema> & {
|
|
|
1039
1202
|
siblingIndex?: number;
|
|
1040
1203
|
attachments?: TAttachment[];
|
|
1041
1204
|
clientTimestamp?: string;
|
|
1205
|
+
/** Client-only durable branch anchor while this message is an optimistic response. */
|
|
1206
|
+
clientQueueParentMessageId?: string;
|
|
1042
1207
|
feedback?: TFeedback;
|
|
1043
1208
|
};
|
|
1044
1209
|
export declare const coerceNumber: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>;
|
|
1045
1210
|
type DocumentTypeValue = null | boolean | number | string | DocumentTypeValue[] | {
|
|
1046
1211
|
[key: string]: DocumentTypeValue;
|
|
1047
1212
|
};
|
|
1213
|
+
export declare const subagentThreadLineageSchema: z.ZodObject<{
|
|
1214
|
+
rootConversationId: z.ZodString;
|
|
1215
|
+
parentConversationId: z.ZodString;
|
|
1216
|
+
parentMessageId: z.ZodString;
|
|
1217
|
+
parentToolCallId: z.ZodString;
|
|
1218
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
subagentType: z.ZodString;
|
|
1220
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
1221
|
+
depth: z.ZodNumber;
|
|
1222
|
+
}, "strip", z.ZodTypeAny, {
|
|
1223
|
+
subagentKind: "agent" | "graph";
|
|
1224
|
+
parentMessageId: string;
|
|
1225
|
+
rootConversationId: string;
|
|
1226
|
+
parentConversationId: string;
|
|
1227
|
+
parentToolCallId: string;
|
|
1228
|
+
subagentType: string;
|
|
1229
|
+
depth: number;
|
|
1230
|
+
parentAgentId?: string | undefined;
|
|
1231
|
+
}, {
|
|
1232
|
+
subagentKind: "agent" | "graph";
|
|
1233
|
+
parentMessageId: string;
|
|
1234
|
+
rootConversationId: string;
|
|
1235
|
+
parentConversationId: string;
|
|
1236
|
+
parentToolCallId: string;
|
|
1237
|
+
subagentType: string;
|
|
1238
|
+
depth: number;
|
|
1239
|
+
parentAgentId?: string | undefined;
|
|
1240
|
+
}>;
|
|
1241
|
+
export type TSubagentThreadLineage = z.infer<typeof subagentThreadLineageSchema>;
|
|
1048
1242
|
export declare const tConversationSchema: z.ZodObject<{
|
|
1049
1243
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
1050
1244
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
1051
1245
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
1052
1246
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
1247
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
1248
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1053
1249
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1054
1250
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
1055
1251
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
1252
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
1253
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
1254
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1255
|
+
environmentId: z.ZodString;
|
|
1256
|
+
workspaceId: z.ZodString;
|
|
1257
|
+
}, "strict", z.ZodTypeAny, {
|
|
1258
|
+
environmentId: string;
|
|
1259
|
+
workspaceId: string;
|
|
1260
|
+
}, {
|
|
1261
|
+
environmentId: string;
|
|
1262
|
+
workspaceId: string;
|
|
1263
|
+
}>, "many">>;
|
|
1056
1264
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
1057
1265
|
user: z.ZodOptional<z.ZodString>;
|
|
1058
1266
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1085,6 +1293,9 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1085
1293
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
1086
1294
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
1087
1295
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
1296
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
1297
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
1298
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
1088
1299
|
}, "strip", z.ZodTypeAny, {
|
|
1089
1300
|
name: string;
|
|
1090
1301
|
pluginKey: string;
|
|
@@ -1101,6 +1312,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1101
1312
|
chatMenu?: boolean | undefined;
|
|
1102
1313
|
isButton?: boolean | undefined;
|
|
1103
1314
|
toolkit?: boolean | undefined;
|
|
1315
|
+
serverToolName?: string | undefined;
|
|
1104
1316
|
}, {
|
|
1105
1317
|
name: string;
|
|
1106
1318
|
pluginKey: string;
|
|
@@ -1117,6 +1329,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1117
1329
|
chatMenu?: boolean | undefined;
|
|
1118
1330
|
isButton?: boolean | undefined;
|
|
1119
1331
|
toolkit?: boolean | undefined;
|
|
1332
|
+
serverToolName?: string | undefined;
|
|
1120
1333
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
1121
1334
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1122
1335
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1191,6 +1404,35 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1191
1404
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1192
1405
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1193
1406
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
1407
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
1408
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
1409
|
+
rootConversationId: z.ZodString;
|
|
1410
|
+
parentConversationId: z.ZodString;
|
|
1411
|
+
parentMessageId: z.ZodString;
|
|
1412
|
+
parentToolCallId: z.ZodString;
|
|
1413
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
1414
|
+
subagentType: z.ZodString;
|
|
1415
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
1416
|
+
depth: z.ZodNumber;
|
|
1417
|
+
}, "strip", z.ZodTypeAny, {
|
|
1418
|
+
subagentKind: "agent" | "graph";
|
|
1419
|
+
parentMessageId: string;
|
|
1420
|
+
rootConversationId: string;
|
|
1421
|
+
parentConversationId: string;
|
|
1422
|
+
parentToolCallId: string;
|
|
1423
|
+
subagentType: string;
|
|
1424
|
+
depth: number;
|
|
1425
|
+
parentAgentId?: string | undefined;
|
|
1426
|
+
}, {
|
|
1427
|
+
subagentKind: "agent" | "graph";
|
|
1428
|
+
parentMessageId: string;
|
|
1429
|
+
rootConversationId: string;
|
|
1430
|
+
parentConversationId: string;
|
|
1431
|
+
parentToolCallId: string;
|
|
1432
|
+
subagentType: string;
|
|
1433
|
+
depth: number;
|
|
1434
|
+
parentAgentId?: string | undefined;
|
|
1435
|
+
}>>;
|
|
1194
1436
|
region: z.ZodOptional<z.ZodString>;
|
|
1195
1437
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1196
1438
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -1211,19 +1453,17 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1211
1453
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
1212
1454
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1213
1455
|
}, "strip", z.ZodTypeAny, {
|
|
1214
|
-
conversationId: string | null;
|
|
1215
1456
|
endpoint: EModelEndpoint | null;
|
|
1457
|
+
conversationId: string | null;
|
|
1216
1458
|
title: string | null;
|
|
1217
1459
|
createdAt: string;
|
|
1218
1460
|
updatedAt: string;
|
|
1219
1461
|
user?: string | undefined;
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
isShared?: boolean | undefined;
|
|
1226
|
-
messages?: string[] | undefined;
|
|
1462
|
+
web_search?: boolean | undefined;
|
|
1463
|
+
context?: string | null | undefined;
|
|
1464
|
+
artifacts?: string | undefined;
|
|
1465
|
+
instructions?: string | undefined;
|
|
1466
|
+
additional_instructions?: string | undefined;
|
|
1227
1467
|
tools?: string[] | {
|
|
1228
1468
|
name: string;
|
|
1229
1469
|
pluginKey: string;
|
|
@@ -1240,7 +1480,22 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1240
1480
|
chatMenu?: boolean | undefined;
|
|
1241
1481
|
isButton?: boolean | undefined;
|
|
1242
1482
|
toolkit?: boolean | undefined;
|
|
1483
|
+
serverToolName?: string | undefined;
|
|
1243
1484
|
}[] | undefined;
|
|
1485
|
+
model?: string | null | undefined;
|
|
1486
|
+
tags?: string[] | undefined;
|
|
1487
|
+
endpointType?: EModelEndpoint | null | undefined;
|
|
1488
|
+
isArchived?: boolean | undefined;
|
|
1489
|
+
archivedAt?: string | null | undefined;
|
|
1490
|
+
pinned?: boolean | undefined;
|
|
1491
|
+
isShared?: boolean | undefined;
|
|
1492
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
1493
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
1494
|
+
codeWorkspaces?: {
|
|
1495
|
+
environmentId: string;
|
|
1496
|
+
workspaceId: string;
|
|
1497
|
+
}[] | undefined;
|
|
1498
|
+
messages?: string[] | undefined;
|
|
1244
1499
|
modelLabel?: string | null | undefined;
|
|
1245
1500
|
userLabel?: string | undefined;
|
|
1246
1501
|
promptPrefix?: string | null | undefined;
|
|
@@ -1261,8 +1516,6 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1261
1516
|
thinkingBudget?: number | undefined;
|
|
1262
1517
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
1263
1518
|
stream?: boolean | undefined;
|
|
1264
|
-
artifacts?: string | undefined;
|
|
1265
|
-
context?: string | null | undefined;
|
|
1266
1519
|
examples?: {
|
|
1267
1520
|
input: {
|
|
1268
1521
|
content: string;
|
|
@@ -1283,16 +1536,23 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1283
1536
|
useResponsesApi?: boolean | undefined;
|
|
1284
1537
|
effort?: AnthropicEffort | null | undefined;
|
|
1285
1538
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1286
|
-
web_search?: boolean | undefined;
|
|
1287
1539
|
url_context?: boolean | undefined;
|
|
1288
1540
|
disableStreaming?: boolean | undefined;
|
|
1289
1541
|
assistant_id?: string | undefined;
|
|
1290
1542
|
agent_id?: string | undefined;
|
|
1543
|
+
subagentThread?: {
|
|
1544
|
+
subagentKind: "agent" | "graph";
|
|
1545
|
+
parentMessageId: string;
|
|
1546
|
+
rootConversationId: string;
|
|
1547
|
+
parentConversationId: string;
|
|
1548
|
+
parentToolCallId: string;
|
|
1549
|
+
subagentType: string;
|
|
1550
|
+
depth: number;
|
|
1551
|
+
parentAgentId?: string | undefined;
|
|
1552
|
+
} | undefined;
|
|
1291
1553
|
region?: string | undefined;
|
|
1292
1554
|
maxTokens?: number | undefined;
|
|
1293
1555
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
1294
|
-
instructions?: string | undefined;
|
|
1295
|
-
additional_instructions?: string | undefined;
|
|
1296
1556
|
append_current_datetime?: boolean | undefined;
|
|
1297
1557
|
presetOverride?: Record<string, unknown> | undefined;
|
|
1298
1558
|
stop?: string[] | undefined;
|
|
@@ -1305,19 +1565,16 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1305
1565
|
resendImages?: boolean | undefined;
|
|
1306
1566
|
chatGptLabel?: string | null | undefined;
|
|
1307
1567
|
}, {
|
|
1308
|
-
conversationId: string | null;
|
|
1309
1568
|
endpoint: EModelEndpoint | null;
|
|
1569
|
+
conversationId: string | null;
|
|
1310
1570
|
createdAt: string;
|
|
1311
1571
|
updatedAt: string;
|
|
1312
1572
|
user?: string | undefined;
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
isShared?: boolean | undefined;
|
|
1319
|
-
title?: string | null | undefined;
|
|
1320
|
-
messages?: string[] | undefined;
|
|
1573
|
+
web_search?: boolean | undefined;
|
|
1574
|
+
context?: string | null | undefined;
|
|
1575
|
+
artifacts?: string | undefined;
|
|
1576
|
+
instructions?: string | undefined;
|
|
1577
|
+
additional_instructions?: string | undefined;
|
|
1321
1578
|
tools?: string[] | {
|
|
1322
1579
|
name: string;
|
|
1323
1580
|
pluginKey: string;
|
|
@@ -1334,7 +1591,23 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1334
1591
|
chatMenu?: boolean | undefined;
|
|
1335
1592
|
isButton?: boolean | undefined;
|
|
1336
1593
|
toolkit?: boolean | undefined;
|
|
1594
|
+
serverToolName?: string | undefined;
|
|
1595
|
+
}[] | undefined;
|
|
1596
|
+
model?: string | null | undefined;
|
|
1597
|
+
tags?: string[] | undefined;
|
|
1598
|
+
endpointType?: EModelEndpoint | null | undefined;
|
|
1599
|
+
isArchived?: boolean | undefined;
|
|
1600
|
+
archivedAt?: string | null | undefined;
|
|
1601
|
+
pinned?: boolean | undefined;
|
|
1602
|
+
isShared?: boolean | undefined;
|
|
1603
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
1604
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
1605
|
+
codeWorkspaces?: {
|
|
1606
|
+
environmentId: string;
|
|
1607
|
+
workspaceId: string;
|
|
1337
1608
|
}[] | undefined;
|
|
1609
|
+
title?: string | null | undefined;
|
|
1610
|
+
messages?: string[] | undefined;
|
|
1338
1611
|
modelLabel?: string | null | undefined;
|
|
1339
1612
|
userLabel?: string | undefined;
|
|
1340
1613
|
promptPrefix?: string | null | undefined;
|
|
@@ -1355,8 +1628,6 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1355
1628
|
thinkingBudget?: string | number | undefined;
|
|
1356
1629
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
1357
1630
|
stream?: boolean | undefined;
|
|
1358
|
-
artifacts?: string | undefined;
|
|
1359
|
-
context?: string | null | undefined;
|
|
1360
1631
|
examples?: {
|
|
1361
1632
|
input: {
|
|
1362
1633
|
content: string;
|
|
@@ -1377,16 +1648,23 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1377
1648
|
useResponsesApi?: boolean | undefined;
|
|
1378
1649
|
effort?: AnthropicEffort | null | undefined;
|
|
1379
1650
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1380
|
-
web_search?: boolean | undefined;
|
|
1381
1651
|
url_context?: boolean | undefined;
|
|
1382
1652
|
disableStreaming?: boolean | undefined;
|
|
1383
1653
|
assistant_id?: string | undefined;
|
|
1384
1654
|
agent_id?: string | undefined;
|
|
1655
|
+
subagentThread?: {
|
|
1656
|
+
subagentKind: "agent" | "graph";
|
|
1657
|
+
parentMessageId: string;
|
|
1658
|
+
rootConversationId: string;
|
|
1659
|
+
parentConversationId: string;
|
|
1660
|
+
parentToolCallId: string;
|
|
1661
|
+
subagentType: string;
|
|
1662
|
+
depth: number;
|
|
1663
|
+
parentAgentId?: string | undefined;
|
|
1664
|
+
} | undefined;
|
|
1385
1665
|
region?: string | undefined;
|
|
1386
1666
|
maxTokens?: string | number | undefined;
|
|
1387
1667
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
1388
|
-
instructions?: string | undefined;
|
|
1389
|
-
additional_instructions?: string | undefined;
|
|
1390
1668
|
append_current_datetime?: boolean | undefined;
|
|
1391
1669
|
presetOverride?: Record<string, unknown> | undefined;
|
|
1392
1670
|
stop?: string[] | undefined;
|
|
@@ -1401,13 +1679,11 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1401
1679
|
}>;
|
|
1402
1680
|
export declare const tPresetSchema: z.ZodObject<{
|
|
1403
1681
|
user: z.ZodOptional<z.ZodString>;
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
1410
|
-
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1682
|
+
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1683
|
+
context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1684
|
+
artifacts: z.ZodOptional<z.ZodString>;
|
|
1685
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1686
|
+
additional_instructions: z.ZodOptional<z.ZodString>;
|
|
1411
1687
|
tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
1412
1688
|
name: z.ZodString;
|
|
1413
1689
|
pluginKey: z.ZodString;
|
|
@@ -1437,6 +1713,9 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1437
1713
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
1438
1714
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
1439
1715
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
1716
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
1717
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
1718
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
1440
1719
|
}, "strip", z.ZodTypeAny, {
|
|
1441
1720
|
name: string;
|
|
1442
1721
|
pluginKey: string;
|
|
@@ -1453,6 +1732,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1453
1732
|
chatMenu?: boolean | undefined;
|
|
1454
1733
|
isButton?: boolean | undefined;
|
|
1455
1734
|
toolkit?: boolean | undefined;
|
|
1735
|
+
serverToolName?: string | undefined;
|
|
1456
1736
|
}, {
|
|
1457
1737
|
name: string;
|
|
1458
1738
|
pluginKey: string;
|
|
@@ -1469,7 +1749,28 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1469
1749
|
chatMenu?: boolean | undefined;
|
|
1470
1750
|
isButton?: boolean | undefined;
|
|
1471
1751
|
toolkit?: boolean | undefined;
|
|
1752
|
+
serverToolName?: string | undefined;
|
|
1472
1753
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
1754
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1755
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1756
|
+
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
1757
|
+
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
1758
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1759
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1760
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
1761
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
1762
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
1763
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1764
|
+
environmentId: z.ZodString;
|
|
1765
|
+
workspaceId: z.ZodString;
|
|
1766
|
+
}, "strict", z.ZodTypeAny, {
|
|
1767
|
+
environmentId: string;
|
|
1768
|
+
workspaceId: string;
|
|
1769
|
+
}, {
|
|
1770
|
+
environmentId: string;
|
|
1771
|
+
workspaceId: string;
|
|
1772
|
+
}>, "many">>;
|
|
1773
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1473
1774
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1474
1775
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
1475
1776
|
promptPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1490,8 +1791,6 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1490
1791
|
thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1491
1792
|
thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof ThinkingLevel>>;
|
|
1492
1793
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
1493
|
-
artifacts: z.ZodOptional<z.ZodString>;
|
|
1494
|
-
context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1495
1794
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1496
1795
|
input: z.ZodObject<{
|
|
1497
1796
|
content: z.ZodString;
|
|
@@ -1533,16 +1832,41 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1533
1832
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
1534
1833
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
1535
1834
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
1536
|
-
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1537
1835
|
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
1538
1836
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1539
1837
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1540
1838
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
1839
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
1840
|
+
rootConversationId: z.ZodString;
|
|
1841
|
+
parentConversationId: z.ZodString;
|
|
1842
|
+
parentMessageId: z.ZodString;
|
|
1843
|
+
parentToolCallId: z.ZodString;
|
|
1844
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
1845
|
+
subagentType: z.ZodString;
|
|
1846
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
1847
|
+
depth: z.ZodNumber;
|
|
1848
|
+
}, "strip", z.ZodTypeAny, {
|
|
1849
|
+
subagentKind: "agent" | "graph";
|
|
1850
|
+
parentMessageId: string;
|
|
1851
|
+
rootConversationId: string;
|
|
1852
|
+
parentConversationId: string;
|
|
1853
|
+
parentToolCallId: string;
|
|
1854
|
+
subagentType: string;
|
|
1855
|
+
depth: number;
|
|
1856
|
+
parentAgentId?: string | undefined;
|
|
1857
|
+
}, {
|
|
1858
|
+
subagentKind: "agent" | "graph";
|
|
1859
|
+
parentMessageId: string;
|
|
1860
|
+
rootConversationId: string;
|
|
1861
|
+
parentConversationId: string;
|
|
1862
|
+
parentToolCallId: string;
|
|
1863
|
+
subagentType: string;
|
|
1864
|
+
depth: number;
|
|
1865
|
+
parentAgentId?: string | undefined;
|
|
1866
|
+
}>>;
|
|
1541
1867
|
region: z.ZodOptional<z.ZodString>;
|
|
1542
1868
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1543
1869
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
1544
|
-
instructions: z.ZodOptional<z.ZodString>;
|
|
1545
|
-
additional_instructions: z.ZodOptional<z.ZodString>;
|
|
1546
1870
|
append_current_datetime: z.ZodOptional<z.ZodBoolean>;
|
|
1547
1871
|
presetOverride: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1548
1872
|
stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1564,15 +1888,11 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1564
1888
|
}, "strip", z.ZodTypeAny, {
|
|
1565
1889
|
endpoint: string | null;
|
|
1566
1890
|
user?: string | undefined;
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
pinned?: boolean | undefined;
|
|
1573
|
-
isShared?: boolean | undefined;
|
|
1574
|
-
title?: string | null | undefined;
|
|
1575
|
-
messages?: string[] | undefined;
|
|
1891
|
+
web_search?: boolean | undefined;
|
|
1892
|
+
context?: string | null | undefined;
|
|
1893
|
+
artifacts?: string | undefined;
|
|
1894
|
+
instructions?: string | undefined;
|
|
1895
|
+
additional_instructions?: string | undefined;
|
|
1576
1896
|
tools?: string[] | {
|
|
1577
1897
|
name: string;
|
|
1578
1898
|
pluginKey: string;
|
|
@@ -1589,7 +1909,24 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1589
1909
|
chatMenu?: boolean | undefined;
|
|
1590
1910
|
isButton?: boolean | undefined;
|
|
1591
1911
|
toolkit?: boolean | undefined;
|
|
1912
|
+
serverToolName?: string | undefined;
|
|
1913
|
+
}[] | undefined;
|
|
1914
|
+
model?: string | null | undefined;
|
|
1915
|
+
tags?: string[] | undefined;
|
|
1916
|
+
conversationId?: string | null | undefined;
|
|
1917
|
+
endpointType?: EModelEndpoint | null | undefined;
|
|
1918
|
+
isArchived?: boolean | undefined;
|
|
1919
|
+
archivedAt?: string | null | undefined;
|
|
1920
|
+
pinned?: boolean | undefined;
|
|
1921
|
+
isShared?: boolean | undefined;
|
|
1922
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
1923
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
1924
|
+
codeWorkspaces?: {
|
|
1925
|
+
environmentId: string;
|
|
1926
|
+
workspaceId: string;
|
|
1592
1927
|
}[] | undefined;
|
|
1928
|
+
title?: string | null | undefined;
|
|
1929
|
+
messages?: string[] | undefined;
|
|
1593
1930
|
modelLabel?: string | null | undefined;
|
|
1594
1931
|
userLabel?: string | undefined;
|
|
1595
1932
|
promptPrefix?: string | null | undefined;
|
|
@@ -1610,8 +1947,6 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1610
1947
|
thinkingBudget?: number | undefined;
|
|
1611
1948
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
1612
1949
|
stream?: boolean | undefined;
|
|
1613
|
-
artifacts?: string | undefined;
|
|
1614
|
-
context?: string | null | undefined;
|
|
1615
1950
|
examples?: {
|
|
1616
1951
|
input: {
|
|
1617
1952
|
content: string;
|
|
@@ -1631,16 +1966,23 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1631
1966
|
useResponsesApi?: boolean | undefined;
|
|
1632
1967
|
effort?: AnthropicEffort | null | undefined;
|
|
1633
1968
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1634
|
-
web_search?: boolean | undefined;
|
|
1635
1969
|
url_context?: boolean | undefined;
|
|
1636
1970
|
disableStreaming?: boolean | undefined;
|
|
1637
1971
|
assistant_id?: string | undefined;
|
|
1638
1972
|
agent_id?: string | undefined;
|
|
1973
|
+
subagentThread?: {
|
|
1974
|
+
subagentKind: "agent" | "graph";
|
|
1975
|
+
parentMessageId: string;
|
|
1976
|
+
rootConversationId: string;
|
|
1977
|
+
parentConversationId: string;
|
|
1978
|
+
parentToolCallId: string;
|
|
1979
|
+
subagentType: string;
|
|
1980
|
+
depth: number;
|
|
1981
|
+
parentAgentId?: string | undefined;
|
|
1982
|
+
} | undefined;
|
|
1639
1983
|
region?: string | undefined;
|
|
1640
1984
|
maxTokens?: number | undefined;
|
|
1641
1985
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
1642
|
-
instructions?: string | undefined;
|
|
1643
|
-
additional_instructions?: string | undefined;
|
|
1644
1986
|
append_current_datetime?: boolean | undefined;
|
|
1645
1987
|
presetOverride?: Record<string, unknown> | undefined;
|
|
1646
1988
|
stop?: string[] | undefined;
|
|
@@ -1658,15 +2000,11 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1658
2000
|
}, {
|
|
1659
2001
|
endpoint: string | null;
|
|
1660
2002
|
user?: string | undefined;
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
pinned?: boolean | undefined;
|
|
1667
|
-
isShared?: boolean | undefined;
|
|
1668
|
-
title?: string | null | undefined;
|
|
1669
|
-
messages?: string[] | undefined;
|
|
2003
|
+
web_search?: boolean | undefined;
|
|
2004
|
+
context?: string | null | undefined;
|
|
2005
|
+
artifacts?: string | undefined;
|
|
2006
|
+
instructions?: string | undefined;
|
|
2007
|
+
additional_instructions?: string | undefined;
|
|
1670
2008
|
tools?: string[] | {
|
|
1671
2009
|
name: string;
|
|
1672
2010
|
pluginKey: string;
|
|
@@ -1683,7 +2021,24 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1683
2021
|
chatMenu?: boolean | undefined;
|
|
1684
2022
|
isButton?: boolean | undefined;
|
|
1685
2023
|
toolkit?: boolean | undefined;
|
|
2024
|
+
serverToolName?: string | undefined;
|
|
1686
2025
|
}[] | undefined;
|
|
2026
|
+
model?: string | null | undefined;
|
|
2027
|
+
tags?: string[] | undefined;
|
|
2028
|
+
conversationId?: string | null | undefined;
|
|
2029
|
+
endpointType?: EModelEndpoint | null | undefined;
|
|
2030
|
+
isArchived?: boolean | undefined;
|
|
2031
|
+
archivedAt?: string | null | undefined;
|
|
2032
|
+
pinned?: boolean | undefined;
|
|
2033
|
+
isShared?: boolean | undefined;
|
|
2034
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
2035
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
2036
|
+
codeWorkspaces?: {
|
|
2037
|
+
environmentId: string;
|
|
2038
|
+
workspaceId: string;
|
|
2039
|
+
}[] | undefined;
|
|
2040
|
+
title?: string | null | undefined;
|
|
2041
|
+
messages?: string[] | undefined;
|
|
1687
2042
|
modelLabel?: string | null | undefined;
|
|
1688
2043
|
userLabel?: string | undefined;
|
|
1689
2044
|
promptPrefix?: string | null | undefined;
|
|
@@ -1704,8 +2059,6 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1704
2059
|
thinkingBudget?: string | number | undefined;
|
|
1705
2060
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
1706
2061
|
stream?: boolean | undefined;
|
|
1707
|
-
artifacts?: string | undefined;
|
|
1708
|
-
context?: string | null | undefined;
|
|
1709
2062
|
examples?: {
|
|
1710
2063
|
input: {
|
|
1711
2064
|
content: string;
|
|
@@ -1725,16 +2078,23 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1725
2078
|
useResponsesApi?: boolean | undefined;
|
|
1726
2079
|
effort?: AnthropicEffort | null | undefined;
|
|
1727
2080
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1728
|
-
web_search?: boolean | undefined;
|
|
1729
2081
|
url_context?: boolean | undefined;
|
|
1730
2082
|
disableStreaming?: boolean | undefined;
|
|
1731
2083
|
assistant_id?: string | undefined;
|
|
1732
2084
|
agent_id?: string | undefined;
|
|
2085
|
+
subagentThread?: {
|
|
2086
|
+
subagentKind: "agent" | "graph";
|
|
2087
|
+
parentMessageId: string;
|
|
2088
|
+
rootConversationId: string;
|
|
2089
|
+
parentConversationId: string;
|
|
2090
|
+
parentToolCallId: string;
|
|
2091
|
+
subagentType: string;
|
|
2092
|
+
depth: number;
|
|
2093
|
+
parentAgentId?: string | undefined;
|
|
2094
|
+
} | undefined;
|
|
1733
2095
|
region?: string | undefined;
|
|
1734
2096
|
maxTokens?: string | number | undefined;
|
|
1735
2097
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
1736
|
-
instructions?: string | undefined;
|
|
1737
|
-
additional_instructions?: string | undefined;
|
|
1738
2098
|
append_current_datetime?: boolean | undefined;
|
|
1739
2099
|
presetOverride?: Record<string, unknown> | undefined;
|
|
1740
2100
|
stop?: string[] | undefined;
|
|
@@ -1754,8 +2114,21 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1754
2114
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
1755
2115
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
1756
2116
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
2117
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1757
2118
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1758
2119
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
2120
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
2121
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
2122
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2123
|
+
environmentId: z.ZodString;
|
|
2124
|
+
workspaceId: z.ZodString;
|
|
2125
|
+
}, "strict", z.ZodTypeAny, {
|
|
2126
|
+
environmentId: string;
|
|
2127
|
+
workspaceId: string;
|
|
2128
|
+
}, {
|
|
2129
|
+
environmentId: string;
|
|
2130
|
+
workspaceId: string;
|
|
2131
|
+
}>, "many">>;
|
|
1759
2132
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
1760
2133
|
user: z.ZodOptional<z.ZodString>;
|
|
1761
2134
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1788,6 +2161,9 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1788
2161
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
1789
2162
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
1790
2163
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
2164
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
2165
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
2166
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
1791
2167
|
}, "strip", z.ZodTypeAny, {
|
|
1792
2168
|
name: string;
|
|
1793
2169
|
pluginKey: string;
|
|
@@ -1804,6 +2180,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1804
2180
|
chatMenu?: boolean | undefined;
|
|
1805
2181
|
isButton?: boolean | undefined;
|
|
1806
2182
|
toolkit?: boolean | undefined;
|
|
2183
|
+
serverToolName?: string | undefined;
|
|
1807
2184
|
}, {
|
|
1808
2185
|
name: string;
|
|
1809
2186
|
pluginKey: string;
|
|
@@ -1820,6 +2197,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1820
2197
|
chatMenu?: boolean | undefined;
|
|
1821
2198
|
isButton?: boolean | undefined;
|
|
1822
2199
|
toolkit?: boolean | undefined;
|
|
2200
|
+
serverToolName?: string | undefined;
|
|
1823
2201
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
1824
2202
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1825
2203
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1892,6 +2270,34 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1892
2270
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1893
2271
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1894
2272
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
2273
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
2274
|
+
rootConversationId: z.ZodString;
|
|
2275
|
+
parentConversationId: z.ZodString;
|
|
2276
|
+
parentMessageId: z.ZodString;
|
|
2277
|
+
parentToolCallId: z.ZodString;
|
|
2278
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
2279
|
+
subagentType: z.ZodString;
|
|
2280
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
2281
|
+
depth: z.ZodNumber;
|
|
2282
|
+
}, "strip", z.ZodTypeAny, {
|
|
2283
|
+
subagentKind: "agent" | "graph";
|
|
2284
|
+
parentMessageId: string;
|
|
2285
|
+
rootConversationId: string;
|
|
2286
|
+
parentConversationId: string;
|
|
2287
|
+
parentToolCallId: string;
|
|
2288
|
+
subagentType: string;
|
|
2289
|
+
depth: number;
|
|
2290
|
+
parentAgentId?: string | undefined;
|
|
2291
|
+
}, {
|
|
2292
|
+
subagentKind: "agent" | "graph";
|
|
2293
|
+
parentMessageId: string;
|
|
2294
|
+
rootConversationId: string;
|
|
2295
|
+
parentConversationId: string;
|
|
2296
|
+
parentToolCallId: string;
|
|
2297
|
+
subagentType: string;
|
|
2298
|
+
depth: number;
|
|
2299
|
+
parentAgentId?: string | undefined;
|
|
2300
|
+
}>>;
|
|
1895
2301
|
region: z.ZodOptional<z.ZodString>;
|
|
1896
2302
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1897
2303
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -1913,17 +2319,15 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1913
2319
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1914
2320
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1915
2321
|
}, "strip", z.ZodTypeAny, {
|
|
1916
|
-
conversationId: string | null;
|
|
1917
2322
|
endpoint: string | null;
|
|
2323
|
+
conversationId: string | null;
|
|
1918
2324
|
title: string | null;
|
|
1919
2325
|
user?: string | undefined;
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
isShared?: boolean | undefined;
|
|
1926
|
-
messages?: string[] | undefined;
|
|
2326
|
+
web_search?: boolean | undefined;
|
|
2327
|
+
context?: string | null | undefined;
|
|
2328
|
+
artifacts?: string | undefined;
|
|
2329
|
+
instructions?: string | undefined;
|
|
2330
|
+
additional_instructions?: string | undefined;
|
|
1927
2331
|
tools?: string[] | {
|
|
1928
2332
|
name: string;
|
|
1929
2333
|
pluginKey: string;
|
|
@@ -1940,7 +2344,22 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1940
2344
|
chatMenu?: boolean | undefined;
|
|
1941
2345
|
isButton?: boolean | undefined;
|
|
1942
2346
|
toolkit?: boolean | undefined;
|
|
2347
|
+
serverToolName?: string | undefined;
|
|
1943
2348
|
}[] | undefined;
|
|
2349
|
+
model?: string | null | undefined;
|
|
2350
|
+
tags?: string[] | undefined;
|
|
2351
|
+
endpointType?: EModelEndpoint | null | undefined;
|
|
2352
|
+
isArchived?: boolean | undefined;
|
|
2353
|
+
archivedAt?: string | null | undefined;
|
|
2354
|
+
pinned?: boolean | undefined;
|
|
2355
|
+
isShared?: boolean | undefined;
|
|
2356
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
2357
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
2358
|
+
codeWorkspaces?: {
|
|
2359
|
+
environmentId: string;
|
|
2360
|
+
workspaceId: string;
|
|
2361
|
+
}[] | undefined;
|
|
2362
|
+
messages?: string[] | undefined;
|
|
1944
2363
|
modelLabel?: string | null | undefined;
|
|
1945
2364
|
userLabel?: string | undefined;
|
|
1946
2365
|
promptPrefix?: string | null | undefined;
|
|
@@ -1961,8 +2380,6 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1961
2380
|
thinkingBudget?: number | undefined;
|
|
1962
2381
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
1963
2382
|
stream?: boolean | undefined;
|
|
1964
|
-
artifacts?: string | undefined;
|
|
1965
|
-
context?: string | null | undefined;
|
|
1966
2383
|
examples?: {
|
|
1967
2384
|
input: {
|
|
1968
2385
|
content: string;
|
|
@@ -1985,16 +2402,23 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1985
2402
|
useResponsesApi?: boolean | undefined;
|
|
1986
2403
|
effort?: AnthropicEffort | null | undefined;
|
|
1987
2404
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1988
|
-
web_search?: boolean | undefined;
|
|
1989
2405
|
url_context?: boolean | undefined;
|
|
1990
2406
|
disableStreaming?: boolean | undefined;
|
|
1991
2407
|
assistant_id?: string | undefined;
|
|
1992
2408
|
agent_id?: string | undefined;
|
|
2409
|
+
subagentThread?: {
|
|
2410
|
+
subagentKind: "agent" | "graph";
|
|
2411
|
+
parentMessageId: string;
|
|
2412
|
+
rootConversationId: string;
|
|
2413
|
+
parentConversationId: string;
|
|
2414
|
+
parentToolCallId: string;
|
|
2415
|
+
subagentType: string;
|
|
2416
|
+
depth: number;
|
|
2417
|
+
parentAgentId?: string | undefined;
|
|
2418
|
+
} | undefined;
|
|
1993
2419
|
region?: string | undefined;
|
|
1994
2420
|
maxTokens?: number | undefined;
|
|
1995
2421
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
1996
|
-
instructions?: string | undefined;
|
|
1997
|
-
additional_instructions?: string | undefined;
|
|
1998
2422
|
append_current_datetime?: boolean | undefined;
|
|
1999
2423
|
presetOverride?: Record<string, unknown> | undefined;
|
|
2000
2424
|
stop?: string[] | undefined;
|
|
@@ -2007,17 +2431,14 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
2007
2431
|
resendImages?: boolean | undefined;
|
|
2008
2432
|
chatGptLabel?: string | null | undefined;
|
|
2009
2433
|
}, {
|
|
2010
|
-
conversationId: string | null;
|
|
2011
2434
|
endpoint: string | null;
|
|
2435
|
+
conversationId: string | null;
|
|
2012
2436
|
user?: string | undefined;
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
isShared?: boolean | undefined;
|
|
2019
|
-
title?: string | null | undefined;
|
|
2020
|
-
messages?: string[] | undefined;
|
|
2437
|
+
web_search?: boolean | undefined;
|
|
2438
|
+
context?: string | null | undefined;
|
|
2439
|
+
artifacts?: string | undefined;
|
|
2440
|
+
instructions?: string | undefined;
|
|
2441
|
+
additional_instructions?: string | undefined;
|
|
2021
2442
|
tools?: string[] | {
|
|
2022
2443
|
name: string;
|
|
2023
2444
|
pluginKey: string;
|
|
@@ -2034,7 +2455,23 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
2034
2455
|
chatMenu?: boolean | undefined;
|
|
2035
2456
|
isButton?: boolean | undefined;
|
|
2036
2457
|
toolkit?: boolean | undefined;
|
|
2458
|
+
serverToolName?: string | undefined;
|
|
2037
2459
|
}[] | undefined;
|
|
2460
|
+
model?: string | null | undefined;
|
|
2461
|
+
tags?: string[] | undefined;
|
|
2462
|
+
endpointType?: EModelEndpoint | null | undefined;
|
|
2463
|
+
isArchived?: boolean | undefined;
|
|
2464
|
+
archivedAt?: string | null | undefined;
|
|
2465
|
+
pinned?: boolean | undefined;
|
|
2466
|
+
isShared?: boolean | undefined;
|
|
2467
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
2468
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
2469
|
+
codeWorkspaces?: {
|
|
2470
|
+
environmentId: string;
|
|
2471
|
+
workspaceId: string;
|
|
2472
|
+
}[] | undefined;
|
|
2473
|
+
title?: string | null | undefined;
|
|
2474
|
+
messages?: string[] | undefined;
|
|
2038
2475
|
modelLabel?: string | null | undefined;
|
|
2039
2476
|
userLabel?: string | undefined;
|
|
2040
2477
|
promptPrefix?: string | null | undefined;
|
|
@@ -2055,8 +2492,6 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
2055
2492
|
thinkingBudget?: string | number | undefined;
|
|
2056
2493
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
2057
2494
|
stream?: boolean | undefined;
|
|
2058
|
-
artifacts?: string | undefined;
|
|
2059
|
-
context?: string | null | undefined;
|
|
2060
2495
|
examples?: {
|
|
2061
2496
|
input: {
|
|
2062
2497
|
content: string;
|
|
@@ -2079,16 +2514,23 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
2079
2514
|
useResponsesApi?: boolean | undefined;
|
|
2080
2515
|
effort?: AnthropicEffort | null | undefined;
|
|
2081
2516
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2082
|
-
web_search?: boolean | undefined;
|
|
2083
2517
|
url_context?: boolean | undefined;
|
|
2084
2518
|
disableStreaming?: boolean | undefined;
|
|
2085
2519
|
assistant_id?: string | undefined;
|
|
2086
2520
|
agent_id?: string | undefined;
|
|
2521
|
+
subagentThread?: {
|
|
2522
|
+
subagentKind: "agent" | "graph";
|
|
2523
|
+
parentMessageId: string;
|
|
2524
|
+
rootConversationId: string;
|
|
2525
|
+
parentConversationId: string;
|
|
2526
|
+
parentToolCallId: string;
|
|
2527
|
+
subagentType: string;
|
|
2528
|
+
depth: number;
|
|
2529
|
+
parentAgentId?: string | undefined;
|
|
2530
|
+
} | undefined;
|
|
2087
2531
|
region?: string | undefined;
|
|
2088
2532
|
maxTokens?: string | number | undefined;
|
|
2089
2533
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
2090
|
-
instructions?: string | undefined;
|
|
2091
|
-
additional_instructions?: string | undefined;
|
|
2092
2534
|
append_current_datetime?: boolean | undefined;
|
|
2093
2535
|
presetOverride?: Record<string, unknown> | undefined;
|
|
2094
2536
|
stop?: string[] | undefined;
|
|
@@ -2106,9 +2548,23 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2106
2548
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
2107
2549
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
2108
2550
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
2551
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
2552
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2109
2553
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
2110
2554
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
2111
2555
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
2556
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
2557
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
2558
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2559
|
+
environmentId: z.ZodString;
|
|
2560
|
+
workspaceId: z.ZodString;
|
|
2561
|
+
}, "strict", z.ZodTypeAny, {
|
|
2562
|
+
environmentId: string;
|
|
2563
|
+
workspaceId: string;
|
|
2564
|
+
}, {
|
|
2565
|
+
environmentId: string;
|
|
2566
|
+
workspaceId: string;
|
|
2567
|
+
}>, "many">>;
|
|
2112
2568
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
2113
2569
|
user: z.ZodOptional<z.ZodString>;
|
|
2114
2570
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2141,6 +2597,9 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2141
2597
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
2142
2598
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
2143
2599
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
2600
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
2601
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
2602
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
2144
2603
|
}, "strip", z.ZodTypeAny, {
|
|
2145
2604
|
name: string;
|
|
2146
2605
|
pluginKey: string;
|
|
@@ -2157,6 +2616,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2157
2616
|
chatMenu?: boolean | undefined;
|
|
2158
2617
|
isButton?: boolean | undefined;
|
|
2159
2618
|
toolkit?: boolean | undefined;
|
|
2619
|
+
serverToolName?: string | undefined;
|
|
2160
2620
|
}, {
|
|
2161
2621
|
name: string;
|
|
2162
2622
|
pluginKey: string;
|
|
@@ -2173,6 +2633,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2173
2633
|
chatMenu?: boolean | undefined;
|
|
2174
2634
|
isButton?: boolean | undefined;
|
|
2175
2635
|
toolkit?: boolean | undefined;
|
|
2636
|
+
serverToolName?: string | undefined;
|
|
2176
2637
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
2177
2638
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2178
2639
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -2247,6 +2708,35 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2247
2708
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2248
2709
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
2249
2710
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
2711
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
2712
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
2713
|
+
rootConversationId: z.ZodString;
|
|
2714
|
+
parentConversationId: z.ZodString;
|
|
2715
|
+
parentMessageId: z.ZodString;
|
|
2716
|
+
parentToolCallId: z.ZodString;
|
|
2717
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
2718
|
+
subagentType: z.ZodString;
|
|
2719
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
2720
|
+
depth: z.ZodNumber;
|
|
2721
|
+
}, "strip", z.ZodTypeAny, {
|
|
2722
|
+
subagentKind: "agent" | "graph";
|
|
2723
|
+
parentMessageId: string;
|
|
2724
|
+
rootConversationId: string;
|
|
2725
|
+
parentConversationId: string;
|
|
2726
|
+
parentToolCallId: string;
|
|
2727
|
+
subagentType: string;
|
|
2728
|
+
depth: number;
|
|
2729
|
+
parentAgentId?: string | undefined;
|
|
2730
|
+
}, {
|
|
2731
|
+
subagentKind: "agent" | "graph";
|
|
2732
|
+
parentMessageId: string;
|
|
2733
|
+
rootConversationId: string;
|
|
2734
|
+
parentConversationId: string;
|
|
2735
|
+
parentToolCallId: string;
|
|
2736
|
+
subagentType: string;
|
|
2737
|
+
depth: number;
|
|
2738
|
+
parentAgentId?: string | undefined;
|
|
2739
|
+
}>>;
|
|
2250
2740
|
region: z.ZodOptional<z.ZodString>;
|
|
2251
2741
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2252
2742
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -2266,11 +2756,13 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2266
2756
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
2267
2757
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
2268
2758
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2269
|
-
}, "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" | "
|
|
2759
|
+
}, "web_search" | "instructions" | "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" | "url_context" | "disableStreaming" | "assistant_id" | "agent_id" | "region" | "maxTokens" | "append_current_datetime" | "stop" | "spec" | "fileTokenLimit"> & {
|
|
2270
2760
|
/** @endpoints openAI, custom, azureOpenAI, google, anthropic, assistants, azureAssistants, bedrock, agents */
|
|
2271
2761
|
endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
|
|
2272
2762
|
}, "strip", z.ZodTypeAny, {
|
|
2273
2763
|
endpoint: string | null;
|
|
2764
|
+
web_search?: boolean | undefined;
|
|
2765
|
+
instructions?: string | undefined;
|
|
2274
2766
|
model?: string | null | undefined;
|
|
2275
2767
|
promptPrefix?: string | null | undefined;
|
|
2276
2768
|
temperature?: number | null | undefined;
|
|
@@ -2297,20 +2789,20 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2297
2789
|
useResponsesApi?: boolean | undefined;
|
|
2298
2790
|
effort?: AnthropicEffort | null | undefined;
|
|
2299
2791
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2300
|
-
web_search?: boolean | undefined;
|
|
2301
2792
|
url_context?: boolean | undefined;
|
|
2302
2793
|
disableStreaming?: boolean | undefined;
|
|
2303
2794
|
assistant_id?: string | undefined;
|
|
2304
2795
|
agent_id?: string | undefined;
|
|
2305
2796
|
region?: string | undefined;
|
|
2306
2797
|
maxTokens?: number | undefined;
|
|
2307
|
-
instructions?: string | undefined;
|
|
2308
2798
|
append_current_datetime?: boolean | undefined;
|
|
2309
2799
|
stop?: string[] | undefined;
|
|
2310
2800
|
spec?: string | null | undefined;
|
|
2311
2801
|
fileTokenLimit?: number | undefined;
|
|
2312
2802
|
}, {
|
|
2313
2803
|
endpoint: string | null;
|
|
2804
|
+
web_search?: boolean | undefined;
|
|
2805
|
+
instructions?: string | undefined;
|
|
2314
2806
|
model?: string | null | undefined;
|
|
2315
2807
|
promptPrefix?: string | null | undefined;
|
|
2316
2808
|
temperature?: number | null | undefined;
|
|
@@ -2337,14 +2829,12 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2337
2829
|
useResponsesApi?: boolean | undefined;
|
|
2338
2830
|
effort?: AnthropicEffort | null | undefined;
|
|
2339
2831
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2340
|
-
web_search?: boolean | undefined;
|
|
2341
2832
|
url_context?: boolean | undefined;
|
|
2342
2833
|
disableStreaming?: boolean | undefined;
|
|
2343
2834
|
assistant_id?: string | undefined;
|
|
2344
2835
|
agent_id?: string | undefined;
|
|
2345
2836
|
region?: string | undefined;
|
|
2346
2837
|
maxTokens?: string | number | undefined;
|
|
2347
|
-
instructions?: string | undefined;
|
|
2348
2838
|
append_current_datetime?: boolean | undefined;
|
|
2349
2839
|
stop?: string[] | undefined;
|
|
2350
2840
|
spec?: string | null | undefined;
|
|
@@ -2357,15 +2847,12 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2357
2847
|
* `spec` is set by the client from `modelSpec.name` via `getModelSpecPreset` and is
|
|
2358
2848
|
* omitted to avoid duplicate configuration surface.
|
|
2359
2849
|
*/
|
|
2360
|
-
export declare const tModelSpecPresetSchema: z.ZodObject<
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
2367
|
-
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
2368
|
-
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2850
|
+
export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
|
|
2851
|
+
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
2852
|
+
context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2853
|
+
artifacts: z.ZodOptional<z.ZodString>;
|
|
2854
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
2855
|
+
additional_instructions: z.ZodOptional<z.ZodString>;
|
|
2369
2856
|
tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
2370
2857
|
name: z.ZodString;
|
|
2371
2858
|
pluginKey: z.ZodString;
|
|
@@ -2395,6 +2882,9 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2395
2882
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
2396
2883
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
2397
2884
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
2885
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
2886
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
2887
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
2398
2888
|
}, "strip", z.ZodTypeAny, {
|
|
2399
2889
|
name: string;
|
|
2400
2890
|
pluginKey: string;
|
|
@@ -2411,6 +2901,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2411
2901
|
chatMenu?: boolean | undefined;
|
|
2412
2902
|
isButton?: boolean | undefined;
|
|
2413
2903
|
toolkit?: boolean | undefined;
|
|
2904
|
+
serverToolName?: string | undefined;
|
|
2414
2905
|
}, {
|
|
2415
2906
|
name: string;
|
|
2416
2907
|
pluginKey: string;
|
|
@@ -2427,7 +2918,25 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2427
2918
|
chatMenu?: boolean | undefined;
|
|
2428
2919
|
isButton?: boolean | undefined;
|
|
2429
2920
|
toolkit?: boolean | undefined;
|
|
2921
|
+
serverToolName?: string | undefined;
|
|
2430
2922
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
2923
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2924
|
+
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
2925
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2926
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
2927
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
2928
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
2929
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
2930
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2931
|
+
environmentId: z.ZodString;
|
|
2932
|
+
workspaceId: z.ZodString;
|
|
2933
|
+
}, "strict", z.ZodTypeAny, {
|
|
2934
|
+
environmentId: string;
|
|
2935
|
+
workspaceId: string;
|
|
2936
|
+
}, {
|
|
2937
|
+
environmentId: string;
|
|
2938
|
+
workspaceId: string;
|
|
2939
|
+
}>, "many">>;
|
|
2431
2940
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2432
2941
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
2433
2942
|
promptPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2437,7 +2946,6 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2437
2946
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
2438
2947
|
frequency_penalty: z.ZodOptional<z.ZodNumber>;
|
|
2439
2948
|
presence_penalty: z.ZodOptional<z.ZodNumber>;
|
|
2440
|
-
parentMessageId: z.ZodOptional<z.ZodString>;
|
|
2441
2949
|
maxOutputTokens: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>>;
|
|
2442
2950
|
maxContextTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2443
2951
|
max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
@@ -2448,8 +2956,6 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2448
2956
|
thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2449
2957
|
thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof ThinkingLevel>>;
|
|
2450
2958
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
2451
|
-
artifacts: z.ZodOptional<z.ZodString>;
|
|
2452
|
-
context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2453
2959
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2454
2960
|
input: z.ZodObject<{
|
|
2455
2961
|
content: z.ZodString;
|
|
@@ -2481,7 +2987,6 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2481
2987
|
};
|
|
2482
2988
|
}>, "many">>;
|
|
2483
2989
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
2484
|
-
file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2485
2990
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
2486
2991
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
|
|
2487
2992
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
|
|
@@ -2491,40 +2996,56 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2491
2996
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
2492
2997
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
2493
2998
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
2494
|
-
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
2495
2999
|
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
2496
3000
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2497
3001
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
2498
3002
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
3003
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
3004
|
+
rootConversationId: z.ZodString;
|
|
3005
|
+
parentConversationId: z.ZodString;
|
|
3006
|
+
parentMessageId: z.ZodString;
|
|
3007
|
+
parentToolCallId: z.ZodString;
|
|
3008
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
3009
|
+
subagentType: z.ZodString;
|
|
3010
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
3011
|
+
depth: z.ZodNumber;
|
|
3012
|
+
}, "strip", z.ZodTypeAny, {
|
|
3013
|
+
subagentKind: "agent" | "graph";
|
|
3014
|
+
parentMessageId: string;
|
|
3015
|
+
rootConversationId: string;
|
|
3016
|
+
parentConversationId: string;
|
|
3017
|
+
parentToolCallId: string;
|
|
3018
|
+
subagentType: string;
|
|
3019
|
+
depth: number;
|
|
3020
|
+
parentAgentId?: string | undefined;
|
|
3021
|
+
}, {
|
|
3022
|
+
subagentKind: "agent" | "graph";
|
|
3023
|
+
parentMessageId: string;
|
|
3024
|
+
rootConversationId: string;
|
|
3025
|
+
parentConversationId: string;
|
|
3026
|
+
parentToolCallId: string;
|
|
3027
|
+
subagentType: string;
|
|
3028
|
+
depth: number;
|
|
3029
|
+
parentAgentId?: string | undefined;
|
|
3030
|
+
}>>;
|
|
2499
3031
|
region: z.ZodOptional<z.ZodString>;
|
|
2500
3032
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2501
3033
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
2502
|
-
instructions: z.ZodOptional<z.ZodString>;
|
|
2503
|
-
additional_instructions: z.ZodOptional<z.ZodString>;
|
|
2504
3034
|
append_current_datetime: z.ZodOptional<z.ZodBoolean>;
|
|
2505
|
-
presetOverride: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2506
3035
|
stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2507
3036
|
greeting: z.ZodOptional<z.ZodString>;
|
|
2508
|
-
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2509
3037
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2510
|
-
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2511
3038
|
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
2512
3039
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2513
|
-
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
2514
|
-
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2515
3040
|
} & {
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
endpoint
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
model?: string | null | undefined;
|
|
2525
|
-
endpointType?: EModelEndpoint | null | undefined;
|
|
2526
|
-
pinned?: boolean | undefined;
|
|
2527
|
-
isShared?: boolean | undefined;
|
|
3041
|
+
endpoint: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>>;
|
|
3042
|
+
}, "strip", z.ZodTypeAny, {
|
|
3043
|
+
web_search?: boolean | undefined;
|
|
3044
|
+
context?: string | null | undefined;
|
|
3045
|
+
artifacts?: string | undefined;
|
|
3046
|
+
endpoint?: string | null | undefined;
|
|
3047
|
+
instructions?: string | undefined;
|
|
3048
|
+
additional_instructions?: string | undefined;
|
|
2528
3049
|
tools?: string[] | {
|
|
2529
3050
|
name: string;
|
|
2530
3051
|
pluginKey: string;
|
|
@@ -2541,6 +3062,18 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2541
3062
|
chatMenu?: boolean | undefined;
|
|
2542
3063
|
isButton?: boolean | undefined;
|
|
2543
3064
|
toolkit?: boolean | undefined;
|
|
3065
|
+
serverToolName?: string | undefined;
|
|
3066
|
+
}[] | undefined;
|
|
3067
|
+
model?: string | null | undefined;
|
|
3068
|
+
endpointType?: EModelEndpoint | null | undefined;
|
|
3069
|
+
archivedAt?: string | null | undefined;
|
|
3070
|
+
pinned?: boolean | undefined;
|
|
3071
|
+
isShared?: boolean | undefined;
|
|
3072
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
3073
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
3074
|
+
codeWorkspaces?: {
|
|
3075
|
+
environmentId: string;
|
|
3076
|
+
workspaceId: string;
|
|
2544
3077
|
}[] | undefined;
|
|
2545
3078
|
modelLabel?: string | null | undefined;
|
|
2546
3079
|
userLabel?: string | undefined;
|
|
@@ -2561,8 +3094,6 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2561
3094
|
thinkingBudget?: number | undefined;
|
|
2562
3095
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
2563
3096
|
stream?: boolean | undefined;
|
|
2564
|
-
artifacts?: string | undefined;
|
|
2565
|
-
context?: string | null | undefined;
|
|
2566
3097
|
examples?: {
|
|
2567
3098
|
input: {
|
|
2568
3099
|
content: string;
|
|
@@ -2581,16 +3112,23 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2581
3112
|
useResponsesApi?: boolean | undefined;
|
|
2582
3113
|
effort?: AnthropicEffort | null | undefined;
|
|
2583
3114
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2584
|
-
web_search?: boolean | undefined;
|
|
2585
3115
|
url_context?: boolean | undefined;
|
|
2586
3116
|
disableStreaming?: boolean | undefined;
|
|
2587
3117
|
assistant_id?: string | undefined;
|
|
2588
3118
|
agent_id?: string | undefined;
|
|
3119
|
+
subagentThread?: {
|
|
3120
|
+
subagentKind: "agent" | "graph";
|
|
3121
|
+
parentMessageId: string;
|
|
3122
|
+
rootConversationId: string;
|
|
3123
|
+
parentConversationId: string;
|
|
3124
|
+
parentToolCallId: string;
|
|
3125
|
+
subagentType: string;
|
|
3126
|
+
depth: number;
|
|
3127
|
+
parentAgentId?: string | undefined;
|
|
3128
|
+
} | undefined;
|
|
2589
3129
|
region?: string | undefined;
|
|
2590
3130
|
maxTokens?: number | undefined;
|
|
2591
3131
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
2592
|
-
instructions?: string | undefined;
|
|
2593
|
-
additional_instructions?: string | undefined;
|
|
2594
3132
|
append_current_datetime?: boolean | undefined;
|
|
2595
3133
|
stop?: string[] | undefined;
|
|
2596
3134
|
greeting?: string | undefined;
|
|
@@ -2598,11 +3136,204 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2598
3136
|
isTemporary?: boolean | undefined;
|
|
2599
3137
|
fileTokenLimit?: number | undefined;
|
|
2600
3138
|
}, {
|
|
2601
|
-
|
|
3139
|
+
web_search?: boolean | undefined;
|
|
3140
|
+
context?: string | null | undefined;
|
|
3141
|
+
artifacts?: string | undefined;
|
|
3142
|
+
endpoint?: string | null | undefined;
|
|
3143
|
+
instructions?: string | undefined;
|
|
3144
|
+
additional_instructions?: string | undefined;
|
|
3145
|
+
tools?: string[] | {
|
|
3146
|
+
name: string;
|
|
3147
|
+
pluginKey: string;
|
|
3148
|
+
description?: string | undefined;
|
|
3149
|
+
icon?: string | undefined;
|
|
3150
|
+
authConfig?: {
|
|
3151
|
+
description: string;
|
|
3152
|
+
authField: string;
|
|
3153
|
+
label: string;
|
|
3154
|
+
optional?: boolean | undefined;
|
|
3155
|
+
sensitive?: boolean | undefined;
|
|
3156
|
+
}[] | undefined;
|
|
3157
|
+
authenticated?: boolean | undefined;
|
|
3158
|
+
chatMenu?: boolean | undefined;
|
|
3159
|
+
isButton?: boolean | undefined;
|
|
3160
|
+
toolkit?: boolean | undefined;
|
|
3161
|
+
serverToolName?: string | undefined;
|
|
3162
|
+
}[] | undefined;
|
|
3163
|
+
model?: string | null | undefined;
|
|
3164
|
+
endpointType?: EModelEndpoint | null | undefined;
|
|
3165
|
+
archivedAt?: string | null | undefined;
|
|
3166
|
+
pinned?: boolean | undefined;
|
|
3167
|
+
isShared?: boolean | undefined;
|
|
3168
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
3169
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
3170
|
+
codeWorkspaces?: {
|
|
3171
|
+
environmentId: string;
|
|
3172
|
+
workspaceId: string;
|
|
3173
|
+
}[] | undefined;
|
|
3174
|
+
modelLabel?: string | null | undefined;
|
|
3175
|
+
userLabel?: string | undefined;
|
|
3176
|
+
promptPrefix?: string | null | undefined;
|
|
3177
|
+
temperature?: number | null | undefined;
|
|
3178
|
+
topP?: number | undefined;
|
|
3179
|
+
topK?: number | undefined;
|
|
3180
|
+
top_p?: number | undefined;
|
|
3181
|
+
frequency_penalty?: number | undefined;
|
|
3182
|
+
presence_penalty?: number | undefined;
|
|
3183
|
+
maxOutputTokens?: string | number | null | undefined;
|
|
3184
|
+
maxContextTokens?: string | number | undefined;
|
|
3185
|
+
max_tokens?: string | number | undefined;
|
|
3186
|
+
promptCache?: boolean | undefined;
|
|
3187
|
+
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
3188
|
+
system?: string | undefined;
|
|
3189
|
+
thinking?: boolean | undefined;
|
|
3190
|
+
thinkingBudget?: string | number | undefined;
|
|
3191
|
+
thinkingLevel?: ThinkingLevel | undefined;
|
|
3192
|
+
stream?: boolean | undefined;
|
|
3193
|
+
examples?: {
|
|
3194
|
+
input: {
|
|
3195
|
+
content: string;
|
|
3196
|
+
};
|
|
3197
|
+
output: {
|
|
3198
|
+
content: string;
|
|
3199
|
+
};
|
|
3200
|
+
}[] | undefined;
|
|
3201
|
+
resendFiles?: boolean | undefined;
|
|
3202
|
+
imageDetail?: ImageDetail | undefined;
|
|
3203
|
+
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
3204
|
+
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
3205
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
3206
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
3207
|
+
verbosity?: Verbosity | null | undefined;
|
|
3208
|
+
useResponsesApi?: boolean | undefined;
|
|
3209
|
+
effort?: AnthropicEffort | null | undefined;
|
|
3210
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
3211
|
+
url_context?: boolean | undefined;
|
|
3212
|
+
disableStreaming?: boolean | undefined;
|
|
3213
|
+
assistant_id?: string | undefined;
|
|
3214
|
+
agent_id?: string | undefined;
|
|
3215
|
+
subagentThread?: {
|
|
3216
|
+
subagentKind: "agent" | "graph";
|
|
3217
|
+
parentMessageId: string;
|
|
3218
|
+
rootConversationId: string;
|
|
3219
|
+
parentConversationId: string;
|
|
3220
|
+
parentToolCallId: string;
|
|
3221
|
+
subagentType: string;
|
|
3222
|
+
depth: number;
|
|
3223
|
+
parentAgentId?: string | undefined;
|
|
3224
|
+
} | undefined;
|
|
3225
|
+
region?: string | undefined;
|
|
3226
|
+
maxTokens?: string | number | undefined;
|
|
3227
|
+
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
3228
|
+
append_current_datetime?: boolean | undefined;
|
|
3229
|
+
stop?: string[] | undefined;
|
|
3230
|
+
greeting?: string | undefined;
|
|
3231
|
+
iconURL?: string | null | undefined;
|
|
3232
|
+
isTemporary?: boolean | undefined;
|
|
3233
|
+
fileTokenLimit?: string | number | undefined;
|
|
3234
|
+
}>, {
|
|
3235
|
+
web_search?: boolean | undefined;
|
|
3236
|
+
context?: string | null | undefined;
|
|
3237
|
+
artifacts?: string | undefined;
|
|
3238
|
+
endpoint?: string | null | undefined;
|
|
3239
|
+
instructions?: string | undefined;
|
|
3240
|
+
additional_instructions?: string | undefined;
|
|
3241
|
+
tools?: string[] | {
|
|
3242
|
+
name: string;
|
|
3243
|
+
pluginKey: string;
|
|
3244
|
+
description?: string | undefined;
|
|
3245
|
+
icon?: string | undefined;
|
|
3246
|
+
authConfig?: {
|
|
3247
|
+
description: string;
|
|
3248
|
+
authField: string;
|
|
3249
|
+
label: string;
|
|
3250
|
+
optional?: boolean | undefined;
|
|
3251
|
+
sensitive?: boolean | undefined;
|
|
3252
|
+
}[] | undefined;
|
|
3253
|
+
authenticated?: boolean | undefined;
|
|
3254
|
+
chatMenu?: boolean | undefined;
|
|
3255
|
+
isButton?: boolean | undefined;
|
|
3256
|
+
toolkit?: boolean | undefined;
|
|
3257
|
+
serverToolName?: string | undefined;
|
|
3258
|
+
}[] | undefined;
|
|
2602
3259
|
model?: string | null | undefined;
|
|
2603
3260
|
endpointType?: EModelEndpoint | null | undefined;
|
|
3261
|
+
archivedAt?: string | null | undefined;
|
|
2604
3262
|
pinned?: boolean | undefined;
|
|
2605
3263
|
isShared?: boolean | undefined;
|
|
3264
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
3265
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
3266
|
+
codeWorkspaces?: {
|
|
3267
|
+
environmentId: string;
|
|
3268
|
+
workspaceId: string;
|
|
3269
|
+
}[] | undefined;
|
|
3270
|
+
modelLabel?: string | null | undefined;
|
|
3271
|
+
userLabel?: string | undefined;
|
|
3272
|
+
promptPrefix?: string | null | undefined;
|
|
3273
|
+
temperature?: number | null | undefined;
|
|
3274
|
+
topP?: number | undefined;
|
|
3275
|
+
topK?: number | undefined;
|
|
3276
|
+
top_p?: number | undefined;
|
|
3277
|
+
frequency_penalty?: number | undefined;
|
|
3278
|
+
presence_penalty?: number | undefined;
|
|
3279
|
+
maxOutputTokens?: number | null | undefined;
|
|
3280
|
+
maxContextTokens?: number | undefined;
|
|
3281
|
+
max_tokens?: number | undefined;
|
|
3282
|
+
promptCache?: boolean | undefined;
|
|
3283
|
+
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
3284
|
+
system?: string | undefined;
|
|
3285
|
+
thinking?: boolean | undefined;
|
|
3286
|
+
thinkingBudget?: number | undefined;
|
|
3287
|
+
thinkingLevel?: ThinkingLevel | undefined;
|
|
3288
|
+
stream?: boolean | undefined;
|
|
3289
|
+
examples?: {
|
|
3290
|
+
input: {
|
|
3291
|
+
content: string;
|
|
3292
|
+
};
|
|
3293
|
+
output: {
|
|
3294
|
+
content: string;
|
|
3295
|
+
};
|
|
3296
|
+
}[] | undefined;
|
|
3297
|
+
resendFiles?: boolean | undefined;
|
|
3298
|
+
imageDetail?: ImageDetail | undefined;
|
|
3299
|
+
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
3300
|
+
reasoning_summary?: ReasoningSummary | null | undefined;
|
|
3301
|
+
reasoning_mode?: ReasoningMode | null | undefined;
|
|
3302
|
+
reasoning_context?: ReasoningContext | null | undefined;
|
|
3303
|
+
verbosity?: Verbosity | null | undefined;
|
|
3304
|
+
useResponsesApi?: boolean | undefined;
|
|
3305
|
+
effort?: AnthropicEffort | null | undefined;
|
|
3306
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
3307
|
+
url_context?: boolean | undefined;
|
|
3308
|
+
disableStreaming?: boolean | undefined;
|
|
3309
|
+
assistant_id?: string | undefined;
|
|
3310
|
+
agent_id?: string | undefined;
|
|
3311
|
+
subagentThread?: {
|
|
3312
|
+
subagentKind: "agent" | "graph";
|
|
3313
|
+
parentMessageId: string;
|
|
3314
|
+
rootConversationId: string;
|
|
3315
|
+
parentConversationId: string;
|
|
3316
|
+
parentToolCallId: string;
|
|
3317
|
+
subagentType: string;
|
|
3318
|
+
depth: number;
|
|
3319
|
+
parentAgentId?: string | undefined;
|
|
3320
|
+
} | undefined;
|
|
3321
|
+
region?: string | undefined;
|
|
3322
|
+
maxTokens?: number | undefined;
|
|
3323
|
+
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
3324
|
+
append_current_datetime?: boolean | undefined;
|
|
3325
|
+
stop?: string[] | undefined;
|
|
3326
|
+
greeting?: string | undefined;
|
|
3327
|
+
iconURL?: string | null | undefined;
|
|
3328
|
+
isTemporary?: boolean | undefined;
|
|
3329
|
+
fileTokenLimit?: number | undefined;
|
|
3330
|
+
}, {
|
|
3331
|
+
web_search?: boolean | undefined;
|
|
3332
|
+
context?: string | null | undefined;
|
|
3333
|
+
artifacts?: string | undefined;
|
|
3334
|
+
endpoint?: string | null | undefined;
|
|
3335
|
+
instructions?: string | undefined;
|
|
3336
|
+
additional_instructions?: string | undefined;
|
|
2606
3337
|
tools?: string[] | {
|
|
2607
3338
|
name: string;
|
|
2608
3339
|
pluginKey: string;
|
|
@@ -2619,6 +3350,18 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2619
3350
|
chatMenu?: boolean | undefined;
|
|
2620
3351
|
isButton?: boolean | undefined;
|
|
2621
3352
|
toolkit?: boolean | undefined;
|
|
3353
|
+
serverToolName?: string | undefined;
|
|
3354
|
+
}[] | undefined;
|
|
3355
|
+
model?: string | null | undefined;
|
|
3356
|
+
endpointType?: EModelEndpoint | null | undefined;
|
|
3357
|
+
archivedAt?: string | null | undefined;
|
|
3358
|
+
pinned?: boolean | undefined;
|
|
3359
|
+
isShared?: boolean | undefined;
|
|
3360
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
3361
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
3362
|
+
codeWorkspaces?: {
|
|
3363
|
+
environmentId: string;
|
|
3364
|
+
workspaceId: string;
|
|
2622
3365
|
}[] | undefined;
|
|
2623
3366
|
modelLabel?: string | null | undefined;
|
|
2624
3367
|
userLabel?: string | undefined;
|
|
@@ -2639,8 +3382,6 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2639
3382
|
thinkingBudget?: string | number | undefined;
|
|
2640
3383
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
2641
3384
|
stream?: boolean | undefined;
|
|
2642
|
-
artifacts?: string | undefined;
|
|
2643
|
-
context?: string | null | undefined;
|
|
2644
3385
|
examples?: {
|
|
2645
3386
|
input: {
|
|
2646
3387
|
content: string;
|
|
@@ -2659,16 +3400,23 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2659
3400
|
useResponsesApi?: boolean | undefined;
|
|
2660
3401
|
effort?: AnthropicEffort | null | undefined;
|
|
2661
3402
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2662
|
-
web_search?: boolean | undefined;
|
|
2663
3403
|
url_context?: boolean | undefined;
|
|
2664
3404
|
disableStreaming?: boolean | undefined;
|
|
2665
3405
|
assistant_id?: string | undefined;
|
|
2666
3406
|
agent_id?: string | undefined;
|
|
3407
|
+
subagentThread?: {
|
|
3408
|
+
subagentKind: "agent" | "graph";
|
|
3409
|
+
parentMessageId: string;
|
|
3410
|
+
rootConversationId: string;
|
|
3411
|
+
parentConversationId: string;
|
|
3412
|
+
parentToolCallId: string;
|
|
3413
|
+
subagentType: string;
|
|
3414
|
+
depth: number;
|
|
3415
|
+
parentAgentId?: string | undefined;
|
|
3416
|
+
} | undefined;
|
|
2667
3417
|
region?: string | undefined;
|
|
2668
3418
|
maxTokens?: string | number | undefined;
|
|
2669
3419
|
additionalModelRequestFields?: DocumentTypeValue | undefined;
|
|
2670
|
-
instructions?: string | undefined;
|
|
2671
|
-
additional_instructions?: string | undefined;
|
|
2672
3420
|
append_current_datetime?: boolean | undefined;
|
|
2673
3421
|
stop?: string[] | undefined;
|
|
2674
3422
|
greeting?: string | undefined;
|
|
@@ -2720,19 +3468,19 @@ export declare const tConversationTagSchema: z.ZodObject<{
|
|
|
2720
3468
|
position: z.ZodNumber;
|
|
2721
3469
|
}, "strip", z.ZodTypeAny, {
|
|
2722
3470
|
user: string;
|
|
3471
|
+
_id: string;
|
|
2723
3472
|
createdAt: string;
|
|
2724
3473
|
updatedAt: string;
|
|
2725
3474
|
tag: string;
|
|
2726
|
-
_id: string;
|
|
2727
3475
|
count: number;
|
|
2728
3476
|
position: number;
|
|
2729
3477
|
description?: string | undefined;
|
|
2730
3478
|
}, {
|
|
2731
3479
|
user: string;
|
|
3480
|
+
_id: string;
|
|
2732
3481
|
createdAt: string;
|
|
2733
3482
|
updatedAt: string;
|
|
2734
3483
|
tag: string;
|
|
2735
|
-
_id: string;
|
|
2736
3484
|
count: number;
|
|
2737
3485
|
position: number;
|
|
2738
3486
|
description?: string | undefined;
|
|
@@ -2743,9 +3491,23 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2743
3491
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
2744
3492
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
2745
3493
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
3494
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
3495
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2746
3496
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
2747
3497
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
2748
3498
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
3499
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
3500
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
3501
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3502
|
+
environmentId: z.ZodString;
|
|
3503
|
+
workspaceId: z.ZodString;
|
|
3504
|
+
}, "strict", z.ZodTypeAny, {
|
|
3505
|
+
environmentId: string;
|
|
3506
|
+
workspaceId: string;
|
|
3507
|
+
}, {
|
|
3508
|
+
environmentId: string;
|
|
3509
|
+
workspaceId: string;
|
|
3510
|
+
}>, "many">>;
|
|
2749
3511
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
2750
3512
|
user: z.ZodOptional<z.ZodString>;
|
|
2751
3513
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2778,6 +3540,9 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2778
3540
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
2779
3541
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
2780
3542
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
3543
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
3544
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
3545
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
2781
3546
|
}, "strip", z.ZodTypeAny, {
|
|
2782
3547
|
name: string;
|
|
2783
3548
|
pluginKey: string;
|
|
@@ -2794,6 +3559,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2794
3559
|
chatMenu?: boolean | undefined;
|
|
2795
3560
|
isButton?: boolean | undefined;
|
|
2796
3561
|
toolkit?: boolean | undefined;
|
|
3562
|
+
serverToolName?: string | undefined;
|
|
2797
3563
|
}, {
|
|
2798
3564
|
name: string;
|
|
2799
3565
|
pluginKey: string;
|
|
@@ -2810,6 +3576,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2810
3576
|
chatMenu?: boolean | undefined;
|
|
2811
3577
|
isButton?: boolean | undefined;
|
|
2812
3578
|
toolkit?: boolean | undefined;
|
|
3579
|
+
serverToolName?: string | undefined;
|
|
2813
3580
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
2814
3581
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2815
3582
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -2884,6 +3651,35 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2884
3651
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2885
3652
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
2886
3653
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
3654
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
3655
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
3656
|
+
rootConversationId: z.ZodString;
|
|
3657
|
+
parentConversationId: z.ZodString;
|
|
3658
|
+
parentMessageId: z.ZodString;
|
|
3659
|
+
parentToolCallId: z.ZodString;
|
|
3660
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
3661
|
+
subagentType: z.ZodString;
|
|
3662
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
3663
|
+
depth: z.ZodNumber;
|
|
3664
|
+
}, "strip", z.ZodTypeAny, {
|
|
3665
|
+
subagentKind: "agent" | "graph";
|
|
3666
|
+
parentMessageId: string;
|
|
3667
|
+
rootConversationId: string;
|
|
3668
|
+
parentConversationId: string;
|
|
3669
|
+
parentToolCallId: string;
|
|
3670
|
+
subagentType: string;
|
|
3671
|
+
depth: number;
|
|
3672
|
+
parentAgentId?: string | undefined;
|
|
3673
|
+
}, {
|
|
3674
|
+
subagentKind: "agent" | "graph";
|
|
3675
|
+
parentMessageId: string;
|
|
3676
|
+
rootConversationId: string;
|
|
3677
|
+
parentConversationId: string;
|
|
3678
|
+
parentToolCallId: string;
|
|
3679
|
+
subagentType: string;
|
|
3680
|
+
depth: number;
|
|
3681
|
+
parentAgentId?: string | undefined;
|
|
3682
|
+
}>>;
|
|
2887
3683
|
region: z.ZodOptional<z.ZodString>;
|
|
2888
3684
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2889
3685
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -2903,7 +3699,9 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2903
3699
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
2904
3700
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
2905
3701
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2906
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "
|
|
3702
|
+
}, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "examples" | "chatProjectId" | "resendFiles" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
3703
|
+
web_search?: boolean | undefined;
|
|
3704
|
+
artifacts?: string | undefined;
|
|
2907
3705
|
model?: string | null | undefined;
|
|
2908
3706
|
modelLabel?: string | null | undefined;
|
|
2909
3707
|
promptPrefix?: string | null | undefined;
|
|
@@ -2915,7 +3713,6 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2915
3713
|
thinking?: boolean | undefined;
|
|
2916
3714
|
thinkingBudget?: number | undefined;
|
|
2917
3715
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
2918
|
-
artifacts?: string | undefined;
|
|
2919
3716
|
examples?: {
|
|
2920
3717
|
input: {
|
|
2921
3718
|
content: string;
|
|
@@ -2925,13 +3722,15 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2925
3722
|
};
|
|
2926
3723
|
}[] | undefined;
|
|
2927
3724
|
chatProjectId?: string | null | undefined;
|
|
2928
|
-
|
|
3725
|
+
resendFiles?: boolean | undefined;
|
|
2929
3726
|
url_context?: boolean | undefined;
|
|
2930
3727
|
greeting?: string | undefined;
|
|
2931
3728
|
spec?: string | null | undefined;
|
|
2932
3729
|
iconURL?: string | null | undefined;
|
|
2933
3730
|
fileTokenLimit?: number | undefined;
|
|
2934
3731
|
}, {
|
|
3732
|
+
web_search?: boolean | undefined;
|
|
3733
|
+
artifacts?: string | undefined;
|
|
2935
3734
|
model?: string | null | undefined;
|
|
2936
3735
|
modelLabel?: string | null | undefined;
|
|
2937
3736
|
promptPrefix?: string | null | undefined;
|
|
@@ -2943,7 +3742,6 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2943
3742
|
thinking?: boolean | undefined;
|
|
2944
3743
|
thinkingBudget?: string | number | undefined;
|
|
2945
3744
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
2946
|
-
artifacts?: string | undefined;
|
|
2947
3745
|
examples?: {
|
|
2948
3746
|
input: {
|
|
2949
3747
|
content: string;
|
|
@@ -2953,7 +3751,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2953
3751
|
};
|
|
2954
3752
|
}[] | undefined;
|
|
2955
3753
|
chatProjectId?: string | null | undefined;
|
|
2956
|
-
|
|
3754
|
+
resendFiles?: boolean | undefined;
|
|
2957
3755
|
url_context?: boolean | undefined;
|
|
2958
3756
|
greeting?: string | undefined;
|
|
2959
3757
|
spec?: string | null | undefined;
|
|
@@ -2965,9 +3763,23 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2965
3763
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
2966
3764
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
2967
3765
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
3766
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
3767
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2968
3768
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
2969
3769
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
2970
3770
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
3771
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
3772
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
3773
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3774
|
+
environmentId: z.ZodString;
|
|
3775
|
+
workspaceId: z.ZodString;
|
|
3776
|
+
}, "strict", z.ZodTypeAny, {
|
|
3777
|
+
environmentId: string;
|
|
3778
|
+
workspaceId: string;
|
|
3779
|
+
}, {
|
|
3780
|
+
environmentId: string;
|
|
3781
|
+
workspaceId: string;
|
|
3782
|
+
}>, "many">>;
|
|
2971
3783
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
2972
3784
|
user: z.ZodOptional<z.ZodString>;
|
|
2973
3785
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3000,6 +3812,9 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3000
3812
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
3001
3813
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
3002
3814
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
3815
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
3816
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
3817
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
3003
3818
|
}, "strip", z.ZodTypeAny, {
|
|
3004
3819
|
name: string;
|
|
3005
3820
|
pluginKey: string;
|
|
@@ -3016,6 +3831,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3016
3831
|
chatMenu?: boolean | undefined;
|
|
3017
3832
|
isButton?: boolean | undefined;
|
|
3018
3833
|
toolkit?: boolean | undefined;
|
|
3834
|
+
serverToolName?: string | undefined;
|
|
3019
3835
|
}, {
|
|
3020
3836
|
name: string;
|
|
3021
3837
|
pluginKey: string;
|
|
@@ -3032,6 +3848,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3032
3848
|
chatMenu?: boolean | undefined;
|
|
3033
3849
|
isButton?: boolean | undefined;
|
|
3034
3850
|
toolkit?: boolean | undefined;
|
|
3851
|
+
serverToolName?: string | undefined;
|
|
3035
3852
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
3036
3853
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3037
3854
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -3106,6 +3923,35 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3106
3923
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3107
3924
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3108
3925
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
3926
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
3927
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
3928
|
+
rootConversationId: z.ZodString;
|
|
3929
|
+
parentConversationId: z.ZodString;
|
|
3930
|
+
parentMessageId: z.ZodString;
|
|
3931
|
+
parentToolCallId: z.ZodString;
|
|
3932
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
3933
|
+
subagentType: z.ZodString;
|
|
3934
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
3935
|
+
depth: z.ZodNumber;
|
|
3936
|
+
}, "strip", z.ZodTypeAny, {
|
|
3937
|
+
subagentKind: "agent" | "graph";
|
|
3938
|
+
parentMessageId: string;
|
|
3939
|
+
rootConversationId: string;
|
|
3940
|
+
parentConversationId: string;
|
|
3941
|
+
parentToolCallId: string;
|
|
3942
|
+
subagentType: string;
|
|
3943
|
+
depth: number;
|
|
3944
|
+
parentAgentId?: string | undefined;
|
|
3945
|
+
}, {
|
|
3946
|
+
subagentKind: "agent" | "graph";
|
|
3947
|
+
parentMessageId: string;
|
|
3948
|
+
rootConversationId: string;
|
|
3949
|
+
parentConversationId: string;
|
|
3950
|
+
parentToolCallId: string;
|
|
3951
|
+
subagentType: string;
|
|
3952
|
+
depth: number;
|
|
3953
|
+
parentAgentId?: string | undefined;
|
|
3954
|
+
}>>;
|
|
3109
3955
|
region: z.ZodOptional<z.ZodString>;
|
|
3110
3956
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3111
3957
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -3125,7 +3971,9 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3125
3971
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
3126
3972
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
3127
3973
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3128
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "
|
|
3974
|
+
}, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "examples" | "chatProjectId" | "resendFiles" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
3975
|
+
web_search?: boolean | undefined;
|
|
3976
|
+
artifacts?: string | undefined;
|
|
3129
3977
|
model?: string | null | undefined;
|
|
3130
3978
|
modelLabel?: string | null | undefined;
|
|
3131
3979
|
promptPrefix?: string | null | undefined;
|
|
@@ -3137,7 +3985,6 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3137
3985
|
thinking?: boolean | undefined;
|
|
3138
3986
|
thinkingBudget?: number | undefined;
|
|
3139
3987
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
3140
|
-
artifacts?: string | undefined;
|
|
3141
3988
|
examples?: {
|
|
3142
3989
|
input: {
|
|
3143
3990
|
content: string;
|
|
@@ -3147,13 +3994,15 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3147
3994
|
};
|
|
3148
3995
|
}[] | undefined;
|
|
3149
3996
|
chatProjectId?: string | null | undefined;
|
|
3150
|
-
|
|
3997
|
+
resendFiles?: boolean | undefined;
|
|
3151
3998
|
url_context?: boolean | undefined;
|
|
3152
3999
|
greeting?: string | undefined;
|
|
3153
4000
|
spec?: string | null | undefined;
|
|
3154
4001
|
iconURL?: string | null | undefined;
|
|
3155
4002
|
fileTokenLimit?: number | undefined;
|
|
3156
4003
|
}, {
|
|
4004
|
+
web_search?: boolean | undefined;
|
|
4005
|
+
artifacts?: string | undefined;
|
|
3157
4006
|
model?: string | null | undefined;
|
|
3158
4007
|
modelLabel?: string | null | undefined;
|
|
3159
4008
|
promptPrefix?: string | null | undefined;
|
|
@@ -3165,7 +4014,6 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3165
4014
|
thinking?: boolean | undefined;
|
|
3166
4015
|
thinkingBudget?: string | number | undefined;
|
|
3167
4016
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
3168
|
-
artifacts?: string | undefined;
|
|
3169
4017
|
examples?: {
|
|
3170
4018
|
input: {
|
|
3171
4019
|
content: string;
|
|
@@ -3175,13 +4023,15 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3175
4023
|
};
|
|
3176
4024
|
}[] | undefined;
|
|
3177
4025
|
chatProjectId?: string | null | undefined;
|
|
3178
|
-
|
|
4026
|
+
resendFiles?: boolean | undefined;
|
|
3179
4027
|
url_context?: boolean | undefined;
|
|
3180
4028
|
greeting?: string | undefined;
|
|
3181
4029
|
spec?: string | null | undefined;
|
|
3182
4030
|
iconURL?: string | null | undefined;
|
|
3183
4031
|
fileTokenLimit?: string | number | undefined;
|
|
3184
4032
|
}>, Partial<Partial<TConversation>>, {
|
|
4033
|
+
web_search?: boolean | undefined;
|
|
4034
|
+
artifacts?: string | undefined;
|
|
3185
4035
|
model?: string | null | undefined;
|
|
3186
4036
|
modelLabel?: string | null | undefined;
|
|
3187
4037
|
promptPrefix?: string | null | undefined;
|
|
@@ -3193,7 +4043,6 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3193
4043
|
thinking?: boolean | undefined;
|
|
3194
4044
|
thinkingBudget?: string | number | undefined;
|
|
3195
4045
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
3196
|
-
artifacts?: string | undefined;
|
|
3197
4046
|
examples?: {
|
|
3198
4047
|
input: {
|
|
3199
4048
|
content: string;
|
|
@@ -3203,7 +4052,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3203
4052
|
};
|
|
3204
4053
|
}[] | undefined;
|
|
3205
4054
|
chatProjectId?: string | null | undefined;
|
|
3206
|
-
|
|
4055
|
+
resendFiles?: boolean | undefined;
|
|
3207
4056
|
url_context?: boolean | undefined;
|
|
3208
4057
|
greeting?: string | undefined;
|
|
3209
4058
|
spec?: string | null | undefined;
|
|
@@ -3240,11 +4089,11 @@ export declare const googleGenConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
3240
4089
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3241
4090
|
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
3242
4091
|
}, "strip", z.ZodTypeAny, {
|
|
4092
|
+
web_search?: boolean | undefined;
|
|
3243
4093
|
temperature?: number | undefined;
|
|
3244
4094
|
topP?: number | undefined;
|
|
3245
4095
|
topK?: number | undefined;
|
|
3246
4096
|
maxOutputTokens?: number | undefined;
|
|
3247
|
-
web_search?: boolean | undefined;
|
|
3248
4097
|
url_context?: boolean | undefined;
|
|
3249
4098
|
presencePenalty?: number | undefined;
|
|
3250
4099
|
frequencyPenalty?: number | undefined;
|
|
@@ -3255,11 +4104,11 @@ export declare const googleGenConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
3255
4104
|
includeThoughts?: boolean | undefined;
|
|
3256
4105
|
} | undefined;
|
|
3257
4106
|
}, {
|
|
4107
|
+
web_search?: boolean | undefined;
|
|
3258
4108
|
temperature?: string | number | undefined;
|
|
3259
4109
|
topP?: string | number | undefined;
|
|
3260
4110
|
topK?: string | number | undefined;
|
|
3261
4111
|
maxOutputTokens?: string | number | undefined;
|
|
3262
|
-
web_search?: boolean | undefined;
|
|
3263
4112
|
url_context?: boolean | undefined;
|
|
3264
4113
|
presencePenalty?: string | number | undefined;
|
|
3265
4114
|
frequencyPenalty?: string | number | undefined;
|
|
@@ -3276,9 +4125,23 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3276
4125
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
3277
4126
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
3278
4127
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
4128
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
4129
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3279
4130
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
3280
4131
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
3281
4132
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
4133
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
4134
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
4135
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4136
|
+
environmentId: z.ZodString;
|
|
4137
|
+
workspaceId: z.ZodString;
|
|
4138
|
+
}, "strict", z.ZodTypeAny, {
|
|
4139
|
+
environmentId: string;
|
|
4140
|
+
workspaceId: string;
|
|
4141
|
+
}, {
|
|
4142
|
+
environmentId: string;
|
|
4143
|
+
workspaceId: string;
|
|
4144
|
+
}>, "many">>;
|
|
3282
4145
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
3283
4146
|
user: z.ZodOptional<z.ZodString>;
|
|
3284
4147
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3311,6 +4174,9 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3311
4174
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
3312
4175
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
3313
4176
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
4177
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
4178
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
4179
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
3314
4180
|
}, "strip", z.ZodTypeAny, {
|
|
3315
4181
|
name: string;
|
|
3316
4182
|
pluginKey: string;
|
|
@@ -3327,6 +4193,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3327
4193
|
chatMenu?: boolean | undefined;
|
|
3328
4194
|
isButton?: boolean | undefined;
|
|
3329
4195
|
toolkit?: boolean | undefined;
|
|
4196
|
+
serverToolName?: string | undefined;
|
|
3330
4197
|
}, {
|
|
3331
4198
|
name: string;
|
|
3332
4199
|
pluginKey: string;
|
|
@@ -3343,6 +4210,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3343
4210
|
chatMenu?: boolean | undefined;
|
|
3344
4211
|
isButton?: boolean | undefined;
|
|
3345
4212
|
toolkit?: boolean | undefined;
|
|
4213
|
+
serverToolName?: string | undefined;
|
|
3346
4214
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
3347
4215
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3348
4216
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -3417,6 +4285,35 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3417
4285
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3418
4286
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3419
4287
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
4288
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
4289
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
4290
|
+
rootConversationId: z.ZodString;
|
|
4291
|
+
parentConversationId: z.ZodString;
|
|
4292
|
+
parentMessageId: z.ZodString;
|
|
4293
|
+
parentToolCallId: z.ZodString;
|
|
4294
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
4295
|
+
subagentType: z.ZodString;
|
|
4296
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
4297
|
+
depth: z.ZodNumber;
|
|
4298
|
+
}, "strip", z.ZodTypeAny, {
|
|
4299
|
+
subagentKind: "agent" | "graph";
|
|
4300
|
+
parentMessageId: string;
|
|
4301
|
+
rootConversationId: string;
|
|
4302
|
+
parentConversationId: string;
|
|
4303
|
+
parentToolCallId: string;
|
|
4304
|
+
subagentType: string;
|
|
4305
|
+
depth: number;
|
|
4306
|
+
parentAgentId?: string | undefined;
|
|
4307
|
+
}, {
|
|
4308
|
+
subagentKind: "agent" | "graph";
|
|
4309
|
+
parentMessageId: string;
|
|
4310
|
+
rootConversationId: string;
|
|
4311
|
+
parentConversationId: string;
|
|
4312
|
+
parentToolCallId: string;
|
|
4313
|
+
subagentType: string;
|
|
4314
|
+
depth: number;
|
|
4315
|
+
parentAgentId?: string | undefined;
|
|
4316
|
+
}>>;
|
|
3420
4317
|
region: z.ZodOptional<z.ZodString>;
|
|
3421
4318
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3422
4319
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -3436,24 +4333,24 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3436
4333
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
3437
4334
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
3438
4335
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3439
|
-
}, "
|
|
4336
|
+
}, "artifacts" | "instructions" | "model" | "promptPrefix" | "chatProjectId" | "assistant_id" | "append_current_datetime" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
4337
|
+
artifacts?: string | undefined;
|
|
4338
|
+
instructions?: string | undefined;
|
|
3440
4339
|
model?: string | null | undefined;
|
|
3441
4340
|
promptPrefix?: string | null | undefined;
|
|
3442
|
-
artifacts?: string | undefined;
|
|
3443
4341
|
chatProjectId?: string | null | undefined;
|
|
3444
4342
|
assistant_id?: string | undefined;
|
|
3445
|
-
instructions?: string | undefined;
|
|
3446
4343
|
append_current_datetime?: boolean | undefined;
|
|
3447
4344
|
greeting?: string | undefined;
|
|
3448
4345
|
spec?: string | null | undefined;
|
|
3449
4346
|
iconURL?: string | null | undefined;
|
|
3450
4347
|
}, {
|
|
4348
|
+
artifacts?: string | undefined;
|
|
4349
|
+
instructions?: string | undefined;
|
|
3451
4350
|
model?: string | null | undefined;
|
|
3452
4351
|
promptPrefix?: string | null | undefined;
|
|
3453
|
-
artifacts?: string | undefined;
|
|
3454
4352
|
chatProjectId?: string | null | undefined;
|
|
3455
4353
|
assistant_id?: string | undefined;
|
|
3456
|
-
instructions?: string | undefined;
|
|
3457
4354
|
append_current_datetime?: boolean | undefined;
|
|
3458
4355
|
greeting?: string | undefined;
|
|
3459
4356
|
spec?: string | null | undefined;
|
|
@@ -3470,12 +4367,12 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3470
4367
|
artifacts?: string | undefined;
|
|
3471
4368
|
chatProjectId?: string | null | undefined;
|
|
3472
4369
|
}, {
|
|
4370
|
+
artifacts?: string | undefined;
|
|
4371
|
+
instructions?: string | undefined;
|
|
3473
4372
|
model?: string | null | undefined;
|
|
3474
4373
|
promptPrefix?: string | null | undefined;
|
|
3475
|
-
artifacts?: string | undefined;
|
|
3476
4374
|
chatProjectId?: string | null | undefined;
|
|
3477
4375
|
assistant_id?: string | undefined;
|
|
3478
|
-
instructions?: string | undefined;
|
|
3479
4376
|
append_current_datetime?: boolean | undefined;
|
|
3480
4377
|
greeting?: string | undefined;
|
|
3481
4378
|
spec?: string | null | undefined;
|
|
@@ -3486,9 +4383,23 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3486
4383
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
3487
4384
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
3488
4385
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
4386
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
4387
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3489
4388
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
3490
4389
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
3491
4390
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
4391
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
4392
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
4393
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4394
|
+
environmentId: z.ZodString;
|
|
4395
|
+
workspaceId: z.ZodString;
|
|
4396
|
+
}, "strict", z.ZodTypeAny, {
|
|
4397
|
+
environmentId: string;
|
|
4398
|
+
workspaceId: string;
|
|
4399
|
+
}, {
|
|
4400
|
+
environmentId: string;
|
|
4401
|
+
workspaceId: string;
|
|
4402
|
+
}>, "many">>;
|
|
3492
4403
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
3493
4404
|
user: z.ZodOptional<z.ZodString>;
|
|
3494
4405
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3521,6 +4432,9 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3521
4432
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
3522
4433
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
3523
4434
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
4435
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
4436
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
4437
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
3524
4438
|
}, "strip", z.ZodTypeAny, {
|
|
3525
4439
|
name: string;
|
|
3526
4440
|
pluginKey: string;
|
|
@@ -3537,6 +4451,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3537
4451
|
chatMenu?: boolean | undefined;
|
|
3538
4452
|
isButton?: boolean | undefined;
|
|
3539
4453
|
toolkit?: boolean | undefined;
|
|
4454
|
+
serverToolName?: string | undefined;
|
|
3540
4455
|
}, {
|
|
3541
4456
|
name: string;
|
|
3542
4457
|
pluginKey: string;
|
|
@@ -3553,6 +4468,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3553
4468
|
chatMenu?: boolean | undefined;
|
|
3554
4469
|
isButton?: boolean | undefined;
|
|
3555
4470
|
toolkit?: boolean | undefined;
|
|
4471
|
+
serverToolName?: string | undefined;
|
|
3556
4472
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
3557
4473
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3558
4474
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -3627,6 +4543,35 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3627
4543
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3628
4544
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3629
4545
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
4546
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
4547
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
4548
|
+
rootConversationId: z.ZodString;
|
|
4549
|
+
parentConversationId: z.ZodString;
|
|
4550
|
+
parentMessageId: z.ZodString;
|
|
4551
|
+
parentToolCallId: z.ZodString;
|
|
4552
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
4553
|
+
subagentType: z.ZodString;
|
|
4554
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
4555
|
+
depth: z.ZodNumber;
|
|
4556
|
+
}, "strip", z.ZodTypeAny, {
|
|
4557
|
+
subagentKind: "agent" | "graph";
|
|
4558
|
+
parentMessageId: string;
|
|
4559
|
+
rootConversationId: string;
|
|
4560
|
+
parentConversationId: string;
|
|
4561
|
+
parentToolCallId: string;
|
|
4562
|
+
subagentType: string;
|
|
4563
|
+
depth: number;
|
|
4564
|
+
parentAgentId?: string | undefined;
|
|
4565
|
+
}, {
|
|
4566
|
+
subagentKind: "agent" | "graph";
|
|
4567
|
+
parentMessageId: string;
|
|
4568
|
+
rootConversationId: string;
|
|
4569
|
+
parentConversationId: string;
|
|
4570
|
+
parentToolCallId: string;
|
|
4571
|
+
subagentType: string;
|
|
4572
|
+
depth: number;
|
|
4573
|
+
parentAgentId?: string | undefined;
|
|
4574
|
+
}>>;
|
|
3630
4575
|
region: z.ZodOptional<z.ZodString>;
|
|
3631
4576
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3632
4577
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -3646,43 +4591,43 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3646
4591
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
3647
4592
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
3648
4593
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3649
|
-
}, "
|
|
4594
|
+
}, "artifacts" | "instructions" | "model" | "promptPrefix" | "chatProjectId" | "assistant_id" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
4595
|
+
artifacts?: string | undefined;
|
|
4596
|
+
instructions?: string | undefined;
|
|
3650
4597
|
model?: string | null | undefined;
|
|
3651
4598
|
promptPrefix?: string | null | undefined;
|
|
3652
|
-
artifacts?: string | undefined;
|
|
3653
4599
|
chatProjectId?: string | null | undefined;
|
|
3654
4600
|
assistant_id?: string | undefined;
|
|
3655
|
-
instructions?: string | undefined;
|
|
3656
4601
|
greeting?: string | undefined;
|
|
3657
4602
|
spec?: string | null | undefined;
|
|
3658
4603
|
iconURL?: string | null | undefined;
|
|
3659
4604
|
}, {
|
|
4605
|
+
artifacts?: string | undefined;
|
|
4606
|
+
instructions?: string | undefined;
|
|
3660
4607
|
model?: string | null | undefined;
|
|
3661
4608
|
promptPrefix?: string | null | undefined;
|
|
3662
|
-
artifacts?: string | undefined;
|
|
3663
4609
|
chatProjectId?: string | null | undefined;
|
|
3664
4610
|
assistant_id?: string | undefined;
|
|
3665
|
-
instructions?: string | undefined;
|
|
3666
4611
|
greeting?: string | undefined;
|
|
3667
4612
|
spec?: string | null | undefined;
|
|
3668
4613
|
iconURL?: string | null | undefined;
|
|
3669
4614
|
}>, Partial<{
|
|
4615
|
+
artifacts?: string | undefined;
|
|
4616
|
+
instructions?: string | undefined;
|
|
3670
4617
|
model?: string | null | undefined;
|
|
3671
4618
|
promptPrefix?: string | null | undefined;
|
|
3672
|
-
artifacts?: string | undefined;
|
|
3673
4619
|
chatProjectId?: string | null | undefined;
|
|
3674
4620
|
assistant_id?: string | undefined;
|
|
3675
|
-
instructions?: string | undefined;
|
|
3676
4621
|
greeting?: string | undefined;
|
|
3677
4622
|
spec?: string | null | undefined;
|
|
3678
4623
|
iconURL?: string | null | undefined;
|
|
3679
4624
|
}>, {
|
|
4625
|
+
artifacts?: string | undefined;
|
|
4626
|
+
instructions?: string | undefined;
|
|
3680
4627
|
model?: string | null | undefined;
|
|
3681
4628
|
promptPrefix?: string | null | undefined;
|
|
3682
|
-
artifacts?: string | undefined;
|
|
3683
4629
|
chatProjectId?: string | null | undefined;
|
|
3684
4630
|
assistant_id?: string | undefined;
|
|
3685
|
-
instructions?: string | undefined;
|
|
3686
4631
|
greeting?: string | undefined;
|
|
3687
4632
|
spec?: string | null | undefined;
|
|
3688
4633
|
iconURL?: string | null | undefined;
|
|
@@ -3692,9 +4637,23 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3692
4637
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
3693
4638
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
3694
4639
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
4640
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
4641
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3695
4642
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
3696
4643
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
3697
4644
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
4645
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
4646
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
4647
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4648
|
+
environmentId: z.ZodString;
|
|
4649
|
+
workspaceId: z.ZodString;
|
|
4650
|
+
}, "strict", z.ZodTypeAny, {
|
|
4651
|
+
environmentId: string;
|
|
4652
|
+
workspaceId: string;
|
|
4653
|
+
}, {
|
|
4654
|
+
environmentId: string;
|
|
4655
|
+
workspaceId: string;
|
|
4656
|
+
}>, "many">>;
|
|
3698
4657
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
3699
4658
|
user: z.ZodOptional<z.ZodString>;
|
|
3700
4659
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3727,6 +4686,9 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3727
4686
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
3728
4687
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
3729
4688
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
4689
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
4690
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
4691
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
3730
4692
|
}, "strip", z.ZodTypeAny, {
|
|
3731
4693
|
name: string;
|
|
3732
4694
|
pluginKey: string;
|
|
@@ -3743,6 +4705,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3743
4705
|
chatMenu?: boolean | undefined;
|
|
3744
4706
|
isButton?: boolean | undefined;
|
|
3745
4707
|
toolkit?: boolean | undefined;
|
|
4708
|
+
serverToolName?: string | undefined;
|
|
3746
4709
|
}, {
|
|
3747
4710
|
name: string;
|
|
3748
4711
|
pluginKey: string;
|
|
@@ -3759,6 +4722,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3759
4722
|
chatMenu?: boolean | undefined;
|
|
3760
4723
|
isButton?: boolean | undefined;
|
|
3761
4724
|
toolkit?: boolean | undefined;
|
|
4725
|
+
serverToolName?: string | undefined;
|
|
3762
4726
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
3763
4727
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3764
4728
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -3833,6 +4797,35 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3833
4797
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3834
4798
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3835
4799
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
4800
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
4801
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
4802
|
+
rootConversationId: z.ZodString;
|
|
4803
|
+
parentConversationId: z.ZodString;
|
|
4804
|
+
parentMessageId: z.ZodString;
|
|
4805
|
+
parentToolCallId: z.ZodString;
|
|
4806
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
4807
|
+
subagentType: z.ZodString;
|
|
4808
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
4809
|
+
depth: z.ZodNumber;
|
|
4810
|
+
}, "strip", z.ZodTypeAny, {
|
|
4811
|
+
subagentKind: "agent" | "graph";
|
|
4812
|
+
parentMessageId: string;
|
|
4813
|
+
rootConversationId: string;
|
|
4814
|
+
parentConversationId: string;
|
|
4815
|
+
parentToolCallId: string;
|
|
4816
|
+
subagentType: string;
|
|
4817
|
+
depth: number;
|
|
4818
|
+
parentAgentId?: string | undefined;
|
|
4819
|
+
}, {
|
|
4820
|
+
subagentKind: "agent" | "graph";
|
|
4821
|
+
parentMessageId: string;
|
|
4822
|
+
rootConversationId: string;
|
|
4823
|
+
parentConversationId: string;
|
|
4824
|
+
parentToolCallId: string;
|
|
4825
|
+
subagentType: string;
|
|
4826
|
+
depth: number;
|
|
4827
|
+
parentAgentId?: string | undefined;
|
|
4828
|
+
}>>;
|
|
3836
4829
|
region: z.ZodOptional<z.ZodString>;
|
|
3837
4830
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3838
4831
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -3852,7 +4845,8 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3852
4845
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
3853
4846
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
3854
4847
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3855
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "
|
|
4848
|
+
}, "instructions" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "greeting" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
4849
|
+
instructions?: string | undefined;
|
|
3856
4850
|
model?: string | null | undefined;
|
|
3857
4851
|
modelLabel?: string | null | undefined;
|
|
3858
4852
|
promptPrefix?: string | null | undefined;
|
|
@@ -3865,10 +4859,10 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3865
4859
|
resendFiles?: boolean | undefined;
|
|
3866
4860
|
imageDetail?: ImageDetail | undefined;
|
|
3867
4861
|
agent_id?: string | undefined;
|
|
3868
|
-
instructions?: string | undefined;
|
|
3869
4862
|
greeting?: string | undefined;
|
|
3870
4863
|
iconURL?: string | null | undefined;
|
|
3871
4864
|
}, {
|
|
4865
|
+
instructions?: string | undefined;
|
|
3872
4866
|
model?: string | null | undefined;
|
|
3873
4867
|
modelLabel?: string | null | undefined;
|
|
3874
4868
|
promptPrefix?: string | null | undefined;
|
|
@@ -3881,7 +4875,6 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3881
4875
|
resendFiles?: boolean | undefined;
|
|
3882
4876
|
imageDetail?: ImageDetail | undefined;
|
|
3883
4877
|
agent_id?: string | undefined;
|
|
3884
|
-
instructions?: string | undefined;
|
|
3885
4878
|
greeting?: string | undefined;
|
|
3886
4879
|
iconURL?: string | null | undefined;
|
|
3887
4880
|
}>;
|
|
@@ -3890,9 +4883,23 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3890
4883
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
3891
4884
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
3892
4885
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
4886
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
4887
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3893
4888
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
3894
4889
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
3895
4890
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
4891
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
4892
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
4893
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4894
|
+
environmentId: z.ZodString;
|
|
4895
|
+
workspaceId: z.ZodString;
|
|
4896
|
+
}, "strict", z.ZodTypeAny, {
|
|
4897
|
+
environmentId: string;
|
|
4898
|
+
workspaceId: string;
|
|
4899
|
+
}, {
|
|
4900
|
+
environmentId: string;
|
|
4901
|
+
workspaceId: string;
|
|
4902
|
+
}>, "many">>;
|
|
3896
4903
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
3897
4904
|
user: z.ZodOptional<z.ZodString>;
|
|
3898
4905
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3925,6 +4932,9 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3925
4932
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
3926
4933
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
3927
4934
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
4935
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
4936
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
4937
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
3928
4938
|
}, "strip", z.ZodTypeAny, {
|
|
3929
4939
|
name: string;
|
|
3930
4940
|
pluginKey: string;
|
|
@@ -3941,6 +4951,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3941
4951
|
chatMenu?: boolean | undefined;
|
|
3942
4952
|
isButton?: boolean | undefined;
|
|
3943
4953
|
toolkit?: boolean | undefined;
|
|
4954
|
+
serverToolName?: string | undefined;
|
|
3944
4955
|
}, {
|
|
3945
4956
|
name: string;
|
|
3946
4957
|
pluginKey: string;
|
|
@@ -3957,6 +4968,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3957
4968
|
chatMenu?: boolean | undefined;
|
|
3958
4969
|
isButton?: boolean | undefined;
|
|
3959
4970
|
toolkit?: boolean | undefined;
|
|
4971
|
+
serverToolName?: string | undefined;
|
|
3960
4972
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
3961
4973
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3962
4974
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -4031,6 +5043,35 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4031
5043
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4032
5044
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4033
5045
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
5046
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
5047
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
5048
|
+
rootConversationId: z.ZodString;
|
|
5049
|
+
parentConversationId: z.ZodString;
|
|
5050
|
+
parentMessageId: z.ZodString;
|
|
5051
|
+
parentToolCallId: z.ZodString;
|
|
5052
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
5053
|
+
subagentType: z.ZodString;
|
|
5054
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
5055
|
+
depth: z.ZodNumber;
|
|
5056
|
+
}, "strip", z.ZodTypeAny, {
|
|
5057
|
+
subagentKind: "agent" | "graph";
|
|
5058
|
+
parentMessageId: string;
|
|
5059
|
+
rootConversationId: string;
|
|
5060
|
+
parentConversationId: string;
|
|
5061
|
+
parentToolCallId: string;
|
|
5062
|
+
subagentType: string;
|
|
5063
|
+
depth: number;
|
|
5064
|
+
parentAgentId?: string | undefined;
|
|
5065
|
+
}, {
|
|
5066
|
+
subagentKind: "agent" | "graph";
|
|
5067
|
+
parentMessageId: string;
|
|
5068
|
+
rootConversationId: string;
|
|
5069
|
+
parentConversationId: string;
|
|
5070
|
+
parentToolCallId: string;
|
|
5071
|
+
subagentType: string;
|
|
5072
|
+
depth: number;
|
|
5073
|
+
parentAgentId?: string | undefined;
|
|
5074
|
+
}>>;
|
|
4034
5075
|
region: z.ZodOptional<z.ZodString>;
|
|
4035
5076
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4036
5077
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -4050,7 +5091,8 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4050
5091
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4051
5092
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4052
5093
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4053
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "
|
|
5094
|
+
}, "instructions" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "greeting" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
5095
|
+
instructions?: string | undefined;
|
|
4054
5096
|
model?: string | null | undefined;
|
|
4055
5097
|
modelLabel?: string | null | undefined;
|
|
4056
5098
|
promptPrefix?: string | null | undefined;
|
|
@@ -4063,10 +5105,10 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4063
5105
|
resendFiles?: boolean | undefined;
|
|
4064
5106
|
imageDetail?: ImageDetail | undefined;
|
|
4065
5107
|
agent_id?: string | undefined;
|
|
4066
|
-
instructions?: string | undefined;
|
|
4067
5108
|
greeting?: string | undefined;
|
|
4068
5109
|
iconURL?: string | null | undefined;
|
|
4069
5110
|
}, {
|
|
5111
|
+
instructions?: string | undefined;
|
|
4070
5112
|
model?: string | null | undefined;
|
|
4071
5113
|
modelLabel?: string | null | undefined;
|
|
4072
5114
|
promptPrefix?: string | null | undefined;
|
|
@@ -4079,7 +5121,6 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4079
5121
|
resendFiles?: boolean | undefined;
|
|
4080
5122
|
imageDetail?: ImageDetail | undefined;
|
|
4081
5123
|
agent_id?: string | undefined;
|
|
4082
|
-
instructions?: string | undefined;
|
|
4083
5124
|
greeting?: string | undefined;
|
|
4084
5125
|
iconURL?: string | null | undefined;
|
|
4085
5126
|
}>, {
|
|
@@ -4099,6 +5140,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4099
5140
|
maxContextTokens: number | undefined;
|
|
4100
5141
|
chatProjectId?: string | null | undefined;
|
|
4101
5142
|
}, {
|
|
5143
|
+
instructions?: string | undefined;
|
|
4102
5144
|
model?: string | null | undefined;
|
|
4103
5145
|
modelLabel?: string | null | undefined;
|
|
4104
5146
|
promptPrefix?: string | null | undefined;
|
|
@@ -4111,7 +5153,6 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4111
5153
|
resendFiles?: boolean | undefined;
|
|
4112
5154
|
imageDetail?: ImageDetail | undefined;
|
|
4113
5155
|
agent_id?: string | undefined;
|
|
4114
|
-
instructions?: string | undefined;
|
|
4115
5156
|
greeting?: string | undefined;
|
|
4116
5157
|
iconURL?: string | null | undefined;
|
|
4117
5158
|
}>>;
|
|
@@ -4120,9 +5161,23 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4120
5161
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
4121
5162
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
4122
5163
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
5164
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
5165
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4123
5166
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
4124
5167
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
4125
5168
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
5169
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
5170
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
5171
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5172
|
+
environmentId: z.ZodString;
|
|
5173
|
+
workspaceId: z.ZodString;
|
|
5174
|
+
}, "strict", z.ZodTypeAny, {
|
|
5175
|
+
environmentId: string;
|
|
5176
|
+
workspaceId: string;
|
|
5177
|
+
}, {
|
|
5178
|
+
environmentId: string;
|
|
5179
|
+
workspaceId: string;
|
|
5180
|
+
}>, "many">>;
|
|
4126
5181
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
4127
5182
|
user: z.ZodOptional<z.ZodString>;
|
|
4128
5183
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4155,6 +5210,9 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4155
5210
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
4156
5211
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
4157
5212
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
5213
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
5214
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
5215
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
4158
5216
|
}, "strip", z.ZodTypeAny, {
|
|
4159
5217
|
name: string;
|
|
4160
5218
|
pluginKey: string;
|
|
@@ -4171,6 +5229,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4171
5229
|
chatMenu?: boolean | undefined;
|
|
4172
5230
|
isButton?: boolean | undefined;
|
|
4173
5231
|
toolkit?: boolean | undefined;
|
|
5232
|
+
serverToolName?: string | undefined;
|
|
4174
5233
|
}, {
|
|
4175
5234
|
name: string;
|
|
4176
5235
|
pluginKey: string;
|
|
@@ -4187,6 +5246,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4187
5246
|
chatMenu?: boolean | undefined;
|
|
4188
5247
|
isButton?: boolean | undefined;
|
|
4189
5248
|
toolkit?: boolean | undefined;
|
|
5249
|
+
serverToolName?: string | undefined;
|
|
4190
5250
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
4191
5251
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4192
5252
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -4261,6 +5321,35 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4261
5321
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4262
5322
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4263
5323
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
5324
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
5325
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
5326
|
+
rootConversationId: z.ZodString;
|
|
5327
|
+
parentConversationId: z.ZodString;
|
|
5328
|
+
parentMessageId: z.ZodString;
|
|
5329
|
+
parentToolCallId: z.ZodString;
|
|
5330
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
5331
|
+
subagentType: z.ZodString;
|
|
5332
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
5333
|
+
depth: z.ZodNumber;
|
|
5334
|
+
}, "strip", z.ZodTypeAny, {
|
|
5335
|
+
subagentKind: "agent" | "graph";
|
|
5336
|
+
parentMessageId: string;
|
|
5337
|
+
rootConversationId: string;
|
|
5338
|
+
parentConversationId: string;
|
|
5339
|
+
parentToolCallId: string;
|
|
5340
|
+
subagentType: string;
|
|
5341
|
+
depth: number;
|
|
5342
|
+
parentAgentId?: string | undefined;
|
|
5343
|
+
}, {
|
|
5344
|
+
subagentKind: "agent" | "graph";
|
|
5345
|
+
parentMessageId: string;
|
|
5346
|
+
rootConversationId: string;
|
|
5347
|
+
parentConversationId: string;
|
|
5348
|
+
parentToolCallId: string;
|
|
5349
|
+
subagentType: string;
|
|
5350
|
+
depth: number;
|
|
5351
|
+
parentAgentId?: string | undefined;
|
|
5352
|
+
}>>;
|
|
4264
5353
|
region: z.ZodOptional<z.ZodString>;
|
|
4265
5354
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4266
5355
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -4280,7 +5369,9 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4280
5369
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4281
5370
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4282
5371
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4283
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "
|
|
5372
|
+
}, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
|
|
5373
|
+
web_search?: boolean | undefined;
|
|
5374
|
+
artifacts?: string | undefined;
|
|
4284
5375
|
model?: string | null | undefined;
|
|
4285
5376
|
modelLabel?: string | null | undefined;
|
|
4286
5377
|
promptPrefix?: string | null | undefined;
|
|
@@ -4290,7 +5381,6 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4290
5381
|
presence_penalty?: number | undefined;
|
|
4291
5382
|
maxContextTokens?: number | undefined;
|
|
4292
5383
|
max_tokens?: number | undefined;
|
|
4293
|
-
artifacts?: string | undefined;
|
|
4294
5384
|
chatProjectId?: string | null | undefined;
|
|
4295
5385
|
resendFiles?: boolean | undefined;
|
|
4296
5386
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -4300,7 +5390,6 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4300
5390
|
reasoning_context?: ReasoningContext | null | undefined;
|
|
4301
5391
|
verbosity?: Verbosity | null | undefined;
|
|
4302
5392
|
useResponsesApi?: boolean | undefined;
|
|
4303
|
-
web_search?: boolean | undefined;
|
|
4304
5393
|
disableStreaming?: boolean | undefined;
|
|
4305
5394
|
stop?: string[] | undefined;
|
|
4306
5395
|
greeting?: string | undefined;
|
|
@@ -4309,6 +5398,8 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4309
5398
|
fileTokenLimit?: number | undefined;
|
|
4310
5399
|
chatGptLabel?: string | null | undefined;
|
|
4311
5400
|
}, {
|
|
5401
|
+
web_search?: boolean | undefined;
|
|
5402
|
+
artifacts?: string | undefined;
|
|
4312
5403
|
model?: string | null | undefined;
|
|
4313
5404
|
modelLabel?: string | null | undefined;
|
|
4314
5405
|
promptPrefix?: string | null | undefined;
|
|
@@ -4318,7 +5409,6 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4318
5409
|
presence_penalty?: number | undefined;
|
|
4319
5410
|
maxContextTokens?: string | number | undefined;
|
|
4320
5411
|
max_tokens?: string | number | undefined;
|
|
4321
|
-
artifacts?: string | undefined;
|
|
4322
5412
|
chatProjectId?: string | null | undefined;
|
|
4323
5413
|
resendFiles?: boolean | undefined;
|
|
4324
5414
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -4328,7 +5418,6 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4328
5418
|
reasoning_context?: ReasoningContext | null | undefined;
|
|
4329
5419
|
verbosity?: Verbosity | null | undefined;
|
|
4330
5420
|
useResponsesApi?: boolean | undefined;
|
|
4331
|
-
web_search?: boolean | undefined;
|
|
4332
5421
|
disableStreaming?: boolean | undefined;
|
|
4333
5422
|
stop?: string[] | undefined;
|
|
4334
5423
|
greeting?: string | undefined;
|
|
@@ -4342,9 +5431,23 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4342
5431
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
4343
5432
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
4344
5433
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
5434
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
5435
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4345
5436
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
4346
5437
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
4347
5438
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
5439
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
5440
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
5441
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5442
|
+
environmentId: z.ZodString;
|
|
5443
|
+
workspaceId: z.ZodString;
|
|
5444
|
+
}, "strict", z.ZodTypeAny, {
|
|
5445
|
+
environmentId: string;
|
|
5446
|
+
workspaceId: string;
|
|
5447
|
+
}, {
|
|
5448
|
+
environmentId: string;
|
|
5449
|
+
workspaceId: string;
|
|
5450
|
+
}>, "many">>;
|
|
4348
5451
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
4349
5452
|
user: z.ZodOptional<z.ZodString>;
|
|
4350
5453
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4377,6 +5480,9 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4377
5480
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
4378
5481
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
4379
5482
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
5483
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
5484
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
5485
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
4380
5486
|
}, "strip", z.ZodTypeAny, {
|
|
4381
5487
|
name: string;
|
|
4382
5488
|
pluginKey: string;
|
|
@@ -4393,6 +5499,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4393
5499
|
chatMenu?: boolean | undefined;
|
|
4394
5500
|
isButton?: boolean | undefined;
|
|
4395
5501
|
toolkit?: boolean | undefined;
|
|
5502
|
+
serverToolName?: string | undefined;
|
|
4396
5503
|
}, {
|
|
4397
5504
|
name: string;
|
|
4398
5505
|
pluginKey: string;
|
|
@@ -4409,6 +5516,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4409
5516
|
chatMenu?: boolean | undefined;
|
|
4410
5517
|
isButton?: boolean | undefined;
|
|
4411
5518
|
toolkit?: boolean | undefined;
|
|
5519
|
+
serverToolName?: string | undefined;
|
|
4412
5520
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
4413
5521
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4414
5522
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -4483,6 +5591,35 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4483
5591
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4484
5592
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4485
5593
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
5594
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
5595
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
5596
|
+
rootConversationId: z.ZodString;
|
|
5597
|
+
parentConversationId: z.ZodString;
|
|
5598
|
+
parentMessageId: z.ZodString;
|
|
5599
|
+
parentToolCallId: z.ZodString;
|
|
5600
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
5601
|
+
subagentType: z.ZodString;
|
|
5602
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
5603
|
+
depth: z.ZodNumber;
|
|
5604
|
+
}, "strip", z.ZodTypeAny, {
|
|
5605
|
+
subagentKind: "agent" | "graph";
|
|
5606
|
+
parentMessageId: string;
|
|
5607
|
+
rootConversationId: string;
|
|
5608
|
+
parentConversationId: string;
|
|
5609
|
+
parentToolCallId: string;
|
|
5610
|
+
subagentType: string;
|
|
5611
|
+
depth: number;
|
|
5612
|
+
parentAgentId?: string | undefined;
|
|
5613
|
+
}, {
|
|
5614
|
+
subagentKind: "agent" | "graph";
|
|
5615
|
+
parentMessageId: string;
|
|
5616
|
+
rootConversationId: string;
|
|
5617
|
+
parentConversationId: string;
|
|
5618
|
+
parentToolCallId: string;
|
|
5619
|
+
subagentType: string;
|
|
5620
|
+
depth: number;
|
|
5621
|
+
parentAgentId?: string | undefined;
|
|
5622
|
+
}>>;
|
|
4486
5623
|
region: z.ZodOptional<z.ZodString>;
|
|
4487
5624
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4488
5625
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -4502,7 +5639,9 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4502
5639
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4503
5640
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4504
5641
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4505
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "
|
|
5642
|
+
}, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
|
|
5643
|
+
web_search?: boolean | undefined;
|
|
5644
|
+
artifacts?: string | undefined;
|
|
4506
5645
|
model?: string | null | undefined;
|
|
4507
5646
|
modelLabel?: string | null | undefined;
|
|
4508
5647
|
promptPrefix?: string | null | undefined;
|
|
@@ -4512,7 +5651,6 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4512
5651
|
presence_penalty?: number | undefined;
|
|
4513
5652
|
maxContextTokens?: number | undefined;
|
|
4514
5653
|
max_tokens?: number | undefined;
|
|
4515
|
-
artifacts?: string | undefined;
|
|
4516
5654
|
chatProjectId?: string | null | undefined;
|
|
4517
5655
|
resendFiles?: boolean | undefined;
|
|
4518
5656
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -4522,7 +5660,6 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4522
5660
|
reasoning_context?: ReasoningContext | null | undefined;
|
|
4523
5661
|
verbosity?: Verbosity | null | undefined;
|
|
4524
5662
|
useResponsesApi?: boolean | undefined;
|
|
4525
|
-
web_search?: boolean | undefined;
|
|
4526
5663
|
disableStreaming?: boolean | undefined;
|
|
4527
5664
|
stop?: string[] | undefined;
|
|
4528
5665
|
greeting?: string | undefined;
|
|
@@ -4531,6 +5668,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4531
5668
|
fileTokenLimit?: number | undefined;
|
|
4532
5669
|
chatGptLabel?: string | null | undefined;
|
|
4533
5670
|
}, {
|
|
5671
|
+
web_search?: boolean | undefined;
|
|
5672
|
+
artifacts?: string | undefined;
|
|
4534
5673
|
model?: string | null | undefined;
|
|
4535
5674
|
modelLabel?: string | null | undefined;
|
|
4536
5675
|
promptPrefix?: string | null | undefined;
|
|
@@ -4540,7 +5679,6 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4540
5679
|
presence_penalty?: number | undefined;
|
|
4541
5680
|
maxContextTokens?: string | number | undefined;
|
|
4542
5681
|
max_tokens?: string | number | undefined;
|
|
4543
|
-
artifacts?: string | undefined;
|
|
4544
5682
|
chatProjectId?: string | null | undefined;
|
|
4545
5683
|
resendFiles?: boolean | undefined;
|
|
4546
5684
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -4550,7 +5688,6 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4550
5688
|
reasoning_context?: ReasoningContext | null | undefined;
|
|
4551
5689
|
verbosity?: Verbosity | null | undefined;
|
|
4552
5690
|
useResponsesApi?: boolean | undefined;
|
|
4553
|
-
web_search?: boolean | undefined;
|
|
4554
5691
|
disableStreaming?: boolean | undefined;
|
|
4555
5692
|
stop?: string[] | undefined;
|
|
4556
5693
|
greeting?: string | undefined;
|
|
@@ -4559,6 +5696,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4559
5696
|
fileTokenLimit?: string | number | undefined;
|
|
4560
5697
|
chatGptLabel?: string | null | undefined;
|
|
4561
5698
|
}>, Partial<Partial<TConversation>>, {
|
|
5699
|
+
web_search?: boolean | undefined;
|
|
5700
|
+
artifacts?: string | undefined;
|
|
4562
5701
|
model?: string | null | undefined;
|
|
4563
5702
|
modelLabel?: string | null | undefined;
|
|
4564
5703
|
promptPrefix?: string | null | undefined;
|
|
@@ -4568,7 +5707,6 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4568
5707
|
presence_penalty?: number | undefined;
|
|
4569
5708
|
maxContextTokens?: string | number | undefined;
|
|
4570
5709
|
max_tokens?: string | number | undefined;
|
|
4571
|
-
artifacts?: string | undefined;
|
|
4572
5710
|
chatProjectId?: string | null | undefined;
|
|
4573
5711
|
resendFiles?: boolean | undefined;
|
|
4574
5712
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -4578,7 +5716,6 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4578
5716
|
reasoning_context?: ReasoningContext | null | undefined;
|
|
4579
5717
|
verbosity?: Verbosity | null | undefined;
|
|
4580
5718
|
useResponsesApi?: boolean | undefined;
|
|
4581
|
-
web_search?: boolean | undefined;
|
|
4582
5719
|
disableStreaming?: boolean | undefined;
|
|
4583
5720
|
stop?: string[] | undefined;
|
|
4584
5721
|
greeting?: string | undefined;
|
|
@@ -4592,9 +5729,23 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4592
5729
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
4593
5730
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
4594
5731
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
5732
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
5733
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4595
5734
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
4596
5735
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
4597
5736
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
5737
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
5738
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
5739
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5740
|
+
environmentId: z.ZodString;
|
|
5741
|
+
workspaceId: z.ZodString;
|
|
5742
|
+
}, "strict", z.ZodTypeAny, {
|
|
5743
|
+
environmentId: string;
|
|
5744
|
+
workspaceId: string;
|
|
5745
|
+
}, {
|
|
5746
|
+
environmentId: string;
|
|
5747
|
+
workspaceId: string;
|
|
5748
|
+
}>, "many">>;
|
|
4598
5749
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
4599
5750
|
user: z.ZodOptional<z.ZodString>;
|
|
4600
5751
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4627,6 +5778,9 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4627
5778
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
4628
5779
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
4629
5780
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
5781
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
5782
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
5783
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
4630
5784
|
}, "strip", z.ZodTypeAny, {
|
|
4631
5785
|
name: string;
|
|
4632
5786
|
pluginKey: string;
|
|
@@ -4643,6 +5797,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4643
5797
|
chatMenu?: boolean | undefined;
|
|
4644
5798
|
isButton?: boolean | undefined;
|
|
4645
5799
|
toolkit?: boolean | undefined;
|
|
5800
|
+
serverToolName?: string | undefined;
|
|
4646
5801
|
}, {
|
|
4647
5802
|
name: string;
|
|
4648
5803
|
pluginKey: string;
|
|
@@ -4659,6 +5814,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4659
5814
|
chatMenu?: boolean | undefined;
|
|
4660
5815
|
isButton?: boolean | undefined;
|
|
4661
5816
|
toolkit?: boolean | undefined;
|
|
5817
|
+
serverToolName?: string | undefined;
|
|
4662
5818
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
4663
5819
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4664
5820
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -4733,6 +5889,35 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4733
5889
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4734
5890
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4735
5891
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
5892
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
5893
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
5894
|
+
rootConversationId: z.ZodString;
|
|
5895
|
+
parentConversationId: z.ZodString;
|
|
5896
|
+
parentMessageId: z.ZodString;
|
|
5897
|
+
parentToolCallId: z.ZodString;
|
|
5898
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
5899
|
+
subagentType: z.ZodString;
|
|
5900
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
5901
|
+
depth: z.ZodNumber;
|
|
5902
|
+
}, "strip", z.ZodTypeAny, {
|
|
5903
|
+
subagentKind: "agent" | "graph";
|
|
5904
|
+
parentMessageId: string;
|
|
5905
|
+
rootConversationId: string;
|
|
5906
|
+
parentConversationId: string;
|
|
5907
|
+
parentToolCallId: string;
|
|
5908
|
+
subagentType: string;
|
|
5909
|
+
depth: number;
|
|
5910
|
+
parentAgentId?: string | undefined;
|
|
5911
|
+
}, {
|
|
5912
|
+
subagentKind: "agent" | "graph";
|
|
5913
|
+
parentMessageId: string;
|
|
5914
|
+
rootConversationId: string;
|
|
5915
|
+
parentConversationId: string;
|
|
5916
|
+
parentToolCallId: string;
|
|
5917
|
+
subagentType: string;
|
|
5918
|
+
depth: number;
|
|
5919
|
+
parentAgentId?: string | undefined;
|
|
5920
|
+
}>>;
|
|
4736
5921
|
region: z.ZodOptional<z.ZodString>;
|
|
4737
5922
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4738
5923
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -4752,14 +5937,28 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4752
5937
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4753
5938
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4754
5939
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4755
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "
|
|
5940
|
+
}, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel"> & Pick<{
|
|
4756
5941
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
4757
5942
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
4758
5943
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
4759
5944
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
5945
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
5946
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4760
5947
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
4761
5948
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
4762
5949
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
5950
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
5951
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
5952
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5953
|
+
environmentId: z.ZodString;
|
|
5954
|
+
workspaceId: z.ZodString;
|
|
5955
|
+
}, "strict", z.ZodTypeAny, {
|
|
5956
|
+
environmentId: string;
|
|
5957
|
+
workspaceId: string;
|
|
5958
|
+
}, {
|
|
5959
|
+
environmentId: string;
|
|
5960
|
+
workspaceId: string;
|
|
5961
|
+
}>, "many">>;
|
|
4763
5962
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
4764
5963
|
user: z.ZodOptional<z.ZodString>;
|
|
4765
5964
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4792,6 +5991,9 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4792
5991
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
4793
5992
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
4794
5993
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
5994
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
5995
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
5996
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
4795
5997
|
}, "strip", z.ZodTypeAny, {
|
|
4796
5998
|
name: string;
|
|
4797
5999
|
pluginKey: string;
|
|
@@ -4808,6 +6010,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4808
6010
|
chatMenu?: boolean | undefined;
|
|
4809
6011
|
isButton?: boolean | undefined;
|
|
4810
6012
|
toolkit?: boolean | undefined;
|
|
6013
|
+
serverToolName?: string | undefined;
|
|
4811
6014
|
}, {
|
|
4812
6015
|
name: string;
|
|
4813
6016
|
pluginKey: string;
|
|
@@ -4824,6 +6027,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4824
6027
|
chatMenu?: boolean | undefined;
|
|
4825
6028
|
isButton?: boolean | undefined;
|
|
4826
6029
|
toolkit?: boolean | undefined;
|
|
6030
|
+
serverToolName?: string | undefined;
|
|
4827
6031
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
4828
6032
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4829
6033
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -4898,6 +6102,35 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4898
6102
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4899
6103
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4900
6104
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
6105
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
6106
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
6107
|
+
rootConversationId: z.ZodString;
|
|
6108
|
+
parentConversationId: z.ZodString;
|
|
6109
|
+
parentMessageId: z.ZodString;
|
|
6110
|
+
parentToolCallId: z.ZodString;
|
|
6111
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
6112
|
+
subagentType: z.ZodString;
|
|
6113
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
6114
|
+
depth: z.ZodNumber;
|
|
6115
|
+
}, "strip", z.ZodTypeAny, {
|
|
6116
|
+
subagentKind: "agent" | "graph";
|
|
6117
|
+
parentMessageId: string;
|
|
6118
|
+
rootConversationId: string;
|
|
6119
|
+
parentConversationId: string;
|
|
6120
|
+
parentToolCallId: string;
|
|
6121
|
+
subagentType: string;
|
|
6122
|
+
depth: number;
|
|
6123
|
+
parentAgentId?: string | undefined;
|
|
6124
|
+
}, {
|
|
6125
|
+
subagentKind: "agent" | "graph";
|
|
6126
|
+
parentMessageId: string;
|
|
6127
|
+
rootConversationId: string;
|
|
6128
|
+
parentConversationId: string;
|
|
6129
|
+
parentToolCallId: string;
|
|
6130
|
+
subagentType: string;
|
|
6131
|
+
depth: number;
|
|
6132
|
+
parentAgentId?: string | undefined;
|
|
6133
|
+
}>>;
|
|
4901
6134
|
region: z.ZodOptional<z.ZodString>;
|
|
4902
6135
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4903
6136
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -4918,6 +6151,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4918
6151
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4919
6152
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4920
6153
|
}, "promptCache" | "promptCacheTtl">, "strip", z.ZodTypeAny, {
|
|
6154
|
+
web_search?: boolean | undefined;
|
|
6155
|
+
artifacts?: string | undefined;
|
|
4921
6156
|
model?: string | null | undefined;
|
|
4922
6157
|
modelLabel?: string | null | undefined;
|
|
4923
6158
|
promptPrefix?: string | null | undefined;
|
|
@@ -4929,7 +6164,6 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4929
6164
|
max_tokens?: number | undefined;
|
|
4930
6165
|
promptCache?: boolean | undefined;
|
|
4931
6166
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
4932
|
-
artifacts?: string | undefined;
|
|
4933
6167
|
chatProjectId?: string | null | undefined;
|
|
4934
6168
|
resendFiles?: boolean | undefined;
|
|
4935
6169
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -4939,7 +6173,6 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4939
6173
|
reasoning_context?: ReasoningContext | null | undefined;
|
|
4940
6174
|
verbosity?: Verbosity | null | undefined;
|
|
4941
6175
|
useResponsesApi?: boolean | undefined;
|
|
4942
|
-
web_search?: boolean | undefined;
|
|
4943
6176
|
disableStreaming?: boolean | undefined;
|
|
4944
6177
|
stop?: string[] | undefined;
|
|
4945
6178
|
greeting?: string | undefined;
|
|
@@ -4948,6 +6181,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4948
6181
|
fileTokenLimit?: number | undefined;
|
|
4949
6182
|
chatGptLabel?: string | null | undefined;
|
|
4950
6183
|
}, {
|
|
6184
|
+
web_search?: boolean | undefined;
|
|
6185
|
+
artifacts?: string | undefined;
|
|
4951
6186
|
model?: string | null | undefined;
|
|
4952
6187
|
modelLabel?: string | null | undefined;
|
|
4953
6188
|
promptPrefix?: string | null | undefined;
|
|
@@ -4959,7 +6194,6 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4959
6194
|
max_tokens?: string | number | undefined;
|
|
4960
6195
|
promptCache?: boolean | undefined;
|
|
4961
6196
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
4962
|
-
artifacts?: string | undefined;
|
|
4963
6197
|
chatProjectId?: string | null | undefined;
|
|
4964
6198
|
resendFiles?: boolean | undefined;
|
|
4965
6199
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -4969,7 +6203,6 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4969
6203
|
reasoning_context?: ReasoningContext | null | undefined;
|
|
4970
6204
|
verbosity?: Verbosity | null | undefined;
|
|
4971
6205
|
useResponsesApi?: boolean | undefined;
|
|
4972
|
-
web_search?: boolean | undefined;
|
|
4973
6206
|
disableStreaming?: boolean | undefined;
|
|
4974
6207
|
stop?: string[] | undefined;
|
|
4975
6208
|
greeting?: string | undefined;
|
|
@@ -4978,6 +6211,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4978
6211
|
fileTokenLimit?: string | number | undefined;
|
|
4979
6212
|
chatGptLabel?: string | null | undefined;
|
|
4980
6213
|
}>, Partial<Partial<TConversation>>, {
|
|
6214
|
+
web_search?: boolean | undefined;
|
|
6215
|
+
artifacts?: string | undefined;
|
|
4981
6216
|
model?: string | null | undefined;
|
|
4982
6217
|
modelLabel?: string | null | undefined;
|
|
4983
6218
|
promptPrefix?: string | null | undefined;
|
|
@@ -4989,7 +6224,6 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4989
6224
|
max_tokens?: string | number | undefined;
|
|
4990
6225
|
promptCache?: boolean | undefined;
|
|
4991
6226
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
4992
|
-
artifacts?: string | undefined;
|
|
4993
6227
|
chatProjectId?: string | null | undefined;
|
|
4994
6228
|
resendFiles?: boolean | undefined;
|
|
4995
6229
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -4999,7 +6233,6 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4999
6233
|
reasoning_context?: ReasoningContext | null | undefined;
|
|
5000
6234
|
verbosity?: Verbosity | null | undefined;
|
|
5001
6235
|
useResponsesApi?: boolean | undefined;
|
|
5002
|
-
web_search?: boolean | undefined;
|
|
5003
6236
|
disableStreaming?: boolean | undefined;
|
|
5004
6237
|
stop?: string[] | undefined;
|
|
5005
6238
|
greeting?: string | undefined;
|
|
@@ -5013,9 +6246,23 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5013
6246
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
5014
6247
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
5015
6248
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
6249
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
6250
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5016
6251
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
5017
6252
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
5018
6253
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
6254
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
6255
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
6256
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6257
|
+
environmentId: z.ZodString;
|
|
6258
|
+
workspaceId: z.ZodString;
|
|
6259
|
+
}, "strict", z.ZodTypeAny, {
|
|
6260
|
+
environmentId: string;
|
|
6261
|
+
workspaceId: string;
|
|
6262
|
+
}, {
|
|
6263
|
+
environmentId: string;
|
|
6264
|
+
workspaceId: string;
|
|
6265
|
+
}>, "many">>;
|
|
5019
6266
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
5020
6267
|
user: z.ZodOptional<z.ZodString>;
|
|
5021
6268
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5048,6 +6295,9 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5048
6295
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
5049
6296
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
5050
6297
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
6298
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
6299
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
6300
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
5051
6301
|
}, "strip", z.ZodTypeAny, {
|
|
5052
6302
|
name: string;
|
|
5053
6303
|
pluginKey: string;
|
|
@@ -5064,6 +6314,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5064
6314
|
chatMenu?: boolean | undefined;
|
|
5065
6315
|
isButton?: boolean | undefined;
|
|
5066
6316
|
toolkit?: boolean | undefined;
|
|
6317
|
+
serverToolName?: string | undefined;
|
|
5067
6318
|
}, {
|
|
5068
6319
|
name: string;
|
|
5069
6320
|
pluginKey: string;
|
|
@@ -5080,6 +6331,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5080
6331
|
chatMenu?: boolean | undefined;
|
|
5081
6332
|
isButton?: boolean | undefined;
|
|
5082
6333
|
toolkit?: boolean | undefined;
|
|
6334
|
+
serverToolName?: string | undefined;
|
|
5083
6335
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
5084
6336
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5085
6337
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -5154,6 +6406,35 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5154
6406
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5155
6407
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5156
6408
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
6409
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
6410
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
6411
|
+
rootConversationId: z.ZodString;
|
|
6412
|
+
parentConversationId: z.ZodString;
|
|
6413
|
+
parentMessageId: z.ZodString;
|
|
6414
|
+
parentToolCallId: z.ZodString;
|
|
6415
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
6416
|
+
subagentType: z.ZodString;
|
|
6417
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
6418
|
+
depth: z.ZodNumber;
|
|
6419
|
+
}, "strip", z.ZodTypeAny, {
|
|
6420
|
+
subagentKind: "agent" | "graph";
|
|
6421
|
+
parentMessageId: string;
|
|
6422
|
+
rootConversationId: string;
|
|
6423
|
+
parentConversationId: string;
|
|
6424
|
+
parentToolCallId: string;
|
|
6425
|
+
subagentType: string;
|
|
6426
|
+
depth: number;
|
|
6427
|
+
parentAgentId?: string | undefined;
|
|
6428
|
+
}, {
|
|
6429
|
+
subagentKind: "agent" | "graph";
|
|
6430
|
+
parentMessageId: string;
|
|
6431
|
+
rootConversationId: string;
|
|
6432
|
+
parentConversationId: string;
|
|
6433
|
+
parentToolCallId: string;
|
|
6434
|
+
subagentType: string;
|
|
6435
|
+
depth: number;
|
|
6436
|
+
parentAgentId?: string | undefined;
|
|
6437
|
+
}>>;
|
|
5157
6438
|
region: z.ZodOptional<z.ZodString>;
|
|
5158
6439
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
5159
6440
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -5173,7 +6454,9 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5173
6454
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
5174
6455
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
5175
6456
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5176
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "
|
|
6457
|
+
}, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "examples" | "chatProjectId" | "resendFiles" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
6458
|
+
web_search?: boolean | undefined;
|
|
6459
|
+
artifacts?: string | undefined;
|
|
5177
6460
|
model?: string | null | undefined;
|
|
5178
6461
|
modelLabel?: string | null | undefined;
|
|
5179
6462
|
promptPrefix?: string | null | undefined;
|
|
@@ -5185,7 +6468,6 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5185
6468
|
thinking?: boolean | undefined;
|
|
5186
6469
|
thinkingBudget?: number | undefined;
|
|
5187
6470
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
5188
|
-
artifacts?: string | undefined;
|
|
5189
6471
|
examples?: {
|
|
5190
6472
|
input: {
|
|
5191
6473
|
content: string;
|
|
@@ -5195,13 +6477,15 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5195
6477
|
};
|
|
5196
6478
|
}[] | undefined;
|
|
5197
6479
|
chatProjectId?: string | null | undefined;
|
|
5198
|
-
|
|
6480
|
+
resendFiles?: boolean | undefined;
|
|
5199
6481
|
url_context?: boolean | undefined;
|
|
5200
6482
|
greeting?: string | undefined;
|
|
5201
6483
|
spec?: string | null | undefined;
|
|
5202
6484
|
iconURL?: string | null | undefined;
|
|
5203
6485
|
fileTokenLimit?: number | undefined;
|
|
5204
6486
|
}, {
|
|
6487
|
+
web_search?: boolean | undefined;
|
|
6488
|
+
artifacts?: string | undefined;
|
|
5205
6489
|
model?: string | null | undefined;
|
|
5206
6490
|
modelLabel?: string | null | undefined;
|
|
5207
6491
|
promptPrefix?: string | null | undefined;
|
|
@@ -5213,7 +6497,6 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5213
6497
|
thinking?: boolean | undefined;
|
|
5214
6498
|
thinkingBudget?: string | number | undefined;
|
|
5215
6499
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
5216
|
-
artifacts?: string | undefined;
|
|
5217
6500
|
examples?: {
|
|
5218
6501
|
input: {
|
|
5219
6502
|
content: string;
|
|
@@ -5223,13 +6506,15 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5223
6506
|
};
|
|
5224
6507
|
}[] | undefined;
|
|
5225
6508
|
chatProjectId?: string | null | undefined;
|
|
5226
|
-
|
|
6509
|
+
resendFiles?: boolean | undefined;
|
|
5227
6510
|
url_context?: boolean | undefined;
|
|
5228
6511
|
greeting?: string | undefined;
|
|
5229
6512
|
spec?: string | null | undefined;
|
|
5230
6513
|
iconURL?: string | null | undefined;
|
|
5231
6514
|
fileTokenLimit?: string | number | undefined;
|
|
5232
6515
|
}>, Partial<Partial<TConversation>>, {
|
|
6516
|
+
web_search?: boolean | undefined;
|
|
6517
|
+
artifacts?: string | undefined;
|
|
5233
6518
|
model?: string | null | undefined;
|
|
5234
6519
|
modelLabel?: string | null | undefined;
|
|
5235
6520
|
promptPrefix?: string | null | undefined;
|
|
@@ -5241,7 +6526,6 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5241
6526
|
thinking?: boolean | undefined;
|
|
5242
6527
|
thinkingBudget?: string | number | undefined;
|
|
5243
6528
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
5244
|
-
artifacts?: string | undefined;
|
|
5245
6529
|
examples?: {
|
|
5246
6530
|
input: {
|
|
5247
6531
|
content: string;
|
|
@@ -5251,7 +6535,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5251
6535
|
};
|
|
5252
6536
|
}[] | undefined;
|
|
5253
6537
|
chatProjectId?: string | null | undefined;
|
|
5254
|
-
|
|
6538
|
+
resendFiles?: boolean | undefined;
|
|
5255
6539
|
url_context?: boolean | undefined;
|
|
5256
6540
|
greeting?: string | undefined;
|
|
5257
6541
|
spec?: string | null | undefined;
|
|
@@ -5263,9 +6547,23 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5263
6547
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
5264
6548
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
5265
6549
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
6550
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
6551
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5266
6552
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
5267
6553
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
5268
6554
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
6555
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
6556
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
6557
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6558
|
+
environmentId: z.ZodString;
|
|
6559
|
+
workspaceId: z.ZodString;
|
|
6560
|
+
}, "strict", z.ZodTypeAny, {
|
|
6561
|
+
environmentId: string;
|
|
6562
|
+
workspaceId: string;
|
|
6563
|
+
}, {
|
|
6564
|
+
environmentId: string;
|
|
6565
|
+
workspaceId: string;
|
|
6566
|
+
}>, "many">>;
|
|
5269
6567
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
5270
6568
|
user: z.ZodOptional<z.ZodString>;
|
|
5271
6569
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5298,6 +6596,9 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5298
6596
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
5299
6597
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
5300
6598
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
6599
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
6600
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
6601
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
5301
6602
|
}, "strip", z.ZodTypeAny, {
|
|
5302
6603
|
name: string;
|
|
5303
6604
|
pluginKey: string;
|
|
@@ -5314,6 +6615,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5314
6615
|
chatMenu?: boolean | undefined;
|
|
5315
6616
|
isButton?: boolean | undefined;
|
|
5316
6617
|
toolkit?: boolean | undefined;
|
|
6618
|
+
serverToolName?: string | undefined;
|
|
5317
6619
|
}, {
|
|
5318
6620
|
name: string;
|
|
5319
6621
|
pluginKey: string;
|
|
@@ -5330,6 +6632,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5330
6632
|
chatMenu?: boolean | undefined;
|
|
5331
6633
|
isButton?: boolean | undefined;
|
|
5332
6634
|
toolkit?: boolean | undefined;
|
|
6635
|
+
serverToolName?: string | undefined;
|
|
5333
6636
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
5334
6637
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5335
6638
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -5404,6 +6707,35 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5404
6707
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5405
6708
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5406
6709
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
6710
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
6711
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
6712
|
+
rootConversationId: z.ZodString;
|
|
6713
|
+
parentConversationId: z.ZodString;
|
|
6714
|
+
parentMessageId: z.ZodString;
|
|
6715
|
+
parentToolCallId: z.ZodString;
|
|
6716
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
6717
|
+
subagentType: z.ZodString;
|
|
6718
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
6719
|
+
depth: z.ZodNumber;
|
|
6720
|
+
}, "strip", z.ZodTypeAny, {
|
|
6721
|
+
subagentKind: "agent" | "graph";
|
|
6722
|
+
parentMessageId: string;
|
|
6723
|
+
rootConversationId: string;
|
|
6724
|
+
parentConversationId: string;
|
|
6725
|
+
parentToolCallId: string;
|
|
6726
|
+
subagentType: string;
|
|
6727
|
+
depth: number;
|
|
6728
|
+
parentAgentId?: string | undefined;
|
|
6729
|
+
}, {
|
|
6730
|
+
subagentKind: "agent" | "graph";
|
|
6731
|
+
parentMessageId: string;
|
|
6732
|
+
rootConversationId: string;
|
|
6733
|
+
parentConversationId: string;
|
|
6734
|
+
parentToolCallId: string;
|
|
6735
|
+
subagentType: string;
|
|
6736
|
+
depth: number;
|
|
6737
|
+
parentAgentId?: string | undefined;
|
|
6738
|
+
}>>;
|
|
5407
6739
|
region: z.ZodOptional<z.ZodString>;
|
|
5408
6740
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
5409
6741
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -5423,7 +6755,9 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5423
6755
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
5424
6756
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
5425
6757
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5426
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "stream" | "
|
|
6758
|
+
}, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "stream" | "chatProjectId" | "resendFiles" | "effort" | "thinkingDisplay" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
6759
|
+
web_search?: boolean | undefined;
|
|
6760
|
+
artifacts?: string | undefined;
|
|
5427
6761
|
model?: string | null | undefined;
|
|
5428
6762
|
modelLabel?: string | null | undefined;
|
|
5429
6763
|
promptPrefix?: string | null | undefined;
|
|
@@ -5437,18 +6771,18 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5437
6771
|
thinking?: boolean | undefined;
|
|
5438
6772
|
thinkingBudget?: number | undefined;
|
|
5439
6773
|
stream?: boolean | undefined;
|
|
5440
|
-
artifacts?: string | undefined;
|
|
5441
6774
|
chatProjectId?: string | null | undefined;
|
|
5442
6775
|
resendFiles?: boolean | undefined;
|
|
5443
6776
|
effort?: AnthropicEffort | null | undefined;
|
|
5444
6777
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
5445
|
-
web_search?: boolean | undefined;
|
|
5446
6778
|
stop?: string[] | undefined;
|
|
5447
6779
|
greeting?: string | undefined;
|
|
5448
6780
|
spec?: string | null | undefined;
|
|
5449
6781
|
iconURL?: string | null | undefined;
|
|
5450
6782
|
fileTokenLimit?: number | undefined;
|
|
5451
6783
|
}, {
|
|
6784
|
+
web_search?: boolean | undefined;
|
|
6785
|
+
artifacts?: string | undefined;
|
|
5452
6786
|
model?: string | null | undefined;
|
|
5453
6787
|
modelLabel?: string | null | undefined;
|
|
5454
6788
|
promptPrefix?: string | null | undefined;
|
|
@@ -5462,12 +6796,10 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5462
6796
|
thinking?: boolean | undefined;
|
|
5463
6797
|
thinkingBudget?: string | number | undefined;
|
|
5464
6798
|
stream?: boolean | undefined;
|
|
5465
|
-
artifacts?: string | undefined;
|
|
5466
6799
|
chatProjectId?: string | null | undefined;
|
|
5467
6800
|
resendFiles?: boolean | undefined;
|
|
5468
6801
|
effort?: AnthropicEffort | null | undefined;
|
|
5469
6802
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
5470
|
-
web_search?: boolean | undefined;
|
|
5471
6803
|
stop?: string[] | undefined;
|
|
5472
6804
|
greeting?: string | undefined;
|
|
5473
6805
|
spec?: string | null | undefined;
|
|
@@ -5479,9 +6811,23 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5479
6811
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
5480
6812
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
5481
6813
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
6814
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
6815
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5482
6816
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
5483
6817
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
5484
6818
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
6819
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
6820
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
6821
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6822
|
+
environmentId: z.ZodString;
|
|
6823
|
+
workspaceId: z.ZodString;
|
|
6824
|
+
}, "strict", z.ZodTypeAny, {
|
|
6825
|
+
environmentId: string;
|
|
6826
|
+
workspaceId: string;
|
|
6827
|
+
}, {
|
|
6828
|
+
environmentId: string;
|
|
6829
|
+
workspaceId: string;
|
|
6830
|
+
}>, "many">>;
|
|
5485
6831
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
5486
6832
|
user: z.ZodOptional<z.ZodString>;
|
|
5487
6833
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5514,6 +6860,9 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5514
6860
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
5515
6861
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
5516
6862
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
6863
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
6864
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
6865
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
5517
6866
|
}, "strip", z.ZodTypeAny, {
|
|
5518
6867
|
name: string;
|
|
5519
6868
|
pluginKey: string;
|
|
@@ -5530,6 +6879,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5530
6879
|
chatMenu?: boolean | undefined;
|
|
5531
6880
|
isButton?: boolean | undefined;
|
|
5532
6881
|
toolkit?: boolean | undefined;
|
|
6882
|
+
serverToolName?: string | undefined;
|
|
5533
6883
|
}, {
|
|
5534
6884
|
name: string;
|
|
5535
6885
|
pluginKey: string;
|
|
@@ -5546,6 +6896,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5546
6896
|
chatMenu?: boolean | undefined;
|
|
5547
6897
|
isButton?: boolean | undefined;
|
|
5548
6898
|
toolkit?: boolean | undefined;
|
|
6899
|
+
serverToolName?: string | undefined;
|
|
5549
6900
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
5550
6901
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5551
6902
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -5620,6 +6971,35 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5620
6971
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5621
6972
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5622
6973
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
6974
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
6975
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
6976
|
+
rootConversationId: z.ZodString;
|
|
6977
|
+
parentConversationId: z.ZodString;
|
|
6978
|
+
parentMessageId: z.ZodString;
|
|
6979
|
+
parentToolCallId: z.ZodString;
|
|
6980
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
6981
|
+
subagentType: z.ZodString;
|
|
6982
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
6983
|
+
depth: z.ZodNumber;
|
|
6984
|
+
}, "strip", z.ZodTypeAny, {
|
|
6985
|
+
subagentKind: "agent" | "graph";
|
|
6986
|
+
parentMessageId: string;
|
|
6987
|
+
rootConversationId: string;
|
|
6988
|
+
parentConversationId: string;
|
|
6989
|
+
parentToolCallId: string;
|
|
6990
|
+
subagentType: string;
|
|
6991
|
+
depth: number;
|
|
6992
|
+
parentAgentId?: string | undefined;
|
|
6993
|
+
}, {
|
|
6994
|
+
subagentKind: "agent" | "graph";
|
|
6995
|
+
parentMessageId: string;
|
|
6996
|
+
rootConversationId: string;
|
|
6997
|
+
parentConversationId: string;
|
|
6998
|
+
parentToolCallId: string;
|
|
6999
|
+
subagentType: string;
|
|
7000
|
+
depth: number;
|
|
7001
|
+
parentAgentId?: string | undefined;
|
|
7002
|
+
}>>;
|
|
5623
7003
|
region: z.ZodOptional<z.ZodString>;
|
|
5624
7004
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
5625
7005
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -5639,7 +7019,9 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5639
7019
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
5640
7020
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
5641
7021
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5642
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "stream" | "
|
|
7022
|
+
}, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "stream" | "chatProjectId" | "resendFiles" | "effort" | "thinkingDisplay" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
7023
|
+
web_search?: boolean | undefined;
|
|
7024
|
+
artifacts?: string | undefined;
|
|
5643
7025
|
model?: string | null | undefined;
|
|
5644
7026
|
modelLabel?: string | null | undefined;
|
|
5645
7027
|
promptPrefix?: string | null | undefined;
|
|
@@ -5653,18 +7035,18 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5653
7035
|
thinking?: boolean | undefined;
|
|
5654
7036
|
thinkingBudget?: number | undefined;
|
|
5655
7037
|
stream?: boolean | undefined;
|
|
5656
|
-
artifacts?: string | undefined;
|
|
5657
7038
|
chatProjectId?: string | null | undefined;
|
|
5658
7039
|
resendFiles?: boolean | undefined;
|
|
5659
7040
|
effort?: AnthropicEffort | null | undefined;
|
|
5660
7041
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
5661
|
-
web_search?: boolean | undefined;
|
|
5662
7042
|
stop?: string[] | undefined;
|
|
5663
7043
|
greeting?: string | undefined;
|
|
5664
7044
|
spec?: string | null | undefined;
|
|
5665
7045
|
iconURL?: string | null | undefined;
|
|
5666
7046
|
fileTokenLimit?: number | undefined;
|
|
5667
7047
|
}, {
|
|
7048
|
+
web_search?: boolean | undefined;
|
|
7049
|
+
artifacts?: string | undefined;
|
|
5668
7050
|
model?: string | null | undefined;
|
|
5669
7051
|
modelLabel?: string | null | undefined;
|
|
5670
7052
|
promptPrefix?: string | null | undefined;
|
|
@@ -5678,18 +7060,18 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5678
7060
|
thinking?: boolean | undefined;
|
|
5679
7061
|
thinkingBudget?: string | number | undefined;
|
|
5680
7062
|
stream?: boolean | undefined;
|
|
5681
|
-
artifacts?: string | undefined;
|
|
5682
7063
|
chatProjectId?: string | null | undefined;
|
|
5683
7064
|
resendFiles?: boolean | undefined;
|
|
5684
7065
|
effort?: AnthropicEffort | null | undefined;
|
|
5685
7066
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
5686
|
-
web_search?: boolean | undefined;
|
|
5687
7067
|
stop?: string[] | undefined;
|
|
5688
7068
|
greeting?: string | undefined;
|
|
5689
7069
|
spec?: string | null | undefined;
|
|
5690
7070
|
iconURL?: string | null | undefined;
|
|
5691
7071
|
fileTokenLimit?: string | number | undefined;
|
|
5692
7072
|
}>, Partial<{
|
|
7073
|
+
web_search?: boolean | undefined;
|
|
7074
|
+
artifacts?: string | undefined;
|
|
5693
7075
|
model?: string | null | undefined;
|
|
5694
7076
|
modelLabel?: string | null | undefined;
|
|
5695
7077
|
promptPrefix?: string | null | undefined;
|
|
@@ -5703,18 +7085,18 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5703
7085
|
thinking?: boolean | undefined;
|
|
5704
7086
|
thinkingBudget?: number | undefined;
|
|
5705
7087
|
stream?: boolean | undefined;
|
|
5706
|
-
artifacts?: string | undefined;
|
|
5707
7088
|
chatProjectId?: string | null | undefined;
|
|
5708
7089
|
resendFiles?: boolean | undefined;
|
|
5709
7090
|
effort?: AnthropicEffort | null | undefined;
|
|
5710
7091
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
5711
|
-
web_search?: boolean | undefined;
|
|
5712
7092
|
stop?: string[] | undefined;
|
|
5713
7093
|
greeting?: string | undefined;
|
|
5714
7094
|
spec?: string | null | undefined;
|
|
5715
7095
|
iconURL?: string | null | undefined;
|
|
5716
7096
|
fileTokenLimit?: number | undefined;
|
|
5717
7097
|
}>, {
|
|
7098
|
+
web_search?: boolean | undefined;
|
|
7099
|
+
artifacts?: string | undefined;
|
|
5718
7100
|
model?: string | null | undefined;
|
|
5719
7101
|
modelLabel?: string | null | undefined;
|
|
5720
7102
|
promptPrefix?: string | null | undefined;
|
|
@@ -5728,12 +7110,10 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5728
7110
|
thinking?: boolean | undefined;
|
|
5729
7111
|
thinkingBudget?: string | number | undefined;
|
|
5730
7112
|
stream?: boolean | undefined;
|
|
5731
|
-
artifacts?: string | undefined;
|
|
5732
7113
|
chatProjectId?: string | null | undefined;
|
|
5733
7114
|
resendFiles?: boolean | undefined;
|
|
5734
7115
|
effort?: AnthropicEffort | null | undefined;
|
|
5735
7116
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
5736
|
-
web_search?: boolean | undefined;
|
|
5737
7117
|
stop?: string[] | undefined;
|
|
5738
7118
|
greeting?: string | undefined;
|
|
5739
7119
|
spec?: string | null | undefined;
|
|
@@ -5751,18 +7131,18 @@ export declare const tBannerSchema: z.ZodObject<{
|
|
|
5751
7131
|
persistable: z.ZodDefault<z.ZodBoolean>;
|
|
5752
7132
|
}, "strip", z.ZodTypeAny, {
|
|
5753
7133
|
message: string;
|
|
7134
|
+
isPublic: boolean;
|
|
5754
7135
|
createdAt: string;
|
|
5755
7136
|
updatedAt: string;
|
|
5756
|
-
isPublic: boolean;
|
|
5757
7137
|
bannerId: string;
|
|
5758
7138
|
displayFrom: string;
|
|
5759
7139
|
displayTo: string;
|
|
5760
7140
|
persistable: boolean;
|
|
5761
7141
|
}, {
|
|
5762
7142
|
message: string;
|
|
7143
|
+
isPublic: boolean;
|
|
5763
7144
|
createdAt: string;
|
|
5764
7145
|
updatedAt: string;
|
|
5765
|
-
isPublic: boolean;
|
|
5766
7146
|
bannerId: string;
|
|
5767
7147
|
displayFrom: string;
|
|
5768
7148
|
displayTo: string;
|
|
@@ -5774,9 +7154,23 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5774
7154
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
5775
7155
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
5776
7156
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
7157
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
7158
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5777
7159
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
5778
7160
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
5779
7161
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
7162
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
7163
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
7164
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7165
|
+
environmentId: z.ZodString;
|
|
7166
|
+
workspaceId: z.ZodString;
|
|
7167
|
+
}, "strict", z.ZodTypeAny, {
|
|
7168
|
+
environmentId: string;
|
|
7169
|
+
workspaceId: string;
|
|
7170
|
+
}, {
|
|
7171
|
+
environmentId: string;
|
|
7172
|
+
workspaceId: string;
|
|
7173
|
+
}>, "many">>;
|
|
5780
7174
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
5781
7175
|
user: z.ZodOptional<z.ZodString>;
|
|
5782
7176
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5809,6 +7203,9 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5809
7203
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
5810
7204
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
5811
7205
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
7206
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
7207
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
7208
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
5812
7209
|
}, "strip", z.ZodTypeAny, {
|
|
5813
7210
|
name: string;
|
|
5814
7211
|
pluginKey: string;
|
|
@@ -5825,6 +7222,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5825
7222
|
chatMenu?: boolean | undefined;
|
|
5826
7223
|
isButton?: boolean | undefined;
|
|
5827
7224
|
toolkit?: boolean | undefined;
|
|
7225
|
+
serverToolName?: string | undefined;
|
|
5828
7226
|
}, {
|
|
5829
7227
|
name: string;
|
|
5830
7228
|
pluginKey: string;
|
|
@@ -5841,6 +7239,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5841
7239
|
chatMenu?: boolean | undefined;
|
|
5842
7240
|
isButton?: boolean | undefined;
|
|
5843
7241
|
toolkit?: boolean | undefined;
|
|
7242
|
+
serverToolName?: string | undefined;
|
|
5844
7243
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
5845
7244
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5846
7245
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -5915,6 +7314,35 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5915
7314
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5916
7315
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5917
7316
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
7317
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
7318
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
7319
|
+
rootConversationId: z.ZodString;
|
|
7320
|
+
parentConversationId: z.ZodString;
|
|
7321
|
+
parentMessageId: z.ZodString;
|
|
7322
|
+
parentToolCallId: z.ZodString;
|
|
7323
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
7324
|
+
subagentType: z.ZodString;
|
|
7325
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
7326
|
+
depth: z.ZodNumber;
|
|
7327
|
+
}, "strip", z.ZodTypeAny, {
|
|
7328
|
+
subagentKind: "agent" | "graph";
|
|
7329
|
+
parentMessageId: string;
|
|
7330
|
+
rootConversationId: string;
|
|
7331
|
+
parentConversationId: string;
|
|
7332
|
+
parentToolCallId: string;
|
|
7333
|
+
subagentType: string;
|
|
7334
|
+
depth: number;
|
|
7335
|
+
parentAgentId?: string | undefined;
|
|
7336
|
+
}, {
|
|
7337
|
+
subagentKind: "agent" | "graph";
|
|
7338
|
+
parentMessageId: string;
|
|
7339
|
+
rootConversationId: string;
|
|
7340
|
+
parentConversationId: string;
|
|
7341
|
+
parentToolCallId: string;
|
|
7342
|
+
subagentType: string;
|
|
7343
|
+
depth: number;
|
|
7344
|
+
parentAgentId?: string | undefined;
|
|
7345
|
+
}>>;
|
|
5918
7346
|
region: z.ZodOptional<z.ZodString>;
|
|
5919
7347
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
5920
7348
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -5934,19 +7362,19 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5934
7362
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
5935
7363
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
5936
7364
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5937
|
-
}, "
|
|
5938
|
-
chatProjectId?: string | null | undefined;
|
|
5939
|
-
agent_id?: string | undefined;
|
|
7365
|
+
}, "instructions" | "additional_instructions" | "chatProjectId" | "agent_id" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
5940
7366
|
instructions?: string | undefined;
|
|
5941
7367
|
additional_instructions?: string | undefined;
|
|
7368
|
+
chatProjectId?: string | null | undefined;
|
|
7369
|
+
agent_id?: string | undefined;
|
|
5942
7370
|
greeting?: string | undefined;
|
|
5943
7371
|
spec?: string | null | undefined;
|
|
5944
7372
|
iconURL?: string | null | undefined;
|
|
5945
7373
|
}, {
|
|
5946
|
-
chatProjectId?: string | null | undefined;
|
|
5947
|
-
agent_id?: string | undefined;
|
|
5948
7374
|
instructions?: string | undefined;
|
|
5949
7375
|
additional_instructions?: string | undefined;
|
|
7376
|
+
chatProjectId?: string | null | undefined;
|
|
7377
|
+
agent_id?: string | undefined;
|
|
5950
7378
|
greeting?: string | undefined;
|
|
5951
7379
|
spec?: string | null | undefined;
|
|
5952
7380
|
iconURL?: string | null | undefined;
|
|
@@ -5956,9 +7384,23 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5956
7384
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
5957
7385
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
5958
7386
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
7387
|
+
/** When the chat was archived; absent on chats archived before this was recorded. */
|
|
7388
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5959
7389
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
5960
7390
|
/** Server-derived: an active shared link exists for this conversation. Not persisted. */
|
|
5961
7391
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
7392
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
7393
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
7394
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7395
|
+
environmentId: z.ZodString;
|
|
7396
|
+
workspaceId: z.ZodString;
|
|
7397
|
+
}, "strict", z.ZodTypeAny, {
|
|
7398
|
+
environmentId: string;
|
|
7399
|
+
workspaceId: string;
|
|
7400
|
+
}, {
|
|
7401
|
+
environmentId: string;
|
|
7402
|
+
workspaceId: string;
|
|
7403
|
+
}>, "many">>;
|
|
5962
7404
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
5963
7405
|
user: z.ZodOptional<z.ZodString>;
|
|
5964
7406
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5991,6 +7433,9 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5991
7433
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
5992
7434
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
5993
7435
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
7436
|
+
/** Raw upstream tool name when the model-facing key stripped a redundant
|
|
7437
|
+
* server-name prefix — proves upstream identity for legacy id migration. */
|
|
7438
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
5994
7439
|
}, "strip", z.ZodTypeAny, {
|
|
5995
7440
|
name: string;
|
|
5996
7441
|
pluginKey: string;
|
|
@@ -6007,6 +7452,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
6007
7452
|
chatMenu?: boolean | undefined;
|
|
6008
7453
|
isButton?: boolean | undefined;
|
|
6009
7454
|
toolkit?: boolean | undefined;
|
|
7455
|
+
serverToolName?: string | undefined;
|
|
6010
7456
|
}, {
|
|
6011
7457
|
name: string;
|
|
6012
7458
|
pluginKey: string;
|
|
@@ -6023,6 +7469,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
6023
7469
|
chatMenu?: boolean | undefined;
|
|
6024
7470
|
isButton?: boolean | undefined;
|
|
6025
7471
|
toolkit?: boolean | undefined;
|
|
7472
|
+
serverToolName?: string | undefined;
|
|
6026
7473
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
6027
7474
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6028
7475
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -6097,6 +7544,35 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
6097
7544
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
6098
7545
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
6099
7546
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
7547
|
+
/** Durable parent/child navigation for a subagent thread. */
|
|
7548
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
7549
|
+
rootConversationId: z.ZodString;
|
|
7550
|
+
parentConversationId: z.ZodString;
|
|
7551
|
+
parentMessageId: z.ZodString;
|
|
7552
|
+
parentToolCallId: z.ZodString;
|
|
7553
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
7554
|
+
subagentType: z.ZodString;
|
|
7555
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
7556
|
+
depth: z.ZodNumber;
|
|
7557
|
+
}, "strip", z.ZodTypeAny, {
|
|
7558
|
+
subagentKind: "agent" | "graph";
|
|
7559
|
+
parentMessageId: string;
|
|
7560
|
+
rootConversationId: string;
|
|
7561
|
+
parentConversationId: string;
|
|
7562
|
+
parentToolCallId: string;
|
|
7563
|
+
subagentType: string;
|
|
7564
|
+
depth: number;
|
|
7565
|
+
parentAgentId?: string | undefined;
|
|
7566
|
+
}, {
|
|
7567
|
+
subagentKind: "agent" | "graph";
|
|
7568
|
+
parentMessageId: string;
|
|
7569
|
+
rootConversationId: string;
|
|
7570
|
+
parentConversationId: string;
|
|
7571
|
+
parentToolCallId: string;
|
|
7572
|
+
subagentType: string;
|
|
7573
|
+
depth: number;
|
|
7574
|
+
parentAgentId?: string | undefined;
|
|
7575
|
+
}>>;
|
|
6100
7576
|
region: z.ZodOptional<z.ZodString>;
|
|
6101
7577
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
6102
7578
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
|
|
@@ -6116,35 +7592,35 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
6116
7592
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
6117
7593
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
6118
7594
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6119
|
-
}, "
|
|
6120
|
-
chatProjectId?: string | null | undefined;
|
|
6121
|
-
agent_id?: string | undefined;
|
|
7595
|
+
}, "instructions" | "additional_instructions" | "chatProjectId" | "agent_id" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
6122
7596
|
instructions?: string | undefined;
|
|
6123
7597
|
additional_instructions?: string | undefined;
|
|
7598
|
+
chatProjectId?: string | null | undefined;
|
|
7599
|
+
agent_id?: string | undefined;
|
|
6124
7600
|
greeting?: string | undefined;
|
|
6125
7601
|
spec?: string | null | undefined;
|
|
6126
7602
|
iconURL?: string | null | undefined;
|
|
6127
7603
|
}, {
|
|
6128
|
-
chatProjectId?: string | null | undefined;
|
|
6129
|
-
agent_id?: string | undefined;
|
|
6130
7604
|
instructions?: string | undefined;
|
|
6131
7605
|
additional_instructions?: string | undefined;
|
|
7606
|
+
chatProjectId?: string | null | undefined;
|
|
7607
|
+
agent_id?: string | undefined;
|
|
6132
7608
|
greeting?: string | undefined;
|
|
6133
7609
|
spec?: string | null | undefined;
|
|
6134
7610
|
iconURL?: string | null | undefined;
|
|
6135
7611
|
}>, Partial<{
|
|
6136
|
-
chatProjectId?: string | null | undefined;
|
|
6137
|
-
agent_id?: string | undefined;
|
|
6138
7612
|
instructions?: string | undefined;
|
|
6139
7613
|
additional_instructions?: string | undefined;
|
|
7614
|
+
chatProjectId?: string | null | undefined;
|
|
7615
|
+
agent_id?: string | undefined;
|
|
6140
7616
|
greeting?: string | undefined;
|
|
6141
7617
|
spec?: string | null | undefined;
|
|
6142
7618
|
iconURL?: string | null | undefined;
|
|
6143
7619
|
}>, {
|
|
6144
|
-
chatProjectId?: string | null | undefined;
|
|
6145
|
-
agent_id?: string | undefined;
|
|
6146
7620
|
instructions?: string | undefined;
|
|
6147
7621
|
additional_instructions?: string | undefined;
|
|
7622
|
+
chatProjectId?: string | null | undefined;
|
|
7623
|
+
agent_id?: string | undefined;
|
|
6148
7624
|
greeting?: string | undefined;
|
|
6149
7625
|
spec?: string | null | undefined;
|
|
6150
7626
|
iconURL?: string | null | undefined;
|