librechat-data-provider 0.8.500 → 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;
@@ -220,6 +220,7 @@ export declare const generateOpenAISchema: (customOpenAI: OpenAISettings) => z.Z
220
220
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").Verbosity>>>;
221
221
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
222
222
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
223
+ thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingDisplay>>>;
223
224
  web_search: z.ZodOptional<z.ZodBoolean>;
224
225
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
225
226
  assistant_id: z.ZodOptional<z.ZodString>;
@@ -459,6 +460,7 @@ export declare const generateGoogleSchema: (customGoogle: GoogleSettings) => z.Z
459
460
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").Verbosity>>>;
460
461
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
461
462
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
463
+ thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingDisplay>>>;
462
464
  web_search: z.ZodOptional<z.ZodBoolean>;
463
465
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
464
466
  assistant_id: z.ZodOptional<z.ZodString>;
@@ -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
  }
@@ -156,6 +156,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
156
156
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").Verbosity>>>;
157
157
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
158
158
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
159
+ thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingDisplay>>>;
159
160
  web_search: z.ZodOptional<z.ZodBoolean>;
160
161
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
161
162
  assistant_id: z.ZodOptional<z.ZodString>;
@@ -230,7 +231,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
230
231
  defaultPreset: z.ZodOptional<z.ZodBoolean>;
231
232
  order: z.ZodOptional<z.ZodNumber>;
232
233
  endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
233
- }, "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, {
234
235
  endpoint: string | null;
235
236
  endpointType?: EModelEndpoint | null | undefined;
236
237
  tools?: string[] | {
@@ -285,6 +286,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
285
286
  verbosity?: import("./schemas").Verbosity | null | undefined;
286
287
  useResponsesApi?: boolean | undefined;
287
288
  effort?: import("./schemas").AnthropicEffort | null | undefined;
289
+ thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
288
290
  web_search?: boolean | undefined;
289
291
  disableStreaming?: boolean | undefined;
290
292
  assistant_id?: string | undefined;
@@ -320,6 +322,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
320
322
  additional_instructions?: string | undefined;
321
323
  append_current_datetime?: boolean | undefined;
322
324
  stop?: string[] | undefined;
325
+ greeting?: string | undefined;
326
+ iconURL?: string | null | undefined;
323
327
  fileTokenLimit?: number | undefined;
324
328
  }, {
325
329
  endpoint: string | null;
@@ -376,6 +380,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
376
380
  verbosity?: import("./schemas").Verbosity | null | undefined;
377
381
  useResponsesApi?: boolean | undefined;
378
382
  effort?: import("./schemas").AnthropicEffort | null | undefined;
383
+ thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
379
384
  web_search?: boolean | undefined;
380
385
  disableStreaming?: boolean | undefined;
381
386
  assistant_id?: string | undefined;
@@ -411,6 +416,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
411
416
  additional_instructions?: string | undefined;
412
417
  append_current_datetime?: boolean | undefined;
413
418
  stop?: string[] | undefined;
419
+ greeting?: string | undefined;
420
+ iconURL?: string | null | undefined;
414
421
  fileTokenLimit?: string | number | undefined;
415
422
  }>;
416
423
  order: z.ZodOptional<z.ZodNumber>;
@@ -485,6 +492,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
485
492
  verbosity?: import("./schemas").Verbosity | null | undefined;
486
493
  useResponsesApi?: boolean | undefined;
487
494
  effort?: import("./schemas").AnthropicEffort | null | undefined;
495
+ thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
488
496
  web_search?: boolean | undefined;
489
497
  disableStreaming?: boolean | undefined;
490
498
  assistant_id?: string | undefined;
@@ -520,6 +528,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
520
528
  additional_instructions?: string | undefined;
521
529
  append_current_datetime?: boolean | undefined;
522
530
  stop?: string[] | undefined;
531
+ greeting?: string | undefined;
532
+ iconURL?: string | null | undefined;
523
533
  fileTokenLimit?: number | undefined;
524
534
  };
525
535
  description?: string | undefined;
@@ -594,6 +604,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
594
604
  verbosity?: import("./schemas").Verbosity | null | undefined;
595
605
  useResponsesApi?: boolean | undefined;
596
606
  effort?: import("./schemas").AnthropicEffort | null | undefined;
