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
|
@@ -5,9 +5,15 @@ import * as q from './types/queries';
|
|
|
5
5
|
export declare const apiBaseUrl: () => string;
|
|
6
6
|
export declare const health: () => string;
|
|
7
7
|
export declare const user: () => string;
|
|
8
|
+
export declare const userPreferences: () => string;
|
|
8
9
|
export declare const balance: () => string;
|
|
9
10
|
export declare const userPlugins: () => string;
|
|
10
11
|
export declare const deleteUser: () => string;
|
|
12
|
+
export declare const codeEnvironments: () => string;
|
|
13
|
+
export declare const codeEnvironmentPairings: () => string;
|
|
14
|
+
export declare const codeEnvironmentById: (id: string) => string;
|
|
15
|
+
export declare const codeEnvironmentSettings: (id: string) => string;
|
|
16
|
+
export declare const codeEnvironmentStatus: (id: string) => string;
|
|
11
17
|
export declare const messages: (params: q.MessagesListParams) => string;
|
|
12
18
|
export declare const messagesArtifacts: (messageId: string) => string;
|
|
13
19
|
export declare const messagesBranch: () => string;
|
|
@@ -31,9 +37,13 @@ export declare const apiKeyById: (id: string) => string;
|
|
|
31
37
|
export declare const conversationsRoot: string;
|
|
32
38
|
export declare const conversations: (params: q.ConversationListParams) => string;
|
|
33
39
|
export declare const conversationById: (id: string) => string;
|
|
40
|
+
export declare const parentSubagents: (parentConversationId: string) => string;
|
|
41
|
+
export declare const subagentThread: (parentConversationId: string, threadId: string, taskId?: string, cursor?: string) => string;
|
|
42
|
+
export declare const subagentControl: (parentConversationId: string, threadId: string) => string;
|
|
34
43
|
export declare const genTitle: (conversationId: string) => string;
|
|
35
44
|
export declare const updateConversation: () => string;
|
|
36
45
|
export declare const archiveConversation: () => string;
|
|
46
|
+
export declare const archiveAllConversations: () => string;
|
|
37
47
|
export declare const pinConversation: () => string;
|
|
38
48
|
export declare const deleteConversation: () => string;
|
|
39
49
|
export declare const deleteAllConversation: () => string;
|
|
@@ -93,6 +103,9 @@ export declare const agents: ({ path, options }: {
|
|
|
93
103
|
options?: object;
|
|
94
104
|
}) => string;
|
|
95
105
|
export declare const activeJobs: () => string;
|
|
106
|
+
export declare const agentQueuedTurns: () => string;
|
|
107
|
+
export declare const agentQueuedTurnsByConversation: (conversationId: string, clientRequestIds?: string[]) => string;
|
|
108
|
+
export declare const agentQueuedTurn: (queuedTurnId: string) => string;
|
|
96
109
|
export declare const mcp: {
|
|
97
110
|
tools: string;
|
|
98
111
|
servers: string;
|
|
@@ -133,12 +146,21 @@ export declare const deletePrompt: ({ _id, groupId }: {
|
|
|
133
146
|
}) => string;
|
|
134
147
|
export declare const getCategories: () => string;
|
|
135
148
|
export declare const getAllPromptGroups: () => string;
|
|
149
|
+
export declare const schedules: () => string;
|
|
150
|
+
export declare const schedule: (id: string) => string;
|
|
151
|
+
export declare const runSchedule: (id: string) => string;
|
|
136
152
|
export declare const skills: () => string;
|
|
137
153
|
export declare const importSkill: () => string;
|
|
138
154
|
export declare const getSkill: (id: string) => string;
|
|
139
155
|
export declare const listSkillsWithFilters: (filter: Record<string, string | number | undefined | null>) => string;
|
|
140
156
|
export declare const skillFiles: (id: string) => string;
|
|
141
157
|
export declare const skillFile: (id: string, relativePath: string) => string;
|
|
158
|
+
export declare const insights: () => string;
|
|
159
|
+
export declare const insightsAccess: () => string;
|
|
160
|
+
export declare const conversationTrace: (conversationId: string) => string;
|
|
161
|
+
export declare const conversationTraceAvailability: (conversationId: string) => string;
|
|
162
|
+
export declare const conversationTraceRecords: (conversationId: string, cursor?: string) => string;
|
|
163
|
+
export declare const conversationTraceRecord: (conversationId: string, recordId: string, messageId: string, sourceId?: string) => string;
|
|
142
164
|
export declare const adminSkillsSync: () => string;
|
|
143
165
|
export declare const adminSkillsSyncStatus: () => string;
|
|
144
166
|
export declare const adminSkillsSyncRun: () => string;
|
|
@@ -156,6 +178,7 @@ export declare const skillStates: () => string;
|
|
|
156
178
|
export declare const adminLangfuseConnection: () => string;
|
|
157
179
|
export declare const adminLangfuseConnectionTest: () => string;
|
|
158
180
|
export declare const adminLangfuseSessionLink: (conversationId: string) => string;
|
|
181
|
+
export declare const pinnedOrder: () => string;
|
|
159
182
|
export declare const toolFavorites: () => string;
|
|
160
183
|
export declare const toolFavorite: (itemType: string, itemId: string) => string;
|
|
161
184
|
export declare const roles: () => string;
|
|
@@ -184,6 +207,7 @@ export declare const regenerateBackupCodes: () => string;
|
|
|
184
207
|
export declare const verifyTwoFactorTemp: () => string;
|
|
185
208
|
export declare const memories: () => string;
|
|
186
209
|
export declare const memory: (key: string, agentId?: string) => string;
|
|
210
|
+
export declare const memoryById: (id: string, agentId?: string) => string;
|
|
187
211
|
export declare const memoryPreferences: () => string;
|
|
188
212
|
export declare const searchPrincipals: (params: q.PrincipalSearchParams) => string;
|
|
189
213
|
export declare const getAccessRoles: (resourceType: ResourceType) => string;
|
package/dist/types/bedrock.d.ts
CHANGED
|
@@ -61,13 +61,34 @@ export declare function clampOutputConfigEffort(model: string, outputConfig: unk
|
|
|
61
61
|
export declare function isThinkingDisabled(thinking: unknown): boolean;
|
|
62
62
|
/** Checks if a model has a 1M context window (Sonnet 4.6+, Opus 4.6+, Opus 5+, Fable/Mythos) */
|
|
63
63
|
export declare function supportsContext1m(model: string): boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Checks whether a native Anthropic Claude model supports prompt caching.
|
|
66
|
+
*
|
|
67
|
+
* This uses the configured model ID directly. Resolving it through a token
|
|
68
|
+
* map first can collapse a newly released Claude model to the generic
|
|
69
|
+
* `claude-` fallback and incorrectly disable cache control.
|
|
70
|
+
*/
|
|
71
|
+
export declare function supportsPromptCache(model: string): boolean;
|
|
64
72
|
export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
65
73
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
66
74
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
|
|
67
75
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
|
|
68
76
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
78
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
70
79
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
81
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
82
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
83
|
+
environmentId: z.ZodString;
|
|
84
|
+
workspaceId: z.ZodString;
|
|
85
|
+
}, "strict", z.ZodTypeAny, {
|
|
86
|
+
environmentId: string;
|
|
87
|
+
workspaceId: string;
|
|
88
|
+
}, {
|
|
89
|
+
environmentId: string;
|
|
90
|
+
workspaceId: string;
|
|
91
|
+
}>, "many">>;
|
|
71
92
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
72
93
|
user: z.ZodOptional<z.ZodString>;
|
|
73
94
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -99,6 +120,7 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
99
120
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
100
121
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
101
122
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
102
124
|
}, "strip", z.ZodTypeAny, {
|
|
103
125
|
name: string;
|
|
104
126
|
pluginKey: string;
|
|
@@ -115,6 +137,7 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
115
137
|
chatMenu?: boolean | undefined;
|
|
116
138
|
isButton?: boolean | undefined;
|
|
117
139
|
toolkit?: boolean | undefined;
|
|
140
|
+
serverToolName?: string | undefined;
|
|
118
141
|
}, {
|
|
119
142
|
name: string;
|
|
120
143
|
pluginKey: string;
|
|
@@ -131,6 +154,7 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
131
154
|
chatMenu?: boolean | undefined;
|
|
132
155
|
isButton?: boolean | undefined;
|
|
133
156
|
toolkit?: boolean | undefined;
|
|
157
|
+
serverToolName?: string | undefined;
|
|
134
158
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
135
159
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
160
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -205,6 +229,34 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
205
229
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
206
230
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
207
231
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
232
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
rootConversationId: z.ZodString;
|
|
234
|
+
parentConversationId: z.ZodString;
|
|
235
|
+
parentMessageId: z.ZodString;
|
|
236
|
+
parentToolCallId: z.ZodString;
|
|
237
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
238
|
+
subagentType: z.ZodString;
|
|
239
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
240
|
+
depth: z.ZodNumber;
|
|
241
|
+
}, "strip", z.ZodTypeAny, {
|
|
242
|
+
subagentKind: "agent" | "graph";
|
|
243
|
+
parentMessageId: string;
|
|
244
|
+
rootConversationId: string;
|
|
245
|
+
parentConversationId: string;
|
|
246
|
+
parentToolCallId: string;
|
|
247
|
+
subagentType: string;
|
|
248
|
+
depth: number;
|
|
249
|
+
parentAgentId?: string | undefined;
|
|
250
|
+
}, {
|
|
251
|
+
subagentKind: "agent" | "graph";
|
|
252
|
+
parentMessageId: string;
|
|
253
|
+
rootConversationId: string;
|
|
254
|
+
parentConversationId: string;
|
|
255
|
+
parentToolCallId: string;
|
|
256
|
+
subagentType: string;
|
|
257
|
+
depth: number;
|
|
258
|
+
parentAgentId?: string | undefined;
|
|
259
|
+
}>>;
|
|
208
260
|
region: z.ZodOptional<z.ZodString>;
|
|
209
261
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
210
262
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
@@ -269,7 +321,8 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
269
321
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
270
322
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
271
323
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
272
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "system" | "thinking" | "thinkingBudget" | "
|
|
324
|
+
}, "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "system" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
325
|
+
artifacts?: string | undefined;
|
|
273
326
|
model?: string | null | undefined;
|
|
274
327
|
modelLabel?: string | null | undefined;
|
|
275
328
|
promptPrefix?: string | null | undefined;
|
|
@@ -283,7 +336,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
283
336
|
system?: string | undefined;
|
|
284
337
|
thinking?: boolean | undefined;
|
|
285
338
|
thinkingBudget?: number | undefined;
|
|
286
|
-
artifacts?: string | undefined;
|
|
287
339
|
chatProjectId?: string | null | undefined;
|
|
288
340
|
resendFiles?: boolean | undefined;
|
|
289
341
|
reasoning_effort?: s.ReasoningEffort | null | undefined;
|
|
@@ -321,6 +373,7 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
321
373
|
spec?: string | null | undefined;
|
|
322
374
|
iconURL?: string | null | undefined;
|
|
323
375
|
}, {
|
|
376
|
+
artifacts?: string | undefined;
|
|
324
377
|
model?: string | null | undefined;
|
|
325
378
|
modelLabel?: string | null | undefined;
|
|
326
379
|
promptPrefix?: string | null | undefined;
|
|
@@ -334,7 +387,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
334
387
|
system?: string | undefined;
|
|
335
388
|
thinking?: boolean | undefined;
|
|
336
389
|
thinkingBudget?: string | number | undefined;
|
|
337
|
-
artifacts?: string | undefined;
|
|
338
390
|
chatProjectId?: string | null | undefined;
|
|
339
391
|
resendFiles?: boolean | undefined;
|
|
340
392
|
reasoning_effort?: s.ReasoningEffort | null | undefined;
|
|
@@ -372,6 +424,7 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
372
424
|
spec?: string | null | undefined;
|
|
373
425
|
iconURL?: string | null | undefined;
|
|
374
426
|
}>, Partial<{
|
|
427
|
+
artifacts?: string | undefined;
|
|
375
428
|
model?: string | null | undefined;
|
|
376
429
|
modelLabel?: string | null | undefined;
|
|
377
430
|
promptPrefix?: string | null | undefined;
|
|
@@ -385,7 +438,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
385
438
|
system?: string | undefined;
|
|
386
439
|
thinking?: boolean | undefined;
|
|
387
440
|
thinkingBudget?: number | undefined;
|
|
388
|
-
artifacts?: string | undefined;
|
|
389
441
|
chatProjectId?: string | null | undefined;
|
|
390
442
|
resendFiles?: boolean | undefined;
|
|
391
443
|
reasoning_effort?: s.ReasoningEffort | null | undefined;
|
|
@@ -423,6 +475,7 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
423
475
|
spec?: string | null | undefined;
|
|
424
476
|
iconURL?: string | null | undefined;
|
|
425
477
|
}>, {
|
|
478
|
+
artifacts?: string | undefined;
|
|
426
479
|
model?: string | null | undefined;
|
|
427
480
|
modelLabel?: string | null | undefined;
|
|
428
481
|
promptPrefix?: string | null | undefined;
|
|
@@ -436,7 +489,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
436
489
|
system?: string | undefined;
|
|
437
490
|
thinking?: boolean | undefined;
|
|
438
491
|
thinkingBudget?: string | number | undefined;
|
|
439
|
-
artifacts?: string | undefined;
|
|
440
492
|
chatProjectId?: string | null | undefined;
|
|
441
493
|
resendFiles?: boolean | undefined;
|
|
442
494
|
reasoning_effort?: s.ReasoningEffort | null | undefined;
|
|
@@ -480,8 +532,21 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
480
532
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
|
|
481
533
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
|
|
482
534
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
535
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
483
536
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
484
537
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
538
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
539
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
540
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
541
|
+
environmentId: z.ZodString;
|
|
542
|
+
workspaceId: z.ZodString;
|
|
543
|
+
}, "strict", z.ZodTypeAny, {
|
|
544
|
+
environmentId: string;
|
|
545
|
+
workspaceId: string;
|
|
546
|
+
}, {
|
|
547
|
+
environmentId: string;
|
|
548
|
+
workspaceId: string;
|
|
549
|
+
}>, "many">>;
|
|
485
550
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
486
551
|
user: z.ZodOptional<z.ZodString>;
|
|
487
552
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -513,6 +578,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
513
578
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
514
579
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
515
580
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
581
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
516
582
|
}, "strip", z.ZodTypeAny, {
|
|
517
583
|
name: string;
|
|
518
584
|
pluginKey: string;
|
|
@@ -529,6 +595,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
529
595
|
chatMenu?: boolean | undefined;
|
|
530
596
|
isButton?: boolean | undefined;
|
|
531
597
|
toolkit?: boolean | undefined;
|
|
598
|
+
serverToolName?: string | undefined;
|
|
532
599
|
}, {
|
|
533
600
|
name: string;
|
|
534
601
|
pluginKey: string;
|
|
@@ -545,6 +612,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
545
612
|
chatMenu?: boolean | undefined;
|
|
546
613
|
isButton?: boolean | undefined;
|
|
547
614
|
toolkit?: boolean | undefined;
|
|
615
|
+
serverToolName?: string | undefined;
|
|
548
616
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
549
617
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
550
618
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -619,6 +687,34 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
619
687
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
620
688
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
621
689
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
690
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
691
|
+
rootConversationId: z.ZodString;
|
|
692
|
+
parentConversationId: z.ZodString;
|
|
693
|
+
parentMessageId: z.ZodString;
|
|
694
|
+
parentToolCallId: z.ZodString;
|
|
695
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
696
|
+
subagentType: z.ZodString;
|
|
697
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
698
|
+
depth: z.ZodNumber;
|
|
699
|
+
}, "strip", z.ZodTypeAny, {
|
|
700
|
+
subagentKind: "agent" | "graph";
|
|
701
|
+
parentMessageId: string;
|
|
702
|
+
rootConversationId: string;
|
|
703
|
+
parentConversationId: string;
|
|
704
|
+
parentToolCallId: string;
|
|
705
|
+
subagentType: string;
|
|
706
|
+
depth: number;
|
|
707
|
+
parentAgentId?: string | undefined;
|
|
708
|
+
}, {
|
|
709
|
+
subagentKind: "agent" | "graph";
|
|
710
|
+
parentMessageId: string;
|
|
711
|
+
rootConversationId: string;
|
|
712
|
+
parentConversationId: string;
|
|
713
|
+
parentToolCallId: string;
|
|
714
|
+
subagentType: string;
|
|
715
|
+
depth: number;
|
|
716
|
+
parentAgentId?: string | undefined;
|
|
717
|
+
}>>;
|
|
622
718
|
region: z.ZodOptional<z.ZodString>;
|
|
623
719
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
624
720
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
@@ -683,13 +779,26 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
683
779
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
684
780
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
685
781
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
686
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "
|
|
782
|
+
}, "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, "strip", z.ZodAny, z.objectOutputType<Pick<{
|
|
687
783
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
688
784
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
|
|
689
785
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
|
|
690
786
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
787
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
691
788
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
692
789
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
790
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
791
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
792
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
793
|
+
environmentId: z.ZodString;
|
|
794
|
+
workspaceId: z.ZodString;
|
|
795
|
+
}, "strict", z.ZodTypeAny, {
|
|
796
|
+
environmentId: string;
|
|
797
|
+
workspaceId: string;
|
|
798
|
+
}, {
|
|
799
|
+
environmentId: string;
|
|
800
|
+
workspaceId: string;
|
|
801
|
+
}>, "many">>;
|
|
693
802
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
694
803
|
user: z.ZodOptional<z.ZodString>;
|
|
695
804
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -721,6 +830,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
721
830
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
722
831
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
723
832
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
833
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
724
834
|
}, "strip", z.ZodTypeAny, {
|
|
725
835
|
name: string;
|
|
726
836
|
pluginKey: string;
|
|
@@ -737,6 +847,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
737
847
|
chatMenu?: boolean | undefined;
|
|
738
848
|
isButton?: boolean | undefined;
|
|
739
849
|
toolkit?: boolean | undefined;
|
|
850
|
+
serverToolName?: string | undefined;
|
|
740
851
|
}, {
|
|
741
852
|
name: string;
|
|
742
853
|
pluginKey: string;
|
|
@@ -753,6 +864,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
753
864
|
chatMenu?: boolean | undefined;
|
|
754
865
|
isButton?: boolean | undefined;
|
|
755
866
|
toolkit?: boolean | undefined;
|
|
867
|
+
serverToolName?: string | undefined;
|
|
756
868
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
757
869
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
758
870
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -827,6 +939,34 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
827
939
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
828
940
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
829
941
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
942
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
943
|
+
rootConversationId: z.ZodString;
|
|
944
|
+
parentConversationId: z.ZodString;
|
|
945
|
+
parentMessageId: z.ZodString;
|
|
946
|
+
parentToolCallId: z.ZodString;
|
|
947
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
948
|
+
subagentType: z.ZodString;
|
|
949
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
950
|
+
depth: z.ZodNumber;
|
|
951
|
+
}, "strip", z.ZodTypeAny, {
|
|
952
|
+
subagentKind: "agent" | "graph";
|
|
953
|
+
parentMessageId: string;
|
|
954
|
+
rootConversationId: string;
|
|
955
|
+
parentConversationId: string;
|
|
956
|
+
parentToolCallId: string;
|
|
957
|
+
subagentType: string;
|
|
958
|
+
depth: number;
|
|
959
|
+
parentAgentId?: string | undefined;
|
|
960
|
+
}, {
|
|
961
|
+
subagentKind: "agent" | "graph";
|
|
962
|
+
parentMessageId: string;
|
|
963
|
+
rootConversationId: string;
|
|
964
|
+
parentConversationId: string;
|
|
965
|
+
parentToolCallId: string;
|
|
966
|
+
subagentType: string;
|
|
967
|
+
depth: number;
|
|
968
|
+
parentAgentId?: string | undefined;
|
|
969
|
+
}>>;
|
|
830
970
|
region: z.ZodOptional<z.ZodString>;
|
|
831
971
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
832
972
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
@@ -891,13 +1031,26 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
891
1031
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
892
1032
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
893
1033
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
894
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "
|
|
1034
|
+
}, "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, z.ZodAny, "strip">, z.objectInputType<Pick<{
|
|
895
1035
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
896
1036
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
|
|
897
1037
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
|
|
898
1038
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
1039
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
899
1040
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
900
1041
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
1042
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
1043
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
1044
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1045
|
+
environmentId: z.ZodString;
|
|
1046
|
+
workspaceId: z.ZodString;
|
|
1047
|
+
}, "strict", z.ZodTypeAny, {
|
|
1048
|
+
environmentId: string;
|
|
1049
|
+
workspaceId: string;
|
|
1050
|
+
}, {
|
|
1051
|
+
environmentId: string;
|
|
1052
|
+
workspaceId: string;
|
|
1053
|
+
}>, "many">>;
|
|
901
1054
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
902
1055
|
user: z.ZodOptional<z.ZodString>;
|
|
903
1056
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -929,6 +1082,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
929
1082
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
930
1083
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
931
1084
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
1085
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
932
1086
|
}, "strip", z.ZodTypeAny, {
|
|
933
1087
|
name: string;
|
|
934
1088
|
pluginKey: string;
|
|
@@ -945,6 +1099,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
945
1099
|
chatMenu?: boolean | undefined;
|
|
946
1100
|
isButton?: boolean | undefined;
|
|
947
1101
|
toolkit?: boolean | undefined;
|
|
1102
|
+
serverToolName?: string | undefined;
|
|
948
1103
|
}, {
|
|
949
1104
|
name: string;
|
|
950
1105
|
pluginKey: string;
|
|
@@ -961,6 +1116,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
961
1116
|
chatMenu?: boolean | undefined;
|
|
962
1117
|
isButton?: boolean | undefined;
|
|
963
1118
|
toolkit?: boolean | undefined;
|
|
1119
|
+
serverToolName?: string | undefined;
|
|
964
1120
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
965
1121
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
966
1122
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1035,6 +1191,34 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1035
1191
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1036
1192
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1037
1193
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
1195
|
+
rootConversationId: z.ZodString;
|
|
1196
|
+
parentConversationId: z.ZodString;
|
|
1197
|
+
parentMessageId: z.ZodString;
|
|
1198
|
+
parentToolCallId: z.ZodString;
|
|
1199
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
1200
|
+
subagentType: z.ZodString;
|
|
1201
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
1202
|
+
depth: z.ZodNumber;
|
|
1203
|
+
}, "strip", z.ZodTypeAny, {
|
|
1204
|
+
subagentKind: "agent" | "graph";
|
|
1205
|
+
parentMessageId: string;
|
|
1206
|
+
rootConversationId: string;
|
|
1207
|
+
parentConversationId: string;
|
|
1208
|
+
parentToolCallId: string;
|
|
1209
|
+
subagentType: string;
|
|
1210
|
+
depth: number;
|
|
1211
|
+
parentAgentId?: string | undefined;
|
|
1212
|
+
}, {
|
|
1213
|
+
subagentKind: "agent" | "graph";
|
|
1214
|
+
parentMessageId: string;
|
|
1215
|
+
rootConversationId: string;
|
|
1216
|
+
parentConversationId: string;
|
|
1217
|
+
parentToolCallId: string;
|
|
1218
|
+
subagentType: string;
|
|
1219
|
+
depth: number;
|
|
1220
|
+
parentAgentId?: string | undefined;
|
|
1221
|
+
}>>;
|
|
1038
1222
|
region: z.ZodOptional<z.ZodString>;
|
|
1039
1223
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1040
1224
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
@@ -1099,7 +1283,8 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1099
1283
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1100
1284
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
1101
1285
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1102
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "
|
|
1286
|
+
}, "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, z.ZodAny, "strip">>, Partial<{
|
|
1287
|
+
artifacts?: string | undefined;
|
|
1103
1288
|
model?: string | null | undefined;
|
|
1104
1289
|
modelLabel?: string | null | undefined;
|
|
1105
1290
|
promptPrefix?: string | null | undefined;
|
|
@@ -1113,7 +1298,6 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1113
1298
|
system?: string | undefined;
|
|
1114
1299
|
thinking?: boolean | undefined;
|
|
1115
1300
|
thinkingBudget?: number | undefined;
|
|
1116
|
-
artifacts?: string | undefined;
|
|
1117
1301
|
chatProjectId?: string | null | undefined;
|
|
1118
1302
|
resendFiles?: boolean | undefined;
|
|
1119
1303
|
reasoning_effort?: s.ReasoningEffort | null | undefined;
|
|
@@ -1155,8 +1339,21 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1155
1339
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
|
|
1156
1340
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
|
|
1157
1341
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
1342
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1158
1343
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1159
1344
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
1345
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
1346
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
1347
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1348
|
+
environmentId: z.ZodString;
|
|
1349
|
+
workspaceId: z.ZodString;
|
|
1350
|
+
}, "strict", z.ZodTypeAny, {
|
|
1351
|
+
environmentId: string;
|
|
1352
|
+
workspaceId: string;
|
|
1353
|
+
}, {
|
|
1354
|
+
environmentId: string;
|
|
1355
|
+
workspaceId: string;
|
|
1356
|
+
}>, "many">>;
|
|
1160
1357
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
1161
1358
|
user: z.ZodOptional<z.ZodString>;
|
|
1162
1359
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1188,6 +1385,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1188
1385
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
1189
1386
|
isButton: z.ZodOptional<z.ZodBoolean>;
|
|
1190
1387
|
toolkit: z.ZodOptional<z.ZodBoolean>;
|
|
1388
|
+
serverToolName: z.ZodOptional<z.ZodString>;
|
|
1191
1389
|
}, "strip", z.ZodTypeAny, {
|
|
1192
1390
|
name: string;
|
|
1193
1391
|
pluginKey: string;
|
|
@@ -1204,6 +1402,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1204
1402
|
chatMenu?: boolean | undefined;
|
|
1205
1403
|
isButton?: boolean | undefined;
|
|
1206
1404
|
toolkit?: boolean | undefined;
|
|
1405
|
+
serverToolName?: string | undefined;
|
|
1207
1406
|
}, {
|
|
1208
1407
|
name: string;
|
|
1209
1408
|
pluginKey: string;
|
|
@@ -1220,6 +1419,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1220
1419
|
chatMenu?: boolean | undefined;
|
|
1221
1420
|
isButton?: boolean | undefined;
|
|
1222
1421
|
toolkit?: boolean | undefined;
|
|
1422
|
+
serverToolName?: string | undefined;
|
|
1223
1423
|
}>, "many">, z.ZodArray<z.ZodString, "many">]>>;
|
|
1224
1424
|
modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1225
1425
|
userLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1294,6 +1494,34 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1294
1494
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1295
1495
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1296
1496
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
1497
|
+
subagentThread: z.ZodOptional<z.ZodObject<{
|
|
1498
|
+
rootConversationId: z.ZodString;
|
|
1499
|
+
parentConversationId: z.ZodString;
|
|
1500
|
+
parentMessageId: z.ZodString;
|
|
1501
|
+
parentToolCallId: z.ZodString;
|
|
1502
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
1503
|
+
subagentType: z.ZodString;
|
|
1504
|
+
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
1505
|
+
depth: z.ZodNumber;
|
|
1506
|
+
}, "strip", z.ZodTypeAny, {
|
|
1507
|
+
subagentKind: "agent" | "graph";
|
|
1508
|
+
parentMessageId: string;
|
|
1509
|
+
rootConversationId: string;
|
|
1510
|
+
parentConversationId: string;
|
|
1511
|
+
parentToolCallId: string;
|
|
1512
|
+
subagentType: string;
|
|
1513
|
+
depth: number;
|
|
1514
|
+
parentAgentId?: string | undefined;
|
|
1515
|
+
}, {
|
|
1516
|
+
subagentKind: "agent" | "graph";
|
|
1517
|
+
parentMessageId: string;
|
|
1518
|
+
rootConversationId: string;
|
|
1519
|
+
parentConversationId: string;
|
|
1520
|
+
parentToolCallId: string;
|
|
1521
|
+
subagentType: string;
|
|
1522
|
+
depth: number;
|
|
1523
|
+
parentAgentId?: string | undefined;
|
|
1524
|
+
}>>;
|
|
1297
1525
|
region: z.ZodOptional<z.ZodString>;
|
|
1298
1526
|
maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1299
1527
|
additionalModelRequestFields: z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
@@ -1358,5 +1586,5 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1358
1586
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1359
1587
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
1360
1588
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1361
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "
|
|
1589
|
+
}, "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, z.ZodAny, "strip">>>;
|
|
1362
1590
|
export declare const bedrockOutputParser: (data: Record<string, unknown>) => Record<string, unknown>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { TScheduleCadence } from './types/schedules';
|
|
2
|
+
/**
|
|
3
|
+
* Compiles a cadence to the cron expression the engine fires from. Shared rather
|
|
4
|
+
* than server-owned because the dialog previews the next runs, validates the
|
|
5
|
+
* interval floor, and disables its own submit from these same functions: a second
|
|
6
|
+
* client-side implementation would drift and either show run times the schedule
|
|
7
|
+
* does not keep or accept a cadence the server then rejects.
|
|
8
|
+
*/
|
|
9
|
+
export declare function cadenceToCron(cadence: TScheduleCadence): string;
|
|
10
|
+
/**
|
|
11
|
+
* Everything `cronCadenceSchema` will accept: exactly five fields, within the length
|
|
12
|
+
* the schema stores, and actually matching at some point. croner accepts syntactically
|
|
13
|
+
* valid patterns that can never match (`0 0 30 2 *`), and those would arm a schedule
|
|
14
|
+
* that never fires. Validated with croner rather than a regex, because a regex would
|
|
15
|
+
* accept patterns croner then rejects at fire time.
|
|
16
|
+
*
|
|
17
|
+
* A five-field expression that matches at all matches forever, which is what lets every
|
|
18
|
+
* caller keep reading "no next occurrence" as "this cadence is unreadable".
|
|
19
|
+
*/
|
|
20
|
+
export declare function isValidCronExpression(expression: string, timezone?: string): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The next occurrences the engine would fire. Server-side jitter (up to two
|
|
23
|
+
* minutes) is deliberately not modelled: it is keyed off a schedule id that does
|
|
24
|
+
* not exist yet at create time, and showing 9:01 for a 9:00 schedule reads as a bug.
|
|
25
|
+
*/
|
|
26
|
+
export declare function nextRunInstants(cadence: TScheduleCadence, timezone: string, count: number): Date[];
|
|
27
|
+
/**
|
|
28
|
+
* Minimum minutes between occurrences, for the admin interval floor. `timezone` is
|
|
29
|
+
* the schedule's own; passing it lets the cron branch measure a DST-compressed gap
|
|
30
|
+
* instead of estimating one. The structured branches are zone-independent: their
|
|
31
|
+
* formulas already carry the worst-case allowance.
|
|
32
|
+
*/
|
|
33
|
+
export declare function cadenceIntervalMinutes(cadence: TScheduleCadence, timezone?: string): number;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { CodeEnvironmentPermissionDecision, CodeEnvironmentUserConfigSchema, CodeEnvironmentUserSettings } from '../config';
|
|
2
|
+
export declare const CODE_APPROVAL_MODES: readonly ["ask", "acceptEdits", "fullAccess"];
|
|
3
|
+
export type CodeApprovalMode = (typeof CODE_APPROVAL_MODES)[number];
|
|
4
|
+
type CodePermissions = Required<NonNullable<CodeEnvironmentUserSettings['permissions']>>;
|
|
5
|
+
export type CodeApprovalConstraints = {
|
|
6
|
+
environment: 'attached' | 'managed';
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
allowedModes?: readonly CodeApprovalMode[];
|
|
9
|
+
configSchema?: CodeEnvironmentUserConfigSchema;
|
|
10
|
+
settings?: CodeEnvironmentUserSettings;
|
|
11
|
+
};
|
|
12
|
+
/** Omitted deployment configuration never grants unattended execution. */
|
|
13
|
+
export declare function getAllowedCodeApprovalModes({ enabled, allowedModes, configSchema, settings, environment, }: CodeApprovalConstraints): CodeApprovalMode[];
|
|
14
|
+
export declare class CodeApprovalModeError extends Error {
|
|
15
|
+
readonly code = "CODE_APPROVAL_MODE_NOT_ALLOWED";
|
|
16
|
+
constructor();
|
|
17
|
+
}
|
|
18
|
+
/** Validate untrusted request state again at admission, including after policy changes. */
|
|
19
|
+
export declare function resolveCodeApprovalMode(requested: unknown, constraints: CodeApprovalConstraints): CodeApprovalMode | undefined;
|
|
20
|
+
/** Apply a turn preference without modifying machine settings or overriding an existing deny. */
|
|
21
|
+
export declare function resolveCodePermissionDecision({ mode, category, decision, }: {
|
|
22
|
+
mode?: CodeApprovalMode;
|
|
23
|
+
category: keyof CodePermissions;
|
|
24
|
+
decision: CodeEnvironmentPermissionDecision;
|
|
25
|
+
}): CodeEnvironmentPermissionDecision;
|
|
26
|
+
export {};
|