librechat-data-provider 0.8.522 → 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-CaB7saTP.mjs → data-service-Bx6IFaSa.mjs} +638 -27
- package/dist/data-service-Bx6IFaSa.mjs.map +1 -0
- package/dist/{data-service-D5kHzBt-.js → data-service-CTX0tVO5.js} +871 -26
- package/dist/data-service-CTX0tVO5.js.map +1 -0
- package/dist/index.js +557 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +491 -20
- package/dist/index.mjs.map +1 -1
- package/dist/react-query/index.js +1 -1
- package/dist/react-query/index.mjs +1 -1
- package/dist/types/accessPermissions.d.ts +54 -1
- package/dist/types/api-endpoints.d.ts +6 -0
- package/dist/types/bedrock.d.ts +80 -20
- 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 +5 -0
- package/dist/types/config.d.ts +6062 -3828
- package/dist/types/data-service.d.ts +8 -0
- package/dist/types/errors.d.ts +2 -0
- package/dist/types/file-config.d.ts +137 -9
- package/dist/types/filters.d.ts +176 -176
- package/dist/types/generate.d.ts +28 -4
- package/dist/types/index.d.ts +7 -0
- package/dist/types/keys.d.ts +11 -1
- package/dist/types/mcp.d.ts +336 -330
- package/dist/types/messages.d.ts +19 -0
- package/dist/types/models.d.ts +367 -238
- package/dist/types/parameterSettings.d.ts +8 -0
- package/dist/types/providers.d.ts +1 -0
- package/dist/types/resolve-llm-delivery-path.d.ts +68 -0
- package/dist/types/schemas.d.ts +628 -317
- package/dist/types/svg.d.ts +34 -0
- package/dist/types/types/agents.d.ts +24 -0
- package/dist/types/types/assistants.d.ts +27 -3
- package/dist/types/types/files.d.ts +34 -0
- package/dist/types/types/insights.d.ts +9 -0
- package/dist/types/types/queries.d.ts +8 -1
- package/dist/types/types/queuedTurns.d.ts +16 -16
- package/dist/types/types/runs.d.ts +24 -5
- package/dist/types/types/schedules.d.ts +44 -11
- package/dist/types/types/traces.d.ts +85 -0
- package/dist/types/types.d.ts +41 -1
- package/package.json +2 -2
- package/dist/data-service-CaB7saTP.mjs.map +0 -1
- package/dist/data-service-D5kHzBt-.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_data_service = require("../data-service-
|
|
2
|
+
const require_data_service = require("../data-service-CTX0tVO5.js");
|
|
3
3
|
let _tanstack_react_query = require("@tanstack/react-query");
|
|
4
4
|
//#region src/react-query/react-query-service.ts
|
|
5
5
|
const useGetSharedMessages = (shareId, config) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as updateResourcePermissions, C as resetPassword, D as updateFeedback, E as searchPrincipals,
|
|
1
|
+
import { A as updateResourcePermissions, C as resetPassword, D as updateFeedback, E as searchPrincipals, In as initialModelsConfig, M as updateUserKey, N as updateUserPlugins, O as updateMessage, P as userKeyQuery, S as requestPasswordReset, T as revokeUserKey, To as isAssistantsEndpoint, Z as hasPermissions, _ as getResourcePermissions, b as register, c as getAccessRoles, d as getAvailablePlugins, f as getConversationById, fs as defaultOrderQuery, g as getModels, h as getMCPServerConnectionStatus, i as createPreset, j as updateTokenCount, k as updateMessageContent, l as getAgentApiKeys, m as getEffectivePermissions, n as clearAllConversations, o as deleteAgentApiKey, p as getCustomConfigSpeech, r as createAgentApiKey, s as deletePreset, t as cancelMCPOAuth, u as getAllEffectivePermissions, v as getSharedLink, w as revokeAllUserKeys, x as reinitializeMCPServer, y as getSharedMessages } from "../data-service-Bx6IFaSa.mjs";
|
|
2
2
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
3
3
|
//#region src/react-query/react-query-service.ts
|
|
4
4
|
const useGetSharedMessages = (shareId, config) => {
|
|
@@ -54,7 +54,9 @@ export declare enum PermissionBits {
|
|
|
54
54
|
/** 100 - Can delete agent */
|
|
55
55
|
DELETE = 4,
|
|
56
56
|
/** 1000 - Can share agent with others (future) */
|
|
57
|
-
SHARE = 8
|
|
57
|
+
SHARE = 8,
|
|
58
|
+
/** 10000 - Can view Insights data for an agent when VIEW is also present */
|
|
59
|
+
VIEW_INSIGHTS = 16
|
|
58
60
|
}
|
|
59
61
|
/**
|
|
60
62
|
* Standard access role IDs
|
|
@@ -94,6 +96,8 @@ export declare const principalSchema: z.ZodObject<{
|
|
|
94
96
|
description: z.ZodOptional<z.ZodString>;
|
|
95
97
|
idOnTheSource: z.ZodOptional<z.ZodString>;
|
|
96
98
|
accessRoleId: z.ZodOptional<z.ZodNativeEnum<typeof AccessRoleIds>>;
|
|
99
|
+
viewInsights: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
97
101
|
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
98
102
|
}, "strip", z.ZodTypeAny, {
|
|
99
103
|
type: PrincipalType;
|
|
@@ -105,6 +109,8 @@ export declare const principalSchema: z.ZodObject<{
|
|
|
105
109
|
description?: string | undefined;
|
|
106
110
|
idOnTheSource?: string | undefined;
|
|
107
111
|
accessRoleId?: AccessRoleIds | undefined;
|
|
112
|
+
viewInsights?: boolean | undefined;
|
|
113
|
+
isAdmin?: boolean | undefined;
|
|
108
114
|
memberCount?: number | undefined;
|
|
109
115
|
}, {
|
|
110
116
|
type: PrincipalType;
|
|
@@ -116,6 +122,8 @@ export declare const principalSchema: z.ZodObject<{
|
|
|
116
122
|
description?: string | undefined;
|
|
117
123
|
idOnTheSource?: string | undefined;
|
|
118
124
|
accessRoleId?: AccessRoleIds | undefined;
|
|
125
|
+
viewInsights?: boolean | undefined;
|
|
126
|
+
isAdmin?: boolean | undefined;
|
|
119
127
|
memberCount?: number | undefined;
|
|
120
128
|
}>;
|
|
121
129
|
/**
|
|
@@ -327,6 +335,8 @@ export declare const updateResourcePermissionsRequestSchema: z.ZodObject<{
|
|
|
327
335
|
description: z.ZodOptional<z.ZodString>;
|
|
328
336
|
idOnTheSource: z.ZodOptional<z.ZodString>;
|
|
329
337
|
accessRoleId: z.ZodOptional<z.ZodNativeEnum<typeof AccessRoleIds>>;
|
|
338
|
+
viewInsights: z.ZodOptional<z.ZodBoolean>;
|
|
339
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
330
340
|
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
331
341
|
}, "strip", z.ZodTypeAny, {
|
|
332
342
|
type: PrincipalType;
|
|
@@ -338,6 +348,8 @@ export declare const updateResourcePermissionsRequestSchema: z.ZodObject<{
|
|
|
338
348
|
description?: string | undefined;
|
|
339
349
|
idOnTheSource?: string | undefined;
|
|
340
350
|
accessRoleId?: AccessRoleIds | undefined;
|
|
351
|
+
viewInsights?: boolean | undefined;
|
|
352
|
+
isAdmin?: boolean | undefined;
|
|
341
353
|
memberCount?: number | undefined;
|
|
342
354
|
}, {
|
|
343
355
|
type: PrincipalType;
|
|
@@ -349,6 +361,8 @@ export declare const updateResourcePermissionsRequestSchema: z.ZodObject<{
|
|
|
349
361
|
description?: string | undefined;
|
|
350
362
|
idOnTheSource?: string | undefined;
|
|
351
363
|
accessRoleId?: AccessRoleIds | undefined;
|
|
364
|
+
viewInsights?: boolean | undefined;
|
|
365
|
+
isAdmin?: boolean | undefined;
|
|
352
366
|
memberCount?: number | undefined;
|
|
353
367
|
}>, "many">;
|
|
354
368
|
removed: z.ZodArray<z.ZodObject<{
|
|
@@ -361,6 +375,8 @@ export declare const updateResourcePermissionsRequestSchema: z.ZodObject<{
|
|
|
361
375
|
description: z.ZodOptional<z.ZodString>;
|
|
362
376
|
idOnTheSource: z.ZodOptional<z.ZodString>;
|
|
363
377
|
accessRoleId: z.ZodOptional<z.ZodNativeEnum<typeof AccessRoleIds>>;
|
|
378
|
+
viewInsights: z.ZodOptional<z.ZodBoolean>;
|
|
379
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
364
380
|
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
365
381
|
}, "strip", z.ZodTypeAny, {
|
|
366
382
|
type: PrincipalType;
|
|
@@ -372,6 +388,8 @@ export declare const updateResourcePermissionsRequestSchema: z.ZodObject<{
|
|
|
372
388
|
description?: string | undefined;
|
|
373
389
|
idOnTheSource?: string | undefined;
|
|
374
390
|
accessRoleId?: AccessRoleIds | undefined;
|
|
391
|
+
viewInsights?: boolean | undefined;
|
|
392
|
+
isAdmin?: boolean | undefined;
|
|
375
393
|
memberCount?: number | undefined;
|
|
376
394
|
}, {
|
|
377
395
|
type: PrincipalType;
|
|
@@ -383,6 +401,8 @@ export declare const updateResourcePermissionsRequestSchema: z.ZodObject<{
|
|
|
383
401
|
description?: string | undefined;
|
|
384
402
|
idOnTheSource?: string | undefined;
|
|
385
403
|
accessRoleId?: AccessRoleIds | undefined;
|
|
404
|
+
viewInsights?: boolean | undefined;
|
|
405
|
+
isAdmin?: boolean | undefined;
|
|
386
406
|
memberCount?: number | undefined;
|
|
387
407
|
}>, "many">;
|
|
388
408
|
public: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -398,6 +418,8 @@ export declare const updateResourcePermissionsRequestSchema: z.ZodObject<{
|
|
|
398
418
|
description?: string | undefined;
|
|
399
419
|
idOnTheSource?: string | undefined;
|
|
400
420
|
accessRoleId?: AccessRoleIds | undefined;
|
|
421
|
+
viewInsights?: boolean | undefined;
|
|
422
|
+
isAdmin?: boolean | undefined;
|
|
401
423
|
memberCount?: number | undefined;
|
|
402
424
|
}[];
|
|
403
425
|
removed: {
|
|
@@ -410,6 +432,8 @@ export declare const updateResourcePermissionsRequestSchema: z.ZodObject<{
|
|
|
410
432
|
description?: string | undefined;
|
|
411
433
|
idOnTheSource?: string | undefined;
|
|
412
434
|
accessRoleId?: AccessRoleIds | undefined;
|
|
435
|
+
viewInsights?: boolean | undefined;
|
|
436
|
+
isAdmin?: boolean | undefined;
|
|
413
437
|
memberCount?: number | undefined;
|
|
414
438
|
}[];
|
|
415
439
|
public?: boolean | undefined;
|
|
@@ -425,6 +449,8 @@ export declare const updateResourcePermissionsRequestSchema: z.ZodObject<{
|
|
|
425
449
|
description?: string | undefined;
|
|
426
450
|
idOnTheSource?: string | undefined;
|
|
427
451
|
accessRoleId?: AccessRoleIds | undefined;
|
|
452
|
+
viewInsights?: boolean | undefined;
|
|
453
|
+
isAdmin?: boolean | undefined;
|
|
428
454
|
memberCount?: number | undefined;
|
|
429
455
|
}[];
|
|
430
456
|
removed: {
|
|
@@ -437,6 +463,8 @@ export declare const updateResourcePermissionsRequestSchema: z.ZodObject<{
|
|
|
437
463
|
description?: string | undefined;
|
|
438
464
|
idOnTheSource?: string | undefined;
|
|
439
465
|
accessRoleId?: AccessRoleIds | undefined;
|
|
466
|
+
viewInsights?: boolean | undefined;
|
|
467
|
+
isAdmin?: boolean | undefined;
|
|
440
468
|
memberCount?: number | undefined;
|
|
441
469
|
}[];
|
|
442
470
|
public?: boolean | undefined;
|
|
@@ -459,6 +487,8 @@ export declare const updateResourcePermissionsResponseSchema: z.ZodObject<{
|
|
|
459
487
|
description: z.ZodOptional<z.ZodString>;
|
|
460
488
|
idOnTheSource: z.ZodOptional<z.ZodString>;
|
|
461
489
|
accessRoleId: z.ZodOptional<z.ZodNativeEnum<typeof AccessRoleIds>>;
|
|
490
|
+
viewInsights: z.ZodOptional<z.ZodBoolean>;
|
|
491
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
462
492
|
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
463
493
|
}, "strip", z.ZodTypeAny, {
|
|
464
494
|
type: PrincipalType;
|
|
@@ -470,6 +500,8 @@ export declare const updateResourcePermissionsResponseSchema: z.ZodObject<{
|
|
|
470
500
|
description?: string | undefined;
|
|
471
501
|
idOnTheSource?: string | undefined;
|
|
472
502
|
accessRoleId?: AccessRoleIds | undefined;
|
|
503
|
+
viewInsights?: boolean | undefined;
|
|
504
|
+
isAdmin?: boolean | undefined;
|
|
473
505
|
memberCount?: number | undefined;
|
|
474
506
|
}, {
|
|
475
507
|
type: PrincipalType;
|
|
@@ -481,6 +513,8 @@ export declare const updateResourcePermissionsResponseSchema: z.ZodObject<{
|
|
|
481
513
|
description?: string | undefined;
|
|
482
514
|
idOnTheSource?: string | undefined;
|
|
483
515
|
accessRoleId?: AccessRoleIds | undefined;
|
|
516
|
+
viewInsights?: boolean | undefined;
|
|
517
|
+
isAdmin?: boolean | undefined;
|
|
484
518
|
memberCount?: number | undefined;
|
|
485
519
|
}>, "many">;
|
|
486
520
|
public: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -496,6 +530,8 @@ export declare const updateResourcePermissionsResponseSchema: z.ZodObject<{
|
|
|
496
530
|
description?: string | undefined;
|
|
497
531
|
idOnTheSource?: string | undefined;
|
|
498
532
|
accessRoleId?: AccessRoleIds | undefined;
|
|
533
|
+
viewInsights?: boolean | undefined;
|
|
534
|
+
isAdmin?: boolean | undefined;
|
|
499
535
|
memberCount?: number | undefined;
|
|
500
536
|
}[];
|
|
501
537
|
public?: boolean | undefined;
|
|
@@ -511,6 +547,8 @@ export declare const updateResourcePermissionsResponseSchema: z.ZodObject<{
|
|
|
511
547
|
description?: string | undefined;
|
|
512
548
|
idOnTheSource?: string | undefined;
|
|
513
549
|
accessRoleId?: AccessRoleIds | undefined;
|
|
550
|
+
viewInsights?: boolean | undefined;
|
|
551
|
+
isAdmin?: boolean | undefined;
|
|
514
552
|
memberCount?: number | undefined;
|
|
515
553
|
}[];
|
|
516
554
|
public?: boolean | undefined;
|
|
@@ -529,6 +567,8 @@ export declare const updateResourcePermissionsResponseSchema: z.ZodObject<{
|
|
|
529
567
|
description?: string | undefined;
|
|
530
568
|
idOnTheSource?: string | undefined;
|
|
531
569
|
accessRoleId?: AccessRoleIds | undefined;
|
|
570
|
+
viewInsights?: boolean | undefined;
|
|
571
|
+
isAdmin?: boolean | undefined;
|
|
532
572
|
memberCount?: number | undefined;
|
|
533
573
|
}[];
|
|
534
574
|
public?: boolean | undefined;
|
|
@@ -547,6 +587,8 @@ export declare const updateResourcePermissionsResponseSchema: z.ZodObject<{
|
|
|
547
587
|
description?: string | undefined;
|
|
548
588
|
idOnTheSource?: string | undefined;
|
|
549
589
|
accessRoleId?: AccessRoleIds | undefined;
|
|
590
|
+
viewInsights?: boolean | undefined;
|
|
591
|
+
isAdmin?: boolean | undefined;
|
|
550
592
|
memberCount?: number | undefined;
|
|
551
593
|
}[];
|
|
552
594
|
public?: boolean | undefined;
|
|
@@ -602,6 +644,7 @@ export type TPrincipalSearchResult = {
|
|
|
602
644
|
memberCount?: number;
|
|
603
645
|
description?: string;
|
|
604
646
|
idOnTheSource?: string;
|
|
647
|
+
isAdmin?: boolean;
|
|
605
648
|
};
|
|
606
649
|
/**
|
|
607
650
|
* Principal search response
|
|
@@ -641,6 +684,8 @@ export declare const getResourcePermissionsResponseSchema: z.ZodObject<{
|
|
|
641
684
|
description: z.ZodOptional<z.ZodString>;
|
|
642
685
|
idOnTheSource: z.ZodOptional<z.ZodString>;
|
|
643
686
|
accessRoleId: z.ZodOptional<z.ZodNativeEnum<typeof AccessRoleIds>>;
|
|
687
|
+
viewInsights: z.ZodOptional<z.ZodBoolean>;
|
|
688
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
644
689
|
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
645
690
|
}, "strip", z.ZodTypeAny, {
|
|
646
691
|
type: PrincipalType;
|
|
@@ -652,6 +697,8 @@ export declare const getResourcePermissionsResponseSchema: z.ZodObject<{
|
|
|
652
697
|
description?: string | undefined;
|
|
653
698
|
idOnTheSource?: string | undefined;
|
|
654
699
|
accessRoleId?: AccessRoleIds | undefined;
|
|
700
|
+
viewInsights?: boolean | undefined;
|
|
701
|
+
isAdmin?: boolean | undefined;
|
|
655
702
|
memberCount?: number | undefined;
|
|
656
703
|
}, {
|
|
657
704
|
type: PrincipalType;
|
|
@@ -663,6 +710,8 @@ export declare const getResourcePermissionsResponseSchema: z.ZodObject<{
|
|
|
663
710
|
description?: string | undefined;
|
|
664
711
|
idOnTheSource?: string | undefined;
|
|
665
712
|
accessRoleId?: AccessRoleIds | undefined;
|
|
713
|
+
viewInsights?: boolean | undefined;
|
|
714
|
+
isAdmin?: boolean | undefined;
|
|
666
715
|
memberCount?: number | undefined;
|
|
667
716
|
}>, "many">;
|
|
668
717
|
public: z.ZodBoolean;
|
|
@@ -681,6 +730,8 @@ export declare const getResourcePermissionsResponseSchema: z.ZodObject<{
|
|
|
681
730
|
description?: string | undefined;
|
|
682
731
|
idOnTheSource?: string | undefined;
|
|
683
732
|
accessRoleId?: AccessRoleIds | undefined;
|
|
733
|
+
viewInsights?: boolean | undefined;
|
|
734
|
+
isAdmin?: boolean | undefined;
|
|
684
735
|
memberCount?: number | undefined;
|
|
685
736
|
}[];
|
|
686
737
|
publicAccessRoleId?: AccessRoleIds | undefined;
|
|
@@ -698,6 +749,8 @@ export declare const getResourcePermissionsResponseSchema: z.ZodObject<{
|
|
|
698
749
|
description?: string | undefined;
|
|
699
750
|
idOnTheSource?: string | undefined;
|
|
700
751
|
accessRoleId?: AccessRoleIds | undefined;
|
|
752
|
+
viewInsights?: boolean | undefined;
|
|
753
|
+
isAdmin?: boolean | undefined;
|
|
701
754
|
memberCount?: number | undefined;
|
|
702
755
|
}[];
|
|
703
756
|
publicAccessRoleId?: AccessRoleIds | undefined;
|
|
@@ -13,6 +13,7 @@ export declare const codeEnvironments: () => string;
|
|
|
13
13
|
export declare const codeEnvironmentPairings: () => string;
|
|
14
14
|
export declare const codeEnvironmentById: (id: string) => string;
|
|
15
15
|
export declare const codeEnvironmentSettings: (id: string) => string;
|
|
16
|
+
export declare const codeEnvironmentStatus: (id: string) => string;
|
|
16
17
|
export declare const messages: (params: q.MessagesListParams) => string;
|
|
17
18
|
export declare const messagesArtifacts: (messageId: string) => string;
|
|
18
19
|
export declare const messagesBranch: () => string;
|
|
@@ -156,6 +157,10 @@ export declare const skillFiles: (id: string) => string;
|
|
|
156
157
|
export declare const skillFile: (id: string, relativePath: string) => string;
|
|
157
158
|
export declare const insights: () => string;
|
|
158
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;
|
|
159
164
|
export declare const adminSkillsSync: () => string;
|
|
160
165
|
export declare const adminSkillsSyncStatus: () => string;
|
|
161
166
|
export declare const adminSkillsSyncRun: () => string;
|
|
@@ -173,6 +178,7 @@ export declare const skillStates: () => string;
|
|
|
173
178
|
export declare const adminLangfuseConnection: () => string;
|
|
174
179
|
export declare const adminLangfuseConnectionTest: () => string;
|
|
175
180
|
export declare const adminLangfuseSessionLink: (conversationId: string) => string;
|
|
181
|
+
export declare const pinnedOrder: () => string;
|
|
176
182
|
export declare const toolFavorites: () => string;
|
|
177
183
|
export declare const toolFavorite: (itemType: string, itemId: string) => string;
|
|
178
184
|
export declare const roles: () => string;
|
package/dist/types/bedrock.d.ts
CHANGED
|
@@ -77,6 +77,18 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
77
77
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
78
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
79
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">>;
|
|
80
92
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
81
93
|
user: z.ZodOptional<z.ZodString>;
|
|
82
94
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -227,21 +239,21 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
227
239
|
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
228
240
|
depth: z.ZodNumber;
|
|
229
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
+
subagentKind: "agent" | "graph";
|
|
230
243
|
parentMessageId: string;
|
|
231
244
|
rootConversationId: string;
|
|
232
245
|
parentConversationId: string;
|
|
233
246
|
parentToolCallId: string;
|
|
234
247
|
subagentType: string;
|
|
235
|
-
subagentKind: "agent" | "graph";
|
|
236
248
|
depth: number;
|
|
237
249
|
parentAgentId?: string | undefined;
|
|
238
250
|
}, {
|
|
251
|
+
subagentKind: "agent" | "graph";
|
|
239
252
|
parentMessageId: string;
|
|
240
253
|
rootConversationId: string;
|
|
241
254
|
parentConversationId: string;
|
|
242
255
|
parentToolCallId: string;
|
|
243
256
|
subagentType: string;
|
|
244
|
-
subagentKind: "agent" | "graph";
|
|
245
257
|
depth: number;
|
|
246
258
|
parentAgentId?: string | undefined;
|
|
247
259
|
}>>;
|
|
@@ -309,7 +321,8 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
309
321
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
310
322
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
311
323
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
312
|
-
}, "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;
|
|
313
326
|
model?: string | null | undefined;
|
|
314
327
|
modelLabel?: string | null | undefined;
|
|
315
328
|
promptPrefix?: string | null | undefined;
|
|
@@ -323,7 +336,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
323
336
|
system?: string | undefined;
|
|
324
337
|
thinking?: boolean | undefined;
|
|
325
338
|
thinkingBudget?: number | undefined;
|
|
326
|
-
artifacts?: string | undefined;
|
|
327
339
|
chatProjectId?: string | null | undefined;
|
|
328
340
|
resendFiles?: boolean | undefined;
|
|
329
341
|
reasoning_effort?: s.ReasoningEffort | null | undefined;
|
|
@@ -361,6 +373,7 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
361
373
|
spec?: string | null | undefined;
|
|
362
374
|
iconURL?: string | null | undefined;
|
|
363
375
|
}, {
|
|
376
|
+
artifacts?: string | undefined;
|
|
364
377
|
model?: string | null | undefined;
|
|
365
378
|
modelLabel?: string | null | undefined;
|
|
366
379
|
promptPrefix?: string | null | undefined;
|
|
@@ -374,7 +387,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
374
387
|
system?: string | undefined;
|
|
375
388
|
thinking?: boolean | undefined;
|
|
376
389
|
thinkingBudget?: string | number | undefined;
|
|
377
|
-
artifacts?: string | undefined;
|
|
378
390
|
chatProjectId?: string | null | undefined;
|
|
379
391
|
resendFiles?: boolean | undefined;
|
|
380
392
|
reasoning_effort?: s.ReasoningEffort | null | undefined;
|
|
@@ -412,6 +424,7 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
412
424
|
spec?: string | null | undefined;
|
|
413
425
|
iconURL?: string | null | undefined;
|
|
414
426
|
}>, Partial<{
|
|
427
|
+
artifacts?: string | undefined;
|
|
415
428
|
model?: string | null | undefined;
|
|
416
429
|
modelLabel?: string | null | undefined;
|
|
417
430
|
promptPrefix?: string | null | undefined;
|
|
@@ -425,7 +438,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
425
438
|
system?: string | undefined;
|
|
426
439
|
thinking?: boolean | undefined;
|
|
427
440
|
thinkingBudget?: number | undefined;
|
|
428
|
-
artifacts?: string | undefined;
|
|
429
441
|
chatProjectId?: string | null | undefined;
|
|
430
442
|
resendFiles?: boolean | undefined;
|
|
431
443
|
reasoning_effort?: s.ReasoningEffort | null | undefined;
|
|
@@ -463,6 +475,7 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
463
475
|
spec?: string | null | undefined;
|
|
464
476
|
iconURL?: string | null | undefined;
|
|
465
477
|
}>, {
|
|
478
|
+
artifacts?: string | undefined;
|
|
466
479
|
model?: string | null | undefined;
|
|
467
480
|
modelLabel?: string | null | undefined;
|
|
468
481
|
promptPrefix?: string | null | undefined;
|
|
@@ -476,7 +489,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
476
489
|
system?: string | undefined;
|
|
477
490
|
thinking?: boolean | undefined;
|
|
478
491
|
thinkingBudget?: string | number | undefined;
|
|
479
|
-
artifacts?: string | undefined;
|
|
480
492
|
chatProjectId?: string | null | undefined;
|
|
481
493
|
resendFiles?: boolean | undefined;
|
|
482
494
|
reasoning_effort?: s.ReasoningEffort | null | undefined;
|
|
@@ -523,6 +535,18 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
523
535
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
524
536
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
525
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">>;
|
|
526
550
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
527
551
|
user: z.ZodOptional<z.ZodString>;
|
|
528
552
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -673,21 +697,21 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
673
697
|
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
674
698
|
depth: z.ZodNumber;
|
|
675
699
|
}, "strip", z.ZodTypeAny, {
|
|
700
|
+
subagentKind: "agent" | "graph";
|
|
676
701
|
parentMessageId: string;
|
|
677
702
|
rootConversationId: string;
|
|
678
703
|
parentConversationId: string;
|
|
679
704
|
parentToolCallId: string;
|
|
680
705
|
subagentType: string;
|
|
681
|
-
subagentKind: "agent" | "graph";
|
|
682
706
|
depth: number;
|
|
683
707
|
parentAgentId?: string | undefined;
|
|
684
708
|
}, {
|
|
709
|
+
subagentKind: "agent" | "graph";
|
|
685
710
|
parentMessageId: string;
|
|
686
711
|
rootConversationId: string;
|
|
687
712
|
parentConversationId: string;
|
|
688
713
|
parentToolCallId: string;
|
|
689
714
|
subagentType: string;
|
|
690
|
-
subagentKind: "agent" | "graph";
|
|
691
715
|
depth: number;
|
|
692
716
|
parentAgentId?: string | undefined;
|
|
693
717
|
}>>;
|
|
@@ -755,7 +779,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
755
779
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
756
780
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
757
781
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
758
|
-
}, "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<{
|
|
759
783
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
760
784
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
|
|
761
785
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
|
|
@@ -763,6 +787,18 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
763
787
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
764
788
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
765
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">>;
|
|
766
802
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
767
803
|
user: z.ZodOptional<z.ZodString>;
|
|
768
804
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -913,21 +949,21 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
913
949
|
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
914
950
|
depth: z.ZodNumber;
|
|
915
951
|
}, "strip", z.ZodTypeAny, {
|
|
952
|
+
subagentKind: "agent" | "graph";
|
|
916
953
|
parentMessageId: string;
|
|
917
954
|
rootConversationId: string;
|
|
918
955
|
parentConversationId: string;
|
|
919
956
|
parentToolCallId: string;
|
|
920
957
|
subagentType: string;
|
|
921
|
-
subagentKind: "agent" | "graph";
|
|
922
958
|
depth: number;
|
|
923
959
|
parentAgentId?: string | undefined;
|
|
924
960
|
}, {
|
|
961
|
+
subagentKind: "agent" | "graph";
|
|
925
962
|
parentMessageId: string;
|
|
926
963
|
rootConversationId: string;
|
|
927
964
|
parentConversationId: string;
|
|
928
965
|
parentToolCallId: string;
|
|
929
966
|
subagentType: string;
|
|
930
|
-
subagentKind: "agent" | "graph";
|
|
931
967
|
depth: number;
|
|
932
968
|
parentAgentId?: string | undefined;
|
|
933
969
|
}>>;
|
|
@@ -995,7 +1031,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
995
1031
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
996
1032
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
997
1033
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
998
|
-
}, "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<{
|
|
999
1035
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
1000
1036
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
|
|
1001
1037
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
|
|
@@ -1003,6 +1039,18 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1003
1039
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1004
1040
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1005
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">>;
|
|
1006
1054
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
1007
1055
|
user: z.ZodOptional<z.ZodString>;
|
|
1008
1056
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1153,21 +1201,21 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1153
1201
|
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
1154
1202
|
depth: z.ZodNumber;
|
|
1155
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1204
|
+
subagentKind: "agent" | "graph";
|
|
1156
1205
|
parentMessageId: string;
|
|
1157
1206
|
rootConversationId: string;
|
|
1158
1207
|
parentConversationId: string;
|
|
1159
1208
|
parentToolCallId: string;
|
|
1160
1209
|
subagentType: string;
|
|
1161
|
-
subagentKind: "agent" | "graph";
|
|
1162
1210
|
depth: number;
|
|
1163
1211
|
parentAgentId?: string | undefined;
|
|
1164
1212
|
}, {
|
|
1213
|
+
subagentKind: "agent" | "graph";
|
|
1165
1214
|
parentMessageId: string;
|
|
1166
1215
|
rootConversationId: string;
|
|
1167
1216
|
parentConversationId: string;
|
|
1168
1217
|
parentToolCallId: string;
|
|
1169
1218
|
subagentType: string;
|
|
1170
|
-
subagentKind: "agent" | "graph";
|
|
1171
1219
|
depth: number;
|
|
1172
1220
|
parentAgentId?: string | undefined;
|
|
1173
1221
|
}>>;
|
|
@@ -1235,7 +1283,8 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1235
1283
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1236
1284
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
1237
1285
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1238
|
-
}, "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;
|
|
1239
1288
|
model?: string | null | undefined;
|
|
1240
1289
|
modelLabel?: string | null | undefined;
|
|
1241
1290
|
promptPrefix?: string | null | undefined;
|
|
@@ -1249,7 +1298,6 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1249
1298
|
system?: string | undefined;
|
|
1250
1299
|
thinking?: boolean | undefined;
|
|
1251
1300
|
thinkingBudget?: number | undefined;
|
|
1252
|
-
artifacts?: string | undefined;
|
|
1253
1301
|
chatProjectId?: string | null | undefined;
|
|
1254
1302
|
resendFiles?: boolean | undefined;
|
|
1255
1303
|
reasoning_effort?: s.ReasoningEffort | null | undefined;
|
|
@@ -1294,6 +1342,18 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1294
1342
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1295
1343
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1296
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">>;
|
|
1297
1357
|
title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
|
|
1298
1358
|
user: z.ZodOptional<z.ZodString>;
|
|
1299
1359
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1444,21 +1504,21 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1444
1504
|
subagentKind: z.ZodEnum<["agent", "graph"]>;
|
|
1445
1505
|
depth: z.ZodNumber;
|
|
1446
1506
|
}, "strip", z.ZodTypeAny, {
|
|
1507
|
+
subagentKind: "agent" | "graph";
|
|
1447
1508
|
parentMessageId: string;
|
|
1448
1509
|
rootConversationId: string;
|
|
1449
1510
|
parentConversationId: string;
|
|
1450
1511
|
parentToolCallId: string;
|
|
1451
1512
|
subagentType: string;
|
|
1452
|
-
subagentKind: "agent" | "graph";
|
|
1453
1513
|
depth: number;
|
|
1454
1514
|
parentAgentId?: string | undefined;
|
|
1455
1515
|
}, {
|
|
1516
|
+
subagentKind: "agent" | "graph";
|
|
1456
1517
|
parentMessageId: string;
|
|
1457
1518
|
rootConversationId: string;
|
|
1458
1519
|
parentConversationId: string;
|
|
1459
1520
|
parentToolCallId: string;
|
|
1460
1521
|
subagentType: string;
|
|
1461
|
-
subagentKind: "agent" | "graph";
|
|
1462
1522
|
depth: number;
|
|
1463
1523
|
parentAgentId?: string | undefined;
|
|
1464
1524
|
}>>;
|
|
@@ -1526,5 +1586,5 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1526
1586
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1527
1587
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
1528
1588
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1529
|
-
}, "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">>>;
|
|
1530
1590
|
export declare const bedrockOutputParser: (data: Record<string, unknown>) => Record<string, unknown>;
|
|
@@ -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 {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TCodeEnvironmentPairingResponse } from '../types';
|
|
2
|
+
export type CodeWorkerShell = 'posix' | 'powershell';
|
|
3
|
+
export type CodeWorkerPairing = TCodeEnvironmentPairingResponse['pairing'];
|
|
4
|
+
export interface CodeWorkerRunOptions {
|
|
5
|
+
defaultWorkspace?: boolean;
|
|
6
|
+
allowWorkspaceWrites?: boolean;
|
|
7
|
+
allowWorkspaceCommands?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function isCodeWorkerShell(value: string): value is CodeWorkerShell;
|
|
10
|
+
export declare function createCodeWorkerSetupCommand(pairing: CodeWorkerPairing, shell: CodeWorkerShell, options?: CodeWorkerRunOptions): string;
|