promptopskit 0.0.1

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.
@@ -0,0 +1,695 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const PromptAssetOverridesSchema: z.ZodObject<{
4
+ model: z.ZodOptional<z.ZodString>;
5
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6
+ reasoning: z.ZodOptional<z.ZodObject<{
7
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
8
+ budget_tokens: z.ZodOptional<z.ZodNumber>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ effort?: "low" | "medium" | "high" | undefined;
11
+ budget_tokens?: number | undefined;
12
+ }, {
13
+ effort?: "low" | "medium" | "high" | undefined;
14
+ budget_tokens?: number | undefined;
15
+ }>>;
16
+ sampling: z.ZodOptional<z.ZodObject<{
17
+ temperature: z.ZodOptional<z.ZodNumber>;
18
+ top_p: z.ZodOptional<z.ZodNumber>;
19
+ frequency_penalty: z.ZodOptional<z.ZodNumber>;
20
+ presence_penalty: z.ZodOptional<z.ZodNumber>;
21
+ stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
22
+ max_output_tokens: z.ZodOptional<z.ZodNumber>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ temperature?: number | undefined;
25
+ top_p?: number | undefined;
26
+ frequency_penalty?: number | undefined;
27
+ presence_penalty?: number | undefined;
28
+ stop?: string[] | undefined;
29
+ max_output_tokens?: number | undefined;
30
+ }, {
31
+ temperature?: number | undefined;
32
+ top_p?: number | undefined;
33
+ frequency_penalty?: number | undefined;
34
+ presence_penalty?: number | undefined;
35
+ stop?: string[] | undefined;
36
+ max_output_tokens?: number | undefined;
37
+ }>>;
38
+ response: z.ZodOptional<z.ZodObject<{
39
+ format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
40
+ stream: z.ZodOptional<z.ZodBoolean>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ format?: "text" | "json" | "markdown" | undefined;
43
+ stream?: boolean | undefined;
44
+ }, {
45
+ format?: "text" | "json" | "markdown" | undefined;
46
+ stream?: boolean | undefined;
47
+ }>>;
48
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
49
+ name: z.ZodString;
50
+ description: z.ZodOptional<z.ZodString>;
51
+ input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ name: string;
54
+ description?: string | undefined;
55
+ input_schema?: Record<string, unknown> | undefined;
56
+ }, {
57
+ name: string;
58
+ description?: string | undefined;
59
+ input_schema?: Record<string, unknown> | undefined;
60
+ }>]>, "many">>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ model?: string | undefined;
63
+ fallback_models?: string[] | undefined;
64
+ reasoning?: {
65
+ effort?: "low" | "medium" | "high" | undefined;
66
+ budget_tokens?: number | undefined;
67
+ } | undefined;
68
+ sampling?: {
69
+ temperature?: number | undefined;
70
+ top_p?: number | undefined;
71
+ frequency_penalty?: number | undefined;
72
+ presence_penalty?: number | undefined;
73
+ stop?: string[] | undefined;
74
+ max_output_tokens?: number | undefined;
75
+ } | undefined;
76
+ response?: {
77
+ format?: "text" | "json" | "markdown" | undefined;
78
+ stream?: boolean | undefined;
79
+ } | undefined;
80
+ tools?: (string | {
81
+ name: string;
82
+ description?: string | undefined;
83
+ input_schema?: Record<string, unknown> | undefined;
84
+ })[] | undefined;
85
+ }, {
86
+ model?: string | undefined;
87
+ fallback_models?: string[] | undefined;
88
+ reasoning?: {
89
+ effort?: "low" | "medium" | "high" | undefined;
90
+ budget_tokens?: number | undefined;
91
+ } | undefined;
92
+ sampling?: {
93
+ temperature?: number | undefined;
94
+ top_p?: number | undefined;
95
+ frequency_penalty?: number | undefined;
96
+ presence_penalty?: number | undefined;
97
+ stop?: string[] | undefined;
98
+ max_output_tokens?: number | undefined;
99
+ } | undefined;
100
+ response?: {
101
+ format?: "text" | "json" | "markdown" | undefined;
102
+ stream?: boolean | undefined;
103
+ } | undefined;
104
+ tools?: (string | {
105
+ name: string;
106
+ description?: string | undefined;
107
+ input_schema?: Record<string, unknown> | undefined;
108
+ })[] | undefined;
109
+ }>;
110
+ type PromptAssetOverrides = z.infer<typeof PromptAssetOverridesSchema>;
111
+ declare const PromptAssetSchema: z.ZodObject<{
112
+ id: z.ZodString;
113
+ schema_version: z.ZodDefault<z.ZodNumber>;
114
+ description: z.ZodOptional<z.ZodString>;
115
+ provider: z.ZodOptional<z.ZodEnum<["openai", "anthropic", "google", "openrouter", "any"]>>;
116
+ model: z.ZodOptional<z.ZodString>;
117
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
118
+ reasoning: z.ZodOptional<z.ZodObject<{
119
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
120
+ budget_tokens: z.ZodOptional<z.ZodNumber>;
121
+ }, "strip", z.ZodTypeAny, {
122
+ effort?: "low" | "medium" | "high" | undefined;
123
+ budget_tokens?: number | undefined;
124
+ }, {
125
+ effort?: "low" | "medium" | "high" | undefined;
126
+ budget_tokens?: number | undefined;
127
+ }>>;
128
+ sampling: z.ZodOptional<z.ZodObject<{
129
+ temperature: z.ZodOptional<z.ZodNumber>;
130
+ top_p: z.ZodOptional<z.ZodNumber>;
131
+ frequency_penalty: z.ZodOptional<z.ZodNumber>;
132
+ presence_penalty: z.ZodOptional<z.ZodNumber>;
133
+ stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
134
+ max_output_tokens: z.ZodOptional<z.ZodNumber>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ temperature?: number | undefined;
137
+ top_p?: number | undefined;
138
+ frequency_penalty?: number | undefined;
139
+ presence_penalty?: number | undefined;
140
+ stop?: string[] | undefined;
141
+ max_output_tokens?: number | undefined;
142
+ }, {
143
+ temperature?: number | undefined;
144
+ top_p?: number | undefined;
145
+ frequency_penalty?: number | undefined;
146
+ presence_penalty?: number | undefined;
147
+ stop?: string[] | undefined;
148
+ max_output_tokens?: number | undefined;
149
+ }>>;
150
+ response: z.ZodOptional<z.ZodObject<{
151
+ format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
152
+ stream: z.ZodOptional<z.ZodBoolean>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ format?: "text" | "json" | "markdown" | undefined;
155
+ stream?: boolean | undefined;
156
+ }, {
157
+ format?: "text" | "json" | "markdown" | undefined;
158
+ stream?: boolean | undefined;
159
+ }>>;
160
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
161
+ name: z.ZodString;
162
+ description: z.ZodOptional<z.ZodString>;
163
+ input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ name: string;
166
+ description?: string | undefined;
167
+ input_schema?: Record<string, unknown> | undefined;
168
+ }, {
169
+ name: string;
170
+ description?: string | undefined;
171
+ input_schema?: Record<string, unknown> | undefined;
172
+ }>]>, "many">>;
173
+ mcp: z.ZodOptional<z.ZodObject<{
174
+ servers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
175
+ name: z.ZodString;
176
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ name: string;
179
+ config?: Record<string, unknown> | undefined;
180
+ }, {
181
+ name: string;
182
+ config?: Record<string, unknown> | undefined;
183
+ }>]>, "many">>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ servers?: (string | {
186
+ name: string;
187
+ config?: Record<string, unknown> | undefined;
188
+ })[] | undefined;
189
+ }, {
190
+ servers?: (string | {
191
+ name: string;
192
+ config?: Record<string, unknown> | undefined;
193
+ })[] | undefined;
194
+ }>>;
195
+ context: z.ZodOptional<z.ZodObject<{
196
+ inputs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
197
+ history: z.ZodOptional<z.ZodObject<{
198
+ max_items: z.ZodOptional<z.ZodNumber>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ max_items?: number | undefined;
201
+ }, {
202
+ max_items?: number | undefined;
203
+ }>>;
204
+ }, "strip", z.ZodTypeAny, {
205
+ inputs?: string[] | undefined;
206
+ history?: {
207
+ max_items?: number | undefined;
208
+ } | undefined;
209
+ }, {
210
+ inputs?: string[] | undefined;
211
+ history?: {
212
+ max_items?: number | undefined;
213
+ } | undefined;
214
+ }>>;
215
+ includes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
216
+ environments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
217
+ model: z.ZodOptional<z.ZodString>;
218
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
219
+ reasoning: z.ZodOptional<z.ZodObject<{
220
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
221
+ budget_tokens: z.ZodOptional<z.ZodNumber>;
222
+ }, "strip", z.ZodTypeAny, {
223
+ effort?: "low" | "medium" | "high" | undefined;
224
+ budget_tokens?: number | undefined;
225
+ }, {
226
+ effort?: "low" | "medium" | "high" | undefined;
227
+ budget_tokens?: number | undefined;
228
+ }>>;
229
+ sampling: z.ZodOptional<z.ZodObject<{
230
+ temperature: z.ZodOptional<z.ZodNumber>;
231
+ top_p: z.ZodOptional<z.ZodNumber>;
232
+ frequency_penalty: z.ZodOptional<z.ZodNumber>;
233
+ presence_penalty: z.ZodOptional<z.ZodNumber>;
234
+ stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
235
+ max_output_tokens: z.ZodOptional<z.ZodNumber>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ temperature?: number | undefined;
238
+ top_p?: number | undefined;
239
+ frequency_penalty?: number | undefined;
240
+ presence_penalty?: number | undefined;
241
+ stop?: string[] | undefined;
242
+ max_output_tokens?: number | undefined;
243
+ }, {
244
+ temperature?: number | undefined;
245
+ top_p?: number | undefined;
246
+ frequency_penalty?: number | undefined;
247
+ presence_penalty?: number | undefined;
248
+ stop?: string[] | undefined;
249
+ max_output_tokens?: number | undefined;
250
+ }>>;
251
+ response: z.ZodOptional<z.ZodObject<{
252
+ format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
253
+ stream: z.ZodOptional<z.ZodBoolean>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ format?: "text" | "json" | "markdown" | undefined;
256
+ stream?: boolean | undefined;
257
+ }, {
258
+ format?: "text" | "json" | "markdown" | undefined;
259
+ stream?: boolean | undefined;
260
+ }>>;
261
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
262
+ name: z.ZodString;
263
+ description: z.ZodOptional<z.ZodString>;
264
+ input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ name: string;
267
+ description?: string | undefined;
268
+ input_schema?: Record<string, unknown> | undefined;
269
+ }, {
270
+ name: string;
271
+ description?: string | undefined;
272
+ input_schema?: Record<string, unknown> | undefined;
273
+ }>]>, "many">>;
274
+ }, "strip", z.ZodTypeAny, {
275
+ model?: string | undefined;
276
+ fallback_models?: string[] | undefined;
277
+ reasoning?: {
278
+ effort?: "low" | "medium" | "high" | undefined;
279
+ budget_tokens?: number | undefined;
280
+ } | undefined;
281
+ sampling?: {
282
+ temperature?: number | undefined;
283
+ top_p?: number | undefined;
284
+ frequency_penalty?: number | undefined;
285
+ presence_penalty?: number | undefined;
286
+ stop?: string[] | undefined;
287
+ max_output_tokens?: number | undefined;
288
+ } | undefined;
289
+ response?: {
290
+ format?: "text" | "json" | "markdown" | undefined;
291
+ stream?: boolean | undefined;
292
+ } | undefined;
293
+ tools?: (string | {
294
+ name: string;
295
+ description?: string | undefined;
296
+ input_schema?: Record<string, unknown> | undefined;
297
+ })[] | undefined;
298
+ }, {
299
+ model?: string | undefined;
300
+ fallback_models?: string[] | undefined;
301
+ reasoning?: {
302
+ effort?: "low" | "medium" | "high" | undefined;
303
+ budget_tokens?: number | undefined;
304
+ } | undefined;
305
+ sampling?: {
306
+ temperature?: number | undefined;
307
+ top_p?: number | undefined;
308
+ frequency_penalty?: number | undefined;
309
+ presence_penalty?: number | undefined;
310
+ stop?: string[] | undefined;
311
+ max_output_tokens?: number | undefined;
312
+ } | undefined;
313
+ response?: {
314
+ format?: "text" | "json" | "markdown" | undefined;
315
+ stream?: boolean | undefined;
316
+ } | undefined;
317
+ tools?: (string | {
318
+ name: string;
319
+ description?: string | undefined;
320
+ input_schema?: Record<string, unknown> | undefined;
321
+ })[] | undefined;
322
+ }>>>;
323
+ tiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
324
+ model: z.ZodOptional<z.ZodString>;
325
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
326
+ reasoning: z.ZodOptional<z.ZodObject<{
327
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
328
+ budget_tokens: z.ZodOptional<z.ZodNumber>;
329
+ }, "strip", z.ZodTypeAny, {
330
+ effort?: "low" | "medium" | "high" | undefined;
331
+ budget_tokens?: number | undefined;
332
+ }, {
333
+ effort?: "low" | "medium" | "high" | undefined;
334
+ budget_tokens?: number | undefined;
335
+ }>>;
336
+ sampling: z.ZodOptional<z.ZodObject<{
337
+ temperature: z.ZodOptional<z.ZodNumber>;
338
+ top_p: z.ZodOptional<z.ZodNumber>;
339
+ frequency_penalty: z.ZodOptional<z.ZodNumber>;
340
+ presence_penalty: z.ZodOptional<z.ZodNumber>;
341
+ stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
342
+ max_output_tokens: z.ZodOptional<z.ZodNumber>;
343
+ }, "strip", z.ZodTypeAny, {
344
+ temperature?: number | undefined;
345
+ top_p?: number | undefined;
346
+ frequency_penalty?: number | undefined;
347
+ presence_penalty?: number | undefined;
348
+ stop?: string[] | undefined;
349
+ max_output_tokens?: number | undefined;
350
+ }, {
351
+ temperature?: number | undefined;
352
+ top_p?: number | undefined;
353
+ frequency_penalty?: number | undefined;
354
+ presence_penalty?: number | undefined;
355
+ stop?: string[] | undefined;
356
+ max_output_tokens?: number | undefined;
357
+ }>>;
358
+ response: z.ZodOptional<z.ZodObject<{
359
+ format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
360
+ stream: z.ZodOptional<z.ZodBoolean>;
361
+ }, "strip", z.ZodTypeAny, {
362
+ format?: "text" | "json" | "markdown" | undefined;
363
+ stream?: boolean | undefined;
364
+ }, {
365
+ format?: "text" | "json" | "markdown" | undefined;
366
+ stream?: boolean | undefined;
367
+ }>>;
368
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
369
+ name: z.ZodString;
370
+ description: z.ZodOptional<z.ZodString>;
371
+ input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
372
+ }, "strip", z.ZodTypeAny, {
373
+ name: string;
374
+ description?: string | undefined;
375
+ input_schema?: Record<string, unknown> | undefined;
376
+ }, {
377
+ name: string;
378
+ description?: string | undefined;
379
+ input_schema?: Record<string, unknown> | undefined;
380
+ }>]>, "many">>;
381
+ }, "strip", z.ZodTypeAny, {
382
+ model?: string | undefined;
383
+ fallback_models?: string[] | undefined;
384
+ reasoning?: {
385
+ effort?: "low" | "medium" | "high" | undefined;
386
+ budget_tokens?: number | undefined;
387
+ } | undefined;
388
+ sampling?: {
389
+ temperature?: number | undefined;
390
+ top_p?: number | undefined;
391
+ frequency_penalty?: number | undefined;
392
+ presence_penalty?: number | undefined;
393
+ stop?: string[] | undefined;
394
+ max_output_tokens?: number | undefined;
395
+ } | undefined;
396
+ response?: {
397
+ format?: "text" | "json" | "markdown" | undefined;
398
+ stream?: boolean | undefined;
399
+ } | undefined;
400
+ tools?: (string | {
401
+ name: string;
402
+ description?: string | undefined;
403
+ input_schema?: Record<string, unknown> | undefined;
404
+ })[] | undefined;
405
+ }, {
406
+ model?: string | undefined;
407
+ fallback_models?: string[] | undefined;
408
+ reasoning?: {
409
+ effort?: "low" | "medium" | "high" | undefined;
410
+ budget_tokens?: number | undefined;
411
+ } | undefined;
412
+ sampling?: {
413
+ temperature?: number | undefined;
414
+ top_p?: number | undefined;
415
+ frequency_penalty?: number | undefined;
416
+ presence_penalty?: number | undefined;
417
+ stop?: string[] | undefined;
418
+ max_output_tokens?: number | undefined;
419
+ } | undefined;
420
+ response?: {
421
+ format?: "text" | "json" | "markdown" | undefined;
422
+ stream?: boolean | undefined;
423
+ } | undefined;
424
+ tools?: (string | {
425
+ name: string;
426
+ description?: string | undefined;
427
+ input_schema?: Record<string, unknown> | undefined;
428
+ })[] | undefined;
429
+ }>>>;
430
+ metadata: z.ZodOptional<z.ZodObject<{
431
+ owner: z.ZodOptional<z.ZodString>;
432
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
433
+ review_required: z.ZodOptional<z.ZodBoolean>;
434
+ stable: z.ZodOptional<z.ZodBoolean>;
435
+ }, "strip", z.ZodTypeAny, {
436
+ owner?: string | undefined;
437
+ tags?: string[] | undefined;
438
+ review_required?: boolean | undefined;
439
+ stable?: boolean | undefined;
440
+ }, {
441
+ owner?: string | undefined;
442
+ tags?: string[] | undefined;
443
+ review_required?: boolean | undefined;
444
+ stable?: boolean | undefined;
445
+ }>>;
446
+ sections: z.ZodOptional<z.ZodObject<{
447
+ system_instructions: z.ZodOptional<z.ZodString>;
448
+ prompt_template: z.ZodOptional<z.ZodString>;
449
+ notes: z.ZodOptional<z.ZodString>;
450
+ }, "strip", z.ZodTypeAny, {
451
+ system_instructions?: string | undefined;
452
+ prompt_template?: string | undefined;
453
+ notes?: string | undefined;
454
+ }, {
455
+ system_instructions?: string | undefined;
456
+ prompt_template?: string | undefined;
457
+ notes?: string | undefined;
458
+ }>>;
459
+ source: z.ZodOptional<z.ZodObject<{
460
+ file_path: z.ZodOptional<z.ZodString>;
461
+ checksum: z.ZodOptional<z.ZodString>;
462
+ }, "strip", z.ZodTypeAny, {
463
+ file_path?: string | undefined;
464
+ checksum?: string | undefined;
465
+ }, {
466
+ file_path?: string | undefined;
467
+ checksum?: string | undefined;
468
+ }>>;
469
+ }, "strip", z.ZodTypeAny, {
470
+ id: string;
471
+ schema_version: number;
472
+ description?: string | undefined;
473
+ provider?: "openai" | "anthropic" | "google" | "openrouter" | "any" | undefined;
474
+ model?: string | undefined;
475
+ includes?: string[] | undefined;
476
+ fallback_models?: string[] | undefined;
477
+ reasoning?: {
478
+ effort?: "low" | "medium" | "high" | undefined;
479
+ budget_tokens?: number | undefined;
480
+ } | undefined;
481
+ sampling?: {
482
+ temperature?: number | undefined;
483
+ top_p?: number | undefined;
484
+ frequency_penalty?: number | undefined;
485
+ presence_penalty?: number | undefined;
486
+ stop?: string[] | undefined;
487
+ max_output_tokens?: number | undefined;
488
+ } | undefined;
489
+ response?: {
490
+ format?: "text" | "json" | "markdown" | undefined;
491
+ stream?: boolean | undefined;
492
+ } | undefined;
493
+ tools?: (string | {
494
+ name: string;
495
+ description?: string | undefined;
496
+ input_schema?: Record<string, unknown> | undefined;
497
+ })[] | undefined;
498
+ mcp?: {
499
+ servers?: (string | {
500
+ name: string;
501
+ config?: Record<string, unknown> | undefined;
502
+ })[] | undefined;
503
+ } | undefined;
504
+ context?: {
505
+ inputs?: string[] | undefined;
506
+ history?: {
507
+ max_items?: number | undefined;
508
+ } | undefined;
509
+ } | undefined;
510
+ environments?: Record<string, {
511
+ model?: string | undefined;
512
+ fallback_models?: string[] | undefined;
513
+ reasoning?: {
514
+ effort?: "low" | "medium" | "high" | undefined;
515
+ budget_tokens?: number | undefined;
516
+ } | undefined;
517
+ sampling?: {
518
+ temperature?: number | undefined;
519
+ top_p?: number | undefined;
520
+ frequency_penalty?: number | undefined;
521
+ presence_penalty?: number | undefined;
522
+ stop?: string[] | undefined;
523
+ max_output_tokens?: number | undefined;
524
+ } | undefined;
525
+ response?: {
526
+ format?: "text" | "json" | "markdown" | undefined;
527
+ stream?: boolean | undefined;
528
+ } | undefined;
529
+ tools?: (string | {
530
+ name: string;
531
+ description?: string | undefined;
532
+ input_schema?: Record<string, unknown> | undefined;
533
+ })[] | undefined;
534
+ }> | undefined;
535
+ tiers?: Record<string, {
536
+ model?: string | undefined;
537
+ fallback_models?: string[] | undefined;
538
+ reasoning?: {
539
+ effort?: "low" | "medium" | "high" | undefined;
540
+ budget_tokens?: number | undefined;
541
+ } | undefined;
542
+ sampling?: {
543
+ temperature?: number | undefined;
544
+ top_p?: number | undefined;
545
+ frequency_penalty?: number | undefined;
546
+ presence_penalty?: number | undefined;
547
+ stop?: string[] | undefined;
548
+ max_output_tokens?: number | undefined;
549
+ } | undefined;
550
+ response?: {
551
+ format?: "text" | "json" | "markdown" | undefined;
552
+ stream?: boolean | undefined;
553
+ } | undefined;
554
+ tools?: (string | {
555
+ name: string;
556
+ description?: string | undefined;
557
+ input_schema?: Record<string, unknown> | undefined;
558
+ })[] | undefined;
559
+ }> | undefined;
560
+ metadata?: {
561
+ owner?: string | undefined;
562
+ tags?: string[] | undefined;
563
+ review_required?: boolean | undefined;
564
+ stable?: boolean | undefined;
565
+ } | undefined;
566
+ sections?: {
567
+ system_instructions?: string | undefined;
568
+ prompt_template?: string | undefined;
569
+ notes?: string | undefined;
570
+ } | undefined;
571
+ source?: {
572
+ file_path?: string | undefined;
573
+ checksum?: string | undefined;
574
+ } | undefined;
575
+ }, {
576
+ id: string;
577
+ schema_version?: number | undefined;
578
+ description?: string | undefined;
579
+ provider?: "openai" | "anthropic" | "google" | "openrouter" | "any" | undefined;
580
+ model?: string | undefined;
581
+ includes?: string[] | undefined;
582
+ fallback_models?: string[] | undefined;
583
+ reasoning?: {
584
+ effort?: "low" | "medium" | "high" | undefined;
585
+ budget_tokens?: number | undefined;
586
+ } | undefined;
587
+ sampling?: {
588
+ temperature?: number | undefined;
589
+ top_p?: number | undefined;
590
+ frequency_penalty?: number | undefined;
591
+ presence_penalty?: number | undefined;
592
+ stop?: string[] | undefined;
593
+ max_output_tokens?: number | undefined;
594
+ } | undefined;
595
+ response?: {
596
+ format?: "text" | "json" | "markdown" | undefined;
597
+ stream?: boolean | undefined;
598
+ } | undefined;
599
+ tools?: (string | {
600
+ name: string;
601
+ description?: string | undefined;
602
+ input_schema?: Record<string, unknown> | undefined;
603
+ })[] | undefined;
604
+ mcp?: {
605
+ servers?: (string | {
606
+ name: string;
607
+ config?: Record<string, unknown> | undefined;
608
+ })[] | undefined;
609
+ } | undefined;
610
+ context?: {
611
+ inputs?: string[] | undefined;
612
+ history?: {
613
+ max_items?: number | undefined;
614
+ } | undefined;
615
+ } | undefined;
616
+ environments?: Record<string, {
617
+ model?: string | undefined;
618
+ fallback_models?: string[] | undefined;
619
+ reasoning?: {
620
+ effort?: "low" | "medium" | "high" | undefined;
621
+ budget_tokens?: number | undefined;
622
+ } | undefined;
623
+ sampling?: {
624
+ temperature?: number | undefined;
625
+ top_p?: number | undefined;
626
+ frequency_penalty?: number | undefined;
627
+ presence_penalty?: number | undefined;
628
+ stop?: string[] | undefined;
629
+ max_output_tokens?: number | undefined;
630
+ } | undefined;
631
+ response?: {
632
+ format?: "text" | "json" | "markdown" | undefined;
633
+ stream?: boolean | undefined;
634
+ } | undefined;
635
+ tools?: (string | {
636
+ name: string;
637
+ description?: string | undefined;
638
+ input_schema?: Record<string, unknown> | undefined;
639
+ })[] | undefined;
640
+ }> | undefined;
641
+ tiers?: Record<string, {
642
+ model?: string | undefined;
643
+ fallback_models?: string[] | undefined;
644
+ reasoning?: {
645
+ effort?: "low" | "medium" | "high" | undefined;
646
+ budget_tokens?: number | undefined;
647
+ } | undefined;
648
+ sampling?: {
649
+ temperature?: number | undefined;
650
+ top_p?: number | undefined;
651
+ frequency_penalty?: number | undefined;
652
+ presence_penalty?: number | undefined;
653
+ stop?: string[] | undefined;
654
+ max_output_tokens?: number | undefined;
655
+ } | undefined;
656
+ response?: {
657
+ format?: "text" | "json" | "markdown" | undefined;
658
+ stream?: boolean | undefined;
659
+ } | undefined;
660
+ tools?: (string | {
661
+ name: string;
662
+ description?: string | undefined;
663
+ input_schema?: Record<string, unknown> | undefined;
664
+ })[] | undefined;
665
+ }> | undefined;
666
+ metadata?: {
667
+ owner?: string | undefined;
668
+ tags?: string[] | undefined;
669
+ review_required?: boolean | undefined;
670
+ stable?: boolean | undefined;
671
+ } | undefined;
672
+ sections?: {
673
+ system_instructions?: string | undefined;
674
+ prompt_template?: string | undefined;
675
+ notes?: string | undefined;
676
+ } | undefined;
677
+ source?: {
678
+ file_path?: string | undefined;
679
+ checksum?: string | undefined;
680
+ } | undefined;
681
+ }>;
682
+ type PromptAsset = z.infer<typeof PromptAssetSchema>;
683
+ interface ResolvedPromptAsset extends PromptAsset {
684
+ sections: {
685
+ system_instructions?: string;
686
+ prompt_template?: string;
687
+ notes?: string;
688
+ };
689
+ source: {
690
+ file_path?: string;
691
+ checksum?: string;
692
+ };
693
+ }
694
+
695
+ export { type PromptAsset as P, type ResolvedPromptAsset as R, type PromptAssetOverrides as a, PromptAssetOverridesSchema as b, PromptAssetSchema as c };