librechat-data-provider 0.8.521 → 0.8.522

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.
Files changed (57) hide show
  1. package/dist/{data-service-pwrlWjJs.mjs → data-service-CaB7saTP.mjs} +1145 -37
  2. package/dist/data-service-CaB7saTP.mjs.map +1 -0
  3. package/dist/{data-service-DOIF4BkW.js → data-service-D5kHzBt-.js} +1588 -36
  4. package/dist/data-service-D5kHzBt-.js.map +1 -0
  5. package/dist/index.js +947 -36
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +825 -37
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/react-query/index.js +2 -1
  10. package/dist/react-query/index.js.map +1 -1
  11. package/dist/react-query/index.mjs +2 -1
  12. package/dist/react-query/index.mjs.map +1 -1
  13. package/dist/types/accessPermissions.d.ts +4 -0
  14. package/dist/types/actions.d.ts +2 -2
  15. package/dist/types/agentToolOptions.d.ts +11 -0
  16. package/dist/types/api-endpoints.d.ts +18 -0
  17. package/dist/types/bedrock.d.ts +168 -0
  18. package/dist/types/cadence.d.ts +33 -0
  19. package/dist/types/codeEnvRef.d.ts +21 -0
  20. package/dist/types/config.d.ts +9060 -1135
  21. package/dist/types/data-service.d.ts +40 -2
  22. package/dist/types/file-config.d.ts +1 -0
  23. package/dist/types/filters.d.ts +1422 -0
  24. package/dist/types/generate.d.ts +79 -1
  25. package/dist/types/index.d.ts +10 -0
  26. package/dist/types/keys.d.ts +23 -2
  27. package/dist/types/langchain.d.ts +4 -0
  28. package/dist/types/limits.d.ts +13 -0
  29. package/dist/types/mcp.d.ts +299 -210
  30. package/dist/types/messages.d.ts +5 -0
  31. package/dist/types/models.d.ts +732 -68
  32. package/dist/types/parameterSettings.d.ts +5 -1
  33. package/dist/types/parsers.d.ts +10 -0
  34. package/dist/types/permissions.d.ts +42 -1
  35. package/dist/types/providers.d.ts +36 -0
  36. package/dist/types/request.d.ts +2 -2
  37. package/dist/types/roles.d.ts +34 -0
  38. package/dist/types/runSteps.d.ts +59 -0
  39. package/dist/types/schemas.d.ts +1191 -26
  40. package/dist/types/stateful-code.d.ts +7 -0
  41. package/dist/types/types/agents.d.ts +92 -7
  42. package/dist/types/types/assistants.d.ts +96 -5
  43. package/dist/types/types/files.d.ts +12 -2
  44. package/dist/types/types/index.d.ts +2 -0
  45. package/dist/types/types/insights.d.ts +62 -0
  46. package/dist/types/types/mutations.d.ts +1 -0
  47. package/dist/types/types/queries.d.ts +30 -2
  48. package/dist/types/types/queuedTurns.d.ts +870 -0
  49. package/dist/types/types/runs.d.ts +95 -4
  50. package/dist/types/types/schedules.d.ts +306 -0
  51. package/dist/types/types/skills.d.ts +9 -0
  52. package/dist/types/types/subagents.d.ts +159 -0
  53. package/dist/types/types/web.d.ts +12 -2
  54. package/dist/types/types.d.ts +61 -1
  55. package/package.json +4 -2
  56. package/dist/data-service-DOIF4BkW.js.map +0 -1
  57. package/dist/data-service-pwrlWjJs.mjs.map +0 -1
