librechat-data-provider 0.8.501 → 0.8.502

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.
@@ -5,6 +5,7 @@ import * as ag from './types/agents';
5
5
  import * as m from './types/mutations';
6
6
  import * as q from './types/queries';
7
7
  import * as f from './types/files';
8
+ import * as sk from './types/skills';
8
9
  import * as mcp from './types/mcpServers';
9
10
  import * as config from './config';
10
11
  import * as s from './schemas';
@@ -15,6 +16,16 @@ export declare function revokeAllUserKeys(): Promise<unknown>;
15
16
  export declare function deleteUser(payload?: t.TDeleteUserRequest): Promise<unknown>;
16
17
  export declare function getFavorites(): Promise<q.TUserFavorite[]>;
17
18
  export declare function updateFavorites(favorites: q.TUserFavorite[]): Promise<q.TUserFavorite[]>;
19
+ /**
20
+ * Skill favorites (star-a-skill). The backend route is phase 2 — see the
21
+ * original UI PR for the client surface. Until then, these resolve with
22
+ * an empty list so the UI hooks compile and the Star button is a no-op.
23
+ */
24
+ export declare function getSkillFavorites(): Promise<string[]>;
25
+ export declare function updateSkillFavorites(skillFavorites: string[]): Promise<string[]>;
26
+ /** Per-user skill active/inactive overrides. */
27
+ export declare function getSkillStates(): Promise<sk.TSkillStatesResponse>;
28
+ export declare function updateSkillStates(skillStates: sk.TSkillStatesResponse): Promise<sk.TSkillStatesResponse>;
18
29
  export declare function getSharedMessages(shareId: string): Promise<t.TSharedMessagesResponse>;
19
30
  export declare const listSharedLinks: (params: q.SharedLinksListParams) => Promise<q.SharedLinksResponse>;
20
31
  export declare function getSharedLink(conversationId: string): Promise<t.TSharedLinkGetResponse>;
@@ -91,6 +102,19 @@ export declare const callTool: <T extends a.Tools.execute_code>({ toolId, toolPa
91
102
  }) => Promise<m.ToolCallResponse>;
92
103
  export declare const getToolCalls: (params: q.GetToolCallParams) => Promise<q.ToolCallResults>;
93
104
  export declare const getFiles: () => Promise<f.TFile[]>;
105
+ /**
106
+ * Poll the lifecycle of an inline file preview. Returns the smallest
107
+ * shape needed to drive the UI:
108
+ * - `status` always present (defaults to `'ready'` server-side for
109
+ * legacy records that pre-date the field).
110
+ * - `text` and `textFormat` only when `status === 'ready'` and text
111
+ * was extracted (preserves the HTML-or-null security contract).
112
+ * - `previewError` only when `status === 'failed'`.
113
+ *
114
+ * Called from `useFilePreview`; React Query's `refetchInterval`
115
+ * polls while `status === 'pending'` and stops on terminal status.
116
+ */
117
+ export declare const getFilePreview: (fileId: string) => Promise<f.TFilePreview>;
94
118
  export declare const getAgentFiles: (agentId: string) => Promise<f.TFile[]>;
95
119
  export declare const getFileConfig: () => Promise<f.FileConfig>;
96
120
  export declare const uploadImage: (data: FormData, signal?: AbortSignal | null) => Promise<f.TFileUpload>;
@@ -179,6 +203,7 @@ export declare const uploadAvatar: (data: FormData) => Promise<f.AvatarUploadRes
179
203
  export declare const uploadAssistantAvatar: (data: m.AssistantAvatarVariables) => Promise<a.Assistant>;
180
204
  export declare const uploadAgentAvatar: (data: m.AgentAvatarVariables) => Promise<a.Agent>;
181
205
  export declare const getFileDownload: (userId: string, file_id: string) => Promise<AxiosResponse>;
