promptopskit 0.5.0 → 0.6.2

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 (70) hide show
  1. package/README.md +9 -7
  2. package/SKILL.md +16 -10
  3. package/dist/{chunk-6VLKZCNS.js → chunk-55B7QQBK.js} +2 -2
  4. package/dist/{chunk-6BOUQVSX.js → chunk-FNCIBZJF.js} +3 -3
  5. package/dist/{chunk-D75HKF64.js → chunk-GLT3YYWK.js} +2 -2
  6. package/dist/{chunk-IN4KT5EU.js → chunk-IPFD5Y3O.js} +3 -3
  7. package/dist/{chunk-KN7H4JRK.js → chunk-JR7252DG.js} +393 -386
  8. package/dist/chunk-JR7252DG.js.map +1 -0
  9. package/dist/{chunk-K6ZU3CGV.js → chunk-UY5OKMVP.js} +281 -17
  10. package/dist/chunk-UY5OKMVP.js.map +1 -0
  11. package/dist/{chunk-QK3WKE3K.js → chunk-VMLGUI4F.js} +2 -2
  12. package/dist/{chunk-LNGHGGJN.js → chunk-XEZJZ3IG.js} +2 -2
  13. package/dist/cli/index.js +410 -103
  14. package/dist/cli/index.js.map +1 -1
  15. package/dist/index.cjs +971 -660
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +5 -4
  18. package/dist/index.d.ts +5 -4
  19. package/dist/index.js +55 -15
  20. package/dist/index.js.map +1 -1
  21. package/dist/providers/anthropic.cjs +675 -407
  22. package/dist/providers/anthropic.cjs.map +1 -1
  23. package/dist/providers/anthropic.d.cts +2 -2
  24. package/dist/providers/anthropic.d.ts +2 -2
  25. package/dist/providers/anthropic.js +3 -3
  26. package/dist/providers/gemini.cjs +675 -407
  27. package/dist/providers/gemini.cjs.map +1 -1
  28. package/dist/providers/gemini.d.cts +2 -2
  29. package/dist/providers/gemini.d.ts +2 -2
  30. package/dist/providers/gemini.js +3 -3
  31. package/dist/providers/llmasaservice.cjs +675 -407
  32. package/dist/providers/llmasaservice.cjs.map +1 -1
  33. package/dist/providers/llmasaservice.d.cts +2 -2
  34. package/dist/providers/llmasaservice.d.ts +2 -2
  35. package/dist/providers/llmasaservice.js +4 -4
  36. package/dist/providers/openai-responses.cjs +675 -407
  37. package/dist/providers/openai-responses.cjs.map +1 -1
  38. package/dist/providers/openai-responses.d.cts +2 -2
  39. package/dist/providers/openai-responses.d.ts +2 -2
  40. package/dist/providers/openai-responses.js +3 -3
  41. package/dist/providers/openai.cjs +675 -407
  42. package/dist/providers/openai.cjs.map +1 -1
  43. package/dist/providers/openai.d.cts +2 -2
  44. package/dist/providers/openai.d.ts +2 -2
  45. package/dist/providers/openai.js +3 -3
  46. package/dist/providers/openrouter.cjs +675 -407
  47. package/dist/providers/openrouter.cjs.map +1 -1
  48. package/dist/providers/openrouter.d.cts +2 -2
  49. package/dist/providers/openrouter.d.ts +2 -2
  50. package/dist/providers/openrouter.js +4 -4
  51. package/dist/{schema-D-RI4w-k.d.cts → schema-CuYsv8JA.d.cts} +540 -206
  52. package/dist/{schema-D-RI4w-k.d.ts → schema-CuYsv8JA.d.ts} +540 -206
  53. package/dist/testing.cjs +43 -5
  54. package/dist/testing.cjs.map +1 -1
  55. package/dist/testing.d.cts +1 -1
  56. package/dist/testing.d.ts +1 -1
  57. package/dist/testing.js +1 -1
  58. package/dist/{types-B3dxBGu6.d.ts → types-DpK0mTHL.d.ts} +1 -1
  59. package/dist/{types-DbTAjlTN.d.cts → types-UA_p9uJy.d.cts} +1 -1
  60. package/dist/usagetap/index.d.cts +2 -2
  61. package/dist/usagetap/index.d.ts +2 -2
  62. package/package.json +9 -2
  63. package/dist/chunk-K6ZU3CGV.js.map +0 -1
  64. package/dist/chunk-KN7H4JRK.js.map +0 -1
  65. /package/dist/{chunk-6VLKZCNS.js.map → chunk-55B7QQBK.js.map} +0 -0
  66. /package/dist/{chunk-6BOUQVSX.js.map → chunk-FNCIBZJF.js.map} +0 -0
  67. /package/dist/{chunk-D75HKF64.js.map → chunk-GLT3YYWK.js.map} +0 -0
  68. /package/dist/{chunk-IN4KT5EU.js.map → chunk-IPFD5Y3O.js.map} +0 -0
  69. /package/dist/{chunk-QK3WKE3K.js.map → chunk-VMLGUI4F.js.map} +0 -0
  70. /package/dist/{chunk-LNGHGGJN.js.map → chunk-XEZJZ3IG.js.map} +0 -0
@@ -35,10 +35,27 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
35
35
  stop?: string[] | undefined;
36
36
  max_output_tokens?: number | undefined;
37
37
  }>>;