@@ -0,0 +1,1422 @@
1
+ import { z } from 'zod';
2
+ export declare const FILTER_PII_STARTER_PATTERNS: readonly ["sk_prefix", "bearer_header", "api_key_header"];
3
+ export declare const MAX_PII_PATTERNS_PER_SOURCE = 256;
4
+ export declare const MAX_PII_PATTERN_LENGTH = 512;
5
+ export declare const MAX_PII_PATTERN_ID_LENGTH = 256;
6
+ export declare const MAX_PII_PATTERN_LABEL_LENGTH = 512;
7
+ export declare const MAX_PII_CUSTOM_REGEX_CHARACTERS = 8192;
8
+ export declare const MAX_PII_CUSTOM_REGEX_INSTRUCTIONS = 8192;
9
+ export declare const MAX_PII_CUSTOM_PATTERNS_TOTAL = 256;
10
+ export declare function getPiiRegexProgramSize(pattern: string): number | null;
11
+ export declare const MESSAGE_FILTER_FIELDS: readonly ["name", "text", "summary", "quote", "answer", "decision_response", "decision_reason", "content_part", "attachment_reference", "assembled_context"];
12
+ export declare const HITL_MESSAGE_FILTER_FIELDS: readonly ["answer", "decision_response", "decision_reason"];
13
+ /** Message fields structurally recoverable without exact semantic provenance. */
14
+ export declare const STORED_MESSAGE_FILTER_FIELDS: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[];
15
+ export declare const PROMPT_FILTER_FIELDS: readonly ["name", "description", "oneliner", "category", "command", "text", "preset_text", "system", "context", "instructions", "additional_instructions", "greeting", "example_input", "example_output"];
16
+ export declare const AGENT_INSTRUCTION_FILTER_FIELDS: readonly ["name", "category", "description", "instructions", "additional_instructions", "edge_description", "edge_prompt", "edge_prompt_key", "artifacts", "support_contact_name", "support_contact_email"];
17
+ export declare const CONVERSATION_STARTER_FILTER_FIELDS: readonly ["text"];
18
+ export declare const CONVERSATION_TITLE_FILTER_FIELDS: readonly ["title"];
19
+ export declare const FEEDBACK_FILTER_FIELDS: readonly ["text"];
20
+ export declare const SKILL_FILTER_FIELDS: readonly ["name", "display_title", "description", "category", "frontmatter", "instructions", "imported_text", "file_name", "file_text"];
21
+ export declare const MEMORY_FILTER_FIELDS: readonly ["key", "value", "summary"];
22
+ export declare const FILE_FILTER_FIELDS: readonly ["name", "content", "extracted_text", "transcript", "uri"];
23
+ export declare const TOOL_ARGUMENT_FILTER_FIELDS: readonly ["name", "arguments", "output"];
24
+ export declare const MODEL_PARAMETER_FILTER_FIELDS: readonly ["stop", "request_fields", "response_format", "metadata"];
25
+ export declare const ACTION_METADATA_FILTER_FIELDS: readonly ["raw_spec", "domain", "privacy_policy_url", "authorization_type", "custom_auth_header", "authorization_content_type", "authorization_url", "client_url", "scope", "token_exchange_method", "api_key", "oauth_client_id", "oauth_client_secret"];
26
+ export declare const messageFilterFieldSchema: z.ZodEnum<["name", "text", "summary", "quote", "answer", "decision_response", "decision_reason", "content_part", "attachment_reference", "assembled_context"]>;
27
+ export declare const promptFilterFieldSchema: z.ZodEnum<["name", "description", "oneliner", "category", "command", "text", "preset_text", "system", "context", "instructions", "additional_instructions", "greeting", "example_input", "example_output"]>;
28
+ export declare const agentInstructionFilterFieldSchema: z.ZodEnum<["name", "category", "description", "instructions", "additional_instructions", "edge_description", "edge_prompt", "edge_prompt_key", "artifacts", "support_contact_name", "support_contact_email"]>;
29
+ export declare const conversationStarterFilterFieldSchema: z.ZodEnum<["text"]>;
30
+ export declare const conversationTitleFilterFieldSchema: z.ZodEnum<["title"]>;
31
+ export declare const feedbackFilterFieldSchema: z.ZodEnum<["text"]>;
32
+ export declare const skillFilterFieldSchema: z.ZodEnum<["name", "display_title", "description", "category", "frontmatter", "instructions", "imported_text", "file_name", "file_text"]>;
33
+ export declare const memoryFilterFieldSchema: z.ZodEnum<["key", "value", "summary"]>;
34
+ export declare const fileFilterFieldSchema: z.ZodEnum<["name", "content", "extracted_text", "transcript", "uri"]>;
35
+ export declare const toolArgumentFilterFieldSchema: z.ZodEnum<["name", "arguments", "output"]>;
36
+ export declare const modelParameterFilterFieldSchema: z.ZodEnum<["stop", "request_fields", "response_format", "metadata"]>;
37
+ export declare const filterPiiStarterPatternSchema: z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>;
38
+ export declare const filterPiiActionSchema: z.ZodEnum<["block", "audit"]>;
39
+ export declare const actionMetadataFilterFieldSchema: z.ZodEnum<["raw_spec", "domain", "privacy_policy_url", "authorization_type", "custom_auth_header", "authorization_content_type", "authorization_url", "client_url", "scope", "token_exchange_method", "api_key", "oauth_client_id", "oauth_client_secret"]>;
40
+ export declare const unattributedAssistantContentSchema: z.ZodEnum<["model_output", "inspect"]>;
41
+ export type UnattributedAssistantContent = z.infer<typeof unattributedAssistantContentSchema>;
42
+ export type MessageFilterField = z.infer<typeof messageFilterFieldSchema>;
43
+ export type PromptFilterField = z.infer<typeof promptFilterFieldSchema>;
44
+ export type AgentInstructionFilterField = z.infer<typeof agentInstructionFilterFieldSchema>;
45
+ export type ConversationStarterFilterField = z.infer<typeof conversationStarterFilterFieldSchema>;
46
+ export type ConversationTitleFilterField = z.infer<typeof conversationTitleFilterFieldSchema>;
47
+ export type FeedbackFilterField = z.infer<typeof feedbackFilterFieldSchema>;
48
+ export type SkillFilterField = z.infer<typeof skillFilterFieldSchema>;
49
+ export type MemoryFilterField = z.infer<typeof memoryFilterFieldSchema>;
50
+ export type FileFilterField = z.infer<typeof fileFilterFieldSchema>;
51
+ export type ToolArgumentFilterField = z.infer<typeof toolArgumentFilterFieldSchema>;
52
+ export type ModelParameterFilterField = z.infer<typeof modelParameterFilterFieldSchema>;
53
+ export type ActionMetadataFilterField = z.infer<typeof actionMetadataFilterFieldSchema>;
54
+ export type FilterPiiAction = z.infer<typeof filterPiiActionSchema>;
55
+ export declare const userSubmittedMessageFieldPathSchema: z.ZodObject<{
56
+ path: z.ZodString;
57
+ field: z.ZodEnum<["answer", "decision_response", "decision_reason"]>;
58
+ }, "strict", z.ZodTypeAny, {
59
+ path: string;
60
+ field: "answer" | "decision_response" | "decision_reason";
61
+ }, {
62
+ path: string;
63
+ field: "answer" | "decision_response" | "decision_reason";
64
+ }>;
65
+ export type UserSubmittedMessageFieldPath = z.infer<typeof userSubmittedMessageFieldPathSchema>;
66
+ type PiiPatternSelection = {
67
+ readonly starterPatterns?: readonly unknown[];
68
+ readonly customPatterns?: readonly unknown[];
69
+ };
70
+ type PiiFieldSelection = PiiPatternSelection & {
71
+ readonly fields?: readonly string[];
72
+ };
73
+ /**
74
+ * An omitted starter selection enables the built-in catalog. An explicit
75
+ * empty selection disables it, so a source is active only when custom rules
76
+ * remain. This mirrors the documented filter semantics without compiling
77
+ * regular expressions.
78
+ */
79
+ export declare function hasActivePiiPatterns(config: PiiPatternSelection | null | undefined): boolean;
80
+ /** Returns whether an active PII rule can inspect at least one candidate field. */
81
+ export declare function hasActivePiiFields(config: PiiFieldSelection | null | undefined, candidates: readonly string[]): boolean;
82
+ /**
83
+ * Returns whether a parsed source-aware config can enforce any rule. An
84
+ * explicit fail-close file policy remains active even without text patterns.
85
+ */
86
+ export declare function hasActiveFiltersConfig(filters: FiltersConfig | null | undefined): boolean;
87
+ export declare const filterPiiRegexSchema: z.ZodEffects<z.ZodString, string, string>;
88
+ export declare const filterPiiCustomPatternSchema: z.ZodObject<{
89
+ id: z.ZodString;
90
+ label: z.ZodString;
91
+ regex: z.ZodEffects<z.ZodString, string, string>;
92
+ }, "strict", z.ZodTypeAny, {
93
+ id: string;
94
+ label: string;
95
+ regex: string;
96
+ }, {
97
+ id: string;
98
+ label: string;
99
+ regex: string;
100
+ }>;
101
+ export type FilterPiiCustomPatternConfig = z.infer<typeof filterPiiCustomPatternSchema>;
102
+ export declare const filtersConfigSchema: z.ZodEffects<z.ZodObject<{
103
+ messages: z.ZodOptional<z.ZodObject<{
104
+ pii: z.ZodOptional<z.ZodObject<{
105
+ action: z.ZodOptional<z.ZodEnum<["block", "audit"]>>;
106
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["name", "text", "summary", "quote", "answer", "decision_response", "decision_reason", "content_part", "attachment_reference", "assembled_context"]>, "many">>;
107
+ starterPatterns: z.ZodOptional<z.ZodArray<z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>, "many">>;
108
+ customPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
109
+ id: z.ZodString;
110
+ label: z.ZodString;
111
+ regex: z.ZodEffects<z.ZodString, string, string>;
112
+ }, "strict", z.ZodTypeAny, {
113
+ id: string;
114
+ label: string;
115
+ regex: string;
116
+ }, {
117
+ id: string;
118
+ label: string;
119
+ regex: string;
120
+ }>, "many">>;
121
+ }, "strict", z.ZodTypeAny, {
122
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
123
+ fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined;
124
+ action?: "block" | "audit" | undefined;
125
+ customPatterns?: {
126
+ id: string;
127
+ label: string;
128
+ regex: string;
129
+ }[] | undefined;
130
+ }, {
131
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
132
+ fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined;
133
+ action?: "block" | "audit" | undefined;
134
+ customPatterns?: {
135
+ id: string;
136
+ label: string;
137
+ regex: string;
138
+ }[] | undefined;
139
+ }>>;
140
+ unattributedAssistantContent: z.ZodOptional<z.ZodEnum<["model_output", "inspect"]>>;
141
+ }, "strict", z.ZodTypeAny, {
142
+ pii?: {
143
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
144
+ fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined;
145
+ action?: "block" | "audit" | undefined;
146
+ customPatterns?: {
147
+ id: string;
148
+ label: string;
149
+ regex: string;
150
+ }[] | undefined;
151
+ } | undefined;
152
+ unattributedAssistantContent?: "model_output" | "inspect" | undefined;
153
+ }, {
154
+ pii?: {
155
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
156
+ fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined;
157
+ action?: "block" | "audit" | undefined;
158
+ customPatterns?: {
159
+ id: string;
160
+ label: string;
161
+ regex: string;
162
+ }[] | undefined;
163
+ } | undefined;
164
+ unattributedAssistantContent?: "model_output" | "inspect" | undefined;
165
+ }>>;
166
+ prompts: z.ZodOptional<z.ZodObject<{
167
+ pii: z.ZodOptional<z.ZodObject<{
168
+ action: z.ZodOptional<z.ZodEnum<["block", "audit"]>>;
169
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["name", "description", "oneliner", "category", "command", "text", "preset_text", "system", "context", "instructions", "additional_instructions", "greeting", "example_input", "example_output"]>, "many">>;
170
+ starterPatterns: z.ZodOptional<z.ZodArray<z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>, "many">>;
171
+ customPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
172
+ id: z.ZodString;
173
+ label: z.ZodString;
174
+ regex: z.ZodEffects<z.ZodString, string, string>;
175
+ }, "strict", z.ZodTypeAny, {
176
+ id: string;
177
+ label: string;
178
+ regex: string;
179
+ }, {
180
+ id: string;
181
+ label: string;
182
+ regex: string;
183
+ }>, "many">>;
184
+ }, "strict", z.ZodTypeAny, {
185
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
186
+ fields?: ("name" | "description" | "system" | "context" | "instructions" | "additional_instructions" | "greeting" | "text" | "command" | "oneliner" | "category" | "preset_text" | "example_input" | "example_output")[] | undefined;
187
+ action?: "block" | "audit" | undefined;
188
+ customPatterns?: {
189
+ id: string;
190
+ label: string;
191
+ regex: string;
192
+ }[] | undefined;
193
+ }, {
194
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
195
+ fields?: ("name" | "description" | "system" | "context" | "instructions" | "additional_instructions" | "greeting" | "text" | "command" | "oneliner" | "category" | "preset_text" | "example_input" | "example_output")[] | undefined;
196
+ action?: "block" | "audit" | undefined;
197
+ customPatterns?: {
198
+ id: string;
199
+ label: string;
200
+ regex: string;
201
+ }[] | undefined;
202
+ }>>;
203
+ }, "strict", z.ZodTypeAny, {
204
+ pii?: {
205
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
206
+ fields?: ("name" | "description" | "system" | "context" | "instructions" | "additional_instructions" | "greeting" | "text" | "command" | "oneliner" | "category" | "preset_text" | "example_input" | "example_output")[] | undefined;
207
+ action?: "block" | "audit" | undefined;
208
+ customPatterns?: {
209
+ id: string;
210
+ label: string;
211
+ regex: string;
212
+ }[] | undefined;
213
+ } | undefined;
214
+ }, {
215
+ pii?: {
216
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
217
+ fields?: ("name" | "description" | "system" | "context" | "instructions" | "additional_instructions" | "greeting" | "text" | "command" | "oneliner" | "category" | "preset_text" | "example_input" | "example_output")[] | undefined;
218
+ action?: "block" | "audit" | undefined;
219
+ customPatterns?: {
220
+ id: string;
221
+ label: string;
222
+ regex: string;
223
+ }[] | undefined;
224
+ } | undefined;
225
+ }>>;
226
+ agentInstructions: z.ZodOptional<z.ZodObject<{
227
+ pii: z.ZodOptional<z.ZodObject<{
228
+ action: z.ZodOptional<z.ZodEnum<["block", "audit"]>>;
229
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["name", "category", "description", "instructions", "additional_instructions", "edge_description", "edge_prompt", "edge_prompt_key", "artifacts", "support_contact_name", "support_contact_email"]>, "many">>;
230
+ starterPatterns: z.ZodOptional<z.ZodArray<z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>, "many">>;
231
+ customPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
232
+ id: z.ZodString;
233
+ label: z.ZodString;
234
+ regex: z.ZodEffects<z.ZodString, string, string>;
235
+ }, "strict", z.ZodTypeAny, {
236
+ id: string;
237
+ label: string;
238
+ regex: string;
239
+ }, {
240
+ id: string;
241
+ label: string;
242
+ regex: string;
243
+ }>, "many">>;
244
+ }, "strict", z.ZodTypeAny, {
245
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
246
+ fields?: ("name" | "description" | "artifacts" | "instructions" | "additional_instructions" | "category" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined;
247
+ action?: "block" | "audit" | undefined;
248
+ customPatterns?: {
249
+ id: string;
250
+ label: string;
251
+ regex: string;
252
+ }[] | undefined;
253
+ }, {
254
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
255
+ fields?: ("name" | "description" | "artifacts" | "instructions" | "additional_instructions" | "category" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined;
256
+ action?: "block" | "audit" | undefined;
257
+ customPatterns?: {
258
+ id: string;
259
+ label: string;
260
+ regex: string;
261
+ }[] | undefined;
262
+ }>>;
263
+ }, "strict", z.ZodTypeAny, {
264
+ pii?: {
265
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
266
+ fields?: ("name" | "description" | "artifacts" | "instructions" | "additional_instructions" | "category" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined;
267
+ action?: "block" | "audit" | undefined;
268
+ customPatterns?: {
269
+ id: string;
270
+ label: string;
271
+ regex: string;
272
+ }[] | undefined;
273
+ } | undefined;
274
+ }, {
275
+ pii?: {
276
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
277
+ fields?: ("name" | "description" | "artifacts" | "instructions" | "additional_instructions" | "category" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined;
278
+ action?: "block" | "audit" | undefined;
279
+ customPatterns?: {
280
+ id: string;
281
+ label: string;
282
+ regex: string;
283
+ }[] | undefined;
284
+ } | undefined;
285
+ }>>;
286
+ conversationStarters: z.ZodOptional<z.ZodObject<{
287
+ pii: z.ZodOptional<z.ZodObject<{
288
+ action: z.ZodOptional<z.ZodEnum<["block", "audit"]>>;
289
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["text"]>, "many">>;
290
+ starterPatterns: z.ZodOptional<z.ZodArray<z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>, "many">>;
291
+ customPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
292
+ id: z.ZodString;
293
+ label: z.ZodString;
294
+ regex: z.ZodEffects<z.ZodString, string, string>;
295
+ }, "strict", z.ZodTypeAny, {
296
+ id: string;
297
+ label: string;
298
+ regex: string;
299
+ }, {
300
+ id: string;
301
+ label: string;
302
+ regex: string;
303
+ }>, "many">>;
304
+ }, "strict", z.ZodTypeAny, {
305
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
306
+ fields?: "text"[] | undefined;
307
+ action?: "block" | "audit" | undefined;
308
+ customPatterns?: {
309
+ id: string;
310
+ label: string;
311
+ regex: string;
312
+ }[] | undefined;
313
+ }, {
314
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
315
+ fields?: "text"[] | undefined;
316
+ action?: "block" | "audit" | undefined;
317
+ customPatterns?: {
318
+ id: string;
319
+ label: string;
320
+ regex: string;
321
+ }[] | undefined;
322
+ }>>;
323
+ }, "strict", z.ZodTypeAny, {
324
+ pii?: {
325
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
326
+ fields?: "text"[] | undefined;
327
+ action?: "block" | "audit" | undefined;
328
+ customPatterns?: {
329
+ id: string;
330
+ label: string;
331
+ regex: string;
332
+ }[] | undefined;
333
+ } | undefined;
334
+ }, {
335
+ pii?: {
336
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
337
+ fields?: "text"[] | undefined;
338
+ action?: "block" | "audit" | undefined;
339
+ customPatterns?: {
340
+ id: string;
341
+ label: string;
342
+ regex: string;
343
+ }[] | undefined;
344
+ } | undefined;
345
+ }>>;
346
+ conversationTitles: z.ZodOptional<z.ZodObject<{
347
+ pii: z.ZodOptional<z.ZodObject<{
348
+ action: z.ZodOptional<z.ZodEnum<["block", "audit"]>>;
349
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["title"]>, "many">>;
350
+ starterPatterns: z.ZodOptional<z.ZodArray<z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>, "many">>;
351
+ customPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
352
+ id: z.ZodString;
353
+ label: z.ZodString;
354
+ regex: z.ZodEffects<z.ZodString, string, string>;
355
+ }, "strict", z.ZodTypeAny, {
356
+ id: string;
357
+ label: string;
358
+ regex: string;
359
+ }, {
360
+ id: string;
361
+ label: string;
362
+ regex: string;
363
+ }>, "many">>;
364
+ }, "strict", z.ZodTypeAny, {
365
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
366
+ fields?: "title"[] | undefined;
367
+ action?: "block" | "audit" | undefined;
368
+ customPatterns?: {
369
+ id: string;
370
+ label: string;
371
+ regex: string;
372
+ }[] | undefined;
373
+ }, {
374
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
375
+ fields?: "title"[] | undefined;
376
+ action?: "block" | "audit" | undefined;
377
+ customPatterns?: {
378
+ id: string;
379
+ label: string;
380
+ regex: string;
381
+ }[] | undefined;
382
+ }>>;
383
+ }, "strict", z.ZodTypeAny, {
384
+ pii?: {
385
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
386
+ fields?: "title"[] | undefined;
387
+ action?: "block" | "audit" | undefined;
388
+ customPatterns?: {
389
+ id: string;
390
+ label: string;
391
+ regex: string;
392
+ }[] | undefined;
393
+ } | undefined;
394
+ }, {
395
+ pii?: {
396
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
397
+ fields?: "title"[] | undefined;
398
+ action?: "block" | "audit" | undefined;
399
+ customPatterns?: {
400
+ id: string;
401
+ label: string;
402
+ regex: string;
403
+ }[] | undefined;
404
+ } | undefined;
405
+ }>>;
406
+ feedback: z.ZodOptional<z.ZodObject<{
407
+ pii: z.ZodOptional<z.ZodObject<{
408
+ action: z.ZodOptional<z.ZodEnum<["block", "audit"]>>;
409
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["text"]>, "many">>;
410
+ starterPatterns: z.ZodOptional<z.ZodArray<z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>, "many">>;
411
+ customPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
412
+ id: z.ZodString;
413
+ label: z.ZodString;
414
+ regex: z.ZodEffects<z.ZodString, string, string>;
415
+ }, "strict", z.ZodTypeAny, {
416
+ id: string;
417
+ label: string;
418
+ regex: string;
419
+ }, {
420
+ id: string;
421
+ label: string;
422
+ regex: string;
423
+ }>, "many">>;
424
+ }, "strict", z.ZodTypeAny, {
425
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
426
+ fields?: "text"[] | undefined;
427
+ action?: "block" | "audit" | undefined;
428
+ customPatterns?: {
429
+ id: string;
430
+ label: string;
431
+ regex: string;
432
+ }[] | undefined;
433
+ }, {
434
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
435
+ fields?: "text"[] | undefined;
436
+ action?: "block" | "audit" | undefined;
437
+ customPatterns?: {
438
+ id: string;
439
+ label: string;
440
+ regex: string;
441
+ }[] | undefined;
442
+ }>>;
443
+ }, "strict", z.ZodTypeAny, {
444
+ pii?: {
445
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
446
+ fields?: "text"[] | undefined;
447
+ action?: "block" | "audit" | undefined;
448
+ customPatterns?: {
449
+ id: string;
450
+ label: string;
451
+ regex: string;
452
+ }[] | undefined;
453
+ } | undefined;
454
+ }, {
455
+ pii?: {
456
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
457
+ fields?: "text"[] | undefined;
458
+ action?: "block" | "audit" | undefined;
459
+ customPatterns?: {
460
+ id: string;
461
+ label: string;
462
+ regex: string;
463
+ }[] | undefined;
464
+ } | undefined;
465
+ }>>;
466
+ skills: z.ZodOptional<z.ZodObject<{
467
+ pii: z.ZodOptional<z.ZodObject<{
468
+ action: z.ZodOptional<z.ZodEnum<["block", "audit"]>>;
469
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["name", "display_title", "description", "category", "frontmatter", "instructions", "imported_text", "file_name", "file_text"]>, "many">>;
470
+ starterPatterns: z.ZodOptional<z.ZodArray<z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>, "many">>;
471
+ customPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
472
+ id: z.ZodString;
473
+ label: z.ZodString;
474
+ regex: z.ZodEffects<z.ZodString, string, string>;
475
+ }, "strict", z.ZodTypeAny, {
476
+ id: string;
477
+ label: string;
478
+ regex: string;
479
+ }, {
480
+ id: string;
481
+ label: string;
482
+ regex: string;
483
+ }>, "many">>;
484
+ }, "strict", z.ZodTypeAny, {
485
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
486
+ fields?: ("name" | "description" | "instructions" | "category" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined;
487
+ action?: "block" | "audit" | undefined;
488
+ customPatterns?: {
489
+ id: string;
490
+ label: string;
491
+ regex: string;
492
+ }[] | undefined;
493
+ }, {
494
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
495
+ fields?: ("name" | "description" | "instructions" | "category" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined;
496
+ action?: "block" | "audit" | undefined;
497
+ customPatterns?: {
498
+ id: string;
499
+ label: string;
500
+ regex: string;
501
+ }[] | undefined;
502
+ }>>;
503
+ }, "strict", z.ZodTypeAny, {
504
+ pii?: {
505
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
506
+ fields?: ("name" | "description" | "instructions" | "category" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined;
507
+ action?: "block" | "audit" | undefined;
508
+ customPatterns?: {
509
+ id: string;
510
+ label: string;
511
+ regex: string;
512
+ }[] | undefined;
513
+ } | undefined;
514
+ }, {
515
+ pii?: {
516
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
517
+ fields?: ("name" | "description" | "instructions" | "category" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined;
518
+ action?: "block" | "audit" | undefined;
519
+ customPatterns?: {
520
+ id: string;
521
+ label: string;
522
+ regex: string;
523
+ }[] | undefined;
524
+ } | undefined;
525
+ }>>;
526
+ memories: z.ZodOptional<z.ZodObject<{
527
+ pii: z.ZodOptional<z.ZodObject<{
528
+ action: z.ZodOptional<z.ZodEnum<["block", "audit"]>>;
529
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["key", "value", "summary"]>, "many">>;
530
+ starterPatterns: z.ZodOptional<z.ZodArray<z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>, "many">>;
531
+ customPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
532
+ id: z.ZodString;
533
+ label: z.ZodString;
534
+ regex: z.ZodEffects<z.ZodString, string, string>;
535
+ }, "strict", z.ZodTypeAny, {
536
+ id: string;
537
+ label: string;
538
+ regex: string;
539
+ }, {
540
+ id: string;
541
+ label: string;
542
+ regex: string;
543
+ }>, "many">>;
544
+ }, "strict", z.ZodTypeAny, {
545
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
546
+ fields?: ("value" | "key" | "summary")[] | undefined;
547
+ action?: "block" | "audit" | undefined;
548
+ customPatterns?: {
549
+ id: string;
550
+ label: string;
551
+ regex: string;
552
+ }[] | undefined;
553
+ }, {
554
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
555
+ fields?: ("value" | "key" | "summary")[] | undefined;
556
+ action?: "block" | "audit" | undefined;
557
+ customPatterns?: {
558
+ id: string;
559
+ label: string;
560
+ regex: string;
561
+ }[] | undefined;
562
+ }>>;
563
+ }, "strict", z.ZodTypeAny, {
564
+ pii?: {
565
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
566
+ fields?: ("value" | "key" | "summary")[] | undefined;
567
+ action?: "block" | "audit" | undefined;
568
+ customPatterns?: {
569
+ id: string;
570
+ label: string;
571
+ regex: string;
572
+ }[] | undefined;
573
+ } | undefined;
574
+ }, {
575
+ pii?: {
576
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
577
+ fields?: ("value" | "key" | "summary")[] | undefined;
578
+ action?: "block" | "audit" | undefined;
579
+ customPatterns?: {
580
+ id: string;
581
+ label: string;
582
+ regex: string;
583
+ }[] | undefined;
584
+ } | undefined;
585
+ }>>;
586
+ files: z.ZodOptional<z.ZodObject<{
587
+ pii: z.ZodOptional<z.ZodObject<{
588
+ action: z.ZodOptional<z.ZodEnum<["block", "audit"]>>;
589
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["name", "content", "extracted_text", "transcript", "uri"]>, "many">>;
590
+ starterPatterns: z.ZodOptional<z.ZodArray<z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>, "many">>;
591
+ customPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
592
+ id: z.ZodString;
593
+ label: z.ZodString;
594
+ regex: z.ZodEffects<z.ZodString, string, string>;
595
+ }, "strict", z.ZodTypeAny, {
596
+ id: string;
597
+ label: string;
598
+ regex: string;
599
+ }, {
600
+ id: string;
601
+ label: string;
602
+ regex: string;
603
+ }>, "many">>;
604
+ } & {
605
+ uninspectable: z.ZodOptional<z.ZodEnum<["allow", "block"]>>;
606
+ }, "strict", z.ZodTypeAny, {
607
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
608
+ fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined;
609
+ action?: "block" | "audit" | undefined;
610
+ customPatterns?: {
611
+ id: string;
612
+ label: string;
613
+ regex: string;
614
+ }[] | undefined;
615
+ uninspectable?: "allow" | "block" | undefined;
616
+ }, {
617
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
618
+ fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined;
619
+ action?: "block" | "audit" | undefined;
620
+ customPatterns?: {
621
+ id: string;
622
+ label: string;
623
+ regex: string;
624
+ }[] | undefined;
625
+ uninspectable?: "allow" | "block" | undefined;
626
+ }>>;
627
+ }, "strict", z.ZodTypeAny, {
628
+ pii?: {
629
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
630
+ fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined;
631
+ action?: "block" | "audit" | undefined;
632
+ customPatterns?: {
633
+ id: string;
634
+ label: string;
635
+ regex: string;
636
+ }[] | undefined;
637
+ uninspectable?: "allow" | "block" | undefined;
638
+ } | undefined;
639
+ }, {
640
+ pii?: {
641
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
642
+ fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined;
643
+ action?: "block" | "audit" | undefined;
644
+ customPatterns?: {
645
+ id: string;
646
+ label: string;
647
+ regex: string;
648
+ }[] | undefined;
649
+ uninspectable?: "allow" | "block" | undefined;
650
+ } | undefined;
651
+ }>>;
652
+ toolArguments: z.ZodOptional<z.ZodObject<{
653
+ pii: z.ZodOptional<z.ZodObject<{
654
+ action: z.ZodOptional<z.ZodEnum<["block", "audit"]>>;
655
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["name", "arguments", "output"]>, "many">>;
656
+ starterPatterns: z.ZodOptional<z.ZodArray<z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>, "many">>;
657
+ customPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
658
+ id: z.ZodString;
659
+ label: z.ZodString;
660
+ regex: z.ZodEffects<z.ZodString, string, string>;
661
+ }, "strict", z.ZodTypeAny, {
662
+ id: string;
663
+ label: string;
664
+ regex: string;
665
+ }, {
666
+ id: string;
667
+ label: string;
668
+ regex: string;
669
+ }>, "many">>;
670
+ }, "strict", z.ZodTypeAny, {
671
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
672
+ fields?: ("name" | "output" | "arguments")[] | undefined;
673
+ action?: "block" | "audit" | undefined;
674
+ customPatterns?: {
675
+ id: string;
676
+ label: string;
677
+ regex: string;
678
+ }[] | undefined;
679
+ }, {
680
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
681
+ fields?: ("name" | "output" | "arguments")[] | undefined;
682
+ action?: "block" | "audit" | undefined;
683
+ customPatterns?: {
684
+ id: string;
685
+ label: string;
686
+ regex: string;
687
+ }[] | undefined;
688
+ }>>;
689
+ }, "strict", z.ZodTypeAny, {
690
+ pii?: {
691
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
692
+ fields?: ("name" | "output" | "arguments")[] | undefined;
693
+ action?: "block" | "audit" | undefined;
694
+ customPatterns?: {
695
+ id: string;
696
+ label: string;
697
+ regex: string;
698
+ }[] | undefined;
699
+ } | undefined;
700
+ }, {
701
+ pii?: {
702
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
703
+ fields?: ("name" | "output" | "arguments")[] | undefined;
704
+ action?: "block" | "audit" | undefined;
705
+ customPatterns?: {
706
+ id: string;
707
+ label: string;
708
+ regex: string;
709
+ }[] | undefined;
710
+ } | undefined;
711
+ }>>;
712
+ modelParameters: z.ZodOptional<z.ZodObject<{
713
+ pii: z.ZodOptional<z.ZodObject<{
714
+ action: z.ZodOptional<z.ZodEnum<["block", "audit"]>>;
715
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["stop", "request_fields", "response_format", "metadata"]>, "many">>;
716
+ starterPatterns: z.ZodOptional<z.ZodArray<z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>, "many">>;
717
+ customPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
718
+ id: z.ZodString;
719
+ label: z.ZodString;
720
+ regex: z.ZodEffects<z.ZodString, string, string>;
721
+ }, "strict", z.ZodTypeAny, {
722
+ id: string;
723
+ label: string;
724
+ regex: string;
725
+ }, {
726
+ id: string;
727
+ label: string;
728
+ regex: string;
729
+ }>, "many">>;
730
+ }, "strict", z.ZodTypeAny, {
731
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
732
+ fields?: ("stop" | "metadata" | "request_fields" | "response_format")[] | undefined;
733
+ action?: "block" | "audit" | undefined;
734
+ customPatterns?: {
735
+ id: string;
736
+ label: string;
737
+ regex: string;
738
+ }[] | undefined;
739
+ }, {
740
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
741
+ fields?: ("stop" | "metadata" | "request_fields" | "response_format")[] | undefined;
742
+ action?: "block" | "audit" | undefined;
743
+ customPatterns?: {
744
+ id: string;
745
+ label: string;
746
+ regex: string;
747
+ }[] | undefined;
748
+ }>>;
749
+ }, "strict", z.ZodTypeAny, {
750
+ pii?: {
751
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
752
+ fields?: ("stop" | "metadata" | "request_fields" | "response_format")[] | undefined;
753
+ action?: "block" | "audit" | undefined;
754
+ customPatterns?: {
755
+ id: string;
756
+ label: string;
757
+ regex: string;
758
+ }[] | undefined;
759
+ } | undefined;
760
+ }, {
761
+ pii?: {
762
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
763
+ fields?: ("stop" | "metadata" | "request_fields" | "response_format")[] | undefined;
764
+ action?: "block" | "audit" | undefined;
765
+ customPatterns?: {
766
+ id: string;
767
+ label: string;
768
+ regex: string;
769
+ }[] | undefined;
770
+ } | undefined;
771
+ }>>;
772
+ actionMetadata: z.ZodOptional<z.ZodObject<{
773
+ pii: z.ZodOptional<z.ZodObject<{
774
+ action: z.ZodOptional<z.ZodEnum<["block", "audit"]>>;
775
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["raw_spec", "domain", "privacy_policy_url", "authorization_type", "custom_auth_header", "authorization_content_type", "authorization_url", "client_url", "scope", "token_exchange_method", "api_key", "oauth_client_id", "oauth_client_secret"]>, "many">>;
776
+ starterPatterns: z.ZodOptional<z.ZodArray<z.ZodEnum<["sk_prefix", "bearer_header", "api_key_header"]>, "many">>;
777
+ customPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
778
+ id: z.ZodString;
779
+ label: z.ZodString;
780
+ regex: z.ZodEffects<z.ZodString, string, string>;
781
+ }, "strict", z.ZodTypeAny, {
782
+ id: string;
783
+ label: string;
784
+ regex: string;
785
+ }, {
786
+ id: string;
787
+ label: string;
788
+ regex: string;
789
+ }>, "many">>;
790
+ }, "strict", z.ZodTypeAny, {
791
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
792
+ fields?: ("raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "scope" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined;
793
+ action?: "block" | "audit" | undefined;
794
+ customPatterns?: {
795
+ id: string;
796
+ label: string;
797
+ regex: string;
798
+ }[] | undefined;
799
+ }, {
800
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
801
+ fields?: ("raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "scope" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined;
802
+ action?: "block" | "audit" | undefined;
803
+ customPatterns?: {
804
+ id: string;
805
+ label: string;
806
+ regex: string;
807
+ }[] | undefined;
808
+ }>>;
809
+ }, "strict", z.ZodTypeAny, {
810
+ pii?: {
811
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
812
+ fields?: ("raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "scope" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined;
813
+ action?: "block" | "audit" | undefined;
814
+ customPatterns?: {
815
+ id: string;
816
+ label: string;
817
+ regex: string;
818
+ }[] | undefined;
819
+ } | undefined;
820
+ }, {
821
+ pii?: {
822
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
823
+ fields?: ("raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "scope" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined;
824
+ action?: "block" | "audit" | undefined;
825
+ customPatterns?: {
826
+ id: string;
827
+ label: string;
828
+ regex: string;
829
+ }[] | undefined;
830
+ } | undefined;
831
+ }>>;
832
+ }, "strict", z.ZodTypeAny, {
833
+ messages?: {
834
+ pii?: {
835
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
836
+ fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined;
837
+ action?: "block" | "audit" | undefined;
838
+ customPatterns?: {
839
+ id: string;
840
+ label: string;
841
+ regex: string;
842
+ }[] | undefined;
843
+ } | undefined;
844
+ unattributedAssistantContent?: "model_output" | "inspect" | undefined;
845
+ } | undefined;
846
+ feedback?: {
847
+ pii?: {
848
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
849
+ fields?: "text"[] | undefined;
850
+ action?: "block" | "audit" | undefined;
851
+ customPatterns?: {
852
+ id: string;
853
+ label: string;
854
+ regex: string;
855
+ }[] | undefined;
856
+ } | undefined;
857
+ } | undefined;
858
+ prompts?: {
859
+ pii?: {
860
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
861
+ fields?: ("name" | "description" | "system" | "context" | "instructions" | "additional_instructions" | "greeting" | "text" | "command" | "oneliner" | "category" | "preset_text" | "example_input" | "example_output")[] | undefined;
862
+ action?: "block" | "audit" | undefined;
863
+ customPatterns?: {
864
+ id: string;
865
+ label: string;
866
+ regex: string;
867
+ }[] | undefined;
868
+ } | undefined;
869
+ } | undefined;
870
+ agentInstructions?: {
871
+ pii?: {
872
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
873
+ fields?: ("name" | "description" | "artifacts" | "instructions" | "additional_instructions" | "category" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined;
874
+ action?: "block" | "audit" | undefined;
875
+ customPatterns?: {
876
+ id: string;
877
+ label: string;
878
+ regex: string;
879
+ }[] | undefined;
880
+ } | undefined;
881
+ } | undefined;
882
+ conversationStarters?: {
883
+ pii?: {
884
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
885
+ fields?: "text"[] | undefined;
886
+ action?: "block" | "audit" | undefined;
887
+ customPatterns?: {
888
+ id: string;
889
+ label: string;
890
+ regex: string;
891
+ }[] | undefined;
892
+ } | undefined;
893
+ } | undefined;
894
+ conversationTitles?: {
895
+ pii?: {
896
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
897
+ fields?: "title"[] | undefined;
898
+ action?: "block" | "audit" | undefined;
899
+ customPatterns?: {
900
+ id: string;
901
+ label: string;
902
+ regex: string;
903
+ }[] | undefined;
904
+ } | undefined;
905
+ } | undefined;
906
+ skills?: {
907
+ pii?: {
908
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
909
+ fields?: ("name" | "description" | "instructions" | "category" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined;
910
+ action?: "block" | "audit" | undefined;
911
+ customPatterns?: {
912
+ id: string;
913
+ label: string;
914
+ regex: string;
915
+ }[] | undefined;
916
+ } | undefined;
917
+ } | undefined;
918
+ memories?: {
919
+ pii?: {
920
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
921
+ fields?: ("value" | "key" | "summary")[] | undefined;
922
+ action?: "block" | "audit" | undefined;
923
+ customPatterns?: {
924
+ id: string;
925
+ label: string;
926
+ regex: string;
927
+ }[] | undefined;
928
+ } | undefined;
929
+ } | undefined;
930
+ files?: {
931
+ pii?: {
932
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
933
+ fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined;
934
+ action?: "block" | "audit" | undefined;
935
+ customPatterns?: {
936
+ id: string;
937
+ label: string;
938
+ regex: string;
939
+ }[] | undefined;
940
+ uninspectable?: "allow" | "block" | undefined;
941
+ } | undefined;
942
+ } | undefined;
943
+ toolArguments?: {
944
+ pii?: {
945
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
946
+ fields?: ("name" | "output" | "arguments")[] | undefined;
947
+ action?: "block" | "audit" | undefined;
948
+ customPatterns?: {
949
+ id: string;
950
+ label: string;
951
+ regex: string;
952
+ }[] | undefined;
953
+ } | undefined;
954
+ } | undefined;
955
+ modelParameters?: {
956
+ pii?: {
957
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
958
+ fields?: ("stop" | "metadata" | "request_fields" | "response_format")[] | undefined;
959
+ action?: "block" | "audit" | undefined;
960
+ customPatterns?: {
961
+ id: string;
962
+ label: string;
963
+ regex: string;
964
+ }[] | undefined;
965
+ } | undefined;
966
+ } | undefined;
967
+ actionMetadata?: {
968
+ pii?: {
969
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
970
+ fields?: ("raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "scope" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined;
971
+ action?: "block" | "audit" | undefined;
972
+ customPatterns?: {
973
+ id: string;
974
+ label: string;
975
+ regex: string;
976
+ }[] | undefined;
977
+ } | undefined;
978
+ } | undefined;
979
+ }, {
980
+ messages?: {
981
+ pii?: {
982
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
983
+ fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined;
984
+ action?: "block" | "audit" | undefined;
985
+ customPatterns?: {
986
+ id: string;
987
+ label: string;
988
+ regex: string;
989
+ }[] | undefined;
990
+ } | undefined;
991
+ unattributedAssistantContent?: "model_output" | "inspect" | undefined;
992
+ } | undefined;
993
+ feedback?: {
994
+ pii?: {
995
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
996
+ fields?: "text"[] | undefined;
997
+ action?: "block" | "audit" | undefined;
998
+ customPatterns?: {
999
+ id: string;
1000
+ label: string;
1001
+ regex: string;
1002
+ }[] | undefined;
1003
+ } | undefined;
1004
+ } | undefined;
1005
+ prompts?: {
1006
+ pii?: {
1007
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1008
+ fields?: ("name" | "description" | "system" | "context" | "instructions" | "additional_instructions" | "greeting" | "text" | "command" | "oneliner" | "category" | "preset_text" | "example_input" | "example_output")[] | undefined;
1009
+ action?: "block" | "audit" | undefined;
1010
+ customPatterns?: {
1011
+ id: string;
1012
+ label: string;
1013
+ regex: string;
1014
+ }[] | undefined;
1015
+ } | undefined;
1016
+ } | undefined;
1017
+ agentInstructions?: {
1018
+ pii?: {
1019
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1020
+ fields?: ("name" | "description" | "artifacts" | "instructions" | "additional_instructions" | "category" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined;
1021
+ action?: "block" | "audit" | undefined;
1022
+ customPatterns?: {
1023
+ id: string;
1024
+ label: string;
1025
+ regex: string;
1026
+ }[] | undefined;
1027
+ } | undefined;
1028
+ } | undefined;
1029
+ conversationStarters?: {
1030
+ pii?: {
1031
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1032
+ fields?: "text"[] | undefined;
1033
+ action?: "block" | "audit" | undefined;
1034
+ customPatterns?: {
1035
+ id: string;
1036
+ label: string;
1037
+ regex: string;
1038
+ }[] | undefined;
1039
+ } | undefined;
1040
+ } | undefined;
1041
+ conversationTitles?: {
1042
+ pii?: {
1043
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1044
+ fields?: "title"[] | undefined;
1045
+ action?: "block" | "audit" | undefined;
1046
+ customPatterns?: {
1047
+ id: string;
1048
+ label: string;
1049
+ regex: string;
1050
+ }[] | undefined;
1051
+ } | undefined;
1052
+ } | undefined;
1053
+ skills?: {
1054
+ pii?: {
1055
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1056
+ fields?: ("name" | "description" | "instructions" | "category" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined;
1057
+ action?: "block" | "audit" | undefined;
1058
+ customPatterns?: {
1059
+ id: string;
1060
+ label: string;
1061
+ regex: string;
1062
+ }[] | undefined;
1063
+ } | undefined;
1064
+ } | undefined;
1065
+ memories?: {
1066
+ pii?: {
1067
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1068
+ fields?: ("value" | "key" | "summary")[] | undefined;
1069
+ action?: "block" | "audit" | undefined;
1070
+ customPatterns?: {
1071
+ id: string;
1072
+ label: string;
1073
+ regex: string;
1074
+ }[] | undefined;
1075
+ } | undefined;
1076
+ } | undefined;
1077
+ files?: {
1078
+ pii?: {
1079
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1080
+ fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined;
1081
+ action?: "block" | "audit" | undefined;
1082
+ customPatterns?: {
1083
+ id: string;
1084
+ label: string;
1085
+ regex: string;
1086
+ }[] | undefined;
1087
+ uninspectable?: "allow" | "block" | undefined;
1088
+ } | undefined;
1089
+ } | undefined;
1090
+ toolArguments?: {
1091
+ pii?: {
1092
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1093
+ fields?: ("name" | "output" | "arguments")[] | undefined;
1094
+ action?: "block" | "audit" | undefined;
1095
+ customPatterns?: {
1096
+ id: string;
1097
+ label: string;
1098
+ regex: string;
1099
+ }[] | undefined;
1100
+ } | undefined;
1101
+ } | undefined;
1102
+ modelParameters?: {
1103
+ pii?: {
1104
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1105
+ fields?: ("stop" | "metadata" | "request_fields" | "response_format")[] | undefined;
1106
+ action?: "block" | "audit" | undefined;
1107
+ customPatterns?: {
1108
+ id: string;
1109
+ label: string;
1110
+ regex: string;
1111
+ }[] | undefined;
1112
+ } | undefined;
1113
+ } | undefined;
1114
+ actionMetadata?: {
1115
+ pii?: {
1116
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1117
+ fields?: ("raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "scope" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined;
1118
+ action?: "block" | "audit" | undefined;
1119
+ customPatterns?: {
1120
+ id: string;
1121
+ label: string;
1122
+ regex: string;
1123
+ }[] | undefined;
1124
+ } | undefined;
1125
+ } | undefined;
1126
+ }>, {
1127
+ messages?: {
1128
+ pii?: {
1129
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1130
+ fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined;
1131
+ action?: "block" | "audit" | undefined;
1132
+ customPatterns?: {
1133
+ id: string;
1134
+ label: string;
1135
+ regex: string;
1136
+ }[] | undefined;
1137
+ } | undefined;
1138
+ unattributedAssistantContent?: "model_output" | "inspect" | undefined;
1139
+ } | undefined;
1140
+ feedback?: {
1141
+ pii?: {
1142
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1143
+ fields?: "text"[] | undefined;
1144
+ action?: "block" | "audit" | undefined;
1145
+ customPatterns?: {
1146
+ id: string;
1147
+ label: string;
1148
+ regex: string;
1149
+ }[] | undefined;
1150
+ } | undefined;
1151
+ } | undefined;
1152
+ prompts?: {
1153
+ pii?: {
1154
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1155
+ fields?: ("name" | "description" | "system" | "context" | "instructions" | "additional_instructions" | "greeting" | "text" | "command" | "oneliner" | "category" | "preset_text" | "example_input" | "example_output")[] | undefined;
1156
+ action?: "block" | "audit" | undefined;
1157
+ customPatterns?: {
1158
+ id: string;
1159
+ label: string;
1160
+ regex: string;
1161
+ }[] | undefined;
1162
+ } | undefined;
1163
+ } | undefined;
1164
+ agentInstructions?: {
1165
+ pii?: {
1166
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1167
+ fields?: ("name" | "description" | "artifacts" | "instructions" | "additional_instructions" | "category" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined;
1168
+ action?: "block" | "audit" | undefined;
1169
+ customPatterns?: {
1170
+ id: string;
1171
+ label: string;
1172
+ regex: string;
1173
+ }[] | undefined;
1174
+ } | undefined;
1175
+ } | undefined;
1176
+ conversationStarters?: {
1177
+ pii?: {
1178
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1179
+ fields?: "text"[] | undefined;
1180
+ action?: "block" | "audit" | undefined;
1181
+ customPatterns?: {
1182
+ id: string;
1183
+ label: string;
1184
+ regex: string;
1185
+ }[] | undefined;
1186
+ } | undefined;
1187
+ } | undefined;
1188
+ conversationTitles?: {
1189
+ pii?: {
1190
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1191
+ fields?: "title"[] | undefined;
1192
+ action?: "block" | "audit" | undefined;
1193
+ customPatterns?: {
1194
+ id: string;
1195
+ label: string;
1196
+ regex: string;
1197
+ }[] | undefined;
1198
+ } | undefined;
1199
+ } | undefined;
1200
+ skills?: {
1201
+ pii?: {
1202
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1203
+ fields?: ("name" | "description" | "instructions" | "category" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined;
1204
+ action?: "block" | "audit" | undefined;
1205
+ customPatterns?: {
1206
+ id: string;
1207
+ label: string;
1208
+ regex: string;
1209
+ }[] | undefined;
1210
+ } | undefined;
1211
+ } | undefined;
1212
+ memories?: {
1213
+ pii?: {
1214
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1215
+ fields?: ("value" | "key" | "summary")[] | undefined;
1216
+ action?: "block" | "audit" | undefined;
1217
+ customPatterns?: {
1218
+ id: string;
1219
+ label: string;
1220
+ regex: string;
1221
+ }[] | undefined;
1222
+ } | undefined;
1223
+ } | undefined;
1224
+ files?: {
1225
+ pii?: {
1226
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1227
+ fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined;
1228
+ action?: "block" | "audit" | undefined;
1229
+ customPatterns?: {
1230
+ id: string;
1231
+ label: string;
1232
+ regex: string;
1233
+ }[] | undefined;
1234
+ uninspectable?: "allow" | "block" | undefined;
1235
+ } | undefined;
1236
+ } | undefined;
1237
+ toolArguments?: {
1238
+ pii?: {
1239
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1240
+ fields?: ("name" | "output" | "arguments")[] | undefined;
1241
+ action?: "block" | "audit" | undefined;
1242
+ customPatterns?: {
1243
+ id: string;
1244
+ label: string;
1245
+ regex: string;
1246
+ }[] | undefined;
1247
+ } | undefined;
1248
+ } | undefined;
1249
+ modelParameters?: {
1250
+ pii?: {
1251
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1252
+ fields?: ("stop" | "metadata" | "request_fields" | "response_format")[] | undefined;
1253
+ action?: "block" | "audit" | undefined;
1254
+ customPatterns?: {
1255
+ id: string;
1256
+ label: string;
1257
+ regex: string;
1258
+ }[] | undefined;
1259
+ } | undefined;
1260
+ } | undefined;
1261
+ actionMetadata?: {
1262
+ pii?: {
1263
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1264
+ fields?: ("raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "scope" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined;
1265
+ action?: "block" | "audit" | undefined;
1266
+ customPatterns?: {
1267
+ id: string;
1268
+ label: string;
1269
+ regex: string;
1270
+ }[] | undefined;
1271
+ } | undefined;
1272
+ } | undefined;
1273
+ }, {
1274
+ messages?: {
1275
+ pii?: {
1276
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1277
+ fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined;
1278
+ action?: "block" | "audit" | undefined;
1279
+ customPatterns?: {
1280
+ id: string;
1281
+ label: string;
1282
+ regex: string;
1283
+ }[] | undefined;
1284
+ } | undefined;
1285
+ unattributedAssistantContent?: "model_output" | "inspect" | undefined;
1286
+ } | undefined;
1287
+ feedback?: {
1288
+ pii?: {
1289
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1290
+ fields?: "text"[] | undefined;
1291
+ action?: "block" | "audit" | undefined;
1292
+ customPatterns?: {
1293
+ id: string;
1294
+ label: string;
1295
+ regex: string;
1296
+ }[] | undefined;
1297
+ } | undefined;
1298
+ } | undefined;
1299
+ prompts?: {
1300
+ pii?: {
1301
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1302
+ fields?: ("name" | "description" | "system" | "context" | "instructions" | "additional_instructions" | "greeting" | "text" | "command" | "oneliner" | "category" | "preset_text" | "example_input" | "example_output")[] | undefined;
1303
+ action?: "block" | "audit" | undefined;
1304
+ customPatterns?: {
1305
+ id: string;
1306
+ label: string;
1307
+ regex: string;
1308
+ }[] | undefined;
1309
+ } | undefined;
1310
+ } | undefined;
1311
+ agentInstructions?: {
1312
+ pii?: {
1313
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1314
+ fields?: ("name" | "description" | "artifacts" | "instructions" | "additional_instructions" | "category" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined;
1315
+ action?: "block" | "audit" | undefined;
1316
+ customPatterns?: {
1317
+ id: string;
1318
+ label: string;
1319
+ regex: string;
1320
+ }[] | undefined;
1321
+ } | undefined;
1322
+ } | undefined;
1323
+ conversationStarters?: {
1324
+ pii?: {
1325
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1326
+ fields?: "text"[] | undefined;
1327
+ action?: "block" | "audit" | undefined;
1328
+ customPatterns?: {
1329
+ id: string;
1330
+ label: string;
1331
+ regex: string;
1332
+ }[] | undefined;
1333
+ } | undefined;
1334
+ } | undefined;
1335
+ conversationTitles?: {
1336
+ pii?: {
1337
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1338
+ fields?: "title"[] | undefined;
1339
+ action?: "block" | "audit" | undefined;
1340
+ customPatterns?: {
1341
+ id: string;
1342
+ label: string;
1343
+ regex: string;
1344
+ }[] | undefined;
1345
+ } | undefined;
1346
+ } | undefined;
1347
+ skills?: {
1348
+ pii?: {
1349
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1350
+ fields?: ("name" | "description" | "instructions" | "category" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined;
1351
+ action?: "block" | "audit" | undefined;
1352
+ customPatterns?: {
1353
+ id: string;
1354
+ label: string;
1355
+ regex: string;
1356
+ }[] | undefined;
1357
+ } | undefined;
1358
+ } | undefined;
1359
+ memories?: {
1360
+ pii?: {
1361
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1362
+ fields?: ("value" | "key" | "summary")[] | undefined;
1363
+ action?: "block" | "audit" | undefined;
1364
+ customPatterns?: {
1365
+ id: string;
1366
+ label: string;
1367
+ regex: string;
1368
+ }[] | undefined;
1369
+ } | undefined;
1370
+ } | undefined;
1371
+ files?: {
1372
+ pii?: {
1373
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1374
+ fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined;
1375
+ action?: "block" | "audit" | undefined;
1376
+ customPatterns?: {
1377
+ id: string;
1378
+ label: string;
1379
+ regex: string;
1380
+ }[] | undefined;
1381
+ uninspectable?: "allow" | "block" | undefined;
1382
+ } | undefined;
1383
+ } | undefined;
1384
+ toolArguments?: {
1385
+ pii?: {
1386
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1387
+ fields?: ("name" | "output" | "arguments")[] | undefined;
1388
+ action?: "block" | "audit" | undefined;
1389
+ customPatterns?: {
1390
+ id: string;
1391
+ label: string;
1392
+ regex: string;
1393
+ }[] | undefined;
1394
+ } | undefined;
1395
+ } | undefined;
1396
+ modelParameters?: {
1397
+ pii?: {
1398
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1399
+ fields?: ("stop" | "metadata" | "request_fields" | "response_format")[] | undefined;
1400
+ action?: "block" | "audit" | undefined;
1401
+ customPatterns?: {
1402
+ id: string;
1403
+ label: string;
1404
+ regex: string;
1405
+ }[] | undefined;
1406
+ } | undefined;
1407
+ } | undefined;
1408
+ actionMetadata?: {
1409
+ pii?: {
1410
+ starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined;
1411
+ fields?: ("raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "scope" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined;
1412
+ action?: "block" | "audit" | undefined;
1413
+ customPatterns?: {
1414
+ id: string;
1415
+ label: string;
1416
+ regex: string;
1417
+ }[] | undefined;
1418
+ } | undefined;
1419
+ } | undefined;
1420
+ }>;
1421
+ export type FiltersConfig = z.infer<typeof filtersConfigSchema>;
1422
+ export {};