206
+ export declare const getFileDownloadURL: (userId: string, file_id: string) => Promise<f.FileDownloadURLResponse>;
182
207
  export declare const getCodeOutputDownload: (url: string) => Promise<AxiosResponse>;
183
208
  export declare const deleteFiles: (payload: {
184
209
  files: f.BatchFile[];
@@ -225,6 +250,44 @@ export declare function updatePromptLabels(variables: t.TUpdatePromptLabelsReque
225
250
  export declare function deletePromptGroup(id: string): Promise<t.TDeletePromptGroupResponse>;
226
251
  export declare function getCategories(): Promise<t.TGetCategoriesResponse>;
227
252
  export declare function getRandomPrompts(variables: t.TGetRandomPromptsRequest): Promise<t.TGetRandomPromptsResponse>;
253
+ export declare function listSkills(params?: sk.TSkillListRequest): Promise<sk.TSkillListResponse>;
254
+ export declare function getSkill(id: string): Promise<sk.TSkill>;
255
+ export declare function createSkill(payload: sk.TCreateSkill): Promise<sk.TSkill>;
256
+ export declare function updateSkill(variables: sk.TUpdateSkillVariables): Promise<sk.TUpdateSkillResponse>;
257
+ export declare function deleteSkill(id: string): Promise<sk.TDeleteSkillResponse>;
258
+ export declare function listSkillFiles(skillId: string): Promise<sk.TListSkillFilesResponse>;
259
+ export declare function uploadSkillFile(skillId: string, formData: FormData): Promise<sk.TSkillFile>;
260
+ /**
261
+ * Import a skill from a .md, .zip, or .skill file. The backend extracts the
262
+ * archive, creates the skill from SKILL.md, and persists all additional files.
263
+ * Single HTTP request — no client-side zip processing needed.
264
+ */
265
+ export declare function importSkill(formData: FormData): Promise<sk.TSkill>;
266
+ export declare function getSkillFileContent(skillId: string, relativePath: string): Promise<sk.TSkillFileContentResponse>;
267
+ export declare function deleteSkillFile(skillId: string, relativePath: string): Promise<sk.TDeleteSkillFileResponse>;
268
+ export declare const getSkillTree: (_skillId: string) => Promise<t.TSkillTreeResponse>;
269
+ export declare const createSkillNode: (skillId: string, data: FormData | t.TCreateSkillNodeRequest) => Promise<t.TSkillNode>;
270
+ export declare const updateSkillNode: (variables: {
271
+ skillId: string;
272
+ nodeId: string;
273
+ data: t.TUpdateSkillNodeRequest;
274
+ }) => Promise<t.TSkillNode>;
275
+ export declare const deleteSkillNode: (_variables: {
276
+ skillId: string;
277
+ nodeId: string;
278
+ }) => Promise<void>;
279
+ export declare const getSkillNodeContent: (_variables: {
280
+ skillId: string;
281
+ nodeId: string;
282
+ }) => Promise<{
283
+ content: string;
284
+ mimeType: string;
285
+ }>;
286
+ export declare const updateSkillNodeContent: (variables: {
287
+ skillId: string;
288
+ nodeId: string;
289
+ content: string;
290
+ }) => Promise<t.TSkillNode>;
228
291
  export declare function listRoles(): Promise<q.ListRolesResponse>;
229
292
  export declare function getRole(roleName: string): Promise<r.TRole>;
230
293
  export declare function updatePromptPermissions(variables: m.UpdatePromptPermVars): Promise<m.UpdatePermResponse>;
@@ -234,6 +297,7 @@ export declare function updatePeoplePickerPermissions(variables: m.UpdatePeopleP
234
297
  export declare function updateMCPServersPermissions(variables: m.UpdateMCPServersPermVars): Promise<m.UpdatePermResponse>;
235
298
  export declare function updateRemoteAgentsPermissions(variables: m.UpdateRemoteAgentsPermVars): Promise<m.UpdatePermResponse>;
236
299
  export declare function updateMarketplacePermissions(variables: m.UpdateMarketplacePermVars): Promise<m.UpdatePermResponse>;
300
+ export declare function updateSkillPermissions(variables: m.UpdateSkillPermVars): Promise<m.UpdatePermResponse>;
237
301
  export declare function getConversationTags(): Promise<t.TConversationTagsResponse>;
238
302
  export declare function createConversationTag(payload: t.TConversationTagRequest): Promise<t.TConversationTagResponse>;
239
303
  export declare function updateConversationTag(tag: string, payload: t.TConversationTagRequest): Promise<t.TConversationTagResponse>;
@@ -95,6 +95,9 @@ export declare const fileConfig: {
95
95
  disabled: boolean;
96
96
  };
97
97
  };
98
+ skills: {
99
+ fileSizeLimit: number;
100
+ };
98
101
  serverFileSizeLimit: number;
99
102
  avatarSizeLimit: number;
100
103
  fileTokenLimit: number;
@@ -154,6 +157,13 @@ export declare const fileConfigSchema: z.ZodObject<{
154
157
  totalSizeLimit?: number | undefined;
155
158
  supportedMimeTypes?: string[] | undefined;
156
159
  }>>>;
160
+ skills: z.ZodOptional<z.ZodObject<{
161
+ fileSizeLimit: z.ZodOptional<z.ZodNumber>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ fileSizeLimit?: number | undefined;
164
+ }, {
165
+ fileSizeLimit?: number | undefined;
166
+ }>>;
157
167
  serverFileSizeLimit: z.ZodOptional<z.ZodNumber>;
158
168
  avatarSizeLimit: z.ZodOptional<z.ZodNumber>;
159
169
  fileTokenLimit: z.ZodOptional<z.ZodNumber>;
@@ -205,6 +215,9 @@ export declare const fileConfigSchema: z.ZodObject<{
205
215
  totalSizeLimit?: number | undefined;
206
216
  supportedMimeTypes?: string[] | undefined;
207
217
  }> | undefined;
218
+ skills?: {
219
+ fileSizeLimit?: number | undefined;
220
+ } | undefined;
208
221
  serverFileSizeLimit?: number | undefined;
209
222
  avatarSizeLimit?: number | undefined;
210
223
  fileTokenLimit?: number | undefined;
@@ -232,6 +245,9 @@ export declare const fileConfigSchema: z.ZodObject<{
232
245
  totalSizeLimit?: number | undefined;
233
246
  supportedMimeTypes?: string[] | undefined;
234
247
  }> | undefined;
248
+ skills?: {
249
+ fileSizeLimit?: number | undefined;
250
+ } | undefined;
235
251
  serverFileSizeLimit?: number | undefined;
236
252
  avatarSizeLimit?: number | undefined;
237
253
  fileTokenLimit?: number | undefined;
@@ -1,2 +1,3 @@
1
1
  export declare function setAcceptLanguageHeader(value: string): void;
2
2
  export declare function setTokenHeader(token: string | undefined): void;
3
+ export declare function getTokenHeader(): string | undefined;
@@ -1,5 +1,6 @@
1
1
  export * from './azure';
2
2
  export * from './bedrock';
3
+ export * from './balance';
3
4
  export * from './config';
4
5
  export * from './file-config';
5
6
  export * from './messages';
@@ -17,6 +18,7 @@ export * from './types/files';
17
18
  export * from './types/mcpServers';
18
19
  export * from './types/mutations';
19
20
  export * from './types/queries';
21
+ export * from './types/skills';
20
22
  export * from './types/runs';
21
23
  export * from './types/web';
22
24
  export * from './types/graph';
@@ -32,3 +34,4 @@ export * from './actions';
32
34
  export { default as createPayload } from './createPayload';
33
35
  export * from './feedback';
34
36
  export * from './parameterSettings';
37
+ export * from './codeEnvRef';
@@ -34,6 +34,7 @@ export declare enum QueryKeys {
34
34
  assistantDocs = "assistantDocs",
35
35
  agentDocs = "agentDocs",
36
36
  fileDownload = "fileDownload",
37
+ filePreview = "filePreview",
37
38
  voices = "voices",
38
39
  customConfigSpeech = "customConfigSpeech",
39
40
  prompts = "prompts",
@@ -60,7 +61,16 @@ export declare enum QueryKeys {
60
61
  mcpServers = "mcpServers",
61
62
  mcpServer = "mcpServer",
62
63
  activeJobs = "activeJobs",
63
- agentApiKeys = "agentApiKeys"
64
+ agentApiKeys = "agentApiKeys",
65
+ skills = "skills",
66
+ skill = "skill",
67
+ skillFiles = "skillFiles",
68
+ skillFileContent = "skillFileContent",
69
+ skillTree = "skillTree",
70
+ skillNodeContent = "skillNodeContent",
71
+ skillFavorites = "skillFavorites",
72
+ skillStates = "skillStates",
73
+ favorites = "favorites"
64
74
  }
65
75
  export declare const DynamicQueryKeys: {
66
76
  readonly agentFiles: (agentId: string) => readonly ["agentFiles", string];
@@ -89,5 +99,9 @@ export declare enum MutationKeys {
89
99
  updateRole = "updateRole",
90
100
  enableTwoFactor = "enableTwoFactor",
91
101
  verifyTwoFactor = "verifyTwoFactor",
92
- updateMemoryPreferences = "updateMemoryPreferences"
102
+ updateMemoryPreferences = "updateMemoryPreferences",
103
+ createSkillNode = "createSkillNode",
104
+ updateSkillNode = "updateSkillNode",
105
+ deleteSkillNode = "deleteSkillNode",
106
+ updateSkillNodeContent = "updateSkillNodeContent"
93
107
  }
@@ -231,7 +231,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
231
231
  defaultPreset: z.ZodOptional<z.ZodBoolean>;
232
232
  order: z.ZodOptional<z.ZodNumber>;
233
233
  endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
234
- }, "conversationId" | "isArchived" | "title" | "user" | "messages" | "parentMessageId" | "tags" | "file_ids" | "presetOverride" | "greeting" | "spec" | "iconURL" | "expiredAt" | "resendImages" | "chatGptLabel" | "presetId" | "defaultPreset" | "order">, "strip", z.ZodTypeAny, {
234
+ }, "conversationId" | "isArchived" | "title" | "user" | "messages" | "parentMessageId" | "tags" | "file_ids" | "presetOverride" | "spec" | "expiredAt" | "resendImages" | "chatGptLabel" | "presetId" | "defaultPreset" | "order">, "strip", z.ZodTypeAny, {
235
235
  endpoint: string | null;
236
236
  endpointType?: EModelEndpoint | null | undefined;
237
237
  tools?: string[] | {
@@ -322,6 +322,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
322
322
  additional_instructions?: string | undefined;
323
323
  append_current_datetime?: boolean | undefined;
324
324
  stop?: string[] | undefined;
325
+ greeting?: string | undefined;
326
+ iconURL?: string | null | undefined;
325
327
  fileTokenLimit?: number | undefined;
326
328
  }, {
327
329
  endpoint: string | null;
@@ -414,6 +416,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
414
416
  additional_instructions?: string | undefined;
415
417
  append_current_datetime?: boolean | undefined;
416
418
  stop?: string[] | undefined;
419
+ greeting?: string | undefined;
420
+ iconURL?: string | null | undefined;
417
421
  fileTokenLimit?: string | number | undefined;
418
422
  }>;
419
423
  order: z.ZodOptional<z.ZodNumber>;
@@ -524,6 +528,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
524
528
  additional_instructions?: string | undefined;
525
529
  append_current_datetime?: boolean | undefined;
526
530
  stop?: string[] | undefined;
531
+ greeting?: string | undefined;
532
+ iconURL?: string | null | undefined;
527
533
  fileTokenLimit?: number | undefined;
528
534
  };
529
535
  description?: string | undefined;
@@ -634,6 +640,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
634
640
  additional_instructions?: string | undefined;
635
641
  append_current_datetime?: boolean | undefined;
636
642
  stop?: string[] | undefined;
643
+ greeting?: string | undefined;
644
+ iconURL?: string | null | undefined;
637
645
  fileTokenLimit?: string | number | undefined;
638
646
  };
639
647
  description?: string | undefined;
@@ -654,7 +662,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
654
662
  export declare const specsConfigSchema: z.ZodObject<{
655
663
  enforce: z.ZodDefault<z.ZodBoolean>;
656
664
  prioritize: z.ZodDefault<z.ZodBoolean>;
657
- list: z.ZodArray<z.ZodObject<{
665
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
658
666
  name: z.ZodString;
659
667
  label: z.ZodString;
660
668
  preset: z.ZodObject<Omit<{
@@ -854,7 +862,7 @@ export declare const specsConfigSchema: z.ZodObject<{
854
862
  defaultPreset: z.ZodOptional<z.ZodBoolean>;
855
863
  order: z.ZodOptional<z.ZodNumber>;
856
864
  endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
857
- }, "conversationId" | "isArchived" | "title" | "user" | "messages" | "parentMessageId" | "tags" | "file_ids" | "presetOverride" | "greeting" | "spec" | "iconURL" | "expiredAt" | "resendImages" | "chatGptLabel" | "presetId" | "defaultPreset" | "order">, "strip", z.ZodTypeAny, {
865
+ }, "conversationId" | "isArchived" | "title" | "user" | "messages" | "parentMessageId" | "tags" | "file_ids" | "presetOverride" | "spec" | "expiredAt" | "resendImages" | "chatGptLabel" | "presetId" | "defaultPreset" | "order">, "strip", z.ZodTypeAny, {
858
866
  endpoint: string | null;
859
867
  endpointType?: EModelEndpoint | null | undefined;
860
868
  tools?: string[] | {
@@ -945,6 +953,8 @@ export declare const specsConfigSchema: z.ZodObject<{
945
953
  additional_instructions?: string | undefined;
946
954
  append_current_datetime?: boolean | undefined;
947
955
  stop?: string[] | undefined;
956
+ greeting?: string | undefined;
957
+ iconURL?: string | null | undefined;
948
958
  fileTokenLimit?: number | undefined;
949
959
  }, {
950
960
  endpoint: string | null;
@@ -1037,6 +1047,8 @@ export declare const specsConfigSchema: z.ZodObject<{
1037
1047
  additional_instructions?: string | undefined;
1038
1048
  append_current_datetime?: boolean | undefined;
1039
1049
  stop?: string[] | undefined;
1050
+ greeting?: string | undefined;
1051
+ iconURL?: string | null | undefined;
1040
1052
  fileTokenLimit?: string | number | undefined;
1041
1053
  }>;
1042
1054
  order: z.ZodOptional<z.ZodNumber>;
@@ -1147,6 +1159,8 @@ export declare const specsConfigSchema: z.ZodObject<{
1147
1159
  additional_instructions?: string | undefined;
1148
1160
  append_current_datetime?: boolean | undefined;
1149
1161
  stop?: string[] | undefined;
1162
+ greeting?: string | undefined;
1163
+ iconURL?: string | null | undefined;
1150
1164
  fileTokenLimit?: number | undefined;
1151
1165
  };
1152
1166
  description?: string | undefined;
@@ -1257,6 +1271,8 @@ export declare const specsConfigSchema: z.ZodObject<{
1257
1271
  additional_instructions?: string | undefined;
1258
1272
  append_current_datetime?: boolean | undefined;
1259
1273
  stop?: string[] | undefined;
1274
+ greeting?: string | undefined;
1275
+ iconURL?: string | null | undefined;
1260
1276
  fileTokenLimit?: string | number | undefined;
1261
1277
  };
1262
1278
  description?: string | undefined;
@@ -1273,7 +1289,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1273
1289
  fileSearch?: boolean | undefined;
1274
1290
  executeCode?: boolean | undefined;
1275
1291
  mcpServers?: string[] | undefined;
1276
- }>, "many">;
1292
+ }>, "many">>;
1277
1293
  addedEndpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<typeof EModelEndpoint>]>, "many">>;
1278
1294
  }, "strip", z.ZodTypeAny, {
1279
1295
  enforce: boolean;
@@ -1372,6 +1388,8 @@ export declare const specsConfigSchema: z.ZodObject<{
1372
1388
  additional_instructions?: string | undefined;
1373
1389
  append_current_datetime?: boolean | undefined;
1374
1390
  stop?: string[] | undefined;
1391
+ greeting?: string | undefined;
1392
+ iconURL?: string | null | undefined;
1375
1393
  fileTokenLimit?: number | undefined;
1376
1394
  };
1377
1395
  description?: string | undefined;
@@ -1391,7 +1409,9 @@ export declare const specsConfigSchema: z.ZodObject<{
1391
1409
  }[];
1392
1410
  addedEndpoints?: string[] | undefined;
1393
1411
  }, {
1394
- list: {
1412
+ enforce?: boolean | undefined;
1413
+ prioritize?: boolean | undefined;
1414
+ list?: {
1395
1415
  name: string;
1396
1416
  label: string;
1397
1417
  preset: {
@@ -1485,6 +1505,8 @@ export declare const specsConfigSchema: z.ZodObject<{
1485
1505
  additional_instructions?: string | undefined;
1486
1506
  append_current_datetime?: boolean | undefined;
1487
1507
  stop?: string[] | undefined;
1508
+ greeting?: string | undefined;
1509
+ iconURL?: string | null | undefined;
1488
1510
  fileTokenLimit?: string | number | undefined;
1489
1511
  };
1490
1512
  description?: string | undefined;
@@ -1501,9 +1523,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1501
1523
  fileSearch?: boolean | undefined;
1502
1524
  executeCode?: boolean | undefined;
1503
1525
  mcpServers?: string[] | undefined;
1504
- }[];
1505
- enforce?: boolean | undefined;
1506
- prioritize?: boolean | undefined;
1526
+ }[] | undefined;
1507
1527
  addedEndpoints?: string[] | undefined;
1508
1528
  }>;
1509
1529
  export type TSpecsConfig = z.infer<typeof specsConfigSchema>;
@@ -33,9 +33,10 @@ export declare const parseCompactConvo: ({ endpoint, endpointType, conversation,
33
33
  export declare function parseTextParts(contentParts: Array<a.TMessageContentParts | undefined>, skipReasoning?: boolean): string;
34
34
  export declare const SEPARATORS: string[];
35
35
  export declare function findLastSeparatorIndex(text: string, separators?: string[]): number;
36
- export declare function replaceSpecialVars({ text, user }: {
36
+ export declare function replaceSpecialVars({ text, user, now: inputNow, }: {
37
37
  text: string;
38
38
  user?: t.TUser | null;
39
+ now?: string | number | Date;
39
40
  }): string;
40
41
  /**
41
42
  * Parsed ephemeral agent ID result
@@ -58,7 +58,11 @@ export declare enum PermissionTypes {
58
58
  /**
59
59
  * Type for Remote Agent (API) Permissions
60
60
  */
61
- REMOTE_AGENTS = "REMOTE_AGENTS"
61
+ REMOTE_AGENTS = "REMOTE_AGENTS",
62
+ /**
63
+ * Type for Skill Permissions
64
+ */
65
+ SKILLS = "SKILLS"
62
66
  }
63
67
  /**
64
68
  * Maps PermissionTypes to their corresponding `interface` config field names.
@@ -267,6 +271,23 @@ export declare const remoteAgentsPermissionsSchema: z.ZodObject<{
267
271
  SHARE_PUBLIC?: boolean | undefined;
268
272
  }>;
269
273
  export type TRemoteAgentsPermissions = z.infer<typeof remoteAgentsPermissionsSchema>;
274
+ export declare const skillPermissionsSchema: z.ZodObject<{
275
+ USE: z.ZodDefault<z.ZodBoolean>;
276
+ CREATE: z.ZodDefault<z.ZodBoolean>;
277
+ SHARE: z.ZodDefault<z.ZodBoolean>;
278
+ SHARE_PUBLIC: z.ZodDefault<z.ZodBoolean>;
279
+ }, "strip", z.ZodTypeAny, {
280
+ USE: boolean;
281
+ CREATE: boolean;
282
+ SHARE: boolean;
283
+ SHARE_PUBLIC: boolean;
284
+ }, {
285
+ USE?: boolean | undefined;
286
+ CREATE?: boolean | undefined;
287
+ SHARE?: boolean | undefined;
288
+ SHARE_PUBLIC?: boolean | undefined;
289
+ }>;
290
+ export type TSkillPermissions = z.infer<typeof skillPermissionsSchema>;
270
291
  export declare const permissionsSchema: z.ZodObject<{
271
292
  PROMPTS: z.ZodObject<{
272
293
  USE: z.ZodDefault<z.ZodBoolean>;
@@ -420,6 +441,22 @@ export declare const permissionsSchema: z.ZodObject<{
420
441
  SHARE?: boolean | undefined;
421
442
  SHARE_PUBLIC?: boolean | undefined;
422
443
  }>;
444
+ SKILLS: z.ZodObject<{
445
+ USE: z.ZodDefault<z.ZodBoolean>;
446
+ CREATE: z.ZodDefault<z.ZodBoolean>;
447
+ SHARE: z.ZodDefault<z.ZodBoolean>;
448
+ SHARE_PUBLIC: z.ZodDefault<z.ZodBoolean>;
449
+ }, "strip", z.ZodTypeAny, {
450
+ USE: boolean;
451
+ CREATE: boolean;
452
+ SHARE: boolean;
453
+ SHARE_PUBLIC: boolean;
454
+ }, {
455
+ USE?: boolean | undefined;
456
+ CREATE?: boolean | undefined;
457
+ SHARE?: boolean | undefined;
458
+ SHARE_PUBLIC?: boolean | undefined;
459
+ }>;
423
460
  }, "strip", z.ZodTypeAny, {
424
461
  PROMPTS: {
425
462
  USE: boolean;
@@ -481,6 +518,12 @@ export declare const permissionsSchema: z.ZodObject<{
481
518
  SHARE: boolean;
482
519
  SHARE_PUBLIC: boolean;
483
520
  };
521
+ SKILLS: {
522
+ USE: boolean;
523
+ CREATE: boolean;
524
+ SHARE: boolean;
525
+ SHARE_PUBLIC: boolean;
526
+ };
484
527
  }, {
485
528
  PROMPTS: {
486
529
  USE?: boolean | undefined;
@@ -542,4 +585,10 @@ export declare const permissionsSchema: z.ZodObject<{
542
585
  SHARE?: boolean | undefined;
543
586
  SHARE_PUBLIC?: boolean | undefined;
544
587
  };
588
+ SKILLS: {
589
+ USE?: boolean | undefined;
590
+ CREATE?: boolean | undefined;
591
+ SHARE?: boolean | undefined;
592
+ SHARE_PUBLIC?: boolean | undefined;
593
+ };
545
594
  }>;
@@ -167,6 +167,22 @@ export declare const roleSchema: z.ZodObject<{
167
167
  SHARE?: boolean | undefined;
168
168
  SHARE_PUBLIC?: boolean | undefined;
169
169
  }>;
170
+ SKILLS: z.ZodObject<{
171
+ USE: z.ZodDefault<z.ZodBoolean>;
172
+ CREATE: z.ZodDefault<z.ZodBoolean>;
173
+ SHARE: z.ZodDefault<z.ZodBoolean>;
174
+ SHARE_PUBLIC: z.ZodDefault<z.ZodBoolean>;
175
+ }, "strip", z.ZodTypeAny, {
176
+ USE: boolean;
177
+ CREATE: boolean;
178
+ SHARE: boolean;
179
+ SHARE_PUBLIC: boolean;
180
+ }, {
181
+ USE?: boolean | undefined;
182
+ CREATE?: boolean | undefined;
183
+ SHARE?: boolean | undefined;
184
+ SHARE_PUBLIC?: boolean | undefined;
185
+ }>;
170
186
  }, "strip", z.ZodTypeAny, {
171
187
  PROMPTS: {
172
188
  USE: boolean;
@@ -228,6 +244,12 @@ export declare const roleSchema: z.ZodObject<{
228
244
  SHARE: boolean;
229
245
  SHARE_PUBLIC: boolean;
230
246
  };
247
+ SKILLS: {
248
+ USE: boolean;
249
+ CREATE: boolean;
250
+ SHARE: boolean;
251
+ SHARE_PUBLIC: boolean;
252
+ };
231
253
  }, {
232
254
  PROMPTS: {
233
255
  USE?: boolean | undefined;
@@ -289,6 +311,12 @@ export declare const roleSchema: z.ZodObject<{
289
311
  SHARE?: boolean | undefined;
290
312
  SHARE_PUBLIC?: boolean | undefined;
291
313
  };
314
+ SKILLS: {
315
+ USE?: boolean | undefined;
316
+ CREATE?: boolean | undefined;
317
+ SHARE?: boolean | undefined;
318
+ SHARE_PUBLIC?: boolean | undefined;
319
+ };
292
320
  }>;
293
321
  }, "strip", z.ZodTypeAny, {
294
322
  name: string;
@@ -353,6 +381,12 @@ export declare const roleSchema: z.ZodObject<{
353
381
  SHARE: boolean;
354
382
  SHARE_PUBLIC: boolean;
355
383
  };
384
+ SKILLS: {
385
+ USE: boolean;
386
+ CREATE: boolean;
387
+ SHARE: boolean;
388
+ SHARE_PUBLIC: boolean;
389
+ };
356
390
  };
357
391
  }, {
358
392
  name: string;
@@ -417,6 +451,12 @@ export declare const roleSchema: z.ZodObject<{
417
451
  SHARE?: boolean | undefined;
418
452
  SHARE_PUBLIC?: boolean | undefined;
419
453
  };
454
+ SKILLS: {
455
+ USE?: boolean | undefined;
456
+ CREATE?: boolean | undefined;
457
+ SHARE?: boolean | undefined;
458
+ SHARE_PUBLIC?: boolean | undefined;
459
+ };
420
460
  };
421
461
  }>;
422
462
  export type TRole = z.infer<typeof roleSchema>;
@@ -486,6 +526,12 @@ export declare const roleDefaults: {
486
526
  SHARE: boolean;
487
527
  SHARE_PUBLIC: boolean;
488
528
  };
529
+ SKILLS: {
530
+ USE: boolean;
531
+ CREATE: boolean;
532
+ SHARE: boolean;
533
+ SHARE_PUBLIC: boolean;
534
+ };
489
535
  };
490
536
  };
491
537
  USER: {
@@ -551,6 +597,12 @@ export declare const roleDefaults: {
551
597
  SHARE: boolean;
552
598
  SHARE_PUBLIC: boolean;
553
599
  };
600
+ SKILLS: {
601
+ USE: boolean;
602
+ CREATE: boolean;
603
+ SHARE: boolean;
604
+ SHARE_PUBLIC: boolean;
605
+ };
554
606
  };
555
607
  };
556
608
  };