38
- response: z.ZodOptional<z.ZodObject<{
38
+ response: z.ZodOptional<z.ZodEffects<z.ZodObject<{
39
39
  format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
40
40
  stream: z.ZodOptional<z.ZodBoolean>;
41
41
  schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42
+ schema_ref: z.ZodOptional<z.ZodString>;
43
+ schema_source: z.ZodOptional<z.ZodObject<{
44
+ mode: z.ZodOptional<z.ZodEnum<["inline", "schema_ref_json", "schema_ref_zod_module"]>>;
45
+ ref: z.ZodOptional<z.ZodString>;
46
+ resolved_path: z.ZodOptional<z.ZodString>;
47
+ hash: z.ZodOptional<z.ZodString>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
50
+ ref?: string | undefined;
51
+ resolved_path?: string | undefined;
52
+ hash?: string | undefined;
53
+ }, {
54
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
55
+ ref?: string | undefined;
56
+ resolved_path?: string | undefined;
57
+ hash?: string | undefined;
58
+ }>>;
42
59
  schema_name: z.ZodOptional<z.ZodString>;
43
60
  schema_description: z.ZodOptional<z.ZodString>;
44
61
  schema_strict: z.ZodOptional<z.ZodBoolean>;
@@ -46,6 +63,13 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
46
63
  format?: "text" | "json" | "markdown" | undefined;
47
64
  stream?: boolean | undefined;
48
65
  schema?: Record<string, unknown> | undefined;
66
+ schema_ref?: string | undefined;
67
+ schema_source?: {
68
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
69
+ ref?: string | undefined;
70
+ resolved_path?: string | undefined;
71
+ hash?: string | undefined;
72
+ } | undefined;
49
73
  schema_name?: string | undefined;
50
74
  schema_description?: string | undefined;
51
75
  schema_strict?: boolean | undefined;
@@ -53,6 +77,41 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
53
77
  format?: "text" | "json" | "markdown" | undefined;
54
78
  stream?: boolean | undefined;
55
79
  schema?: Record<string, unknown> | undefined;
80
+ schema_ref?: string | undefined;
81
+ schema_source?: {
82
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
83
+ ref?: string | undefined;
84
+ resolved_path?: string | undefined;
85
+ hash?: string | undefined;
86
+ } | undefined;
87
+ schema_name?: string | undefined;
88
+ schema_description?: string | undefined;
89
+ schema_strict?: boolean | undefined;
90
+ }>, {
91
+ format?: "text" | "json" | "markdown" | undefined;
92
+ stream?: boolean | undefined;
93
+ schema?: Record<string, unknown> | undefined;
94
+ schema_ref?: string | undefined;
95
+ schema_source?: {
96
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
97
+ ref?: string | undefined;
98
+ resolved_path?: string | undefined;
99
+ hash?: string | undefined;
100
+ } | undefined;
101
+ schema_name?: string | undefined;
102
+ schema_description?: string | undefined;
103
+ schema_strict?: boolean | undefined;
104
+ }, {
105
+ format?: "text" | "json" | "markdown" | undefined;
106
+ stream?: boolean | undefined;
107
+ schema?: Record<string, unknown> | undefined;
108
+ schema_ref?: string | undefined;
109
+ schema_source?: {
110
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
111
+ ref?: string | undefined;
112
+ resolved_path?: string | undefined;
113
+ hash?: string | undefined;
114
+ } | undefined;
56
115
  schema_name?: string | undefined;
57
116
  schema_description?: string | undefined;
58
117
  schema_strict?: boolean | undefined;
@@ -105,6 +164,10 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
105
164
  cached_content?: string | undefined;
106
165
  }>>;
107
166
  }, "strip", z.ZodTypeAny, {
167
+ openai?: {
168
+ prompt_cache_key?: string | undefined;
169
+ retention?: "in_memory" | "24h" | undefined;
170
+ } | undefined;
108
171
  anthropic?: {
109
172
  type?: "ephemeral" | undefined;
110
173
  mode?: "automatic" | "explicit" | undefined;
@@ -116,14 +179,14 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
116
179
  gemini?: {
117
180
  cached_content?: string | undefined;
118
181
  } | undefined;
119
- openai?: {
120
- prompt_cache_key?: string | undefined;
121
- retention?: "in_memory" | "24h" | undefined;
122
- } | undefined;
123
182
  google?: {
124
183
  cached_content?: string | undefined;
125
184
  } | undefined;
126
185
  }, {
186
+ openai?: {
187
+ prompt_cache_key?: string | undefined;
188
+ retention?: "in_memory" | "24h" | undefined;
189
+ } | undefined;
127
190
  anthropic?: {
128
191
  type?: "ephemeral" | undefined;
129
192
  mode?: "automatic" | "explicit" | undefined;
@@ -135,10 +198,6 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
135
198
  gemini?: {
136
199
  cached_content?: string | undefined;
137
200
  } | undefined;
138
- openai?: {
139
- prompt_cache_key?: string | undefined;
140
- retention?: "in_memory" | "24h" | undefined;
141
- } | undefined;
142
201
  google?: {
143
202
  cached_content?: string | undefined;
144
203
  } | undefined;
@@ -153,23 +212,23 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
153
212
  openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
154
213
  llmasaservice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
155
214
  }, "strip", z.ZodTypeAny, {
215
+ openai?: Record<string, unknown> | undefined;
156
216
  anthropic?: Record<string, unknown> | undefined;
157
217
  gemini?: Record<string, unknown> | undefined;
158
- openrouter?: Record<string, unknown> | undefined;
159
- llmasaservice?: Record<string, unknown> | undefined;
160
- openai?: Record<string, unknown> | undefined;
218
+ google?: Record<string, unknown> | undefined;
161
219
  'openai-responses'?: Record<string, unknown> | undefined;
162
220
  openai_responses?: Record<string, unknown> | undefined;
163
- google?: Record<string, unknown> | undefined;
164
- }, {
165
- anthropic?: Record<string, unknown> | undefined;
166
- gemini?: Record<string, unknown> | undefined;
167
221
  openrouter?: Record<string, unknown> | undefined;
168
222
  llmasaservice?: Record<string, unknown> | undefined;
223
+ }, {
169
224
  openai?: Record<string, unknown> | undefined;
225
+ anthropic?: Record<string, unknown> | undefined;
226
+ gemini?: Record<string, unknown> | undefined;
227
+ google?: Record<string, unknown> | undefined;
170
228
  'openai-responses'?: Record<string, unknown> | undefined;
171
229
  openai_responses?: Record<string, unknown> | undefined;
172
- google?: Record<string, unknown> | undefined;
230
+ openrouter?: Record<string, unknown> | undefined;
231
+ llmasaservice?: Record<string, unknown> | undefined;
173
232
  }>>;
174
233
  tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
175
234
  name: z.ZodString;
@@ -381,11 +440,22 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
381
440
  format?: "text" | "json" | "markdown" | undefined;
382
441
  stream?: boolean | undefined;
383
442
  schema?: Record<string, unknown> | undefined;
443
+ schema_ref?: string | undefined;
444
+ schema_source?: {
445
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
446
+ ref?: string | undefined;
447
+ resolved_path?: string | undefined;
448
+ hash?: string | undefined;
449
+ } | undefined;
384
450
  schema_name?: string | undefined;
385
451
  schema_description?: string | undefined;
386
452
  schema_strict?: boolean | undefined;
387
453
  } | undefined;
388
454
  cache?: {
455
+ openai?: {
456
+ prompt_cache_key?: string | undefined;
457
+ retention?: "in_memory" | "24h" | undefined;
458
+ } | undefined;
389
459
  anthropic?: {
390
460
  type?: "ephemeral" | undefined;
391
461
  mode?: "automatic" | "explicit" | undefined;
@@ -397,23 +467,19 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
397
467
  gemini?: {
398
468
  cached_content?: string | undefined;
399
469
  } | undefined;
400
- openai?: {
401
- prompt_cache_key?: string | undefined;
402
- retention?: "in_memory" | "24h" | undefined;
403
- } | undefined;
404
470
  google?: {
405
471
  cached_content?: string | undefined;
406
472
  } | undefined;
407
473
  } | undefined;
408
474
  raw?: {
475
+ openai?: Record<string, unknown> | undefined;
409
476
  anthropic?: Record<string, unknown> | undefined;
410
477
  gemini?: Record<string, unknown> | undefined;
411
- openrouter?: Record<string, unknown> | undefined;
412
- llmasaservice?: Record<string, unknown> | undefined;
413
- openai?: Record<string, unknown> | undefined;
478
+ google?: Record<string, unknown> | undefined;
414
479
  'openai-responses'?: Record<string, unknown> | undefined;
415
480
  openai_responses?: Record<string, unknown> | undefined;
416
- google?: Record<string, unknown> | undefined;
481
+ openrouter?: Record<string, unknown> | undefined;
482
+ llmasaservice?: Record<string, unknown> | undefined;
417
483
  } | undefined;
418
484
  tools?: (string | {
419
485
  name: string;
@@ -475,11 +541,22 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
475
541
  format?: "text" | "json" | "markdown" | undefined;
476
542
  stream?: boolean | undefined;
477
543
  schema?: Record<string, unknown> | undefined;
544
+ schema_ref?: string | undefined;
545
+ schema_source?: {
546
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
547
+ ref?: string | undefined;
548
+ resolved_path?: string | undefined;
549
+ hash?: string | undefined;
550
+ } | undefined;
478
551
  schema_name?: string | undefined;
479
552
  schema_description?: string | undefined;
480
553
  schema_strict?: boolean | undefined;
481
554
  } | undefined;
482
555
  cache?: {
556
+ openai?: {
557
+ prompt_cache_key?: string | undefined;
558
+ retention?: "in_memory" | "24h" | undefined;
559
+ } | undefined;
483
560
  anthropic?: {
484
561
  type?: "ephemeral" | undefined;
485
562
  mode?: "automatic" | "explicit" | undefined;
@@ -491,23 +568,19 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
491
568
  gemini?: {
492
569
  cached_content?: string | undefined;
493
570
  } | undefined;
494
- openai?: {
495
- prompt_cache_key?: string | undefined;
496
- retention?: "in_memory" | "24h" | undefined;
497
- } | undefined;
498
571
  google?: {
499
572
  cached_content?: string | undefined;
500
573
  } | undefined;
501
574
  } | undefined;
502
575
  raw?: {
576
+ openai?: Record<string, unknown> | undefined;
503
577
  anthropic?: Record<string, unknown> | undefined;
504
578
  gemini?: Record<string, unknown> | undefined;
505
- openrouter?: Record<string, unknown> | undefined;
506
- llmasaservice?: Record<string, unknown> | undefined;
507
- openai?: Record<string, unknown> | undefined;
579
+ google?: Record<string, unknown> | undefined;
508
580
  'openai-responses'?: Record<string, unknown> | undefined;
509
581
  openai_responses?: Record<string, unknown> | undefined;
510
- google?: Record<string, unknown> | undefined;
582
+ openrouter?: Record<string, unknown> | undefined;
583
+ llmasaservice?: Record<string, unknown> | undefined;
511
584
  } | undefined;
512
585
  tools?: (string | {
513
586
  name: string;
@@ -591,10 +664,27 @@ declare const PromptAssetSchema: z.ZodObject<{
591
664
  stop?: string[] | undefined;
592
665
  max_output_tokens?: number | undefined;
593
666
  }>>;
594
- response: z.ZodOptional<z.ZodObject<{
667
+ response: z.ZodOptional<z.ZodEffects<z.ZodObject<{
595
668
  format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
596
669
  stream: z.ZodOptional<z.ZodBoolean>;
597
670
  schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
671
+ schema_ref: z.ZodOptional<z.ZodString>;
672
+ schema_source: z.ZodOptional<z.ZodObject<{
673
+ mode: z.ZodOptional<z.ZodEnum<["inline", "schema_ref_json", "schema_ref_zod_module"]>>;
674
+ ref: z.ZodOptional<z.ZodString>;
675
+ resolved_path: z.ZodOptional<z.ZodString>;
676
+ hash: z.ZodOptional<z.ZodString>;
677
+ }, "strip", z.ZodTypeAny, {
678
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
679
+ ref?: string | undefined;
680
+ resolved_path?: string | undefined;
681
+ hash?: string | undefined;
682
+ }, {
683
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
684
+ ref?: string | undefined;
685
+ resolved_path?: string | undefined;
686
+ hash?: string | undefined;
687
+ }>>;
598
688
  schema_name: z.ZodOptional<z.ZodString>;
599
689
  schema_description: z.ZodOptional<z.ZodString>;
600
690
  schema_strict: z.ZodOptional<z.ZodBoolean>;
@@ -602,6 +692,13 @@ declare const PromptAssetSchema: z.ZodObject<{
602
692
  format?: "text" | "json" | "markdown" | undefined;
603
693
  stream?: boolean | undefined;
604
694
  schema?: Record<string, unknown> | undefined;
695
+ schema_ref?: string | undefined;
696
+ schema_source?: {
697
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
698
+ ref?: string | undefined;
699
+ resolved_path?: string | undefined;
700
+ hash?: string | undefined;
701
+ } | undefined;
605
702
  schema_name?: string | undefined;
606
703
  schema_description?: string | undefined;
607
704
  schema_strict?: boolean | undefined;
@@ -609,6 +706,41 @@ declare const PromptAssetSchema: z.ZodObject<{
609
706
  format?: "text" | "json" | "markdown" | undefined;
610
707
  stream?: boolean | undefined;
611
708
  schema?: Record<string, unknown> | undefined;
709
+ schema_ref?: string | undefined;
710
+ schema_source?: {
711
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
712
+ ref?: string | undefined;
713
+ resolved_path?: string | undefined;
714
+ hash?: string | undefined;
715
+ } | undefined;
716
+ schema_name?: string | undefined;
717
+ schema_description?: string | undefined;
718
+ schema_strict?: boolean | undefined;
719
+ }>, {
720
+ format?: "text" | "json" | "markdown" | undefined;
721
+ stream?: boolean | undefined;
722
+ schema?: Record<string, unknown> | undefined;
723
+ schema_ref?: string | undefined;
724
+ schema_source?: {
725
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
726
+ ref?: string | undefined;
727
+ resolved_path?: string | undefined;
728
+ hash?: string | undefined;
729
+ } | undefined;
730
+ schema_name?: string | undefined;
731
+ schema_description?: string | undefined;
732
+ schema_strict?: boolean | undefined;
733
+ }, {
734
+ format?: "text" | "json" | "markdown" | undefined;
735
+ stream?: boolean | undefined;
736
+ schema?: Record<string, unknown> | undefined;
737
+ schema_ref?: string | undefined;
738
+ schema_source?: {
739
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
740
+ ref?: string | undefined;
741
+ resolved_path?: string | undefined;
742
+ hash?: string | undefined;
743
+ } | undefined;
612
744
  schema_name?: string | undefined;
613
745
  schema_description?: string | undefined;
614
746
  schema_strict?: boolean | undefined;
@@ -661,6 +793,10 @@ declare const PromptAssetSchema: z.ZodObject<{
661
793
  cached_content?: string | undefined;
662
794
  }>>;
663
795
  }, "strip", z.ZodTypeAny, {
796
+ openai?: {
797
+ prompt_cache_key?: string | undefined;
798
+ retention?: "in_memory" | "24h" | undefined;
799
+ } | undefined;
664
800
  anthropic?: {
665
801
  type?: "ephemeral" | undefined;
666
802
  mode?: "automatic" | "explicit" | undefined;
@@ -672,14 +808,14 @@ declare const PromptAssetSchema: z.ZodObject<{
672
808
  gemini?: {
673
809
  cached_content?: string | undefined;
674
810
  } | undefined;
675
- openai?: {
676
- prompt_cache_key?: string | undefined;
677
- retention?: "in_memory" | "24h" | undefined;
678
- } | undefined;
679
811
  google?: {
680
812
  cached_content?: string | undefined;
681
813
  } | undefined;
682
814
  }, {
815
+ openai?: {
816
+ prompt_cache_key?: string | undefined;
817
+ retention?: "in_memory" | "24h" | undefined;
818
+ } | undefined;
683
819
  anthropic?: {
684
820
  type?: "ephemeral" | undefined;
685
821
  mode?: "automatic" | "explicit" | undefined;
@@ -691,10 +827,6 @@ declare const PromptAssetSchema: z.ZodObject<{
691
827
  gemini?: {
692
828
  cached_content?: string | undefined;
693
829
  } | undefined;
694
- openai?: {
695
- prompt_cache_key?: string | undefined;
696
- retention?: "in_memory" | "24h" | undefined;
697
- } | undefined;
698
830
  google?: {
699
831
  cached_content?: string | undefined;
700
832
  } | undefined;
@@ -709,23 +841,23 @@ declare const PromptAssetSchema: z.ZodObject<{
709
841
  openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
710
842
  llmasaservice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
711
843
  }, "strip", z.ZodTypeAny, {
844
+ openai?: Record<string, unknown> | undefined;
712
845
  anthropic?: Record<string, unknown> | undefined;
713
846
  gemini?: Record<string, unknown> | undefined;
714
- openrouter?: Record<string, unknown> | undefined;
715
- llmasaservice?: Record<string, unknown> | undefined;
716
- openai?: Record<string, unknown> | undefined;
847
+ google?: Record<string, unknown> | undefined;
717
848
  'openai-responses'?: Record<string, unknown> | undefined;
718
849
  openai_responses?: Record<string, unknown> | undefined;
719
- google?: Record<string, unknown> | undefined;
720
- }, {
721
- anthropic?: Record<string, unknown> | undefined;
722
- gemini?: Record<string, unknown> | undefined;
723
850
  openrouter?: Record<string, unknown> | undefined;
724
851
  llmasaservice?: Record<string, unknown> | undefined;
852
+ }, {
725
853
  openai?: Record<string, unknown> | undefined;
854
+ anthropic?: Record<string, unknown> | undefined;
855
+ gemini?: Record<string, unknown> | undefined;
856
+ google?: Record<string, unknown> | undefined;
726
857
  'openai-responses'?: Record<string, unknown> | undefined;
727
858
  openai_responses?: Record<string, unknown> | undefined;
728
- google?: Record<string, unknown> | undefined;
859
+ openrouter?: Record<string, unknown> | undefined;
860
+ llmasaservice?: Record<string, unknown> | undefined;
729
861
  }>>;
730
862
  tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
731
863
  name: z.ZodString;
@@ -943,6 +1075,8 @@ declare const PromptAssetSchema: z.ZodObject<{
943
1075
  context: z.ZodOptional<z.ZodObject<{
944
1076
  inputs: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
945
1077
  name: z.ZodString;
1078
+ optional: z.ZodOptional<z.ZodBoolean>;
1079
+ warnings: z.ZodOptional<z.ZodBoolean>;
946
1080
  max_size: z.ZodOptional<z.ZodNumber>;
947
1081
  trim: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["start", "end", "both"]>]>>;
948
1082
  allow_regex: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -987,6 +1121,8 @@ declare const PromptAssetSchema: z.ZodObject<{
987
1121
  }>]>>;
988
1122
  }, "strip", z.ZodTypeAny, {
989
1123
  name: string;
1124
+ warnings?: boolean | undefined;
1125
+ optional?: boolean | undefined;
990
1126
  max_size?: number | undefined;
991
1127
  trim?: boolean | "start" | "end" | "both" | undefined;
992
1128
  allow_regex?: string | {
@@ -1007,6 +1143,8 @@ declare const PromptAssetSchema: z.ZodObject<{
1007
1143
  } | undefined;
1008
1144
  }, {
1009
1145
  name: string;
1146
+ warnings?: boolean | undefined;
1147
+ optional?: boolean | undefined;
1010
1148
  max_size?: number | undefined;
1011
1149
  trim?: boolean | "start" | "end" | "both" | undefined;
1012
1150
  allow_regex?: string | {
@@ -1034,8 +1172,13 @@ declare const PromptAssetSchema: z.ZodObject<{
1034
1172
  max_items?: number | undefined;
1035
1173
  }>>;
1036
1174
  }, "strip", z.ZodTypeAny, {
1175
+ history?: {
1176
+ max_items?: number | undefined;
1177
+ } | undefined;
1037
1178
  inputs?: (string | {
1038
1179
  name: string;
1180
+ warnings?: boolean | undefined;
1181
+ optional?: boolean | undefined;
1039
1182
  max_size?: number | undefined;
1040
1183
  trim?: boolean | "start" | "end" | "both" | undefined;
1041
1184
  allow_regex?: string | {
@@ -1055,12 +1198,14 @@ declare const PromptAssetSchema: z.ZodObject<{
1055
1198
  return_message?: string | undefined;
1056
1199
  } | undefined;
1057
1200
  })[] | undefined;
1201
+ }, {
1058
1202
  history?: {
1059
1203
  max_items?: number | undefined;
1060
1204
  } | undefined;
1061
- }, {
1062
1205
  inputs?: (string | {
1063
1206
  name: string;
1207
+ warnings?: boolean | undefined;
1208
+ optional?: boolean | undefined;
1064
1209
  max_size?: number | undefined;
1065
1210
  trim?: boolean | "start" | "end" | "both" | undefined;
1066
1211
  allow_regex?: string | {
@@ -1080,9 +1225,6 @@ declare const PromptAssetSchema: z.ZodObject<{
1080
1225
  return_message?: string | undefined;
1081
1226
  } | undefined;
1082
1227
  })[] | undefined;
1083
- history?: {
1084
- max_items?: number | undefined;
1085
- } | undefined;
1086
1228
  }>>;
1087
1229
  includes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1088
1230
  environments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -1120,10 +1262,27 @@ declare const PromptAssetSchema: z.ZodObject<{
1120
1262
  stop?: string[] | undefined;
1121
1263
  max_output_tokens?: number | undefined;
1122
1264
  }>>;
1123
- response: z.ZodOptional<z.ZodObject<{
1265
+ response: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1124
1266
  format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
1125
1267
  stream: z.ZodOptional<z.ZodBoolean>;
1126
1268
  schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1269
+ schema_ref: z.ZodOptional<z.ZodString>;
1270
+ schema_source: z.ZodOptional<z.ZodObject<{
1271
+ mode: z.ZodOptional<z.ZodEnum<["inline", "schema_ref_json", "schema_ref_zod_module"]>>;
1272
+ ref: z.ZodOptional<z.ZodString>;
1273
+ resolved_path: z.ZodOptional<z.ZodString>;
1274
+ hash: z.ZodOptional<z.ZodString>;
1275
+ }, "strip", z.ZodTypeAny, {
1276
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1277
+ ref?: string | undefined;
1278
+ resolved_path?: string | undefined;
1279
+ hash?: string | undefined;
1280
+ }, {
1281
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1282
+ ref?: string | undefined;
1283
+ resolved_path?: string | undefined;
1284
+ hash?: string | undefined;
1285
+ }>>;
1127
1286
  schema_name: z.ZodOptional<z.ZodString>;
1128
1287
  schema_description: z.ZodOptional<z.ZodString>;
1129
1288
  schema_strict: z.ZodOptional<z.ZodBoolean>;
@@ -1131,6 +1290,41 @@ declare const PromptAssetSchema: z.ZodObject<{
1131
1290
  format?: "text" | "json" | "markdown" | undefined;
1132
1291
  stream?: boolean | undefined;
1133
1292
  schema?: Record<string, unknown> | undefined;
1293
+ schema_ref?: string | undefined;
1294
+ schema_source?: {
1295
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1296
+ ref?: string | undefined;
1297
+ resolved_path?: string | undefined;
1298
+ hash?: string | undefined;
1299
+ } | undefined;
1300
+ schema_name?: string | undefined;
1301
+ schema_description?: string | undefined;
1302
+ schema_strict?: boolean | undefined;
1303
+ }, {
1304
+ format?: "text" | "json" | "markdown" | undefined;
1305
+ stream?: boolean | undefined;
1306
+ schema?: Record<string, unknown> | undefined;
1307
+ schema_ref?: string | undefined;
1308
+ schema_source?: {
1309
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1310
+ ref?: string | undefined;
1311
+ resolved_path?: string | undefined;
1312
+ hash?: string | undefined;
1313
+ } | undefined;
1314
+ schema_name?: string | undefined;
1315
+ schema_description?: string | undefined;
1316
+ schema_strict?: boolean | undefined;
1317
+ }>, {
1318
+ format?: "text" | "json" | "markdown" | undefined;
1319
+ stream?: boolean | undefined;
1320
+ schema?: Record<string, unknown> | undefined;
1321
+ schema_ref?: string | undefined;
1322
+ schema_source?: {
1323
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1324
+ ref?: string | undefined;
1325
+ resolved_path?: string | undefined;
1326
+ hash?: string | undefined;
1327
+ } | undefined;
1134
1328
  schema_name?: string | undefined;
1135
1329
  schema_description?: string | undefined;
1136
1330
  schema_strict?: boolean | undefined;
@@ -1138,6 +1332,13 @@ declare const PromptAssetSchema: z.ZodObject<{
1138
1332
  format?: "text" | "json" | "markdown" | undefined;
1139
1333
  stream?: boolean | undefined;
1140
1334
  schema?: Record<string, unknown> | undefined;
1335
+ schema_ref?: string | undefined;
1336
+ schema_source?: {
1337
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1338
+ ref?: string | undefined;
1339
+ resolved_path?: string | undefined;
1340
+ hash?: string | undefined;
1341
+ } | undefined;
1141
1342
  schema_name?: string | undefined;
1142
1343
  schema_description?: string | undefined;
1143
1344
  schema_strict?: boolean | undefined;
@@ -1190,6 +1391,10 @@ declare const PromptAssetSchema: z.ZodObject<{
1190
1391
  cached_content?: string | undefined;
1191
1392
  }>>;
1192
1393
  }, "strip", z.ZodTypeAny, {
1394
+ openai?: {
1395
+ prompt_cache_key?: string | undefined;
1396
+ retention?: "in_memory" | "24h" | undefined;
1397
+ } | undefined;
1193
1398
  anthropic?: {
1194
1399
  type?: "ephemeral" | undefined;
1195
1400
  mode?: "automatic" | "explicit" | undefined;
@@ -1201,14 +1406,14 @@ declare const PromptAssetSchema: z.ZodObject<{
1201
1406
  gemini?: {
1202
1407
  cached_content?: string | undefined;
1203
1408
  } | undefined;
1204
- openai?: {
1205
- prompt_cache_key?: string | undefined;
1206
- retention?: "in_memory" | "24h" | undefined;
1207
- } | undefined;
1208
1409
  google?: {
1209
1410
  cached_content?: string | undefined;
1210
1411
  } | undefined;
1211
1412
  }, {
1413
+ openai?: {
1414
+ prompt_cache_key?: string | undefined;
1415
+ retention?: "in_memory" | "24h" | undefined;
1416
+ } | undefined;
1212
1417
  anthropic?: {
1213
1418
  type?: "ephemeral" | undefined;
1214
1419
  mode?: "automatic" | "explicit" | undefined;
@@ -1220,10 +1425,6 @@ declare const PromptAssetSchema: z.ZodObject<{
1220
1425
  gemini?: {
1221
1426
  cached_content?: string | undefined;
1222
1427
  } | undefined;
1223
- openai?: {
1224
- prompt_cache_key?: string | undefined;
1225
- retention?: "in_memory" | "24h" | undefined;
1226
- } | undefined;
1227
1428
  google?: {
1228
1429
  cached_content?: string | undefined;
1229
1430
  } | undefined;
@@ -1238,23 +1439,23 @@ declare const PromptAssetSchema: z.ZodObject<{
1238
1439
  openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1239
1440
  llmasaservice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1240
1441
  }, "strip", z.ZodTypeAny, {
1442
+ openai?: Record<string, unknown> | undefined;
1241
1443
  anthropic?: Record<string, unknown> | undefined;
1242
1444
  gemini?: Record<string, unknown> | undefined;
1243
- openrouter?: Record<string, unknown> | undefined;
1244
- llmasaservice?: Record<string, unknown> | undefined;
1245
- openai?: Record<string, unknown> | undefined;
1445
+ google?: Record<string, unknown> | undefined;
1246
1446
  'openai-responses'?: Record<string, unknown> | undefined;
1247
1447
  openai_responses?: Record<string, unknown> | undefined;
1248
- google?: Record<string, unknown> | undefined;
1249
- }, {
1250
- anthropic?: Record<string, unknown> | undefined;
1251
- gemini?: Record<string, unknown> | undefined;
1252
1448
  openrouter?: Record<string, unknown> | undefined;
1253
1449
  llmasaservice?: Record<string, unknown> | undefined;
1450
+ }, {
1254
1451
  openai?: Record<string, unknown> | undefined;
1452
+ anthropic?: Record<string, unknown> | undefined;
1453
+ gemini?: Record<string, unknown> | undefined;
1454
+ google?: Record<string, unknown> | undefined;
1255
1455
  'openai-responses'?: Record<string, unknown> | undefined;
1256
1456
  openai_responses?: Record<string, unknown> | undefined;
1257
- google?: Record<string, unknown> | undefined;
1457
+ openrouter?: Record<string, unknown> | undefined;
1458
+ llmasaservice?: Record<string, unknown> | undefined;
1258
1459
  }>>;
1259
1460
  tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1260
1461
  name: z.ZodString;
@@ -1466,11 +1667,22 @@ declare const PromptAssetSchema: z.ZodObject<{
1466
1667
  format?: "text" | "json" | "markdown" | undefined;
1467
1668
  stream?: boolean | undefined;
1468
1669
  schema?: Record<string, unknown> | undefined;
1670
+ schema_ref?: string | undefined;
1671
+ schema_source?: {
1672
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1673
+ ref?: string | undefined;
1674
+ resolved_path?: string | undefined;
1675
+ hash?: string | undefined;
1676
+ } | undefined;
1469
1677
  schema_name?: string | undefined;
1470
1678
  schema_description?: string | undefined;
1471
1679
  schema_strict?: boolean | undefined;
1472
1680
  } | undefined;
1473
1681
  cache?: {
1682
+ openai?: {
1683
+ prompt_cache_key?: string | undefined;
1684
+ retention?: "in_memory" | "24h" | undefined;
1685
+ } | undefined;
1474
1686
  anthropic?: {
1475
1687
  type?: "ephemeral" | undefined;
1476
1688
  mode?: "automatic" | "explicit" | undefined;
@@ -1482,23 +1694,19 @@ declare const PromptAssetSchema: z.ZodObject<{
1482
1694
  gemini?: {
1483
1695
  cached_content?: string | undefined;
1484
1696
  } | undefined;
1485
- openai?: {
1486
- prompt_cache_key?: string | undefined;
1487
- retention?: "in_memory" | "24h" | undefined;
1488
- } | undefined;
1489
1697
  google?: {
1490
1698
  cached_content?: string | undefined;
1491
1699
  } | undefined;
1492
1700
  } | undefined;
1493
1701
  raw?: {
1702
+ openai?: Record<string, unknown> | undefined;
1494
1703
  anthropic?: Record<string, unknown> | undefined;
1495
1704
  gemini?: Record<string, unknown> | undefined;
1496
- openrouter?: Record<string, unknown> | undefined;
1497
- llmasaservice?: Record<string, unknown> | undefined;
1498
- openai?: Record<string, unknown> | undefined;
1705
+ google?: Record<string, unknown> | undefined;
1499
1706
  'openai-responses'?: Record<string, unknown> | undefined;
1500
1707
  openai_responses?: Record<string, unknown> | undefined;
1501
- google?: Record<string, unknown> | undefined;
1708
+ openrouter?: Record<string, unknown> | undefined;
1709
+ llmasaservice?: Record<string, unknown> | undefined;
1502
1710
  } | undefined;
1503
1711
  tools?: (string | {
1504
1712
  name: string;
@@ -1560,11 +1768,22 @@ declare const PromptAssetSchema: z.ZodObject<{
1560
1768
  format?: "text" | "json" | "markdown" | undefined;
1561
1769
  stream?: boolean | undefined;
1562
1770
  schema?: Record<string, unknown> | undefined;
1771
+ schema_ref?: string | undefined;
1772
+ schema_source?: {
1773
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1774
+ ref?: string | undefined;
1775
+ resolved_path?: string | undefined;
1776
+ hash?: string | undefined;
1777
+ } | undefined;
1563
1778
  schema_name?: string | undefined;
1564
1779
  schema_description?: string | undefined;
1565
1780
  schema_strict?: boolean | undefined;
1566
1781
  } | undefined;
1567
1782
  cache?: {
1783
+ openai?: {
1784
+ prompt_cache_key?: string | undefined;
1785
+ retention?: "in_memory" | "24h" | undefined;
1786
+ } | undefined;
1568
1787
  anthropic?: {
1569
1788
  type?: "ephemeral" | undefined;
1570
1789
  mode?: "automatic" | "explicit" | undefined;
@@ -1576,23 +1795,19 @@ declare const PromptAssetSchema: z.ZodObject<{
1576
1795
  gemini?: {
1577
1796
  cached_content?: string | undefined;
1578
1797
  } | undefined;
1579
- openai?: {
1580
- prompt_cache_key?: string | undefined;
1581
- retention?: "in_memory" | "24h" | undefined;
1582
- } | undefined;
1583
1798
  google?: {
1584
1799
  cached_content?: string | undefined;
1585
1800
  } | undefined;
1586
1801
  } | undefined;
1587
1802
  raw?: {
1803
+ openai?: Record<string, unknown> | undefined;
1588
1804
  anthropic?: Record<string, unknown> | undefined;
1589
1805
  gemini?: Record<string, unknown> | undefined;
1590
- openrouter?: Record<string, unknown> | undefined;
1591
- llmasaservice?: Record<string, unknown> | undefined;
1592
- openai?: Record<string, unknown> | undefined;
1806
+ google?: Record<string, unknown> | undefined;
1593
1807
  'openai-responses'?: Record<string, unknown> | undefined;
1594
1808
  openai_responses?: Record<string, unknown> | undefined;
1595
- google?: Record<string, unknown> | undefined;
1809
+ openrouter?: Record<string, unknown> | undefined;
1810
+ llmasaservice?: Record<string, unknown> | undefined;
1596
1811
  } | undefined;
1597
1812
  tools?: (string | {
1598
1813
  name: string;
@@ -1671,10 +1886,27 @@ declare const PromptAssetSchema: z.ZodObject<{
1671
1886
  stop?: string[] | undefined;
1672
1887
  max_output_tokens?: number | undefined;
1673
1888
  }>>;
1674
- response: z.ZodOptional<z.ZodObject<{
1889
+ response: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1675
1890
  format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
1676
1891
  stream: z.ZodOptional<z.ZodBoolean>;
1677
1892
  schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1893
+ schema_ref: z.ZodOptional<z.ZodString>;
1894
+ schema_source: z.ZodOptional<z.ZodObject<{
1895
+ mode: z.ZodOptional<z.ZodEnum<["inline", "schema_ref_json", "schema_ref_zod_module"]>>;
1896
+ ref: z.ZodOptional<z.ZodString>;
1897
+ resolved_path: z.ZodOptional<z.ZodString>;
1898
+ hash: z.ZodOptional<z.ZodString>;
1899
+ }, "strip", z.ZodTypeAny, {
1900
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1901
+ ref?: string | undefined;
1902
+ resolved_path?: string | undefined;
1903
+ hash?: string | undefined;
1904
+ }, {
1905
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1906
+ ref?: string | undefined;
1907
+ resolved_path?: string | undefined;
1908
+ hash?: string | undefined;
1909
+ }>>;
1678
1910
  schema_name: z.ZodOptional<z.ZodString>;
1679
1911
  schema_description: z.ZodOptional<z.ZodString>;
1680
1912
  schema_strict: z.ZodOptional<z.ZodBoolean>;
@@ -1682,6 +1914,41 @@ declare const PromptAssetSchema: z.ZodObject<{
1682
1914
  format?: "text" | "json" | "markdown" | undefined;
1683
1915
  stream?: boolean | undefined;
1684
1916
  schema?: Record<string, unknown> | undefined;
1917
+ schema_ref?: string | undefined;
1918
+ schema_source?: {
1919
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1920
+ ref?: string | undefined;
1921
+ resolved_path?: string | undefined;
1922
+ hash?: string | undefined;
1923
+ } | undefined;
1924
+ schema_name?: string | undefined;
1925
+ schema_description?: string | undefined;
1926
+ schema_strict?: boolean | undefined;
1927
+ }, {
1928
+ format?: "text" | "json" | "markdown" | undefined;
1929
+ stream?: boolean | undefined;
1930
+ schema?: Record<string, unknown> | undefined;
1931
+ schema_ref?: string | undefined;
1932
+ schema_source?: {
1933
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1934
+ ref?: string | undefined;
1935
+ resolved_path?: string | undefined;
1936
+ hash?: string | undefined;
1937
+ } | undefined;
1938
+ schema_name?: string | undefined;
1939
+ schema_description?: string | undefined;
1940
+ schema_strict?: boolean | undefined;
1941
+ }>, {
1942
+ format?: "text" | "json" | "markdown" | undefined;
1943
+ stream?: boolean | undefined;
1944
+ schema?: Record<string, unknown> | undefined;
1945
+ schema_ref?: string | undefined;
1946
+ schema_source?: {
1947
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1948
+ ref?: string | undefined;
1949
+ resolved_path?: string | undefined;
1950
+ hash?: string | undefined;
1951
+ } | undefined;
1685
1952
  schema_name?: string | undefined;
1686
1953
  schema_description?: string | undefined;
1687
1954
  schema_strict?: boolean | undefined;
@@ -1689,6 +1956,13 @@ declare const PromptAssetSchema: z.ZodObject<{
1689
1956
  format?: "text" | "json" | "markdown" | undefined;
1690
1957
  stream?: boolean | undefined;
1691
1958
  schema?: Record<string, unknown> | undefined;
1959
+ schema_ref?: string | undefined;
1960
+ schema_source?: {
1961
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
1962
+ ref?: string | undefined;
1963
+ resolved_path?: string | undefined;
1964
+ hash?: string | undefined;
1965
+ } | undefined;
1692
1966
  schema_name?: string | undefined;
1693
1967
  schema_description?: string | undefined;
1694
1968
  schema_strict?: boolean | undefined;
@@ -1741,6 +2015,10 @@ declare const PromptAssetSchema: z.ZodObject<{
1741
2015
  cached_content?: string | undefined;
1742
2016
  }>>;
1743
2017
  }, "strip", z.ZodTypeAny, {
2018
+ openai?: {
2019
+ prompt_cache_key?: string | undefined;
2020
+ retention?: "in_memory" | "24h" | undefined;
2021
+ } | undefined;
1744
2022
  anthropic?: {
1745
2023
  type?: "ephemeral" | undefined;
1746
2024
  mode?: "automatic" | "explicit" | undefined;
@@ -1752,14 +2030,14 @@ declare const PromptAssetSchema: z.ZodObject<{
1752
2030
  gemini?: {
1753
2031
  cached_content?: string | undefined;
1754
2032
  } | undefined;
1755
- openai?: {
1756
- prompt_cache_key?: string | undefined;
1757
- retention?: "in_memory" | "24h" | undefined;
1758
- } | undefined;
1759
2033
  google?: {
1760
2034
  cached_content?: string | undefined;
1761
2035
  } | undefined;
1762
2036
  }, {
2037
+ openai?: {
2038
+ prompt_cache_key?: string | undefined;
2039
+ retention?: "in_memory" | "24h" | undefined;
2040
+ } | undefined;
1763
2041
  anthropic?: {
1764
2042
  type?: "ephemeral" | undefined;
1765
2043
  mode?: "automatic" | "explicit" | undefined;
@@ -1771,10 +2049,6 @@ declare const PromptAssetSchema: z.ZodObject<{
1771
2049
  gemini?: {
1772
2050
  cached_content?: string | undefined;
1773
2051
  } | undefined;
1774
- openai?: {
1775
- prompt_cache_key?: string | undefined;
1776
- retention?: "in_memory" | "24h" | undefined;
1777
- } | undefined;
1778
2052
  google?: {
1779
2053
  cached_content?: string | undefined;
1780
2054
  } | undefined;
@@ -1789,23 +2063,23 @@ declare const PromptAssetSchema: z.ZodObject<{
1789
2063
  openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1790
2064
  llmasaservice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1791
2065
  }, "strip", z.ZodTypeAny, {
2066
+ openai?: Record<string, unknown> | undefined;
1792
2067
  anthropic?: Record<string, unknown> | undefined;
1793
2068
  gemini?: Record<string, unknown> | undefined;
1794
- openrouter?: Record<string, unknown> | undefined;
1795
- llmasaservice?: Record<string, unknown> | undefined;
1796
- openai?: Record<string, unknown> | undefined;
2069
+ google?: Record<string, unknown> | undefined;
1797
2070
  'openai-responses'?: Record<string, unknown> | undefined;
1798
2071
  openai_responses?: Record<string, unknown> | undefined;
1799
- google?: Record<string, unknown> | undefined;
1800
- }, {
1801
- anthropic?: Record<string, unknown> | undefined;
1802
- gemini?: Record<string, unknown> | undefined;
1803
2072
  openrouter?: Record<string, unknown> | undefined;
1804
2073
  llmasaservice?: Record<string, unknown> | undefined;
2074
+ }, {
1805
2075
  openai?: Record<string, unknown> | undefined;
2076
+ anthropic?: Record<string, unknown> | undefined;
2077
+ gemini?: Record<string, unknown> | undefined;
2078
+ google?: Record<string, unknown> | undefined;
1806
2079
  'openai-responses'?: Record<string, unknown> | undefined;
1807
2080
  openai_responses?: Record<string, unknown> | undefined;
1808
- google?: Record<string, unknown> | undefined;
2081
+ openrouter?: Record<string, unknown> | undefined;
2082
+ llmasaservice?: Record<string, unknown> | undefined;
1809
2083
  }>>;
1810
2084
  tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1811
2085
  name: z.ZodString;
@@ -2017,11 +2291,22 @@ declare const PromptAssetSchema: z.ZodObject<{
2017
2291
  format?: "text" | "json" | "markdown" | undefined;
2018
2292
  stream?: boolean | undefined;
2019
2293
  schema?: Record<string, unknown> | undefined;
2294
+ schema_ref?: string | undefined;
2295
+ schema_source?: {
2296
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
2297
+ ref?: string | undefined;
2298
+ resolved_path?: string | undefined;
2299
+ hash?: string | undefined;
2300
+ } | undefined;
2020
2301
  schema_name?: string | undefined;
2021
2302
  schema_description?: string | undefined;
2022
2303
  schema_strict?: boolean | undefined;
2023
2304
  } | undefined;
2024
2305
  cache?: {
2306
+ openai?: {
2307
+ prompt_cache_key?: string | undefined;
2308
+ retention?: "in_memory" | "24h" | undefined;
2309
+ } | undefined;
2025
2310
  anthropic?: {
2026
2311
  type?: "ephemeral" | undefined;
2027
2312
  mode?: "automatic" | "explicit" | undefined;
@@ -2033,23 +2318,19 @@ declare const PromptAssetSchema: z.ZodObject<{
2033
2318
  gemini?: {
2034
2319
  cached_content?: string | undefined;
2035
2320
  } | undefined;
2036
- openai?: {
2037
- prompt_cache_key?: string | undefined;
2038
- retention?: "in_memory" | "24h" | undefined;
2039
- } | undefined;
2040
2321
  google?: {
2041
2322
  cached_content?: string | undefined;
2042
2323
  } | undefined;
2043
2324
  } | undefined;
2044
2325
  raw?: {
2326
+ openai?: Record<string, unknown> | undefined;
2045
2327
  anthropic?: Record<string, unknown> | undefined;
2046
2328
  gemini?: Record<string, unknown> | undefined;
2047
- openrouter?: Record<string, unknown> | undefined;
2048
- llmasaservice?: Record<string, unknown> | undefined;
2049
- openai?: Record<string, unknown> | undefined;
2329
+ google?: Record<string, unknown> | undefined;
2050
2330
  'openai-responses'?: Record<string, unknown> | undefined;
2051
2331
  openai_responses?: Record<string, unknown> | undefined;
2052
- google?: Record<string, unknown> | undefined;
2332
+ openrouter?: Record<string, unknown> | undefined;
2333
+ llmasaservice?: Record<string, unknown> | undefined;
2053
2334
  } | undefined;
2054
2335
  tools?: (string | {
2055
2336
  name: string;
@@ -2111,11 +2392,22 @@ declare const PromptAssetSchema: z.ZodObject<{
2111
2392
  format?: "text" | "json" | "markdown" | undefined;
2112
2393
  stream?: boolean | undefined;
2113
2394
  schema?: Record<string, unknown> | undefined;
2395
+ schema_ref?: string | undefined;
2396
+ schema_source?: {
2397
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
2398
+ ref?: string | undefined;
2399
+ resolved_path?: string | undefined;
2400
+ hash?: string | undefined;
2401
+ } | undefined;
2114
2402
  schema_name?: string | undefined;
2115
2403
  schema_description?: string | undefined;
2116
2404
  schema_strict?: boolean | undefined;
2117
2405
  } | undefined;
2118
2406
  cache?: {
2407
+ openai?: {
2408
+ prompt_cache_key?: string | undefined;
2409
+ retention?: "in_memory" | "24h" | undefined;
2410
+ } | undefined;
2119
2411
  anthropic?: {
2120
2412
  type?: "ephemeral" | undefined;
2121
2413
  mode?: "automatic" | "explicit" | undefined;
@@ -2127,23 +2419,19 @@ declare const PromptAssetSchema: z.ZodObject<{
2127
2419
  gemini?: {
2128
2420
  cached_content?: string | undefined;
2129
2421
  } | undefined;
2130
- openai?: {
2131
- prompt_cache_key?: string | undefined;
2132
- retention?: "in_memory" | "24h" | undefined;
2133
- } | undefined;
2134
2422
  google?: {
2135
2423
  cached_content?: string | undefined;
2136
2424
  } | undefined;
2137
2425
  } | undefined;
2138
2426
  raw?: {
2427
+ openai?: Record<string, unknown> | undefined;
2139
2428
  anthropic?: Record<string, unknown> | undefined;
2140
2429
  gemini?: Record<string, unknown> | undefined;
2141
- openrouter?: Record<string, unknown> | undefined;
2142
- llmasaservice?: Record<string, unknown> | undefined;
2143
- openai?: Record<string, unknown> | undefined;
2430
+ google?: Record<string, unknown> | undefined;
2144
2431
  'openai-responses'?: Record<string, unknown> | undefined;
2145
2432
  openai_responses?: Record<string, unknown> | undefined;
2146
- google?: Record<string, unknown> | undefined;
2433
+ openrouter?: Record<string, unknown> | undefined;
2434
+ llmasaservice?: Record<string, unknown> | undefined;
2147
2435
  } | undefined;
2148
2436
  tools?: (string | {
2149
2437
  name: string;
@@ -2229,10 +2517,8 @@ declare const PromptAssetSchema: z.ZodObject<{
2229
2517
  }, "strip", z.ZodTypeAny, {
2230
2518
  id: string;
2231
2519
  schema_version: number;
2232
- description?: string | undefined;
2233
- includes?: string[] | undefined;
2234
- provider?: "anthropic" | "gemini" | "openrouter" | "llmasaservice" | "openai" | "openai-responses" | "google" | "any" | undefined;
2235
2520
  model?: string | undefined;
2521
+ includes?: string[] | undefined;
2236
2522
  fallback_models?: string[] | undefined;
2237
2523
  reasoning?: {
2238
2524
  effort?: "low" | "medium" | "high" | undefined;
@@ -2250,11 +2536,22 @@ declare const PromptAssetSchema: z.ZodObject<{
2250
2536
  format?: "text" | "json" | "markdown" | undefined;
2251
2537
  stream?: boolean | undefined;
2252
2538
  schema?: Record<string, unknown> | undefined;
2539
+ schema_ref?: string | undefined;
2540
+ schema_source?: {
2541
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
2542
+ ref?: string | undefined;
2543
+ resolved_path?: string | undefined;
2544
+ hash?: string | undefined;
2545
+ } | undefined;
2253
2546
  schema_name?: string | undefined;
2254
2547
  schema_description?: string | undefined;
2255
2548
  schema_strict?: boolean | undefined;
2256
2549
  } | undefined;
2257
2550
  cache?: {
2551
+ openai?: {
2552
+ prompt_cache_key?: string | undefined;
2553
+ retention?: "in_memory" | "24h" | undefined;
2554
+ } | undefined;
2258
2555
  anthropic?: {
2259
2556
  type?: "ephemeral" | undefined;
2260
2557
  mode?: "automatic" | "explicit" | undefined;
@@ -2266,29 +2563,27 @@ declare const PromptAssetSchema: z.ZodObject<{
2266
2563
  gemini?: {
2267
2564
  cached_content?: string | undefined;
2268
2565
  } | undefined;
2269
- openai?: {
2270
- prompt_cache_key?: string | undefined;
2271
- retention?: "in_memory" | "24h" | undefined;
2272
- } | undefined;
2273
2566
  google?: {
2274
2567
  cached_content?: string | undefined;
2275
2568
  } | undefined;
2276
2569
  } | undefined;
2277
2570
  raw?: {
2571
+ openai?: Record<string, unknown> | undefined;
2278
2572
  anthropic?: Record<string, unknown> | undefined;
2279
2573
  gemini?: Record<string, unknown> | undefined;
2280
- openrouter?: Record<string, unknown> | undefined;
2281
- llmasaservice?: Record<string, unknown> | undefined;
2282
- openai?: Record<string, unknown> | undefined;
2574
+ google?: Record<string, unknown> | undefined;
2283
2575
  'openai-responses'?: Record<string, unknown> | undefined;
2284
2576
  openai_responses?: Record<string, unknown> | undefined;
2285
- google?: Record<string, unknown> | undefined;
2577
+ openrouter?: Record<string, unknown> | undefined;
2578
+ llmasaservice?: Record<string, unknown> | undefined;
2286
2579
  } | undefined;
2580
+ description?: string | undefined;
2287
2581
  tools?: (string | {
2288
2582
  name: string;
2289
2583
  description?: string | undefined;
2290
2584
  input_schema?: Record<string, unknown> | undefined;
2291
2585
  })[] | undefined;
2586
+ provider?: "openai" | "anthropic" | "gemini" | "google" | "openai-responses" | "openrouter" | "llmasaservice" | "any" | undefined;
2292
2587
  provider_options?: {
2293
2588
  anthropic?: {
2294
2589
  top_k?: number | undefined;
@@ -2325,16 +2620,9 @@ declare const PromptAssetSchema: z.ZodObject<{
2325
2620
  projectId?: string | undefined;
2326
2621
  } | undefined;
2327
2622
  } | undefined;
2328
- metadata?: {
2329
- owner?: string | undefined;
2330
- tags?: string[] | undefined;
2331
- review_required?: boolean | undefined;
2332
- stable?: boolean | undefined;
2333
- } | undefined;
2334
- sections?: {
2335
- system_instructions?: string | undefined;
2336
- prompt_template?: string | undefined;
2337
- notes?: string | undefined;
2623
+ source?: {
2624
+ file_path?: string | undefined;
2625
+ checksum?: string | undefined;
2338
2626
  } | undefined;
2339
2627
  mcp?: {
2340
2628
  servers?: (string | {
@@ -2343,8 +2631,13 @@ declare const PromptAssetSchema: z.ZodObject<{
2343
2631
  })[] | undefined;
2344
2632
  } | undefined;
2345
2633
  context?: {
2634
+ history?: {
2635
+ max_items?: number | undefined;
2636
+ } | undefined;
2346
2637
  inputs?: (string | {
2347
2638
  name: string;
2639
+ warnings?: boolean | undefined;
2640
+ optional?: boolean | undefined;
2348
2641
  max_size?: number | undefined;
2349
2642
  trim?: boolean | "start" | "end" | "both" | undefined;
2350
2643
  allow_regex?: string | {
@@ -2364,9 +2657,6 @@ declare const PromptAssetSchema: z.ZodObject<{
2364
2657
  return_message?: string | undefined;
2365
2658
  } | undefined;
2366
2659
  })[] | undefined;
2367
- history?: {
2368
- max_items?: number | undefined;
2369
- } | undefined;
2370
2660
  } | undefined;
2371
2661
  environments?: Record<string, {
2372
2662
  model?: string | undefined;
@@ -2387,11 +2677,22 @@ declare const PromptAssetSchema: z.ZodObject<{
2387
2677
  format?: "text" | "json" | "markdown" | undefined;
2388
2678
  stream?: boolean | undefined;
2389
2679
  schema?: Record<string, unknown> | undefined;
2680
+ schema_ref?: string | undefined;
2681
+ schema_source?: {
2682
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
2683
+ ref?: string | undefined;
2684
+ resolved_path?: string | undefined;
2685
+ hash?: string | undefined;
2686
+ } | undefined;
2390
2687
  schema_name?: string | undefined;
2391
2688
  schema_description?: string | undefined;
2392
2689
  schema_strict?: boolean | undefined;
2393
2690
  } | undefined;
2394
2691
  cache?: {
2692
+ openai?: {
2693
+ prompt_cache_key?: string | undefined;
2694
+ retention?: "in_memory" | "24h" | undefined;
2695
+ } | undefined;
2395
2696
  anthropic?: {
2396
2697
  type?: "ephemeral" | undefined;
2397
2698
  mode?: "automatic" | "explicit" | undefined;
@@ -2403,23 +2704,19 @@ declare const PromptAssetSchema: z.ZodObject<{
2403
2704
  gemini?: {
2404
2705
  cached_content?: string | undefined;
2405
2706
  } | undefined;
2406
- openai?: {
2407
- prompt_cache_key?: string | undefined;
2408
- retention?: "in_memory" | "24h" | undefined;
2409
- } | undefined;
2410
2707
  google?: {
2411
2708
  cached_content?: string | undefined;
2412
2709
  } | undefined;
2413
2710
  } | undefined;
2414
2711
  raw?: {
2712
+ openai?: Record<string, unknown> | undefined;
2415
2713
  anthropic?: Record<string, unknown> | undefined;
2416
2714
  gemini?: Record<string, unknown> | undefined;
2417
- openrouter?: Record<string, unknown> | undefined;
2418
- llmasaservice?: Record<string, unknown> | undefined;
2419
- openai?: Record<string, unknown> | undefined;
2715
+ google?: Record<string, unknown> | undefined;
2420
2716
  'openai-responses'?: Record<string, unknown> | undefined;
2421
2717
  openai_responses?: Record<string, unknown> | undefined;
2422
- google?: Record<string, unknown> | undefined;
2718
+ openrouter?: Record<string, unknown> | undefined;
2719
+ llmasaservice?: Record<string, unknown> | undefined;
2423
2720
  } | undefined;
2424
2721
  tools?: (string | {
2425
2722
  name: string;
@@ -2482,11 +2779,22 @@ declare const PromptAssetSchema: z.ZodObject<{
2482
2779
  format?: "text" | "json" | "markdown" | undefined;
2483
2780
  stream?: boolean | undefined;
2484
2781
  schema?: Record<string, unknown> | undefined;
2782
+ schema_ref?: string | undefined;
2783
+ schema_source?: {
2784
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
2785
+ ref?: string | undefined;
2786
+ resolved_path?: string | undefined;
2787
+ hash?: string | undefined;
2788
+ } | undefined;
2485
2789
  schema_name?: string | undefined;
2486
2790
  schema_description?: string | undefined;
2487
2791
  schema_strict?: boolean | undefined;
2488
2792
  } | undefined;
2489
2793
  cache?: {
2794
+ openai?: {
2795
+ prompt_cache_key?: string | undefined;
2796
+ retention?: "in_memory" | "24h" | undefined;
2797
+ } | undefined;
2490
2798
  anthropic?: {
2491
2799
  type?: "ephemeral" | undefined;
2492
2800
  mode?: "automatic" | "explicit" | undefined;
@@ -2498,23 +2806,19 @@ declare const PromptAssetSchema: z.ZodObject<{
2498
2806
  gemini?: {
2499
2807
  cached_content?: string | undefined;
2500
2808
  } | undefined;
2501
- openai?: {
2502
- prompt_cache_key?: string | undefined;
2503
- retention?: "in_memory" | "24h" | undefined;
2504
- } | undefined;
2505
2809
  google?: {
2506
2810
  cached_content?: string | undefined;
2507
2811
  } | undefined;
2508
2812
  } | undefined;
2509
2813
  raw?: {
2814
+ openai?: Record<string, unknown> | undefined;
2510
2815
  anthropic?: Record<string, unknown> | undefined;
2511
2816
  gemini?: Record<string, unknown> | undefined;
2512
- openrouter?: Record<string, unknown> | undefined;
2513
- llmasaservice?: Record<string, unknown> | undefined;
2514
- openai?: Record<string, unknown> | undefined;
2817
+ google?: Record<string, unknown> | undefined;
2515
2818
  'openai-responses'?: Record<string, unknown> | undefined;
2516
2819
  openai_responses?: Record<string, unknown> | undefined;
2517
- google?: Record<string, unknown> | undefined;
2820
+ openrouter?: Record<string, unknown> | undefined;
2821
+ llmasaservice?: Record<string, unknown> | undefined;
2518
2822
  } | undefined;
2519
2823
  tools?: (string | {
2520
2824
  name: string;
@@ -2558,16 +2862,21 @@ declare const PromptAssetSchema: z.ZodObject<{
2558
2862
  } | undefined;
2559
2863
  } | undefined;
2560
2864
  }> | undefined;
2561
- source?: {
2562
- file_path?: string | undefined;
2563
- checksum?: string | undefined;
2865
+ metadata?: {
2866
+ owner?: string | undefined;
2867
+ tags?: string[] | undefined;
2868
+ review_required?: boolean | undefined;
2869
+ stable?: boolean | undefined;
2870
+ } | undefined;
2871
+ sections?: {
2872
+ system_instructions?: string | undefined;
2873
+ prompt_template?: string | undefined;
2874
+ notes?: string | undefined;
2564
2875
  } | undefined;
2565
2876
  }, {
2566
2877
  id: string;
2567
- description?: string | undefined;
2568
- includes?: string[] | undefined;
2569
- provider?: "anthropic" | "gemini" | "openrouter" | "llmasaservice" | "openai" | "openai-responses" | "google" | "any" | undefined;
2570
2878
  model?: string | undefined;
2879
+ includes?: string[] | undefined;
2571
2880
  fallback_models?: string[] | undefined;
2572
2881
  reasoning?: {
2573
2882
  effort?: "low" | "medium" | "high" | undefined;
@@ -2585,11 +2894,22 @@ declare const PromptAssetSchema: z.ZodObject<{
2585
2894
  format?: "text" | "json" | "markdown" | undefined;
2586
2895
  stream?: boolean | undefined;
2587
2896
  schema?: Record<string, unknown> | undefined;
2897
+ schema_ref?: string | undefined;
2898
+ schema_source?: {
2899
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
2900
+ ref?: string | undefined;
2901
+ resolved_path?: string | undefined;
2902
+ hash?: string | undefined;
2903
+ } | undefined;
2588
2904
  schema_name?: string | undefined;
2589
2905
  schema_description?: string | undefined;
2590
2906
  schema_strict?: boolean | undefined;
2591
2907
  } | undefined;
2592
2908
  cache?: {
2909
+ openai?: {
2910
+ prompt_cache_key?: string | undefined;
2911
+ retention?: "in_memory" | "24h" | undefined;
2912
+ } | undefined;
2593
2913
  anthropic?: {
2594
2914
  type?: "ephemeral" | undefined;
2595
2915
  mode?: "automatic" | "explicit" | undefined;
@@ -2601,29 +2921,27 @@ declare const PromptAssetSchema: z.ZodObject<{
2601
2921
  gemini?: {
2602
2922
  cached_content?: string | undefined;
2603
2923
  } | undefined;
2604
- openai?: {
2605
- prompt_cache_key?: string | undefined;
2606
- retention?: "in_memory" | "24h" | undefined;
2607
- } | undefined;
2608
2924
  google?: {
2609
2925
  cached_content?: string | undefined;
2610
2926
  } | undefined;
2611
2927
  } | undefined;
2612
2928
  raw?: {
2929
+ openai?: Record<string, unknown> | undefined;
2613
2930
  anthropic?: Record<string, unknown> | undefined;
2614
2931
  gemini?: Record<string, unknown> | undefined;
2615
- openrouter?: Record<string, unknown> | undefined;
2616
- llmasaservice?: Record<string, unknown> | undefined;
2617
- openai?: Record<string, unknown> | undefined;
2932
+ google?: Record<string, unknown> | undefined;
2618
2933
  'openai-responses'?: Record<string, unknown> | undefined;
2619
2934
  openai_responses?: Record<string, unknown> | undefined;
2620
- google?: Record<string, unknown> | undefined;
2935
+ openrouter?: Record<string, unknown> | undefined;
2936
+ llmasaservice?: Record<string, unknown> | undefined;
2621
2937
  } | undefined;
2938
+ description?: string | undefined;
2622
2939
  tools?: (string | {
2623
2940
  name: string;
2624
2941
  description?: string | undefined;
2625
2942
  input_schema?: Record<string, unknown> | undefined;
2626
2943
  })[] | undefined;
2944
+ provider?: "openai" | "anthropic" | "gemini" | "google" | "openai-responses" | "openrouter" | "llmasaservice" | "any" | undefined;
2627
2945
  provider_options?: {
2628
2946
  anthropic?: {
2629
2947
  top_k?: number | undefined;
@@ -2660,16 +2978,9 @@ declare const PromptAssetSchema: z.ZodObject<{
2660
2978
  projectId?: string | undefined;
2661
2979
  } | undefined;
2662
2980
  } | undefined;
2663
- metadata?: {
2664
- owner?: string | undefined;
2665
- tags?: string[] | undefined;
2666
- review_required?: boolean | undefined;
2667
- stable?: boolean | undefined;
2668
- } | undefined;
2669
- sections?: {
2670
- system_instructions?: string | undefined;
2671
- prompt_template?: string | undefined;
2672
- notes?: string | undefined;
2981
+ source?: {
2982
+ file_path?: string | undefined;
2983
+ checksum?: string | undefined;
2673
2984
  } | undefined;
2674
2985
  schema_version?: number | undefined;
2675
2986
  mcp?: {
@@ -2679,8 +2990,13 @@ declare const PromptAssetSchema: z.ZodObject<{
2679
2990
  })[] | undefined;
2680
2991
  } | undefined;
2681
2992
  context?: {
2993
+ history?: {
2994
+ max_items?: number | undefined;
2995
+ } | undefined;
2682
2996
  inputs?: (string | {
2683
2997
  name: string;
2998
+ warnings?: boolean | undefined;
2999
+ optional?: boolean | undefined;
2684
3000
  max_size?: number | undefined;
2685
3001
  trim?: boolean | "start" | "end" | "both" | undefined;
2686
3002
  allow_regex?: string | {
@@ -2700,9 +3016,6 @@ declare const PromptAssetSchema: z.ZodObject<{
2700
3016
  return_message?: string | undefined;
2701
3017
  } | undefined;
2702
3018
  })[] | undefined;
2703
- history?: {
2704
- max_items?: number | undefined;
2705
- } | undefined;
2706
3019
  } | undefined;
2707
3020
  environments?: Record<string, {
2708
3021
  model?: string | undefined;
@@ -2723,11 +3036,22 @@ declare const PromptAssetSchema: z.ZodObject<{
2723
3036
  format?: "text" | "json" | "markdown" | undefined;
2724
3037
  stream?: boolean | undefined;
2725
3038
  schema?: Record<string, unknown> | undefined;
3039
+ schema_ref?: string | undefined;
3040
+ schema_source?: {
3041
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
3042
+ ref?: string | undefined;
3043
+ resolved_path?: string | undefined;
3044
+ hash?: string | undefined;
3045
+ } | undefined;
2726
3046
  schema_name?: string | undefined;
2727
3047
  schema_description?: string | undefined;
2728
3048
  schema_strict?: boolean | undefined;
2729
3049
  } | undefined;
2730
3050
  cache?: {
3051
+ openai?: {
3052
+ prompt_cache_key?: string | undefined;
3053
+ retention?: "in_memory" | "24h" | undefined;
3054
+ } | undefined;
2731
3055
  anthropic?: {
2732
3056
  type?: "ephemeral" | undefined;
2733
3057
  mode?: "automatic" | "explicit" | undefined;
@@ -2739,23 +3063,19 @@ declare const PromptAssetSchema: z.ZodObject<{
2739
3063
  gemini?: {
2740
3064
  cached_content?: string | undefined;
2741
3065
  } | undefined;
2742
- openai?: {
2743
- prompt_cache_key?: string | undefined;
2744
- retention?: "in_memory" | "24h" | undefined;
2745
- } | undefined;
2746
3066
  google?: {
2747
3067
  cached_content?: string | undefined;
2748
3068
  } | undefined;
2749
3069
  } | undefined;
2750
3070
  raw?: {
3071
+ openai?: Record<string, unknown> | undefined;
2751
3072
  anthropic?: Record<string, unknown> | undefined;
2752
3073
  gemini?: Record<string, unknown> | undefined;
2753
- openrouter?: Record<string, unknown> | undefined;
2754
- llmasaservice?: Record<string, unknown> | undefined;
2755
- openai?: Record<string, unknown> | undefined;
3074
+ google?: Record<string, unknown> | undefined;
2756
3075
  'openai-responses'?: Record<string, unknown> | undefined;
2757
3076
  openai_responses?: Record<string, unknown> | undefined;
2758
- google?: Record<string, unknown> | undefined;
3077
+ openrouter?: Record<string, unknown> | undefined;
3078
+ llmasaservice?: Record<string, unknown> | undefined;
2759
3079
  } | undefined;
2760
3080
  tools?: (string | {
2761
3081
  name: string;
@@ -2818,11 +3138,22 @@ declare const PromptAssetSchema: z.ZodObject<{
2818
3138
  format?: "text" | "json" | "markdown" | undefined;
2819
3139
  stream?: boolean | undefined;
2820
3140
  schema?: Record<string, unknown> | undefined;
3141
+ schema_ref?: string | undefined;
3142
+ schema_source?: {
3143
+ mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
3144
+ ref?: string | undefined;
3145
+ resolved_path?: string | undefined;
3146
+ hash?: string | undefined;
3147
+ } | undefined;
2821
3148
  schema_name?: string | undefined;
2822
3149
  schema_description?: string | undefined;
2823
3150
  schema_strict?: boolean | undefined;
2824
3151
  } | undefined;
2825
3152
  cache?: {
3153
+ openai?: {
3154
+ prompt_cache_key?: string | undefined;
3155
+ retention?: "in_memory" | "24h" | undefined;
3156
+ } | undefined;
2826
3157
  anthropic?: {
2827
3158
  type?: "ephemeral" | undefined;
2828
3159
  mode?: "automatic" | "explicit" | undefined;
@@ -2834,23 +3165,19 @@ declare const PromptAssetSchema: z.ZodObject<{
2834
3165
  gemini?: {
2835
3166
  cached_content?: string | undefined;
2836
3167
  } | undefined;
2837
- openai?: {
2838
- prompt_cache_key?: string | undefined;
2839
- retention?: "in_memory" | "24h" | undefined;
2840
- } | undefined;
2841
3168
  google?: {
2842
3169
  cached_content?: string | undefined;
2843
3170
  } | undefined;
2844
3171
  } | undefined;
2845
3172
  raw?: {
3173
+ openai?: Record<string, unknown> | undefined;
2846
3174
  anthropic?: Record<string, unknown> | undefined;
2847
3175
  gemini?: Record<string, unknown> | undefined;
2848
- openrouter?: Record<string, unknown> | undefined;
2849
- llmasaservice?: Record<string, unknown> | undefined;
2850
- openai?: Record<string, unknown> | undefined;
3176
+ google?: Record<string, unknown> | undefined;
2851
3177
  'openai-responses'?: Record<string, unknown> | undefined;
2852
3178
  openai_responses?: Record<string, unknown> | undefined;
2853
- google?: Record<string, unknown> | undefined;
3179
+ openrouter?: Record<string, unknown> | undefined;
3180
+ llmasaservice?: Record<string, unknown> | undefined;
2854
3181
  } | undefined;
2855
3182
  tools?: (string | {
2856
3183
  name: string;
@@ -2894,9 +3221,16 @@ declare const PromptAssetSchema: z.ZodObject<{
2894
3221
  } | undefined;
2895
3222
  } | undefined;
2896
3223
  }> | undefined;
2897
- source?: {
2898
- file_path?: string | undefined;
2899
- checksum?: string | undefined;
3224
+ metadata?: {
3225
+ owner?: string | undefined;
3226
+ tags?: string[] | undefined;
3227
+ review_required?: boolean | undefined;
3228
+ stable?: boolean | undefined;
3229
+ } | undefined;
3230
+ sections?: {
3231
+ system_instructions?: string | undefined;
3232
+ prompt_template?: string | undefined;
3233
+ notes?: string | undefined;
2900
3234
  } | undefined;
2901
3235
  }>;
2902
3236
  type PromptAsset = z.infer<typeof PromptAssetSchema>;