607
+ thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
597
608
  web_search?: boolean | undefined;
598
609
  disableStreaming?: boolean | undefined;
599
610
  assistant_id?: string | undefined;
@@ -629,6 +640,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
629
640
  additional_instructions?: string | undefined;
630
641
  append_current_datetime?: boolean | undefined;
631
642
  stop?: string[] | undefined;
643
+ greeting?: string | undefined;
644
+ iconURL?: string | null | undefined;
632
645
  fileTokenLimit?: string | number | undefined;
633
646
  };
634
647
  description?: string | undefined;
@@ -649,7 +662,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
649
662
  export declare const specsConfigSchema: z.ZodObject<{
650
663
  enforce: z.ZodDefault<z.ZodBoolean>;
651
664
  prioritize: z.ZodDefault<z.ZodBoolean>;
652
- list: z.ZodArray<z.ZodObject<{
665
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
653
666
  name: z.ZodString;
654
667
  label: z.ZodString;
655
668
  preset: z.ZodObject<Omit<{
@@ -774,6 +787,7 @@ export declare const specsConfigSchema: z.ZodObject<{
774
787
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").Verbosity>>>;
775
788
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
776
789
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
790
+ thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingDisplay>>>;
777
791
  web_search: z.ZodOptional<z.ZodBoolean>;
778
792
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
779
793
  assistant_id: z.ZodOptional<z.ZodString>;
@@ -848,7 +862,7 @@ export declare const specsConfigSchema: z.ZodObject<{
848
862
  defaultPreset: z.ZodOptional<z.ZodBoolean>;
849
863
  order: z.ZodOptional<z.ZodNumber>;
850
864
  endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
851
- }, "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, {
852
866
  endpoint: string | null;
853
867
  endpointType?: EModelEndpoint | null | undefined;
854
868
  tools?: string[] | {
@@ -903,6 +917,7 @@ export declare const specsConfigSchema: z.ZodObject<{
903
917
  verbosity?: import("./schemas").Verbosity | null | undefined;
904
918
  useResponsesApi?: boolean | undefined;
905
919
  effort?: import("./schemas").AnthropicEffort | null | undefined;
920
+ thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
906
921
  web_search?: boolean | undefined;
907
922
  disableStreaming?: boolean | undefined;
908
923
  assistant_id?: string | undefined;
@@ -938,6 +953,8 @@ export declare const specsConfigSchema: z.ZodObject<{
938
953
  additional_instructions?: string | undefined;
939
954
  append_current_datetime?: boolean | undefined;
940
955
  stop?: string[] | undefined;
956
+ greeting?: string | undefined;
957
+ iconURL?: string | null | undefined;
941
958
  fileTokenLimit?: number | undefined;
942
959
  }, {
943
960
  endpoint: string | null;
@@ -994,6 +1011,7 @@ export declare const specsConfigSchema: z.ZodObject<{
994
1011
  verbosity?: import("./schemas").Verbosity | null | undefined;
995
1012
  useResponsesApi?: boolean | undefined;
996
1013
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1014
+ thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
997
1015
  web_search?: boolean | undefined;
998
1016
  disableStreaming?: boolean | undefined;
999
1017
  assistant_id?: string | undefined;
@@ -1029,6 +1047,8 @@ export declare const specsConfigSchema: z.ZodObject<{
1029
1047
  additional_instructions?: string | undefined;
1030
1048
  append_current_datetime?: boolean | undefined;
1031
1049
  stop?: string[] | undefined;
1050
+ greeting?: string | undefined;
1051
+ iconURL?: string | null | undefined;
1032
1052
  fileTokenLimit?: string | number | undefined;
1033
1053
  }>;
1034
1054
  order: z.ZodOptional<z.ZodNumber>;
@@ -1103,6 +1123,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1103
1123
  verbosity?: import("./schemas").Verbosity | null | undefined;
1104
1124
  useResponsesApi?: boolean | undefined;
1105
1125
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1126
+ thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1106
1127
  web_search?: boolean | undefined;
1107
1128
  disableStreaming?: boolean | undefined;
1108
1129
  assistant_id?: string | undefined;
@@ -1138,6 +1159,8 @@ export declare const specsConfigSchema: z.ZodObject<{
1138
1159
  additional_instructions?: string | undefined;
1139
1160
  append_current_datetime?: boolean | undefined;
1140
1161
  stop?: string[] | undefined;
1162
+ greeting?: string | undefined;
1163
+ iconURL?: string | null | undefined;
1141
1164
  fileTokenLimit?: number | undefined;
1142
1165
  };
1143
1166
  description?: string | undefined;
@@ -1212,6 +1235,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1212
1235
  verbosity?: import("./schemas").Verbosity | null | undefined;
1213
1236
  useResponsesApi?: boolean | undefined;
1214
1237
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1238
+ thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1215
1239
  web_search?: boolean | undefined;
1216
1240
  disableStreaming?: boolean | undefined;
1217
1241
  assistant_id?: string | undefined;
@@ -1247,6 +1271,8 @@ export declare const specsConfigSchema: z.ZodObject<{
1247
1271
  additional_instructions?: string | undefined;
1248
1272
  append_current_datetime?: boolean | undefined;
1249
1273
  stop?: string[] | undefined;
1274
+ greeting?: string | undefined;
1275
+ iconURL?: string | null | undefined;
1250
1276
  fileTokenLimit?: string | number | undefined;
1251
1277
  };
1252
1278
  description?: string | undefined;
@@ -1263,7 +1289,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1263
1289
  fileSearch?: boolean | undefined;
1264
1290
  executeCode?: boolean | undefined;
1265
1291
  mcpServers?: string[] | undefined;
1266
- }>, "many">;
1292
+ }>, "many">>;
1267
1293
  addedEndpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<typeof EModelEndpoint>]>, "many">>;
1268
1294
  }, "strip", z.ZodTypeAny, {
1269
1295
  enforce: boolean;
@@ -1326,6 +1352,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1326
1352
  verbosity?: import("./schemas").Verbosity | null | undefined;
1327
1353
  useResponsesApi?: boolean | undefined;
1328
1354
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1355
+ thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1329
1356
  web_search?: boolean | undefined;
1330
1357
  disableStreaming?: boolean | undefined;
1331
1358
  assistant_id?: string | undefined;
@@ -1361,6 +1388,8 @@ export declare const specsConfigSchema: z.ZodObject<{
1361
1388
  additional_instructions?: string | undefined;
1362
1389
  append_current_datetime?: boolean | undefined;
1363
1390
  stop?: string[] | undefined;
1391
+ greeting?: string | undefined;
1392
+ iconURL?: string | null | undefined;
1364
1393
  fileTokenLimit?: number | undefined;
1365
1394
  };
1366
1395
  description?: string | undefined;
@@ -1380,7 +1409,9 @@ export declare const specsConfigSchema: z.ZodObject<{
1380
1409
  }[];
1381
1410
  addedEndpoints?: string[] | undefined;
1382
1411
  }, {
1383
- list: {
1412
+ enforce?: boolean | undefined;
1413
+ prioritize?: boolean | undefined;
1414
+ list?: {
1384
1415
  name: string;
1385
1416
  label: string;
1386
1417
  preset: {
@@ -1438,6 +1469,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1438
1469
  verbosity?: import("./schemas").Verbosity | null | undefined;
1439
1470
  useResponsesApi?: boolean | undefined;
1440
1471
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1472
+ thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1441
1473
  web_search?: boolean | undefined;
1442
1474
  disableStreaming?: boolean | undefined;
1443
1475
  assistant_id?: string | undefined;
@@ -1473,6 +1505,8 @@ export declare const specsConfigSchema: z.ZodObject<{
1473
1505
  additional_instructions?: string | undefined;
1474
1506
  append_current_datetime?: boolean | undefined;
1475
1507
  stop?: string[] | undefined;
1508
+ greeting?: string | undefined;
1509
+ iconURL?: string | null | undefined;
1476
1510
  fileTokenLimit?: string | number | undefined;
1477
1511
  };
1478
1512
  description?: string | undefined;
@@ -1489,9 +1523,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1489
1523
  fileSearch?: boolean | undefined;
1490
1524
  executeCode?: boolean | undefined;
1491
1525
  mcpServers?: string[] | undefined;
1492
- }[];
1493
- enforce?: boolean | undefined;
1494
- prioritize?: boolean | undefined;
1526
+ }[] | undefined;
1495
1527
  addedEndpoints?: string[] | undefined;
1496
1528
  }>;
1497
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
  };