promptopskit 0.3.9 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +91 -7
- package/SKILL.md +69 -6
- package/dist/{chunk-YNIAA4ZJ.js → chunk-F6UJ73Y6.js} +5 -3
- package/dist/chunk-F6UJ73Y6.js.map +1 -0
- package/dist/{chunk-O6RQZYS4.js → chunk-HLNVKKMS.js} +16 -5
- package/dist/chunk-HLNVKKMS.js.map +1 -0
- package/dist/{chunk-4LEPCCSA.js → chunk-JBLUPKY4.js} +144 -3
- package/dist/chunk-JBLUPKY4.js.map +1 -0
- package/dist/{chunk-LMURMZUA.js → chunk-L2V7LDKD.js} +5 -3
- package/dist/chunk-L2V7LDKD.js.map +1 -0
- package/dist/{chunk-AN3OR7YC.js → chunk-RY5DVTLV.js} +7 -5
- package/dist/chunk-RY5DVTLV.js.map +1 -0
- package/dist/chunk-UPTCSWK3.js +60 -0
- package/dist/chunk-UPTCSWK3.js.map +1 -0
- package/dist/{chunk-V7QY7MRM.js → chunk-XNNDGDPI.js} +50 -3
- package/dist/chunk-XNNDGDPI.js.map +1 -0
- package/dist/cli/index.js +356 -5
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +398 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +162 -10
- package/dist/index.js.map +1 -1
- package/dist/providers/anthropic.cjs +200 -5
- package/dist/providers/anthropic.cjs.map +1 -1
- package/dist/providers/anthropic.d.cts +2 -2
- package/dist/providers/anthropic.d.ts +2 -2
- package/dist/providers/anthropic.js +3 -3
- package/dist/providers/gemini.cjs +191 -5
- package/dist/providers/gemini.cjs.map +1 -1
- package/dist/providers/gemini.d.cts +2 -2
- package/dist/providers/gemini.d.ts +2 -2
- package/dist/providers/gemini.js +3 -3
- package/dist/providers/openai-responses.cjs +189 -3
- package/dist/providers/openai-responses.cjs.map +1 -1
- package/dist/providers/openai-responses.d.cts +2 -2
- package/dist/providers/openai-responses.d.ts +2 -2
- package/dist/providers/openai-responses.js +3 -3
- package/dist/providers/openai.cjs +189 -3
- package/dist/providers/openai.cjs.map +1 -1
- package/dist/providers/openai.d.cts +2 -2
- package/dist/providers/openai.d.ts +2 -2
- package/dist/providers/openai.js +3 -3
- package/dist/providers/openrouter.cjs +224 -6
- package/dist/providers/openrouter.cjs.map +1 -1
- package/dist/providers/openrouter.d.cts +2 -2
- package/dist/providers/openrouter.d.ts +2 -2
- package/dist/providers/openrouter.js +4 -4
- package/dist/{schema-BKkg93rL.d.cts → schema-B9A1zLRk.d.cts} +482 -2
- package/dist/{schema-BKkg93rL.d.ts → schema-B9A1zLRk.d.ts} +482 -2
- package/dist/testing.cjs +217 -4
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +59 -2
- package/dist/testing.d.ts +59 -2
- package/dist/testing.js +70 -2
- package/dist/testing.js.map +1 -1
- package/dist/{types-CsQ8tON_.d.ts → types-DjGAwJxC.d.ts} +1 -1
- package/dist/{types-7cC17GWp.d.cts → types-DpbzzZO2.d.cts} +1 -1
- package/dist/usagetap/index.d.cts +2 -2
- package/dist/usagetap/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/chunk-4LEPCCSA.js.map +0 -1
- package/dist/chunk-AN3OR7YC.js.map +0 -1
- package/dist/chunk-LMURMZUA.js.map +0 -1
- package/dist/chunk-O6RQZYS4.js.map +0 -1
- package/dist/chunk-V7QY7MRM.js.map +0 -1
- package/dist/chunk-YAD6COQX.js +0 -26
- package/dist/chunk-YAD6COQX.js.map +0 -1
- package/dist/chunk-YNIAA4ZJ.js.map +0 -1
|
@@ -40,18 +40,21 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
40
40
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
41
41
|
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42
42
|
schema_name: z.ZodOptional<z.ZodString>;
|
|
43
|
+
schema_description: z.ZodOptional<z.ZodString>;
|
|
43
44
|
schema_strict: z.ZodOptional<z.ZodBoolean>;
|
|
44
45
|
}, "strip", z.ZodTypeAny, {
|
|
45
46
|
format?: "text" | "json" | "markdown" | undefined;
|
|
46
47
|
stream?: boolean | undefined;
|
|
47
48
|
schema?: Record<string, unknown> | undefined;
|
|
48
49
|
schema_name?: string | undefined;
|
|
50
|
+
schema_description?: string | undefined;
|
|
49
51
|
schema_strict?: boolean | undefined;
|
|
50
52
|
}, {
|
|
51
53
|
format?: "text" | "json" | "markdown" | undefined;
|
|
52
54
|
stream?: boolean | undefined;
|
|
53
55
|
schema?: Record<string, unknown> | undefined;
|
|
54
56
|
schema_name?: string | undefined;
|
|
57
|
+
schema_description?: string | undefined;
|
|
55
58
|
schema_strict?: boolean | undefined;
|
|
56
59
|
}>>;
|
|
57
60
|
cache: z.ZodOptional<z.ZodObject<{
|
|
@@ -140,6 +143,31 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
140
143
|
cached_content?: string | undefined;
|
|
141
144
|
} | undefined;
|
|
142
145
|
}>>;
|
|
146
|
+
raw: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
148
|
+
'openai-responses': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
149
|
+
openai_responses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
150
|
+
anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
151
|
+
gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
152
|
+
google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
153
|
+
openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
openai?: Record<string, unknown> | undefined;
|
|
156
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
157
|
+
gemini?: Record<string, unknown> | undefined;
|
|
158
|
+
google?: Record<string, unknown> | undefined;
|
|
159
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
160
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
161
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
162
|
+
}, {
|
|
163
|
+
openai?: Record<string, unknown> | undefined;
|
|
164
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
165
|
+
gemini?: Record<string, unknown> | undefined;
|
|
166
|
+
google?: Record<string, unknown> | undefined;
|
|
167
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
168
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
169
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
170
|
+
}>>;
|
|
143
171
|
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
144
172
|
name: z.ZodString;
|
|
145
173
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -157,18 +185,22 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
157
185
|
anthropic: z.ZodOptional<z.ZodObject<{
|
|
158
186
|
top_k: z.ZodOptional<z.ZodNumber>;
|
|
159
187
|
tool_choice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
188
|
+
output_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
160
189
|
}, "strip", z.ZodTypeAny, {
|
|
161
190
|
top_k?: number | undefined;
|
|
162
191
|
tool_choice?: Record<string, unknown> | undefined;
|
|
192
|
+
output_config?: Record<string, unknown> | undefined;
|
|
163
193
|
}, {
|
|
164
194
|
top_k?: number | undefined;
|
|
165
195
|
tool_choice?: Record<string, unknown> | undefined;
|
|
196
|
+
output_config?: Record<string, unknown> | undefined;
|
|
166
197
|
}>>;
|
|
167
198
|
gemini: z.ZodOptional<z.ZodObject<{
|
|
168
199
|
candidate_count: z.ZodOptional<z.ZodNumber>;
|
|
169
200
|
top_k: z.ZodOptional<z.ZodNumber>;
|
|
170
201
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
171
202
|
response_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
203
|
+
response_json_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
172
204
|
response_modalities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
173
205
|
thinking_budget_tokens: z.ZodOptional<z.ZodNumber>;
|
|
174
206
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -176,6 +208,7 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
176
208
|
candidate_count?: number | undefined;
|
|
177
209
|
seed?: number | undefined;
|
|
178
210
|
response_schema?: Record<string, unknown> | undefined;
|
|
211
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
179
212
|
response_modalities?: string[] | undefined;
|
|
180
213
|
thinking_budget_tokens?: number | undefined;
|
|
181
214
|
}, {
|
|
@@ -183,35 +216,68 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
183
216
|
candidate_count?: number | undefined;
|
|
184
217
|
seed?: number | undefined;
|
|
185
218
|
response_schema?: Record<string, unknown> | undefined;
|
|
219
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
186
220
|
response_modalities?: string[] | undefined;
|
|
187
221
|
thinking_budget_tokens?: number | undefined;
|
|
188
222
|
}>>;
|
|
223
|
+
openrouter: z.ZodOptional<z.ZodObject<{
|
|
224
|
+
provider: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
225
|
+
transforms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
226
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
227
|
+
models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
provider?: Record<string, unknown> | undefined;
|
|
230
|
+
transforms?: string[] | undefined;
|
|
231
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
232
|
+
models?: string[] | undefined;
|
|
233
|
+
}, {
|
|
234
|
+
provider?: Record<string, unknown> | undefined;
|
|
235
|
+
transforms?: string[] | undefined;
|
|
236
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
237
|
+
models?: string[] | undefined;
|
|
238
|
+
}>>;
|
|
189
239
|
}, "strip", z.ZodTypeAny, {
|
|
190
240
|
anthropic?: {
|
|
191
241
|
top_k?: number | undefined;
|
|
192
242
|
tool_choice?: Record<string, unknown> | undefined;
|
|
243
|
+
output_config?: Record<string, unknown> | undefined;
|
|
193
244
|
} | undefined;
|
|
194
245
|
gemini?: {
|
|
195
246
|
top_k?: number | undefined;
|
|
196
247
|
candidate_count?: number | undefined;
|
|
197
248
|
seed?: number | undefined;
|
|
198
249
|
response_schema?: Record<string, unknown> | undefined;
|
|
250
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
199
251
|
response_modalities?: string[] | undefined;
|
|
200
252
|
thinking_budget_tokens?: number | undefined;
|
|
201
253
|
} | undefined;
|
|
254
|
+
openrouter?: {
|
|
255
|
+
provider?: Record<string, unknown> | undefined;
|
|
256
|
+
transforms?: string[] | undefined;
|
|
257
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
258
|
+
models?: string[] | undefined;
|
|
259
|
+
} | undefined;
|
|
202
260
|
}, {
|
|
203
261
|
anthropic?: {
|
|
204
262
|
top_k?: number | undefined;
|
|
205
263
|
tool_choice?: Record<string, unknown> | undefined;
|
|
264
|
+
output_config?: Record<string, unknown> | undefined;
|
|
206
265
|
} | undefined;
|
|
207
266
|
gemini?: {
|
|
208
267
|
top_k?: number | undefined;
|
|
209
268
|
candidate_count?: number | undefined;
|
|
210
269
|
seed?: number | undefined;
|
|
211
270
|
response_schema?: Record<string, unknown> | undefined;
|
|
271
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
212
272
|
response_modalities?: string[] | undefined;
|
|
213
273
|
thinking_budget_tokens?: number | undefined;
|
|
214
274
|
} | undefined;
|
|
275
|
+
openrouter?: {
|
|
276
|
+
provider?: Record<string, unknown> | undefined;
|
|
277
|
+
transforms?: string[] | undefined;
|
|
278
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
279
|
+
models?: string[] | undefined;
|
|
280
|
+
} | undefined;
|
|
215
281
|
}>>;
|
|
216
282
|
}, "strip", z.ZodTypeAny, {
|
|
217
283
|
model?: string | undefined;
|
|
@@ -233,6 +299,7 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
233
299
|
stream?: boolean | undefined;
|
|
234
300
|
schema?: Record<string, unknown> | undefined;
|
|
235
301
|
schema_name?: string | undefined;
|
|
302
|
+
schema_description?: string | undefined;
|
|
236
303
|
schema_strict?: boolean | undefined;
|
|
237
304
|
} | undefined;
|
|
238
305
|
cache?: {
|
|
@@ -255,6 +322,15 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
255
322
|
cached_content?: string | undefined;
|
|
256
323
|
} | undefined;
|
|
257
324
|
} | undefined;
|
|
325
|
+
raw?: {
|
|
326
|
+
openai?: Record<string, unknown> | undefined;
|
|
327
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
328
|
+
gemini?: Record<string, unknown> | undefined;
|
|
329
|
+
google?: Record<string, unknown> | undefined;
|
|
330
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
331
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
332
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
333
|
+
} | undefined;
|
|
258
334
|
tools?: (string | {
|
|
259
335
|
name: string;
|
|
260
336
|
description?: string | undefined;
|
|
@@ -264,15 +340,23 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
264
340
|
anthropic?: {
|
|
265
341
|
top_k?: number | undefined;
|
|
266
342
|
tool_choice?: Record<string, unknown> | undefined;
|
|
343
|
+
output_config?: Record<string, unknown> | undefined;
|
|
267
344
|
} | undefined;
|
|
268
345
|
gemini?: {
|
|
269
346
|
top_k?: number | undefined;
|
|
270
347
|
candidate_count?: number | undefined;
|
|
271
348
|
seed?: number | undefined;
|
|
272
349
|
response_schema?: Record<string, unknown> | undefined;
|
|
350
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
273
351
|
response_modalities?: string[] | undefined;
|
|
274
352
|
thinking_budget_tokens?: number | undefined;
|
|
275
353
|
} | undefined;
|
|
354
|
+
openrouter?: {
|
|
355
|
+
provider?: Record<string, unknown> | undefined;
|
|
356
|
+
transforms?: string[] | undefined;
|
|
357
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
358
|
+
models?: string[] | undefined;
|
|
359
|
+
} | undefined;
|
|
276
360
|
} | undefined;
|
|
277
361
|
}, {
|
|
278
362
|
model?: string | undefined;
|
|
@@ -294,6 +378,7 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
294
378
|
stream?: boolean | undefined;
|
|
295
379
|
schema?: Record<string, unknown> | undefined;
|
|
296
380
|
schema_name?: string | undefined;
|
|
381
|
+
schema_description?: string | undefined;
|
|
297
382
|
schema_strict?: boolean | undefined;
|
|
298
383
|
} | undefined;
|
|
299
384
|
cache?: {
|
|
@@ -316,6 +401,15 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
316
401
|
cached_content?: string | undefined;
|
|
317
402
|
} | undefined;
|
|
318
403
|
} | undefined;
|
|
404
|
+
raw?: {
|
|
405
|
+
openai?: Record<string, unknown> | undefined;
|
|
406
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
407
|
+
gemini?: Record<string, unknown> | undefined;
|
|
408
|
+
google?: Record<string, unknown> | undefined;
|
|
409
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
410
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
411
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
412
|
+
} | undefined;
|
|
319
413
|
tools?: (string | {
|
|
320
414
|
name: string;
|
|
321
415
|
description?: string | undefined;
|
|
@@ -325,15 +419,23 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
325
419
|
anthropic?: {
|
|
326
420
|
top_k?: number | undefined;
|
|
327
421
|
tool_choice?: Record<string, unknown> | undefined;
|
|
422
|
+
output_config?: Record<string, unknown> | undefined;
|
|
328
423
|
} | undefined;
|
|
329
424
|
gemini?: {
|
|
330
425
|
top_k?: number | undefined;
|
|
331
426
|
candidate_count?: number | undefined;
|
|
332
427
|
seed?: number | undefined;
|
|
333
428
|
response_schema?: Record<string, unknown> | undefined;
|
|
429
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
334
430
|
response_modalities?: string[] | undefined;
|
|
335
431
|
thinking_budget_tokens?: number | undefined;
|
|
336
432
|
} | undefined;
|
|
433
|
+
openrouter?: {
|
|
434
|
+
provider?: Record<string, unknown> | undefined;
|
|
435
|
+
transforms?: string[] | undefined;
|
|
436
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
437
|
+
models?: string[] | undefined;
|
|
438
|
+
} | undefined;
|
|
337
439
|
} | undefined;
|
|
338
440
|
}>;
|
|
339
441
|
type PromptAssetOverrides = z.infer<typeof PromptAssetOverridesSchema>;
|
|
@@ -381,18 +483,21 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
381
483
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
382
484
|
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
383
485
|
schema_name: z.ZodOptional<z.ZodString>;
|
|
486
|
+
schema_description: z.ZodOptional<z.ZodString>;
|
|
384
487
|
schema_strict: z.ZodOptional<z.ZodBoolean>;
|
|
385
488
|
}, "strip", z.ZodTypeAny, {
|
|
386
489
|
format?: "text" | "json" | "markdown" | undefined;
|
|
387
490
|
stream?: boolean | undefined;
|
|
388
491
|
schema?: Record<string, unknown> | undefined;
|
|
389
492
|
schema_name?: string | undefined;
|
|
493
|
+
schema_description?: string | undefined;
|
|
390
494
|
schema_strict?: boolean | undefined;
|
|
391
495
|
}, {
|
|
392
496
|
format?: "text" | "json" | "markdown" | undefined;
|
|
393
497
|
stream?: boolean | undefined;
|
|
394
498
|
schema?: Record<string, unknown> | undefined;
|
|
395
499
|
schema_name?: string | undefined;
|
|
500
|
+
schema_description?: string | undefined;
|
|
396
501
|
schema_strict?: boolean | undefined;
|
|
397
502
|
}>>;
|
|
398
503
|
cache: z.ZodOptional<z.ZodObject<{
|
|
@@ -481,6 +586,31 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
481
586
|
cached_content?: string | undefined;
|
|
482
587
|
} | undefined;
|
|
483
588
|
}>>;
|
|
589
|
+
raw: z.ZodOptional<z.ZodObject<{
|
|
590
|
+
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
591
|
+
'openai-responses': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
592
|
+
openai_responses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
593
|
+
anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
594
|
+
gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
595
|
+
google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
596
|
+
openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
597
|
+
}, "strip", z.ZodTypeAny, {
|
|
598
|
+
openai?: Record<string, unknown> | undefined;
|
|
599
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
600
|
+
gemini?: Record<string, unknown> | undefined;
|
|
601
|
+
google?: Record<string, unknown> | undefined;
|
|
602
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
603
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
604
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
605
|
+
}, {
|
|
606
|
+
openai?: Record<string, unknown> | undefined;
|
|
607
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
608
|
+
gemini?: Record<string, unknown> | undefined;
|
|
609
|
+
google?: Record<string, unknown> | undefined;
|
|
610
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
611
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
612
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
613
|
+
}>>;
|
|
484
614
|
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
485
615
|
name: z.ZodString;
|
|
486
616
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -498,18 +628,22 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
498
628
|
anthropic: z.ZodOptional<z.ZodObject<{
|
|
499
629
|
top_k: z.ZodOptional<z.ZodNumber>;
|
|
500
630
|
tool_choice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
631
|
+
output_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
501
632
|
}, "strip", z.ZodTypeAny, {
|
|
502
633
|
top_k?: number | undefined;
|
|
503
634
|
tool_choice?: Record<string, unknown> | undefined;
|
|
635
|
+
output_config?: Record<string, unknown> | undefined;
|
|
504
636
|
}, {
|
|
505
637
|
top_k?: number | undefined;
|
|
506
638
|
tool_choice?: Record<string, unknown> | undefined;
|
|
639
|
+
output_config?: Record<string, unknown> | undefined;
|
|
507
640
|
}>>;
|
|
508
641
|
gemini: z.ZodOptional<z.ZodObject<{
|
|
509
642
|
candidate_count: z.ZodOptional<z.ZodNumber>;
|
|
510
643
|
top_k: z.ZodOptional<z.ZodNumber>;
|
|
511
644
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
512
645
|
response_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
646
|
+
response_json_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
513
647
|
response_modalities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
514
648
|
thinking_budget_tokens: z.ZodOptional<z.ZodNumber>;
|
|
515
649
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -517,6 +651,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
517
651
|
candidate_count?: number | undefined;
|
|
518
652
|
seed?: number | undefined;
|
|
519
653
|
response_schema?: Record<string, unknown> | undefined;
|
|
654
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
520
655
|
response_modalities?: string[] | undefined;
|
|
521
656
|
thinking_budget_tokens?: number | undefined;
|
|
522
657
|
}, {
|
|
@@ -524,35 +659,68 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
524
659
|
candidate_count?: number | undefined;
|
|
525
660
|
seed?: number | undefined;
|
|
526
661
|
response_schema?: Record<string, unknown> | undefined;
|
|
662
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
527
663
|
response_modalities?: string[] | undefined;
|
|
528
664
|
thinking_budget_tokens?: number | undefined;
|
|
529
665
|
}>>;
|
|
666
|
+
openrouter: z.ZodOptional<z.ZodObject<{
|
|
667
|
+
provider: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
668
|
+
transforms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
669
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
670
|
+
models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
671
|
+
}, "strip", z.ZodTypeAny, {
|
|
672
|
+
provider?: Record<string, unknown> | undefined;
|
|
673
|
+
transforms?: string[] | undefined;
|
|
674
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
675
|
+
models?: string[] | undefined;
|
|
676
|
+
}, {
|
|
677
|
+
provider?: Record<string, unknown> | undefined;
|
|
678
|
+
transforms?: string[] | undefined;
|
|
679
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
680
|
+
models?: string[] | undefined;
|
|
681
|
+
}>>;
|
|
530
682
|
}, "strip", z.ZodTypeAny, {
|
|
531
683
|
anthropic?: {
|
|
532
684
|
top_k?: number | undefined;
|
|
533
685
|
tool_choice?: Record<string, unknown> | undefined;
|
|
686
|
+
output_config?: Record<string, unknown> | undefined;
|
|
534
687
|
} | undefined;
|
|
535
688
|
gemini?: {
|
|
536
689
|
top_k?: number | undefined;
|
|
537
690
|
candidate_count?: number | undefined;
|
|
538
691
|
seed?: number | undefined;
|
|
539
692
|
response_schema?: Record<string, unknown> | undefined;
|
|
693
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
540
694
|
response_modalities?: string[] | undefined;
|
|
541
695
|
thinking_budget_tokens?: number | undefined;
|
|
542
696
|
} | undefined;
|
|
697
|
+
openrouter?: {
|
|
698
|
+
provider?: Record<string, unknown> | undefined;
|
|
699
|
+
transforms?: string[] | undefined;
|
|
700
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
701
|
+
models?: string[] | undefined;
|
|
702
|
+
} | undefined;
|
|
543
703
|
}, {
|
|
544
704
|
anthropic?: {
|
|
545
705
|
top_k?: number | undefined;
|
|
546
706
|
tool_choice?: Record<string, unknown> | undefined;
|
|
707
|
+
output_config?: Record<string, unknown> | undefined;
|
|
547
708
|
} | undefined;
|
|
548
709
|
gemini?: {
|
|
549
710
|
top_k?: number | undefined;
|
|
550
711
|
candidate_count?: number | undefined;
|
|
551
712
|
seed?: number | undefined;
|
|
552
713
|
response_schema?: Record<string, unknown> | undefined;
|
|
714
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
553
715
|
response_modalities?: string[] | undefined;
|
|
554
716
|
thinking_budget_tokens?: number | undefined;
|
|
555
717
|
} | undefined;
|
|
718
|
+
openrouter?: {
|
|
719
|
+
provider?: Record<string, unknown> | undefined;
|
|
720
|
+
transforms?: string[] | undefined;
|
|
721
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
722
|
+
models?: string[] | undefined;
|
|
723
|
+
} | undefined;
|
|
556
724
|
}>>;
|
|
557
725
|
mcp: z.ZodOptional<z.ZodObject<{
|
|
558
726
|
servers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -761,18 +929,21 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
761
929
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
762
930
|
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
763
931
|
schema_name: z.ZodOptional<z.ZodString>;
|
|
932
|
+
schema_description: z.ZodOptional<z.ZodString>;
|
|
764
933
|
schema_strict: z.ZodOptional<z.ZodBoolean>;
|
|
765
934
|
}, "strip", z.ZodTypeAny, {
|
|
766
935
|
format?: "text" | "json" | "markdown" | undefined;
|
|
767
936
|
stream?: boolean | undefined;
|
|
768
937
|
schema?: Record<string, unknown> | undefined;
|
|
769
938
|
schema_name?: string | undefined;
|
|
939
|
+
schema_description?: string | undefined;
|
|
770
940
|
schema_strict?: boolean | undefined;
|
|
771
941
|
}, {
|
|
772
942
|
format?: "text" | "json" | "markdown" | undefined;
|
|
773
943
|
stream?: boolean | undefined;
|
|
774
944
|
schema?: Record<string, unknown> | undefined;
|
|
775
945
|
schema_name?: string | undefined;
|
|
946
|
+
schema_description?: string | undefined;
|
|
776
947
|
schema_strict?: boolean | undefined;
|
|
777
948
|
}>>;
|
|
778
949
|
cache: z.ZodOptional<z.ZodObject<{
|
|
@@ -861,6 +1032,31 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
861
1032
|
cached_content?: string | undefined;
|
|
862
1033
|
} | undefined;
|
|
863
1034
|
}>>;
|
|
1035
|
+
raw: z.ZodOptional<z.ZodObject<{
|
|
1036
|
+
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1037
|
+
'openai-responses': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1038
|
+
openai_responses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1039
|
+
anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1040
|
+
gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1041
|
+
google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1042
|
+
openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1043
|
+
}, "strip", z.ZodTypeAny, {
|
|
1044
|
+
openai?: Record<string, unknown> | undefined;
|
|
1045
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
1046
|
+
gemini?: Record<string, unknown> | undefined;
|
|
1047
|
+
google?: Record<string, unknown> | undefined;
|
|
1048
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1049
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
1050
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1051
|
+
}, {
|
|
1052
|
+
openai?: Record<string, unknown> | undefined;
|
|
1053
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
1054
|
+
gemini?: Record<string, unknown> | undefined;
|
|
1055
|
+
google?: Record<string, unknown> | undefined;
|
|
1056
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1057
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
1058
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1059
|
+
}>>;
|
|
864
1060
|
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
865
1061
|
name: z.ZodString;
|
|
866
1062
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -878,18 +1074,22 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
878
1074
|
anthropic: z.ZodOptional<z.ZodObject<{
|
|
879
1075
|
top_k: z.ZodOptional<z.ZodNumber>;
|
|
880
1076
|
tool_choice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1077
|
+
output_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
881
1078
|
}, "strip", z.ZodTypeAny, {
|
|
882
1079
|
top_k?: number | undefined;
|
|
883
1080
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1081
|
+
output_config?: Record<string, unknown> | undefined;
|
|
884
1082
|
}, {
|
|
885
1083
|
top_k?: number | undefined;
|
|
886
1084
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1085
|
+
output_config?: Record<string, unknown> | undefined;
|
|
887
1086
|
}>>;
|
|
888
1087
|
gemini: z.ZodOptional<z.ZodObject<{
|
|
889
1088
|
candidate_count: z.ZodOptional<z.ZodNumber>;
|
|
890
1089
|
top_k: z.ZodOptional<z.ZodNumber>;
|
|
891
1090
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
892
1091
|
response_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1092
|
+
response_json_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
893
1093
|
response_modalities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
894
1094
|
thinking_budget_tokens: z.ZodOptional<z.ZodNumber>;
|
|
895
1095
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -897,6 +1097,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
897
1097
|
candidate_count?: number | undefined;
|
|
898
1098
|
seed?: number | undefined;
|
|
899
1099
|
response_schema?: Record<string, unknown> | undefined;
|
|
1100
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
900
1101
|
response_modalities?: string[] | undefined;
|
|
901
1102
|
thinking_budget_tokens?: number | undefined;
|
|
902
1103
|
}, {
|
|
@@ -904,35 +1105,68 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
904
1105
|
candidate_count?: number | undefined;
|
|
905
1106
|
seed?: number | undefined;
|
|
906
1107
|
response_schema?: Record<string, unknown> | undefined;
|
|
1108
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
907
1109
|
response_modalities?: string[] | undefined;
|
|
908
1110
|
thinking_budget_tokens?: number | undefined;
|
|
909
1111
|
}>>;
|
|
1112
|
+
openrouter: z.ZodOptional<z.ZodObject<{
|
|
1113
|
+
provider: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1114
|
+
transforms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1115
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1116
|
+
models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1117
|
+
}, "strip", z.ZodTypeAny, {
|
|
1118
|
+
provider?: Record<string, unknown> | undefined;
|
|
1119
|
+
transforms?: string[] | undefined;
|
|
1120
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1121
|
+
models?: string[] | undefined;
|
|
1122
|
+
}, {
|
|
1123
|
+
provider?: Record<string, unknown> | undefined;
|
|
1124
|
+
transforms?: string[] | undefined;
|
|
1125
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1126
|
+
models?: string[] | undefined;
|
|
1127
|
+
}>>;
|
|
910
1128
|
}, "strip", z.ZodTypeAny, {
|
|
911
1129
|
anthropic?: {
|
|
912
1130
|
top_k?: number | undefined;
|
|
913
1131
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1132
|
+
output_config?: Record<string, unknown> | undefined;
|
|
914
1133
|
} | undefined;
|
|
915
1134
|
gemini?: {
|
|
916
1135
|
top_k?: number | undefined;
|
|
917
1136
|
candidate_count?: number | undefined;
|
|
918
1137
|
seed?: number | undefined;
|
|
919
1138
|
response_schema?: Record<string, unknown> | undefined;
|
|
1139
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
920
1140
|
response_modalities?: string[] | undefined;
|
|
921
1141
|
thinking_budget_tokens?: number | undefined;
|
|
922
1142
|
} | undefined;
|
|
1143
|
+
openrouter?: {
|
|
1144
|
+
provider?: Record<string, unknown> | undefined;
|
|
1145
|
+
transforms?: string[] | undefined;
|
|
1146
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1147
|
+
models?: string[] | undefined;
|
|
1148
|
+
} | undefined;
|
|
923
1149
|
}, {
|
|
924
1150
|
anthropic?: {
|
|
925
1151
|
top_k?: number | undefined;
|
|
926
1152
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1153
|
+
output_config?: Record<string, unknown> | undefined;
|
|
927
1154
|
} | undefined;
|
|
928
1155
|
gemini?: {
|
|
929
1156
|
top_k?: number | undefined;
|
|
930
1157
|
candidate_count?: number | undefined;
|
|
931
1158
|
seed?: number | undefined;
|
|
932
1159
|
response_schema?: Record<string, unknown> | undefined;
|
|
1160
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
933
1161
|
response_modalities?: string[] | undefined;
|
|
934
1162
|
thinking_budget_tokens?: number | undefined;
|
|
935
1163
|
} | undefined;
|
|
1164
|
+
openrouter?: {
|
|
1165
|
+
provider?: Record<string, unknown> | undefined;
|
|
1166
|
+
transforms?: string[] | undefined;
|
|
1167
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1168
|
+
models?: string[] | undefined;
|
|
1169
|
+
} | undefined;
|
|
936
1170
|
}>>;
|
|
937
1171
|
}, "strip", z.ZodTypeAny, {
|
|
938
1172
|
model?: string | undefined;
|
|
@@ -954,6 +1188,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
954
1188
|
stream?: boolean | undefined;
|
|
955
1189
|
schema?: Record<string, unknown> | undefined;
|
|
956
1190
|
schema_name?: string | undefined;
|
|
1191
|
+
schema_description?: string | undefined;
|
|
957
1192
|
schema_strict?: boolean | undefined;
|
|
958
1193
|
} | undefined;
|
|
959
1194
|
cache?: {
|
|
@@ -976,6 +1211,15 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
976
1211
|
cached_content?: string | undefined;
|
|
977
1212
|
} | undefined;
|
|
978
1213
|
} | undefined;
|
|
1214
|
+
raw?: {
|
|
1215
|
+
openai?: Record<string, unknown> | undefined;
|
|
1216
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
1217
|
+
gemini?: Record<string, unknown> | undefined;
|
|
1218
|
+
google?: Record<string, unknown> | undefined;
|
|
1219
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1220
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
1221
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1222
|
+
} | undefined;
|
|
979
1223
|
tools?: (string | {
|
|
980
1224
|
name: string;
|
|
981
1225
|
description?: string | undefined;
|
|
@@ -985,15 +1229,23 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
985
1229
|
anthropic?: {
|
|
986
1230
|
top_k?: number | undefined;
|
|
987
1231
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1232
|
+
output_config?: Record<string, unknown> | undefined;
|
|
988
1233
|
} | undefined;
|
|
989
1234
|
gemini?: {
|
|
990
1235
|
top_k?: number | undefined;
|
|
991
1236
|
candidate_count?: number | undefined;
|
|
992
1237
|
seed?: number | undefined;
|
|
993
1238
|
response_schema?: Record<string, unknown> | undefined;
|
|
1239
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
994
1240
|
response_modalities?: string[] | undefined;
|
|
995
1241
|
thinking_budget_tokens?: number | undefined;
|
|
996
1242
|
} | undefined;
|
|
1243
|
+
openrouter?: {
|
|
1244
|
+
provider?: Record<string, unknown> | undefined;
|
|
1245
|
+
transforms?: string[] | undefined;
|
|
1246
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1247
|
+
models?: string[] | undefined;
|
|
1248
|
+
} | undefined;
|
|
997
1249
|
} | undefined;
|
|
998
1250
|
}, {
|
|
999
1251
|
model?: string | undefined;
|
|
@@ -1015,6 +1267,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1015
1267
|
stream?: boolean | undefined;
|
|
1016
1268
|
schema?: Record<string, unknown> | undefined;
|
|
1017
1269
|
schema_name?: string | undefined;
|
|
1270
|
+
schema_description?: string | undefined;
|
|
1018
1271
|
schema_strict?: boolean | undefined;
|
|
1019
1272
|
} | undefined;
|
|
1020
1273
|
cache?: {
|
|
@@ -1037,6 +1290,15 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1037
1290
|
cached_content?: string | undefined;
|
|
1038
1291
|
} | undefined;
|
|
1039
1292
|
} | undefined;
|
|
1293
|
+
raw?: {
|
|
1294
|
+
openai?: Record<string, unknown> | undefined;
|
|
1295
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
1296
|
+
gemini?: Record<string, unknown> | undefined;
|
|
1297
|
+
google?: Record<string, unknown> | undefined;
|
|
1298
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1299
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
1300
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1301
|
+
} | undefined;
|
|
1040
1302
|
tools?: (string | {
|
|
1041
1303
|
name: string;
|
|
1042
1304
|
description?: string | undefined;
|
|
@@ -1046,15 +1308,23 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1046
1308
|
anthropic?: {
|
|
1047
1309
|
top_k?: number | undefined;
|
|
1048
1310
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1311
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1049
1312
|
} | undefined;
|
|
1050
1313
|
gemini?: {
|
|
1051
1314
|
top_k?: number | undefined;
|
|
1052
1315
|
candidate_count?: number | undefined;
|
|
1053
1316
|
seed?: number | undefined;
|
|
1054
1317
|
response_schema?: Record<string, unknown> | undefined;
|
|
1318
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1055
1319
|
response_modalities?: string[] | undefined;
|
|
1056
1320
|
thinking_budget_tokens?: number | undefined;
|
|
1057
1321
|
} | undefined;
|
|
1322
|
+
openrouter?: {
|
|
1323
|
+
provider?: Record<string, unknown> | undefined;
|
|
1324
|
+
transforms?: string[] | undefined;
|
|
1325
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1326
|
+
models?: string[] | undefined;
|
|
1327
|
+
} | undefined;
|
|
1058
1328
|
} | undefined;
|
|
1059
1329
|
}>>>;
|
|
1060
1330
|
tiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1097,18 +1367,21 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1097
1367
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
1098
1368
|
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1099
1369
|
schema_name: z.ZodOptional<z.ZodString>;
|
|
1370
|
+
schema_description: z.ZodOptional<z.ZodString>;
|
|
1100
1371
|
schema_strict: z.ZodOptional<z.ZodBoolean>;
|
|
1101
1372
|
}, "strip", z.ZodTypeAny, {
|
|
1102
1373
|
format?: "text" | "json" | "markdown" | undefined;
|
|
1103
1374
|
stream?: boolean | undefined;
|
|
1104
1375
|
schema?: Record<string, unknown> | undefined;
|
|
1105
1376
|
schema_name?: string | undefined;
|
|
1377
|
+
schema_description?: string | undefined;
|
|
1106
1378
|
schema_strict?: boolean | undefined;
|
|
1107
1379
|
}, {
|
|
1108
1380
|
format?: "text" | "json" | "markdown" | undefined;
|
|
1109
1381
|
stream?: boolean | undefined;
|
|
1110
1382
|
schema?: Record<string, unknown> | undefined;
|
|
1111
1383
|
schema_name?: string | undefined;
|
|
1384
|
+
schema_description?: string | undefined;
|
|
1112
1385
|
schema_strict?: boolean | undefined;
|
|
1113
1386
|
}>>;
|
|
1114
1387
|
cache: z.ZodOptional<z.ZodObject<{
|
|
@@ -1197,6 +1470,31 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1197
1470
|
cached_content?: string | undefined;
|
|
1198
1471
|
} | undefined;
|
|
1199
1472
|
}>>;
|
|
1473
|
+
raw: z.ZodOptional<z.ZodObject<{
|
|
1474
|
+
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1475
|
+
'openai-responses': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1476
|
+
openai_responses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1477
|
+
anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1478
|
+
gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1479
|
+
google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1480
|
+
openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1481
|
+
}, "strip", z.ZodTypeAny, {
|
|
1482
|
+
openai?: Record<string, unknown> | undefined;
|
|
1483
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
1484
|
+
gemini?: Record<string, unknown> | undefined;
|
|
1485
|
+
google?: Record<string, unknown> | undefined;
|
|
1486
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1487
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
1488
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1489
|
+
}, {
|
|
1490
|
+
openai?: Record<string, unknown> | undefined;
|
|
1491
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
1492
|
+
gemini?: Record<string, unknown> | undefined;
|
|
1493
|
+
google?: Record<string, unknown> | undefined;
|
|
1494
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1495
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
1496
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1497
|
+
}>>;
|
|
1200
1498
|
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1201
1499
|
name: z.ZodString;
|
|
1202
1500
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1214,18 +1512,22 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1214
1512
|
anthropic: z.ZodOptional<z.ZodObject<{
|
|
1215
1513
|
top_k: z.ZodOptional<z.ZodNumber>;
|
|
1216
1514
|
tool_choice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1515
|
+
output_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1217
1516
|
}, "strip", z.ZodTypeAny, {
|
|
1218
1517
|
top_k?: number | undefined;
|
|
1219
1518
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1519
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1220
1520
|
}, {
|
|
1221
1521
|
top_k?: number | undefined;
|
|
1222
1522
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1523
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1223
1524
|
}>>;
|
|
1224
1525
|
gemini: z.ZodOptional<z.ZodObject<{
|
|
1225
1526
|
candidate_count: z.ZodOptional<z.ZodNumber>;
|
|
1226
1527
|
top_k: z.ZodOptional<z.ZodNumber>;
|
|
1227
1528
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1228
1529
|
response_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1530
|
+
response_json_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1229
1531
|
response_modalities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1230
1532
|
thinking_budget_tokens: z.ZodOptional<z.ZodNumber>;
|
|
1231
1533
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1233,6 +1535,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1233
1535
|
candidate_count?: number | undefined;
|
|
1234
1536
|
seed?: number | undefined;
|
|
1235
1537
|
response_schema?: Record<string, unknown> | undefined;
|
|
1538
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1236
1539
|
response_modalities?: string[] | undefined;
|
|
1237
1540
|
thinking_budget_tokens?: number | undefined;
|
|
1238
1541
|
}, {
|
|
@@ -1240,35 +1543,68 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1240
1543
|
candidate_count?: number | undefined;
|
|
1241
1544
|
seed?: number | undefined;
|
|
1242
1545
|
response_schema?: Record<string, unknown> | undefined;
|
|
1546
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1243
1547
|
response_modalities?: string[] | undefined;
|
|
1244
1548
|
thinking_budget_tokens?: number | undefined;
|
|
1245
1549
|
}>>;
|
|
1550
|
+
openrouter: z.ZodOptional<z.ZodObject<{
|
|
1551
|
+
provider: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1552
|
+
transforms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1553
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1554
|
+
models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1555
|
+
}, "strip", z.ZodTypeAny, {
|
|
1556
|
+
provider?: Record<string, unknown> | undefined;
|
|
1557
|
+
transforms?: string[] | undefined;
|
|
1558
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1559
|
+
models?: string[] | undefined;
|
|
1560
|
+
}, {
|
|
1561
|
+
provider?: Record<string, unknown> | undefined;
|
|
1562
|
+
transforms?: string[] | undefined;
|
|
1563
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1564
|
+
models?: string[] | undefined;
|
|
1565
|
+
}>>;
|
|
1246
1566
|
}, "strip", z.ZodTypeAny, {
|
|
1247
1567
|
anthropic?: {
|
|
1248
1568
|
top_k?: number | undefined;
|
|
1249
1569
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1570
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1250
1571
|
} | undefined;
|
|
1251
1572
|
gemini?: {
|
|
1252
1573
|
top_k?: number | undefined;
|
|
1253
1574
|
candidate_count?: number | undefined;
|
|
1254
1575
|
seed?: number | undefined;
|
|
1255
1576
|
response_schema?: Record<string, unknown> | undefined;
|
|
1577
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1256
1578
|
response_modalities?: string[] | undefined;
|
|
1257
1579
|
thinking_budget_tokens?: number | undefined;
|
|
1258
1580
|
} | undefined;
|
|
1581
|
+
openrouter?: {
|
|
1582
|
+
provider?: Record<string, unknown> | undefined;
|
|
1583
|
+
transforms?: string[] | undefined;
|
|
1584
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1585
|
+
models?: string[] | undefined;
|
|
1586
|
+
} | undefined;
|
|
1259
1587
|
}, {
|
|
1260
1588
|
anthropic?: {
|
|
1261
1589
|
top_k?: number | undefined;
|
|
1262
1590
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1591
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1263
1592
|
} | undefined;
|
|
1264
1593
|
gemini?: {
|
|
1265
1594
|
top_k?: number | undefined;
|
|
1266
1595
|
candidate_count?: number | undefined;
|
|
1267
1596
|
seed?: number | undefined;
|
|
1268
1597
|
response_schema?: Record<string, unknown> | undefined;
|
|
1598
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1269
1599
|
response_modalities?: string[] | undefined;
|
|
1270
1600
|
thinking_budget_tokens?: number | undefined;
|
|
1271
1601
|
} | undefined;
|
|
1602
|
+
openrouter?: {
|
|
1603
|
+
provider?: Record<string, unknown> | undefined;
|
|
1604
|
+
transforms?: string[] | undefined;
|
|
1605
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1606
|
+
models?: string[] | undefined;
|
|
1607
|
+
} | undefined;
|
|
1272
1608
|
}>>;
|
|
1273
1609
|
}, "strip", z.ZodTypeAny, {
|
|
1274
1610
|
model?: string | undefined;
|
|
@@ -1290,6 +1626,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1290
1626
|
stream?: boolean | undefined;
|
|
1291
1627
|
schema?: Record<string, unknown> | undefined;
|
|
1292
1628
|
schema_name?: string | undefined;
|
|
1629
|
+
schema_description?: string | undefined;
|
|
1293
1630
|
schema_strict?: boolean | undefined;
|
|
1294
1631
|
} | undefined;
|
|
1295
1632
|
cache?: {
|
|
@@ -1312,6 +1649,15 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1312
1649
|
cached_content?: string | undefined;
|
|
1313
1650
|
} | undefined;
|
|
1314
1651
|
} | undefined;
|
|
1652
|
+
raw?: {
|
|
1653
|
+
openai?: Record<string, unknown> | undefined;
|
|
1654
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
1655
|
+
gemini?: Record<string, unknown> | undefined;
|
|
1656
|
+
google?: Record<string, unknown> | undefined;
|
|
1657
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1658
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
1659
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1660
|
+
} | undefined;
|
|
1315
1661
|
tools?: (string | {
|
|
1316
1662
|
name: string;
|
|
1317
1663
|
description?: string | undefined;
|
|
@@ -1321,15 +1667,23 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1321
1667
|
anthropic?: {
|
|
1322
1668
|
top_k?: number | undefined;
|
|
1323
1669
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1670
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1324
1671
|
} | undefined;
|
|
1325
1672
|
gemini?: {
|
|
1326
1673
|
top_k?: number | undefined;
|
|
1327
1674
|
candidate_count?: number | undefined;
|
|
1328
1675
|
seed?: number | undefined;
|
|
1329
1676
|
response_schema?: Record<string, unknown> | undefined;
|
|
1677
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1330
1678
|
response_modalities?: string[] | undefined;
|
|
1331
1679
|
thinking_budget_tokens?: number | undefined;
|
|
1332
1680
|
} | undefined;
|
|
1681
|
+
openrouter?: {
|
|
1682
|
+
provider?: Record<string, unknown> | undefined;
|
|
1683
|
+
transforms?: string[] | undefined;
|
|
1684
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1685
|
+
models?: string[] | undefined;
|
|
1686
|
+
} | undefined;
|
|
1333
1687
|
} | undefined;
|
|
1334
1688
|
}, {
|
|
1335
1689
|
model?: string | undefined;
|
|
@@ -1351,6 +1705,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1351
1705
|
stream?: boolean | undefined;
|
|
1352
1706
|
schema?: Record<string, unknown> | undefined;
|
|
1353
1707
|
schema_name?: string | undefined;
|
|
1708
|
+
schema_description?: string | undefined;
|
|
1354
1709
|
schema_strict?: boolean | undefined;
|
|
1355
1710
|
} | undefined;
|
|
1356
1711
|
cache?: {
|
|
@@ -1373,6 +1728,15 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1373
1728
|
cached_content?: string | undefined;
|
|
1374
1729
|
} | undefined;
|
|
1375
1730
|
} | undefined;
|
|
1731
|
+
raw?: {
|
|
1732
|
+
openai?: Record<string, unknown> | undefined;
|
|
1733
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
1734
|
+
gemini?: Record<string, unknown> | undefined;
|
|
1735
|
+
google?: Record<string, unknown> | undefined;
|
|
1736
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1737
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
1738
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1739
|
+
} | undefined;
|
|
1376
1740
|
tools?: (string | {
|
|
1377
1741
|
name: string;
|
|
1378
1742
|
description?: string | undefined;
|
|
@@ -1382,15 +1746,23 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1382
1746
|
anthropic?: {
|
|
1383
1747
|
top_k?: number | undefined;
|
|
1384
1748
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1749
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1385
1750
|
} | undefined;
|
|
1386
1751
|
gemini?: {
|
|
1387
1752
|
top_k?: number | undefined;
|
|
1388
1753
|
candidate_count?: number | undefined;
|
|
1389
1754
|
seed?: number | undefined;
|
|
1390
1755
|
response_schema?: Record<string, unknown> | undefined;
|
|
1756
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1391
1757
|
response_modalities?: string[] | undefined;
|
|
1392
1758
|
thinking_budget_tokens?: number | undefined;
|
|
1393
1759
|
} | undefined;
|
|
1760
|
+
openrouter?: {
|
|
1761
|
+
provider?: Record<string, unknown> | undefined;
|
|
1762
|
+
transforms?: string[] | undefined;
|
|
1763
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1764
|
+
models?: string[] | undefined;
|
|
1765
|
+
} | undefined;
|
|
1394
1766
|
} | undefined;
|
|
1395
1767
|
}>>>;
|
|
1396
1768
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -1455,6 +1827,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1455
1827
|
stream?: boolean | undefined;
|
|
1456
1828
|
schema?: Record<string, unknown> | undefined;
|
|
1457
1829
|
schema_name?: string | undefined;
|
|
1830
|
+
schema_description?: string | undefined;
|
|
1458
1831
|
schema_strict?: boolean | undefined;
|
|
1459
1832
|
} | undefined;
|
|
1460
1833
|
cache?: {
|
|
@@ -1477,31 +1850,48 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1477
1850
|
cached_content?: string | undefined;
|
|
1478
1851
|
} | undefined;
|
|
1479
1852
|
} | undefined;
|
|
1853
|
+
raw?: {
|
|
1854
|
+
openai?: Record<string, unknown> | undefined;
|
|
1855
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
1856
|
+
gemini?: Record<string, unknown> | undefined;
|
|
1857
|
+
google?: Record<string, unknown> | undefined;
|
|
1858
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1859
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
1860
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1861
|
+
} | undefined;
|
|
1480
1862
|
description?: string | undefined;
|
|
1481
1863
|
tools?: (string | {
|
|
1482
1864
|
name: string;
|
|
1483
1865
|
description?: string | undefined;
|
|
1484
1866
|
input_schema?: Record<string, unknown> | undefined;
|
|
1485
1867
|
})[] | undefined;
|
|
1868
|
+
provider?: "openai" | "anthropic" | "gemini" | "google" | "openai-responses" | "openrouter" | "any" | undefined;
|
|
1486
1869
|
provider_options?: {
|
|
1487
1870
|
anthropic?: {
|
|
1488
1871
|
top_k?: number | undefined;
|
|
1489
1872
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1873
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1490
1874
|
} | undefined;
|
|
1491
1875
|
gemini?: {
|
|
1492
1876
|
top_k?: number | undefined;
|
|
1493
1877
|
candidate_count?: number | undefined;
|
|
1494
1878
|
seed?: number | undefined;
|
|
1495
1879
|
response_schema?: Record<string, unknown> | undefined;
|
|
1880
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1496
1881
|
response_modalities?: string[] | undefined;
|
|
1497
1882
|
thinking_budget_tokens?: number | undefined;
|
|
1498
1883
|
} | undefined;
|
|
1884
|
+
openrouter?: {
|
|
1885
|
+
provider?: Record<string, unknown> | undefined;
|
|
1886
|
+
transforms?: string[] | undefined;
|
|
1887
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
1888
|
+
models?: string[] | undefined;
|
|
1889
|
+
} | undefined;
|
|
1499
1890
|
} | undefined;
|
|
1500
1891
|
source?: {
|
|
1501
1892
|
file_path?: string | undefined;
|
|
1502
1893
|
checksum?: string | undefined;
|
|
1503
1894
|
} | undefined;
|
|
1504
|
-
provider?: "openai" | "anthropic" | "gemini" | "google" | "openai-responses" | "openrouter" | "any" | undefined;
|
|
1505
1895
|
mcp?: {
|
|
1506
1896
|
servers?: (string | {
|
|
1507
1897
|
name: string;
|
|
@@ -1554,6 +1944,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1554
1944
|
stream?: boolean | undefined;
|
|
1555
1945
|
schema?: Record<string, unknown> | undefined;
|
|
1556
1946
|
schema_name?: string | undefined;
|
|
1947
|
+
schema_description?: string | undefined;
|
|
1557
1948
|
schema_strict?: boolean | undefined;
|
|
1558
1949
|
} | undefined;
|
|
1559
1950
|
cache?: {
|
|
@@ -1576,6 +1967,15 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1576
1967
|
cached_content?: string | undefined;
|
|
1577
1968
|
} | undefined;
|
|
1578
1969
|
} | undefined;
|
|
1970
|
+
raw?: {
|
|
1971
|
+
openai?: Record<string, unknown> | undefined;
|
|
1972
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
1973
|
+
gemini?: Record<string, unknown> | undefined;
|
|
1974
|
+
google?: Record<string, unknown> | undefined;
|
|
1975
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1976
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
1977
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1978
|
+
} | undefined;
|
|
1579
1979
|
tools?: (string | {
|
|
1580
1980
|
name: string;
|
|
1581
1981
|
description?: string | undefined;
|
|
@@ -1585,15 +1985,23 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1585
1985
|
anthropic?: {
|
|
1586
1986
|
top_k?: number | undefined;
|
|
1587
1987
|
tool_choice?: Record<string, unknown> | undefined;
|
|
1988
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1588
1989
|
} | undefined;
|
|
1589
1990
|
gemini?: {
|
|
1590
1991
|
top_k?: number | undefined;
|
|
1591
1992
|
candidate_count?: number | undefined;
|
|
1592
1993
|
seed?: number | undefined;
|
|
1593
1994
|
response_schema?: Record<string, unknown> | undefined;
|
|
1995
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1594
1996
|
response_modalities?: string[] | undefined;
|
|
1595
1997
|
thinking_budget_tokens?: number | undefined;
|
|
1596
1998
|
} | undefined;
|
|
1999
|
+
openrouter?: {
|
|
2000
|
+
provider?: Record<string, unknown> | undefined;
|
|
2001
|
+
transforms?: string[] | undefined;
|
|
2002
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
2003
|
+
models?: string[] | undefined;
|
|
2004
|
+
} | undefined;
|
|
1597
2005
|
} | undefined;
|
|
1598
2006
|
}> | undefined;
|
|
1599
2007
|
tiers?: Record<string, {
|
|
@@ -1616,6 +2024,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1616
2024
|
stream?: boolean | undefined;
|
|
1617
2025
|
schema?: Record<string, unknown> | undefined;
|
|
1618
2026
|
schema_name?: string | undefined;
|
|
2027
|
+
schema_description?: string | undefined;
|
|
1619
2028
|
schema_strict?: boolean | undefined;
|
|
1620
2029
|
} | undefined;
|
|
1621
2030
|
cache?: {
|
|
@@ -1638,6 +2047,15 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1638
2047
|
cached_content?: string | undefined;
|
|
1639
2048
|
} | undefined;
|
|
1640
2049
|
} | undefined;
|
|
2050
|
+
raw?: {
|
|
2051
|
+
openai?: Record<string, unknown> | undefined;
|
|
2052
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
2053
|
+
gemini?: Record<string, unknown> | undefined;
|
|
2054
|
+
google?: Record<string, unknown> | undefined;
|
|
2055
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
2056
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
2057
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
2058
|
+
} | undefined;
|
|
1641
2059
|
tools?: (string | {
|
|
1642
2060
|
name: string;
|
|
1643
2061
|
description?: string | undefined;
|
|
@@ -1647,15 +2065,23 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1647
2065
|
anthropic?: {
|
|
1648
2066
|
top_k?: number | undefined;
|
|
1649
2067
|
tool_choice?: Record<string, unknown> | undefined;
|
|
2068
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1650
2069
|
} | undefined;
|
|
1651
2070
|
gemini?: {
|
|
1652
2071
|
top_k?: number | undefined;
|
|
1653
2072
|
candidate_count?: number | undefined;
|
|
1654
2073
|
seed?: number | undefined;
|
|
1655
2074
|
response_schema?: Record<string, unknown> | undefined;
|
|
2075
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1656
2076
|
response_modalities?: string[] | undefined;
|
|
1657
2077
|
thinking_budget_tokens?: number | undefined;
|
|
1658
2078
|
} | undefined;
|
|
2079
|
+
openrouter?: {
|
|
2080
|
+
provider?: Record<string, unknown> | undefined;
|
|
2081
|
+
transforms?: string[] | undefined;
|
|
2082
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
2083
|
+
models?: string[] | undefined;
|
|
2084
|
+
} | undefined;
|
|
1659
2085
|
} | undefined;
|
|
1660
2086
|
}> | undefined;
|
|
1661
2087
|
metadata?: {
|
|
@@ -1691,6 +2117,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1691
2117
|
stream?: boolean | undefined;
|
|
1692
2118
|
schema?: Record<string, unknown> | undefined;
|
|
1693
2119
|
schema_name?: string | undefined;
|
|
2120
|
+
schema_description?: string | undefined;
|
|
1694
2121
|
schema_strict?: boolean | undefined;
|
|
1695
2122
|
} | undefined;
|
|
1696
2123
|
cache?: {
|
|
@@ -1713,31 +2140,48 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1713
2140
|
cached_content?: string | undefined;
|
|
1714
2141
|
} | undefined;
|
|
1715
2142
|
} | undefined;
|
|
2143
|
+
raw?: {
|
|
2144
|
+
openai?: Record<string, unknown> | undefined;
|
|
2145
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
2146
|
+
gemini?: Record<string, unknown> | undefined;
|
|
2147
|
+
google?: Record<string, unknown> | undefined;
|
|
2148
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
2149
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
2150
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
2151
|
+
} | undefined;
|
|
1716
2152
|
description?: string | undefined;
|
|
1717
2153
|
tools?: (string | {
|
|
1718
2154
|
name: string;
|
|
1719
2155
|
description?: string | undefined;
|
|
1720
2156
|
input_schema?: Record<string, unknown> | undefined;
|
|
1721
2157
|
})[] | undefined;
|
|
2158
|
+
provider?: "openai" | "anthropic" | "gemini" | "google" | "openai-responses" | "openrouter" | "any" | undefined;
|
|
1722
2159
|
provider_options?: {
|
|
1723
2160
|
anthropic?: {
|
|
1724
2161
|
top_k?: number | undefined;
|
|
1725
2162
|
tool_choice?: Record<string, unknown> | undefined;
|
|
2163
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1726
2164
|
} | undefined;
|
|
1727
2165
|
gemini?: {
|
|
1728
2166
|
top_k?: number | undefined;
|
|
1729
2167
|
candidate_count?: number | undefined;
|
|
1730
2168
|
seed?: number | undefined;
|
|
1731
2169
|
response_schema?: Record<string, unknown> | undefined;
|
|
2170
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1732
2171
|
response_modalities?: string[] | undefined;
|
|
1733
2172
|
thinking_budget_tokens?: number | undefined;
|
|
1734
2173
|
} | undefined;
|
|
2174
|
+
openrouter?: {
|
|
2175
|
+
provider?: Record<string, unknown> | undefined;
|
|
2176
|
+
transforms?: string[] | undefined;
|
|
2177
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
2178
|
+
models?: string[] | undefined;
|
|
2179
|
+
} | undefined;
|
|
1735
2180
|
} | undefined;
|
|
1736
2181
|
source?: {
|
|
1737
2182
|
file_path?: string | undefined;
|
|
1738
2183
|
checksum?: string | undefined;
|
|
1739
2184
|
} | undefined;
|
|
1740
|
-
provider?: "openai" | "anthropic" | "gemini" | "google" | "openai-responses" | "openrouter" | "any" | undefined;
|
|
1741
2185
|
schema_version?: number | undefined;
|
|
1742
2186
|
mcp?: {
|
|
1743
2187
|
servers?: (string | {
|
|
@@ -1791,6 +2235,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1791
2235
|
stream?: boolean | undefined;
|
|
1792
2236
|
schema?: Record<string, unknown> | undefined;
|
|
1793
2237
|
schema_name?: string | undefined;
|
|
2238
|
+
schema_description?: string | undefined;
|
|
1794
2239
|
schema_strict?: boolean | undefined;
|
|
1795
2240
|
} | undefined;
|
|
1796
2241
|
cache?: {
|
|
@@ -1813,6 +2258,15 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1813
2258
|
cached_content?: string | undefined;
|
|
1814
2259
|
} | undefined;
|
|
1815
2260
|
} | undefined;
|
|
2261
|
+
raw?: {
|
|
2262
|
+
openai?: Record<string, unknown> | undefined;
|
|
2263
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
2264
|
+
gemini?: Record<string, unknown> | undefined;
|
|
2265
|
+
google?: Record<string, unknown> | undefined;
|
|
2266
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
2267
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
2268
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
2269
|
+
} | undefined;
|
|
1816
2270
|
tools?: (string | {
|
|
1817
2271
|
name: string;
|
|
1818
2272
|
description?: string | undefined;
|
|
@@ -1822,15 +2276,23 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1822
2276
|
anthropic?: {
|
|
1823
2277
|
top_k?: number | undefined;
|
|
1824
2278
|
tool_choice?: Record<string, unknown> | undefined;
|
|
2279
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1825
2280
|
} | undefined;
|
|
1826
2281
|
gemini?: {
|
|
1827
2282
|
top_k?: number | undefined;
|
|
1828
2283
|
candidate_count?: number | undefined;
|
|
1829
2284
|
seed?: number | undefined;
|
|
1830
2285
|
response_schema?: Record<string, unknown> | undefined;
|
|
2286
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1831
2287
|
response_modalities?: string[] | undefined;
|
|
1832
2288
|
thinking_budget_tokens?: number | undefined;
|
|
1833
2289
|
} | undefined;
|
|
2290
|
+
openrouter?: {
|
|
2291
|
+
provider?: Record<string, unknown> | undefined;
|
|
2292
|
+
transforms?: string[] | undefined;
|
|
2293
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
2294
|
+
models?: string[] | undefined;
|
|
2295
|
+
} | undefined;
|
|
1834
2296
|
} | undefined;
|
|
1835
2297
|
}> | undefined;
|
|
1836
2298
|
tiers?: Record<string, {
|
|
@@ -1853,6 +2315,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1853
2315
|
stream?: boolean | undefined;
|
|
1854
2316
|
schema?: Record<string, unknown> | undefined;
|
|
1855
2317
|
schema_name?: string | undefined;
|
|
2318
|
+
schema_description?: string | undefined;
|
|
1856
2319
|
schema_strict?: boolean | undefined;
|
|
1857
2320
|
} | undefined;
|
|
1858
2321
|
cache?: {
|
|
@@ -1875,6 +2338,15 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1875
2338
|
cached_content?: string | undefined;
|
|
1876
2339
|
} | undefined;
|
|
1877
2340
|
} | undefined;
|
|
2341
|
+
raw?: {
|
|
2342
|
+
openai?: Record<string, unknown> | undefined;
|
|
2343
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
2344
|
+
gemini?: Record<string, unknown> | undefined;
|
|
2345
|
+
google?: Record<string, unknown> | undefined;
|
|
2346
|
+
'openai-responses'?: Record<string, unknown> | undefined;
|
|
2347
|
+
openai_responses?: Record<string, unknown> | undefined;
|
|
2348
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
2349
|
+
} | undefined;
|
|
1878
2350
|
tools?: (string | {
|
|
1879
2351
|
name: string;
|
|
1880
2352
|
description?: string | undefined;
|
|
@@ -1884,15 +2356,23 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1884
2356
|
anthropic?: {
|
|
1885
2357
|
top_k?: number | undefined;
|
|
1886
2358
|
tool_choice?: Record<string, unknown> | undefined;
|
|
2359
|
+
output_config?: Record<string, unknown> | undefined;
|
|
1887
2360
|
} | undefined;
|
|
1888
2361
|
gemini?: {
|
|
1889
2362
|
top_k?: number | undefined;
|
|
1890
2363
|
candidate_count?: number | undefined;
|
|
1891
2364
|
seed?: number | undefined;
|
|
1892
2365
|
response_schema?: Record<string, unknown> | undefined;
|
|
2366
|
+
response_json_schema?: Record<string, unknown> | undefined;
|
|
1893
2367
|
response_modalities?: string[] | undefined;
|
|
1894
2368
|
thinking_budget_tokens?: number | undefined;
|
|
1895
2369
|
} | undefined;
|
|
2370
|
+
openrouter?: {
|
|
2371
|
+
provider?: Record<string, unknown> | undefined;
|
|
2372
|
+
transforms?: string[] | undefined;
|
|
2373
|
+
plugins?: Record<string, unknown>[] | undefined;
|
|
2374
|
+
models?: string[] | undefined;
|
|
2375
|
+
} | undefined;
|
|
1896
2376
|
} | undefined;
|
|
1897
2377
|
}> | undefined;
|
|
1898
2378
|
metadata?: {
|