promptopskit 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -7
- package/SKILL.md +16 -10
- package/dist/{chunk-QK3WKE3K.js → chunk-35NN5F6O.js} +2 -2
- package/dist/{chunk-D75HKF64.js → chunk-3G3EAV7H.js} +2 -2
- package/dist/{chunk-LNGHGGJN.js → chunk-6NOUETAC.js} +2 -2
- package/dist/{chunk-KN7H4JRK.js → chunk-F552OBUV.js} +619 -502
- package/dist/chunk-F552OBUV.js.map +1 -0
- package/dist/{chunk-6BOUQVSX.js → chunk-FICB2ZSK.js} +3 -3
- package/dist/{chunk-6VLKZCNS.js → chunk-OWMP5NMV.js} +2 -2
- package/dist/{chunk-IN4KT5EU.js → chunk-R65RAHAG.js} +3 -3
- package/dist/{chunk-K6ZU3CGV.js → chunk-ULVY473P.js} +306 -17
- package/dist/chunk-ULVY473P.js.map +1 -0
- package/dist/cli/index.js +446 -103
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +1223 -772
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -5
- package/dist/index.d.ts +9 -5
- package/dist/index.js +67 -18
- package/dist/index.js.map +1 -1
- package/dist/providers/anthropic.cjs +902 -502
- package/dist/providers/anthropic.cjs.map +1 -1
- package/dist/providers/anthropic.d.cts +2 -2
- package/dist/providers/anthropic.d.ts +2 -2
- package/dist/providers/anthropic.js +3 -3
- package/dist/providers/gemini.cjs +902 -502
- package/dist/providers/gemini.cjs.map +1 -1
- package/dist/providers/gemini.d.cts +2 -2
- package/dist/providers/gemini.d.ts +2 -2
- package/dist/providers/gemini.js +3 -3
- package/dist/providers/llmasaservice.cjs +901 -501
- package/dist/providers/llmasaservice.cjs.map +1 -1
- package/dist/providers/llmasaservice.d.cts +2 -2
- package/dist/providers/llmasaservice.d.ts +2 -2
- package/dist/providers/llmasaservice.js +4 -4
- package/dist/providers/openai-responses.cjs +902 -502
- package/dist/providers/openai-responses.cjs.map +1 -1
- package/dist/providers/openai-responses.d.cts +2 -2
- package/dist/providers/openai-responses.d.ts +2 -2
- package/dist/providers/openai-responses.js +3 -3
- package/dist/providers/openai.cjs +902 -502
- package/dist/providers/openai.cjs.map +1 -1
- package/dist/providers/openai.d.cts +2 -2
- package/dist/providers/openai.d.ts +2 -2
- package/dist/providers/openai.js +3 -3
- package/dist/providers/openrouter.cjs +902 -502
- package/dist/providers/openrouter.cjs.map +1 -1
- package/dist/providers/openrouter.d.cts +2 -2
- package/dist/providers/openrouter.d.ts +2 -2
- package/dist/providers/openrouter.js +4 -4
- package/dist/{schema-D-RI4w-k.d.cts → schema-DBcSns_b.d.cts} +732 -206
- package/dist/{schema-D-RI4w-k.d.ts → schema-DBcSns_b.d.ts} +732 -206
- package/dist/testing.cjs +54 -5
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/dist/{types-B3dxBGu6.d.ts → types-8T2D5KB5.d.cts} +20 -2
- package/dist/{types-DbTAjlTN.d.cts → types-BlLXT5Qb.d.ts} +20 -2
- package/dist/usagetap/index.d.cts +2 -2
- package/dist/usagetap/index.d.ts +2 -2
- package/package.json +9 -2
- package/dist/chunk-K6ZU3CGV.js.map +0 -1
- package/dist/chunk-KN7H4JRK.js.map +0 -1
- /package/dist/{chunk-QK3WKE3K.js.map → chunk-35NN5F6O.js.map} +0 -0
- /package/dist/{chunk-D75HKF64.js.map → chunk-3G3EAV7H.js.map} +0 -0
- /package/dist/{chunk-LNGHGGJN.js.map → chunk-6NOUETAC.js.map} +0 -0
- /package/dist/{chunk-6BOUQVSX.js.map → chunk-FICB2ZSK.js.map} +0 -0
- /package/dist/{chunk-6VLKZCNS.js.map → chunk-OWMP5NMV.js.map} +0 -0
- /package/dist/{chunk-IN4KT5EU.js.map → chunk-R65RAHAG.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,41 @@ 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;
|
|
73
|
+
schema_name?: string | undefined;
|
|
74
|
+
schema_description?: string | undefined;
|
|
75
|
+
schema_strict?: boolean | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
format?: "text" | "json" | "markdown" | undefined;
|
|
78
|
+
stream?: boolean | undefined;
|
|
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;
|
|
49
101
|
schema_name?: string | undefined;
|
|
50
102
|
schema_description?: string | undefined;
|
|
51
103
|
schema_strict?: boolean | undefined;
|
|
@@ -53,10 +105,44 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
53
105
|
format?: "text" | "json" | "markdown" | undefined;
|
|
54
106
|
stream?: boolean | undefined;
|
|
55
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;
|
|
59
118
|
}>>;
|
|
119
|
+
compression: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
thetokencompany: z.ZodOptional<z.ZodObject<{
|
|
121
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
+
model: z.ZodOptional<z.ZodString>;
|
|
123
|
+
aggressiveness: z.ZodOptional<z.ZodNumber>;
|
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
|
+
model?: string | undefined;
|
|
126
|
+
enabled?: boolean | undefined;
|
|
127
|
+
aggressiveness?: number | undefined;
|
|
128
|
+
}, {
|
|
129
|
+
model?: string | undefined;
|
|
130
|
+
enabled?: boolean | undefined;
|
|
131
|
+
aggressiveness?: number | undefined;
|
|
132
|
+
}>>;
|
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
|
+
thetokencompany?: {
|
|
135
|
+
model?: string | undefined;
|
|
136
|
+
enabled?: boolean | undefined;
|
|
137
|
+
aggressiveness?: number | undefined;
|
|
138
|
+
} | undefined;
|
|
139
|
+
}, {
|
|
140
|
+
thetokencompany?: {
|
|
141
|
+
model?: string | undefined;
|
|
142
|
+
enabled?: boolean | undefined;
|
|
143
|
+
aggressiveness?: number | undefined;
|
|
144
|
+
} | undefined;
|
|
145
|
+
}>>;
|
|
60
146
|
cache: z.ZodOptional<z.ZodObject<{
|
|
61
147
|
openai: z.ZodOptional<z.ZodObject<{
|
|
62
148
|
prompt_cache_key: z.ZodOptional<z.ZodString>;
|
|
@@ -105,6 +191,10 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
105
191
|
cached_content?: string | undefined;
|
|
106
192
|
}>>;
|
|
107
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
+
openai?: {
|
|
195
|
+
prompt_cache_key?: string | undefined;
|
|
196
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
197
|
+
} | undefined;
|
|
108
198
|
anthropic?: {
|
|
109
199
|
type?: "ephemeral" | undefined;
|
|
110
200
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -116,14 +206,14 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
116
206
|
gemini?: {
|
|
117
207
|
cached_content?: string | undefined;
|
|
118
208
|
} | undefined;
|
|
119
|
-
openai?: {
|
|
120
|
-
prompt_cache_key?: string | undefined;
|
|
121
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
122
|
-
} | undefined;
|
|
123
209
|
google?: {
|
|
124
210
|
cached_content?: string | undefined;
|
|
125
211
|
} | undefined;
|
|
126
212
|
}, {
|
|
213
|
+
openai?: {
|
|
214
|
+
prompt_cache_key?: string | undefined;
|
|
215
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
216
|
+
} | undefined;
|
|
127
217
|
anthropic?: {
|
|
128
218
|
type?: "ephemeral" | undefined;
|
|
129
219
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -135,10 +225,6 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
135
225
|
gemini?: {
|
|
136
226
|
cached_content?: string | undefined;
|
|
137
227
|
} | undefined;
|
|
138
|
-
openai?: {
|
|
139
|
-
prompt_cache_key?: string | undefined;
|
|
140
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
141
|
-
} | undefined;
|
|
142
228
|
google?: {
|
|
143
229
|
cached_content?: string | undefined;
|
|
144
230
|
} | undefined;
|
|
@@ -153,23 +239,23 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
153
239
|
openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
154
240
|
llmasaservice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
155
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
+
openai?: Record<string, unknown> | undefined;
|
|
156
243
|
anthropic?: Record<string, unknown> | undefined;
|
|
157
244
|
gemini?: Record<string, unknown> | undefined;
|
|
158
|
-
|
|
159
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
160
|
-
openai?: Record<string, unknown> | undefined;
|
|
245
|
+
google?: Record<string, unknown> | undefined;
|
|
161
246
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
162
247
|
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
248
|
openrouter?: Record<string, unknown> | undefined;
|
|
168
249
|
llmasaservice?: Record<string, unknown> | undefined;
|
|
250
|
+
}, {
|
|
169
251
|
openai?: Record<string, unknown> | undefined;
|
|
252
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
253
|
+
gemini?: Record<string, unknown> | undefined;
|
|
254
|
+
google?: Record<string, unknown> | undefined;
|
|
170
255
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
171
256
|
openai_responses?: Record<string, unknown> | undefined;
|
|
172
|
-
|
|
257
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
258
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
173
259
|
}>>;
|
|
174
260
|
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
175
261
|
name: z.ZodString;
|
|
@@ -381,11 +467,29 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
381
467
|
format?: "text" | "json" | "markdown" | undefined;
|
|
382
468
|
stream?: boolean | undefined;
|
|
383
469
|
schema?: Record<string, unknown> | undefined;
|
|
470
|
+
schema_ref?: string | undefined;
|
|
471
|
+
schema_source?: {
|
|
472
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
473
|
+
ref?: string | undefined;
|
|
474
|
+
resolved_path?: string | undefined;
|
|
475
|
+
hash?: string | undefined;
|
|
476
|
+
} | undefined;
|
|
384
477
|
schema_name?: string | undefined;
|
|
385
478
|
schema_description?: string | undefined;
|
|
386
479
|
schema_strict?: boolean | undefined;
|
|
387
480
|
} | undefined;
|
|
481
|
+
compression?: {
|
|
482
|
+
thetokencompany?: {
|
|
483
|
+
model?: string | undefined;
|
|
484
|
+
enabled?: boolean | undefined;
|
|
485
|
+
aggressiveness?: number | undefined;
|
|
486
|
+
} | undefined;
|
|
487
|
+
} | undefined;
|
|
388
488
|
cache?: {
|
|
489
|
+
openai?: {
|
|
490
|
+
prompt_cache_key?: string | undefined;
|
|
491
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
492
|
+
} | undefined;
|
|
389
493
|
anthropic?: {
|
|
390
494
|
type?: "ephemeral" | undefined;
|
|
391
495
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -397,23 +501,19 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
397
501
|
gemini?: {
|
|
398
502
|
cached_content?: string | undefined;
|
|
399
503
|
} | undefined;
|
|
400
|
-
openai?: {
|
|
401
|
-
prompt_cache_key?: string | undefined;
|
|
402
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
403
|
-
} | undefined;
|
|
404
504
|
google?: {
|
|
405
505
|
cached_content?: string | undefined;
|
|
406
506
|
} | undefined;
|
|
407
507
|
} | undefined;
|
|
408
508
|
raw?: {
|
|
509
|
+
openai?: Record<string, unknown> | undefined;
|
|
409
510
|
anthropic?: Record<string, unknown> | undefined;
|
|
410
511
|
gemini?: Record<string, unknown> | undefined;
|
|
411
|
-
|
|
412
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
413
|
-
openai?: Record<string, unknown> | undefined;
|
|
512
|
+
google?: Record<string, unknown> | undefined;
|
|
414
513
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
415
514
|
openai_responses?: Record<string, unknown> | undefined;
|
|
416
|
-
|
|
515
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
516
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
417
517
|
} | undefined;
|
|
418
518
|
tools?: (string | {
|
|
419
519
|
name: string;
|
|
@@ -475,11 +575,29 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
475
575
|
format?: "text" | "json" | "markdown" | undefined;
|
|
476
576
|
stream?: boolean | undefined;
|
|
477
577
|
schema?: Record<string, unknown> | undefined;
|
|
578
|
+
schema_ref?: string | undefined;
|
|
579
|
+
schema_source?: {
|
|
580
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
581
|
+
ref?: string | undefined;
|
|
582
|
+
resolved_path?: string | undefined;
|
|
583
|
+
hash?: string | undefined;
|
|
584
|
+
} | undefined;
|
|
478
585
|
schema_name?: string | undefined;
|
|
479
586
|
schema_description?: string | undefined;
|
|
480
587
|
schema_strict?: boolean | undefined;
|
|
481
588
|
} | undefined;
|
|
589
|
+
compression?: {
|
|
590
|
+
thetokencompany?: {
|
|
591
|
+
model?: string | undefined;
|
|
592
|
+
enabled?: boolean | undefined;
|
|
593
|
+
aggressiveness?: number | undefined;
|
|
594
|
+
} | undefined;
|
|
595
|
+
} | undefined;
|
|
482
596
|
cache?: {
|
|
597
|
+
openai?: {
|
|
598
|
+
prompt_cache_key?: string | undefined;
|
|
599
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
600
|
+
} | undefined;
|
|
483
601
|
anthropic?: {
|
|
484
602
|
type?: "ephemeral" | undefined;
|
|
485
603
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -491,23 +609,19 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
491
609
|
gemini?: {
|
|
492
610
|
cached_content?: string | undefined;
|
|
493
611
|
} | undefined;
|
|
494
|
-
openai?: {
|
|
495
|
-
prompt_cache_key?: string | undefined;
|
|
496
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
497
|
-
} | undefined;
|
|
498
612
|
google?: {
|
|
499
613
|
cached_content?: string | undefined;
|
|
500
614
|
} | undefined;
|
|
501
615
|
} | undefined;
|
|
502
616
|
raw?: {
|
|
617
|
+
openai?: Record<string, unknown> | undefined;
|
|
503
618
|
anthropic?: Record<string, unknown> | undefined;
|
|
504
619
|
gemini?: Record<string, unknown> | undefined;
|
|
505
|
-
|
|
506
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
507
|
-
openai?: Record<string, unknown> | undefined;
|
|
620
|
+
google?: Record<string, unknown> | undefined;
|
|
508
621
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
509
622
|
openai_responses?: Record<string, unknown> | undefined;
|
|
510
|
-
|
|
623
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
624
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
511
625
|
} | undefined;
|
|
512
626
|
tools?: (string | {
|
|
513
627
|
name: string;
|
|
@@ -591,10 +705,27 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
591
705
|
stop?: string[] | undefined;
|
|
592
706
|
max_output_tokens?: number | undefined;
|
|
593
707
|
}>>;
|
|
594
|
-
response: z.ZodOptional<z.ZodObject<{
|
|
708
|
+
response: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
595
709
|
format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
|
|
596
710
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
597
711
|
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
712
|
+
schema_ref: z.ZodOptional<z.ZodString>;
|
|
713
|
+
schema_source: z.ZodOptional<z.ZodObject<{
|
|
714
|
+
mode: z.ZodOptional<z.ZodEnum<["inline", "schema_ref_json", "schema_ref_zod_module"]>>;
|
|
715
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
716
|
+
resolved_path: z.ZodOptional<z.ZodString>;
|
|
717
|
+
hash: z.ZodOptional<z.ZodString>;
|
|
718
|
+
}, "strip", z.ZodTypeAny, {
|
|
719
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
720
|
+
ref?: string | undefined;
|
|
721
|
+
resolved_path?: string | undefined;
|
|
722
|
+
hash?: string | undefined;
|
|
723
|
+
}, {
|
|
724
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
725
|
+
ref?: string | undefined;
|
|
726
|
+
resolved_path?: string | undefined;
|
|
727
|
+
hash?: string | undefined;
|
|
728
|
+
}>>;
|
|
598
729
|
schema_name: z.ZodOptional<z.ZodString>;
|
|
599
730
|
schema_description: z.ZodOptional<z.ZodString>;
|
|
600
731
|
schema_strict: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -602,6 +733,41 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
602
733
|
format?: "text" | "json" | "markdown" | undefined;
|
|
603
734
|
stream?: boolean | undefined;
|
|
604
735
|
schema?: Record<string, unknown> | undefined;
|
|
736
|
+
schema_ref?: string | undefined;
|
|
737
|
+
schema_source?: {
|
|
738
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
739
|
+
ref?: string | undefined;
|
|
740
|
+
resolved_path?: string | undefined;
|
|
741
|
+
hash?: string | undefined;
|
|
742
|
+
} | undefined;
|
|
743
|
+
schema_name?: string | undefined;
|
|
744
|
+
schema_description?: string | undefined;
|
|
745
|
+
schema_strict?: boolean | undefined;
|
|
746
|
+
}, {
|
|
747
|
+
format?: "text" | "json" | "markdown" | undefined;
|
|
748
|
+
stream?: boolean | undefined;
|
|
749
|
+
schema?: Record<string, unknown> | undefined;
|
|
750
|
+
schema_ref?: string | undefined;
|
|
751
|
+
schema_source?: {
|
|
752
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
753
|
+
ref?: string | undefined;
|
|
754
|
+
resolved_path?: string | undefined;
|
|
755
|
+
hash?: string | undefined;
|
|
756
|
+
} | undefined;
|
|
757
|
+
schema_name?: string | undefined;
|
|
758
|
+
schema_description?: string | undefined;
|
|
759
|
+
schema_strict?: boolean | undefined;
|
|
760
|
+
}>, {
|
|
761
|
+
format?: "text" | "json" | "markdown" | undefined;
|
|
762
|
+
stream?: boolean | undefined;
|
|
763
|
+
schema?: Record<string, unknown> | undefined;
|
|
764
|
+
schema_ref?: string | undefined;
|
|
765
|
+
schema_source?: {
|
|
766
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
767
|
+
ref?: string | undefined;
|
|
768
|
+
resolved_path?: string | undefined;
|
|
769
|
+
hash?: string | undefined;
|
|
770
|
+
} | undefined;
|
|
605
771
|
schema_name?: string | undefined;
|
|
606
772
|
schema_description?: string | undefined;
|
|
607
773
|
schema_strict?: boolean | undefined;
|
|
@@ -609,10 +775,44 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
609
775
|
format?: "text" | "json" | "markdown" | undefined;
|
|
610
776
|
stream?: boolean | undefined;
|
|
611
777
|
schema?: Record<string, unknown> | undefined;
|
|
778
|
+
schema_ref?: string | undefined;
|
|
779
|
+
schema_source?: {
|
|
780
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
781
|
+
ref?: string | undefined;
|
|
782
|
+
resolved_path?: string | undefined;
|
|
783
|
+
hash?: string | undefined;
|
|
784
|
+
} | undefined;
|
|
612
785
|
schema_name?: string | undefined;
|
|
613
786
|
schema_description?: string | undefined;
|
|
614
787
|
schema_strict?: boolean | undefined;
|
|
615
788
|
}>>;
|
|
789
|
+
compression: z.ZodOptional<z.ZodObject<{
|
|
790
|
+
thetokencompany: z.ZodOptional<z.ZodObject<{
|
|
791
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
792
|
+
model: z.ZodOptional<z.ZodString>;
|
|
793
|
+
aggressiveness: z.ZodOptional<z.ZodNumber>;
|
|
794
|
+
}, "strip", z.ZodTypeAny, {
|
|
795
|
+
model?: string | undefined;
|
|
796
|
+
enabled?: boolean | undefined;
|
|
797
|
+
aggressiveness?: number | undefined;
|
|
798
|
+
}, {
|
|
799
|
+
model?: string | undefined;
|
|
800
|
+
enabled?: boolean | undefined;
|
|
801
|
+
aggressiveness?: number | undefined;
|
|
802
|
+
}>>;
|
|
803
|
+
}, "strip", z.ZodTypeAny, {
|
|
804
|
+
thetokencompany?: {
|
|
805
|
+
model?: string | undefined;
|
|
806
|
+
enabled?: boolean | undefined;
|
|
807
|
+
aggressiveness?: number | undefined;
|
|
808
|
+
} | undefined;
|
|
809
|
+
}, {
|
|
810
|
+
thetokencompany?: {
|
|
811
|
+
model?: string | undefined;
|
|
812
|
+
enabled?: boolean | undefined;
|
|
813
|
+
aggressiveness?: number | undefined;
|
|
814
|
+
} | undefined;
|
|
815
|
+
}>>;
|
|
616
816
|
cache: z.ZodOptional<z.ZodObject<{
|
|
617
817
|
openai: z.ZodOptional<z.ZodObject<{
|
|
618
818
|
prompt_cache_key: z.ZodOptional<z.ZodString>;
|
|
@@ -661,6 +861,10 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
661
861
|
cached_content?: string | undefined;
|
|
662
862
|
}>>;
|
|
663
863
|
}, "strip", z.ZodTypeAny, {
|
|
864
|
+
openai?: {
|
|
865
|
+
prompt_cache_key?: string | undefined;
|
|
866
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
867
|
+
} | undefined;
|
|
664
868
|
anthropic?: {
|
|
665
869
|
type?: "ephemeral" | undefined;
|
|
666
870
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -672,14 +876,14 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
672
876
|
gemini?: {
|
|
673
877
|
cached_content?: string | undefined;
|
|
674
878
|
} | undefined;
|
|
675
|
-
openai?: {
|
|
676
|
-
prompt_cache_key?: string | undefined;
|
|
677
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
678
|
-
} | undefined;
|
|
679
879
|
google?: {
|
|
680
880
|
cached_content?: string | undefined;
|
|
681
881
|
} | undefined;
|
|
682
882
|
}, {
|
|
883
|
+
openai?: {
|
|
884
|
+
prompt_cache_key?: string | undefined;
|
|
885
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
886
|
+
} | undefined;
|
|
683
887
|
anthropic?: {
|
|
684
888
|
type?: "ephemeral" | undefined;
|
|
685
889
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -691,10 +895,6 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
691
895
|
gemini?: {
|
|
692
896
|
cached_content?: string | undefined;
|
|
693
897
|
} | undefined;
|
|
694
|
-
openai?: {
|
|
695
|
-
prompt_cache_key?: string | undefined;
|
|
696
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
697
|
-
} | undefined;
|
|
698
898
|
google?: {
|
|
699
899
|
cached_content?: string | undefined;
|
|
700
900
|
} | undefined;
|
|
@@ -709,23 +909,23 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
709
909
|
openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
710
910
|
llmasaservice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
711
911
|
}, "strip", z.ZodTypeAny, {
|
|
912
|
+
openai?: Record<string, unknown> | undefined;
|
|
712
913
|
anthropic?: Record<string, unknown> | undefined;
|
|
713
914
|
gemini?: Record<string, unknown> | undefined;
|
|
714
|
-
|
|
715
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
716
|
-
openai?: Record<string, unknown> | undefined;
|
|
915
|
+
google?: Record<string, unknown> | undefined;
|
|
717
916
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
718
917
|
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
918
|
openrouter?: Record<string, unknown> | undefined;
|
|
724
919
|
llmasaservice?: Record<string, unknown> | undefined;
|
|
920
|
+
}, {
|
|
725
921
|
openai?: Record<string, unknown> | undefined;
|
|
922
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
923
|
+
gemini?: Record<string, unknown> | undefined;
|
|
924
|
+
google?: Record<string, unknown> | undefined;
|
|
726
925
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
727
926
|
openai_responses?: Record<string, unknown> | undefined;
|
|
728
|
-
|
|
927
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
928
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
729
929
|
}>>;
|
|
730
930
|
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
731
931
|
name: z.ZodString;
|
|
@@ -943,6 +1143,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
943
1143
|
context: z.ZodOptional<z.ZodObject<{
|
|
944
1144
|
inputs: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
945
1145
|
name: z.ZodString;
|
|
1146
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1147
|
+
warnings: z.ZodOptional<z.ZodBoolean>;
|
|
946
1148
|
max_size: z.ZodOptional<z.ZodNumber>;
|
|
947
1149
|
trim: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["start", "end", "both"]>]>>;
|
|
948
1150
|
allow_regex: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -987,6 +1189,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
987
1189
|
}>]>>;
|
|
988
1190
|
}, "strip", z.ZodTypeAny, {
|
|
989
1191
|
name: string;
|
|
1192
|
+
warnings?: boolean | undefined;
|
|
1193
|
+
optional?: boolean | undefined;
|
|
990
1194
|
max_size?: number | undefined;
|
|
991
1195
|
trim?: boolean | "start" | "end" | "both" | undefined;
|
|
992
1196
|
allow_regex?: string | {
|
|
@@ -1007,6 +1211,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1007
1211
|
} | undefined;
|
|
1008
1212
|
}, {
|
|
1009
1213
|
name: string;
|
|
1214
|
+
warnings?: boolean | undefined;
|
|
1215
|
+
optional?: boolean | undefined;
|
|
1010
1216
|
max_size?: number | undefined;
|
|
1011
1217
|
trim?: boolean | "start" | "end" | "both" | undefined;
|
|
1012
1218
|
allow_regex?: string | {
|
|
@@ -1034,8 +1240,13 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1034
1240
|
max_items?: number | undefined;
|
|
1035
1241
|
}>>;
|
|
1036
1242
|
}, "strip", z.ZodTypeAny, {
|
|
1243
|
+
history?: {
|
|
1244
|
+
max_items?: number | undefined;
|
|
1245
|
+
} | undefined;
|
|
1037
1246
|
inputs?: (string | {
|
|
1038
1247
|
name: string;
|
|
1248
|
+
warnings?: boolean | undefined;
|
|
1249
|
+
optional?: boolean | undefined;
|
|
1039
1250
|
max_size?: number | undefined;
|
|
1040
1251
|
trim?: boolean | "start" | "end" | "both" | undefined;
|
|
1041
1252
|
allow_regex?: string | {
|
|
@@ -1055,12 +1266,14 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1055
1266
|
return_message?: string | undefined;
|
|
1056
1267
|
} | undefined;
|
|
1057
1268
|
})[] | undefined;
|
|
1269
|
+
}, {
|
|
1058
1270
|
history?: {
|
|
1059
1271
|
max_items?: number | undefined;
|
|
1060
1272
|
} | undefined;
|
|
1061
|
-
}, {
|
|
1062
1273
|
inputs?: (string | {
|
|
1063
1274
|
name: string;
|
|
1275
|
+
warnings?: boolean | undefined;
|
|
1276
|
+
optional?: boolean | undefined;
|
|
1064
1277
|
max_size?: number | undefined;
|
|
1065
1278
|
trim?: boolean | "start" | "end" | "both" | undefined;
|
|
1066
1279
|
allow_regex?: string | {
|
|
@@ -1080,9 +1293,6 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1080
1293
|
return_message?: string | undefined;
|
|
1081
1294
|
} | undefined;
|
|
1082
1295
|
})[] | undefined;
|
|
1083
|
-
history?: {
|
|
1084
|
-
max_items?: number | undefined;
|
|
1085
|
-
} | undefined;
|
|
1086
1296
|
}>>;
|
|
1087
1297
|
includes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1088
1298
|
environments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1120,10 +1330,27 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1120
1330
|
stop?: string[] | undefined;
|
|
1121
1331
|
max_output_tokens?: number | undefined;
|
|
1122
1332
|
}>>;
|
|
1123
|
-
response: z.ZodOptional<z.ZodObject<{
|
|
1333
|
+
response: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1124
1334
|
format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
|
|
1125
1335
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
1126
1336
|
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1337
|
+
schema_ref: z.ZodOptional<z.ZodString>;
|
|
1338
|
+
schema_source: z.ZodOptional<z.ZodObject<{
|
|
1339
|
+
mode: z.ZodOptional<z.ZodEnum<["inline", "schema_ref_json", "schema_ref_zod_module"]>>;
|
|
1340
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1341
|
+
resolved_path: z.ZodOptional<z.ZodString>;
|
|
1342
|
+
hash: z.ZodOptional<z.ZodString>;
|
|
1343
|
+
}, "strip", z.ZodTypeAny, {
|
|
1344
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
1345
|
+
ref?: string | undefined;
|
|
1346
|
+
resolved_path?: string | undefined;
|
|
1347
|
+
hash?: string | undefined;
|
|
1348
|
+
}, {
|
|
1349
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
1350
|
+
ref?: string | undefined;
|
|
1351
|
+
resolved_path?: string | undefined;
|
|
1352
|
+
hash?: string | undefined;
|
|
1353
|
+
}>>;
|
|
1127
1354
|
schema_name: z.ZodOptional<z.ZodString>;
|
|
1128
1355
|
schema_description: z.ZodOptional<z.ZodString>;
|
|
1129
1356
|
schema_strict: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1131,6 +1358,41 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1131
1358
|
format?: "text" | "json" | "markdown" | undefined;
|
|
1132
1359
|
stream?: boolean | undefined;
|
|
1133
1360
|
schema?: Record<string, unknown> | undefined;
|
|
1361
|
+
schema_ref?: string | undefined;
|
|
1362
|
+
schema_source?: {
|
|
1363
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
1364
|
+
ref?: string | undefined;
|
|
1365
|
+
resolved_path?: string | undefined;
|
|
1366
|
+
hash?: string | undefined;
|
|
1367
|
+
} | undefined;
|
|
1368
|
+
schema_name?: string | undefined;
|
|
1369
|
+
schema_description?: string | undefined;
|
|
1370
|
+
schema_strict?: boolean | undefined;
|
|
1371
|
+
}, {
|
|
1372
|
+
format?: "text" | "json" | "markdown" | undefined;
|
|
1373
|
+
stream?: boolean | undefined;
|
|
1374
|
+
schema?: Record<string, unknown> | undefined;
|
|
1375
|
+
schema_ref?: string | undefined;
|
|
1376
|
+
schema_source?: {
|
|
1377
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
1378
|
+
ref?: string | undefined;
|
|
1379
|
+
resolved_path?: string | undefined;
|
|
1380
|
+
hash?: string | undefined;
|
|
1381
|
+
} | undefined;
|
|
1382
|
+
schema_name?: string | undefined;
|
|
1383
|
+
schema_description?: string | undefined;
|
|
1384
|
+
schema_strict?: boolean | undefined;
|
|
1385
|
+
}>, {
|
|
1386
|
+
format?: "text" | "json" | "markdown" | undefined;
|
|
1387
|
+
stream?: boolean | undefined;
|
|
1388
|
+
schema?: Record<string, unknown> | undefined;
|
|
1389
|
+
schema_ref?: string | undefined;
|
|
1390
|
+
schema_source?: {
|
|
1391
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
1392
|
+
ref?: string | undefined;
|
|
1393
|
+
resolved_path?: string | undefined;
|
|
1394
|
+
hash?: string | undefined;
|
|
1395
|
+
} | undefined;
|
|
1134
1396
|
schema_name?: string | undefined;
|
|
1135
1397
|
schema_description?: string | undefined;
|
|
1136
1398
|
schema_strict?: boolean | undefined;
|
|
@@ -1138,10 +1400,44 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1138
1400
|
format?: "text" | "json" | "markdown" | undefined;
|
|
1139
1401
|
stream?: boolean | undefined;
|
|
1140
1402
|
schema?: Record<string, unknown> | undefined;
|
|
1403
|
+
schema_ref?: string | undefined;
|
|
1404
|
+
schema_source?: {
|
|
1405
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
1406
|
+
ref?: string | undefined;
|
|
1407
|
+
resolved_path?: string | undefined;
|
|
1408
|
+
hash?: string | undefined;
|
|
1409
|
+
} | undefined;
|
|
1141
1410
|
schema_name?: string | undefined;
|
|
1142
1411
|
schema_description?: string | undefined;
|
|
1143
1412
|
schema_strict?: boolean | undefined;
|
|
1144
1413
|
}>>;
|
|
1414
|
+
compression: z.ZodOptional<z.ZodObject<{
|
|
1415
|
+
thetokencompany: z.ZodOptional<z.ZodObject<{
|
|
1416
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1417
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
aggressiveness: z.ZodOptional<z.ZodNumber>;
|
|
1419
|
+
}, "strip", z.ZodTypeAny, {
|
|
1420
|
+
model?: string | undefined;
|
|
1421
|
+
enabled?: boolean | undefined;
|
|
1422
|
+
aggressiveness?: number | undefined;
|
|
1423
|
+
}, {
|
|
1424
|
+
model?: string | undefined;
|
|
1425
|
+
enabled?: boolean | undefined;
|
|
1426
|
+
aggressiveness?: number | undefined;
|
|
1427
|
+
}>>;
|
|
1428
|
+
}, "strip", z.ZodTypeAny, {
|
|
1429
|
+
thetokencompany?: {
|
|
1430
|
+
model?: string | undefined;
|
|
1431
|
+
enabled?: boolean | undefined;
|
|
1432
|
+
aggressiveness?: number | undefined;
|
|
1433
|
+
} | undefined;
|
|
1434
|
+
}, {
|
|
1435
|
+
thetokencompany?: {
|
|
1436
|
+
model?: string | undefined;
|
|
1437
|
+
enabled?: boolean | undefined;
|
|
1438
|
+
aggressiveness?: number | undefined;
|
|
1439
|
+
} | undefined;
|
|
1440
|
+
}>>;
|
|
1145
1441
|
cache: z.ZodOptional<z.ZodObject<{
|
|
1146
1442
|
openai: z.ZodOptional<z.ZodObject<{
|
|
1147
1443
|
prompt_cache_key: z.ZodOptional<z.ZodString>;
|
|
@@ -1190,6 +1486,10 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1190
1486
|
cached_content?: string | undefined;
|
|
1191
1487
|
}>>;
|
|
1192
1488
|
}, "strip", z.ZodTypeAny, {
|
|
1489
|
+
openai?: {
|
|
1490
|
+
prompt_cache_key?: string | undefined;
|
|
1491
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
1492
|
+
} | undefined;
|
|
1193
1493
|
anthropic?: {
|
|
1194
1494
|
type?: "ephemeral" | undefined;
|
|
1195
1495
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -1201,14 +1501,14 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1201
1501
|
gemini?: {
|
|
1202
1502
|
cached_content?: string | undefined;
|
|
1203
1503
|
} | undefined;
|
|
1204
|
-
openai?: {
|
|
1205
|
-
prompt_cache_key?: string | undefined;
|
|
1206
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
1207
|
-
} | undefined;
|
|
1208
1504
|
google?: {
|
|
1209
1505
|
cached_content?: string | undefined;
|
|
1210
1506
|
} | undefined;
|
|
1211
1507
|
}, {
|
|
1508
|
+
openai?: {
|
|
1509
|
+
prompt_cache_key?: string | undefined;
|
|
1510
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
1511
|
+
} | undefined;
|
|
1212
1512
|
anthropic?: {
|
|
1213
1513
|
type?: "ephemeral" | undefined;
|
|
1214
1514
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -1220,10 +1520,6 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1220
1520
|
gemini?: {
|
|
1221
1521
|
cached_content?: string | undefined;
|
|
1222
1522
|
} | undefined;
|
|
1223
|
-
openai?: {
|
|
1224
|
-
prompt_cache_key?: string | undefined;
|
|
1225
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
1226
|
-
} | undefined;
|
|
1227
1523
|
google?: {
|
|
1228
1524
|
cached_content?: string | undefined;
|
|
1229
1525
|
} | undefined;
|
|
@@ -1238,23 +1534,23 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1238
1534
|
openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1239
1535
|
llmasaservice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1240
1536
|
}, "strip", z.ZodTypeAny, {
|
|
1537
|
+
openai?: Record<string, unknown> | undefined;
|
|
1241
1538
|
anthropic?: Record<string, unknown> | undefined;
|
|
1242
1539
|
gemini?: Record<string, unknown> | undefined;
|
|
1243
|
-
|
|
1244
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
1245
|
-
openai?: Record<string, unknown> | undefined;
|
|
1540
|
+
google?: Record<string, unknown> | undefined;
|
|
1246
1541
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1247
1542
|
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
1543
|
openrouter?: Record<string, unknown> | undefined;
|
|
1253
1544
|
llmasaservice?: Record<string, unknown> | undefined;
|
|
1545
|
+
}, {
|
|
1254
1546
|
openai?: Record<string, unknown> | undefined;
|
|
1547
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
1548
|
+
gemini?: Record<string, unknown> | undefined;
|
|
1549
|
+
google?: Record<string, unknown> | undefined;
|
|
1255
1550
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1256
1551
|
openai_responses?: Record<string, unknown> | undefined;
|
|
1257
|
-
|
|
1552
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1553
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
1258
1554
|
}>>;
|
|
1259
1555
|
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1260
1556
|
name: z.ZodString;
|
|
@@ -1466,11 +1762,29 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1466
1762
|
format?: "text" | "json" | "markdown" | undefined;
|
|
1467
1763
|
stream?: boolean | undefined;
|
|
1468
1764
|
schema?: Record<string, unknown> | undefined;
|
|
1765
|
+
schema_ref?: string | undefined;
|
|
1766
|
+
schema_source?: {
|
|
1767
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
1768
|
+
ref?: string | undefined;
|
|
1769
|
+
resolved_path?: string | undefined;
|
|
1770
|
+
hash?: string | undefined;
|
|
1771
|
+
} | undefined;
|
|
1469
1772
|
schema_name?: string | undefined;
|
|
1470
1773
|
schema_description?: string | undefined;
|
|
1471
1774
|
schema_strict?: boolean | undefined;
|
|
1472
1775
|
} | undefined;
|
|
1776
|
+
compression?: {
|
|
1777
|
+
thetokencompany?: {
|
|
1778
|
+
model?: string | undefined;
|
|
1779
|
+
enabled?: boolean | undefined;
|
|
1780
|
+
aggressiveness?: number | undefined;
|
|
1781
|
+
} | undefined;
|
|
1782
|
+
} | undefined;
|
|
1473
1783
|
cache?: {
|
|
1784
|
+
openai?: {
|
|
1785
|
+
prompt_cache_key?: string | undefined;
|
|
1786
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
1787
|
+
} | undefined;
|
|
1474
1788
|
anthropic?: {
|
|
1475
1789
|
type?: "ephemeral" | undefined;
|
|
1476
1790
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -1482,23 +1796,19 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1482
1796
|
gemini?: {
|
|
1483
1797
|
cached_content?: string | undefined;
|
|
1484
1798
|
} | undefined;
|
|
1485
|
-
openai?: {
|
|
1486
|
-
prompt_cache_key?: string | undefined;
|
|
1487
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
1488
|
-
} | undefined;
|
|
1489
1799
|
google?: {
|
|
1490
1800
|
cached_content?: string | undefined;
|
|
1491
1801
|
} | undefined;
|
|
1492
1802
|
} | undefined;
|
|
1493
1803
|
raw?: {
|
|
1804
|
+
openai?: Record<string, unknown> | undefined;
|
|
1494
1805
|
anthropic?: Record<string, unknown> | undefined;
|
|
1495
1806
|
gemini?: Record<string, unknown> | undefined;
|
|
1496
|
-
|
|
1497
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
1498
|
-
openai?: Record<string, unknown> | undefined;
|
|
1807
|
+
google?: Record<string, unknown> | undefined;
|
|
1499
1808
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1500
1809
|
openai_responses?: Record<string, unknown> | undefined;
|
|
1501
|
-
|
|
1810
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1811
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
1502
1812
|
} | undefined;
|
|
1503
1813
|
tools?: (string | {
|
|
1504
1814
|
name: string;
|
|
@@ -1560,11 +1870,29 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1560
1870
|
format?: "text" | "json" | "markdown" | undefined;
|
|
1561
1871
|
stream?: boolean | undefined;
|
|
1562
1872
|
schema?: Record<string, unknown> | undefined;
|
|
1873
|
+
schema_ref?: string | undefined;
|
|
1874
|
+
schema_source?: {
|
|
1875
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
1876
|
+
ref?: string | undefined;
|
|
1877
|
+
resolved_path?: string | undefined;
|
|
1878
|
+
hash?: string | undefined;
|
|
1879
|
+
} | undefined;
|
|
1563
1880
|
schema_name?: string | undefined;
|
|
1564
1881
|
schema_description?: string | undefined;
|
|
1565
1882
|
schema_strict?: boolean | undefined;
|
|
1566
1883
|
} | undefined;
|
|
1884
|
+
compression?: {
|
|
1885
|
+
thetokencompany?: {
|
|
1886
|
+
model?: string | undefined;
|
|
1887
|
+
enabled?: boolean | undefined;
|
|
1888
|
+
aggressiveness?: number | undefined;
|
|
1889
|
+
} | undefined;
|
|
1890
|
+
} | undefined;
|
|
1567
1891
|
cache?: {
|
|
1892
|
+
openai?: {
|
|
1893
|
+
prompt_cache_key?: string | undefined;
|
|
1894
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
1895
|
+
} | undefined;
|
|
1568
1896
|
anthropic?: {
|
|
1569
1897
|
type?: "ephemeral" | undefined;
|
|
1570
1898
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -1576,23 +1904,19 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1576
1904
|
gemini?: {
|
|
1577
1905
|
cached_content?: string | undefined;
|
|
1578
1906
|
} | undefined;
|
|
1579
|
-
openai?: {
|
|
1580
|
-
prompt_cache_key?: string | undefined;
|
|
1581
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
1582
|
-
} | undefined;
|
|
1583
1907
|
google?: {
|
|
1584
1908
|
cached_content?: string | undefined;
|
|
1585
1909
|
} | undefined;
|
|
1586
1910
|
} | undefined;
|
|
1587
1911
|
raw?: {
|
|
1912
|
+
openai?: Record<string, unknown> | undefined;
|
|
1588
1913
|
anthropic?: Record<string, unknown> | undefined;
|
|
1589
1914
|
gemini?: Record<string, unknown> | undefined;
|
|
1590
|
-
|
|
1591
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
1592
|
-
openai?: Record<string, unknown> | undefined;
|
|
1915
|
+
google?: Record<string, unknown> | undefined;
|
|
1593
1916
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1594
1917
|
openai_responses?: Record<string, unknown> | undefined;
|
|
1595
|
-
|
|
1918
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
1919
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
1596
1920
|
} | undefined;
|
|
1597
1921
|
tools?: (string | {
|
|
1598
1922
|
name: string;
|
|
@@ -1671,10 +1995,27 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1671
1995
|
stop?: string[] | undefined;
|
|
1672
1996
|
max_output_tokens?: number | undefined;
|
|
1673
1997
|
}>>;
|
|
1674
|
-
response: z.ZodOptional<z.ZodObject<{
|
|
1998
|
+
response: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1675
1999
|
format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
|
|
1676
2000
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
1677
2001
|
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2002
|
+
schema_ref: z.ZodOptional<z.ZodString>;
|
|
2003
|
+
schema_source: z.ZodOptional<z.ZodObject<{
|
|
2004
|
+
mode: z.ZodOptional<z.ZodEnum<["inline", "schema_ref_json", "schema_ref_zod_module"]>>;
|
|
2005
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2006
|
+
resolved_path: z.ZodOptional<z.ZodString>;
|
|
2007
|
+
hash: z.ZodOptional<z.ZodString>;
|
|
2008
|
+
}, "strip", z.ZodTypeAny, {
|
|
2009
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
2010
|
+
ref?: string | undefined;
|
|
2011
|
+
resolved_path?: string | undefined;
|
|
2012
|
+
hash?: string | undefined;
|
|
2013
|
+
}, {
|
|
2014
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
2015
|
+
ref?: string | undefined;
|
|
2016
|
+
resolved_path?: string | undefined;
|
|
2017
|
+
hash?: string | undefined;
|
|
2018
|
+
}>>;
|
|
1678
2019
|
schema_name: z.ZodOptional<z.ZodString>;
|
|
1679
2020
|
schema_description: z.ZodOptional<z.ZodString>;
|
|
1680
2021
|
schema_strict: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1682,6 +2023,13 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1682
2023
|
format?: "text" | "json" | "markdown" | undefined;
|
|
1683
2024
|
stream?: boolean | undefined;
|
|
1684
2025
|
schema?: Record<string, unknown> | undefined;
|
|
2026
|
+
schema_ref?: string | undefined;
|
|
2027
|
+
schema_source?: {
|
|
2028
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
2029
|
+
ref?: string | undefined;
|
|
2030
|
+
resolved_path?: string | undefined;
|
|
2031
|
+
hash?: string | undefined;
|
|
2032
|
+
} | undefined;
|
|
1685
2033
|
schema_name?: string | undefined;
|
|
1686
2034
|
schema_description?: string | undefined;
|
|
1687
2035
|
schema_strict?: boolean | undefined;
|
|
@@ -1689,10 +2037,72 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1689
2037
|
format?: "text" | "json" | "markdown" | undefined;
|
|
1690
2038
|
stream?: boolean | undefined;
|
|
1691
2039
|
schema?: Record<string, unknown> | undefined;
|
|
2040
|
+
schema_ref?: string | undefined;
|
|
2041
|
+
schema_source?: {
|
|
2042
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
2043
|
+
ref?: string | undefined;
|
|
2044
|
+
resolved_path?: string | undefined;
|
|
2045
|
+
hash?: string | undefined;
|
|
2046
|
+
} | undefined;
|
|
2047
|
+
schema_name?: string | undefined;
|
|
2048
|
+
schema_description?: string | undefined;
|
|
2049
|
+
schema_strict?: boolean | undefined;
|
|
2050
|
+
}>, {
|
|
2051
|
+
format?: "text" | "json" | "markdown" | undefined;
|
|
2052
|
+
stream?: boolean | undefined;
|
|
2053
|
+
schema?: Record<string, unknown> | undefined;
|
|
2054
|
+
schema_ref?: string | undefined;
|
|
2055
|
+
schema_source?: {
|
|
2056
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
2057
|
+
ref?: string | undefined;
|
|
2058
|
+
resolved_path?: string | undefined;
|
|
2059
|
+
hash?: string | undefined;
|
|
2060
|
+
} | undefined;
|
|
2061
|
+
schema_name?: string | undefined;
|
|
2062
|
+
schema_description?: string | undefined;
|
|
2063
|
+
schema_strict?: boolean | undefined;
|
|
2064
|
+
}, {
|
|
2065
|
+
format?: "text" | "json" | "markdown" | undefined;
|
|
2066
|
+
stream?: boolean | undefined;
|
|
2067
|
+
schema?: Record<string, unknown> | undefined;
|
|
2068
|
+
schema_ref?: string | undefined;
|
|
2069
|
+
schema_source?: {
|
|
2070
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
2071
|
+
ref?: string | undefined;
|
|
2072
|
+
resolved_path?: string | undefined;
|
|
2073
|
+
hash?: string | undefined;
|
|
2074
|
+
} | undefined;
|
|
1692
2075
|
schema_name?: string | undefined;
|
|
1693
2076
|
schema_description?: string | undefined;
|
|
1694
2077
|
schema_strict?: boolean | undefined;
|
|
1695
2078
|
}>>;
|
|
2079
|
+
compression: z.ZodOptional<z.ZodObject<{
|
|
2080
|
+
thetokencompany: z.ZodOptional<z.ZodObject<{
|
|
2081
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2082
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2083
|
+
aggressiveness: z.ZodOptional<z.ZodNumber>;
|
|
2084
|
+
}, "strip", z.ZodTypeAny, {
|
|
2085
|
+
model?: string | undefined;
|
|
2086
|
+
enabled?: boolean | undefined;
|
|
2087
|
+
aggressiveness?: number | undefined;
|
|
2088
|
+
}, {
|
|
2089
|
+
model?: string | undefined;
|
|
2090
|
+
enabled?: boolean | undefined;
|
|
2091
|
+
aggressiveness?: number | undefined;
|
|
2092
|
+
}>>;
|
|
2093
|
+
}, "strip", z.ZodTypeAny, {
|
|
2094
|
+
thetokencompany?: {
|
|
2095
|
+
model?: string | undefined;
|
|
2096
|
+
enabled?: boolean | undefined;
|
|
2097
|
+
aggressiveness?: number | undefined;
|
|
2098
|
+
} | undefined;
|
|
2099
|
+
}, {
|
|
2100
|
+
thetokencompany?: {
|
|
2101
|
+
model?: string | undefined;
|
|
2102
|
+
enabled?: boolean | undefined;
|
|
2103
|
+
aggressiveness?: number | undefined;
|
|
2104
|
+
} | undefined;
|
|
2105
|
+
}>>;
|
|
1696
2106
|
cache: z.ZodOptional<z.ZodObject<{
|
|
1697
2107
|
openai: z.ZodOptional<z.ZodObject<{
|
|
1698
2108
|
prompt_cache_key: z.ZodOptional<z.ZodString>;
|
|
@@ -1741,6 +2151,10 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1741
2151
|
cached_content?: string | undefined;
|
|
1742
2152
|
}>>;
|
|
1743
2153
|
}, "strip", z.ZodTypeAny, {
|
|
2154
|
+
openai?: {
|
|
2155
|
+
prompt_cache_key?: string | undefined;
|
|
2156
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
2157
|
+
} | undefined;
|
|
1744
2158
|
anthropic?: {
|
|
1745
2159
|
type?: "ephemeral" | undefined;
|
|
1746
2160
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -1752,14 +2166,14 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1752
2166
|
gemini?: {
|
|
1753
2167
|
cached_content?: string | undefined;
|
|
1754
2168
|
} | undefined;
|
|
1755
|
-
openai?: {
|
|
1756
|
-
prompt_cache_key?: string | undefined;
|
|
1757
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
1758
|
-
} | undefined;
|
|
1759
2169
|
google?: {
|
|
1760
2170
|
cached_content?: string | undefined;
|
|
1761
2171
|
} | undefined;
|
|
1762
2172
|
}, {
|
|
2173
|
+
openai?: {
|
|
2174
|
+
prompt_cache_key?: string | undefined;
|
|
2175
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
2176
|
+
} | undefined;
|
|
1763
2177
|
anthropic?: {
|
|
1764
2178
|
type?: "ephemeral" | undefined;
|
|
1765
2179
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -1771,10 +2185,6 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1771
2185
|
gemini?: {
|
|
1772
2186
|
cached_content?: string | undefined;
|
|
1773
2187
|
} | undefined;
|
|
1774
|
-
openai?: {
|
|
1775
|
-
prompt_cache_key?: string | undefined;
|
|
1776
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
1777
|
-
} | undefined;
|
|
1778
2188
|
google?: {
|
|
1779
2189
|
cached_content?: string | undefined;
|
|
1780
2190
|
} | undefined;
|
|
@@ -1789,23 +2199,23 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1789
2199
|
openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1790
2200
|
llmasaservice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1791
2201
|
}, "strip", z.ZodTypeAny, {
|
|
2202
|
+
openai?: Record<string, unknown> | undefined;
|
|
1792
2203
|
anthropic?: Record<string, unknown> | undefined;
|
|
1793
2204
|
gemini?: Record<string, unknown> | undefined;
|
|
1794
|
-
|
|
1795
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
1796
|
-
openai?: Record<string, unknown> | undefined;
|
|
2205
|
+
google?: Record<string, unknown> | undefined;
|
|
1797
2206
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1798
2207
|
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
2208
|
openrouter?: Record<string, unknown> | undefined;
|
|
1804
2209
|
llmasaservice?: Record<string, unknown> | undefined;
|
|
2210
|
+
}, {
|
|
1805
2211
|
openai?: Record<string, unknown> | undefined;
|
|
2212
|
+
anthropic?: Record<string, unknown> | undefined;
|
|
2213
|
+
gemini?: Record<string, unknown> | undefined;
|
|
2214
|
+
google?: Record<string, unknown> | undefined;
|
|
1806
2215
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
1807
2216
|
openai_responses?: Record<string, unknown> | undefined;
|
|
1808
|
-
|
|
2217
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
2218
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
1809
2219
|
}>>;
|
|
1810
2220
|
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1811
2221
|
name: z.ZodString;
|
|
@@ -2017,11 +2427,29 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2017
2427
|
format?: "text" | "json" | "markdown" | undefined;
|
|
2018
2428
|
stream?: boolean | undefined;
|
|
2019
2429
|
schema?: Record<string, unknown> | undefined;
|
|
2430
|
+
schema_ref?: string | undefined;
|
|
2431
|
+
schema_source?: {
|
|
2432
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
2433
|
+
ref?: string | undefined;
|
|
2434
|
+
resolved_path?: string | undefined;
|
|
2435
|
+
hash?: string | undefined;
|
|
2436
|
+
} | undefined;
|
|
2020
2437
|
schema_name?: string | undefined;
|
|
2021
2438
|
schema_description?: string | undefined;
|
|
2022
2439
|
schema_strict?: boolean | undefined;
|
|
2023
2440
|
} | undefined;
|
|
2441
|
+
compression?: {
|
|
2442
|
+
thetokencompany?: {
|
|
2443
|
+
model?: string | undefined;
|
|
2444
|
+
enabled?: boolean | undefined;
|
|
2445
|
+
aggressiveness?: number | undefined;
|
|
2446
|
+
} | undefined;
|
|
2447
|
+
} | undefined;
|
|
2024
2448
|
cache?: {
|
|
2449
|
+
openai?: {
|
|
2450
|
+
prompt_cache_key?: string | undefined;
|
|
2451
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
2452
|
+
} | undefined;
|
|
2025
2453
|
anthropic?: {
|
|
2026
2454
|
type?: "ephemeral" | undefined;
|
|
2027
2455
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -2033,23 +2461,19 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2033
2461
|
gemini?: {
|
|
2034
2462
|
cached_content?: string | undefined;
|
|
2035
2463
|
} | undefined;
|
|
2036
|
-
openai?: {
|
|
2037
|
-
prompt_cache_key?: string | undefined;
|
|
2038
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
2039
|
-
} | undefined;
|
|
2040
2464
|
google?: {
|
|
2041
2465
|
cached_content?: string | undefined;
|
|
2042
2466
|
} | undefined;
|
|
2043
2467
|
} | undefined;
|
|
2044
2468
|
raw?: {
|
|
2469
|
+
openai?: Record<string, unknown> | undefined;
|
|
2045
2470
|
anthropic?: Record<string, unknown> | undefined;
|
|
2046
2471
|
gemini?: Record<string, unknown> | undefined;
|
|
2047
|
-
|
|
2048
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
2049
|
-
openai?: Record<string, unknown> | undefined;
|
|
2472
|
+
google?: Record<string, unknown> | undefined;
|
|
2050
2473
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
2051
2474
|
openai_responses?: Record<string, unknown> | undefined;
|
|
2052
|
-
|
|
2475
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
2476
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
2053
2477
|
} | undefined;
|
|
2054
2478
|
tools?: (string | {
|
|
2055
2479
|
name: string;
|
|
@@ -2111,11 +2535,29 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2111
2535
|
format?: "text" | "json" | "markdown" | undefined;
|
|
2112
2536
|
stream?: boolean | undefined;
|
|
2113
2537
|
schema?: Record<string, unknown> | undefined;
|
|
2538
|
+
schema_ref?: string | undefined;
|
|
2539
|
+
schema_source?: {
|
|
2540
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
2541
|
+
ref?: string | undefined;
|
|
2542
|
+
resolved_path?: string | undefined;
|
|
2543
|
+
hash?: string | undefined;
|
|
2544
|
+
} | undefined;
|
|
2114
2545
|
schema_name?: string | undefined;
|
|
2115
2546
|
schema_description?: string | undefined;
|
|
2116
2547
|
schema_strict?: boolean | undefined;
|
|
2117
2548
|
} | undefined;
|
|
2549
|
+
compression?: {
|
|
2550
|
+
thetokencompany?: {
|
|
2551
|
+
model?: string | undefined;
|
|
2552
|
+
enabled?: boolean | undefined;
|
|
2553
|
+
aggressiveness?: number | undefined;
|
|
2554
|
+
} | undefined;
|
|
2555
|
+
} | undefined;
|
|
2118
2556
|
cache?: {
|
|
2557
|
+
openai?: {
|
|
2558
|
+
prompt_cache_key?: string | undefined;
|
|
2559
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
2560
|
+
} | undefined;
|
|
2119
2561
|
anthropic?: {
|
|
2120
2562
|
type?: "ephemeral" | undefined;
|
|
2121
2563
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -2127,23 +2569,19 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2127
2569
|
gemini?: {
|
|
2128
2570
|
cached_content?: string | undefined;
|
|
2129
2571
|
} | undefined;
|
|
2130
|
-
openai?: {
|
|
2131
|
-
prompt_cache_key?: string | undefined;
|
|
2132
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
2133
|
-
} | undefined;
|
|
2134
2572
|
google?: {
|
|
2135
2573
|
cached_content?: string | undefined;
|
|
2136
2574
|
} | undefined;
|
|
2137
2575
|
} | undefined;
|
|
2138
2576
|
raw?: {
|
|
2577
|
+
openai?: Record<string, unknown> | undefined;
|
|
2139
2578
|
anthropic?: Record<string, unknown> | undefined;
|
|
2140
2579
|
gemini?: Record<string, unknown> | undefined;
|
|
2141
|
-
|
|
2142
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
2143
|
-
openai?: Record<string, unknown> | undefined;
|
|
2580
|
+
google?: Record<string, unknown> | undefined;
|
|
2144
2581
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
2145
2582
|
openai_responses?: Record<string, unknown> | undefined;
|
|
2146
|
-
|
|
2583
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
2584
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
2147
2585
|
} | undefined;
|
|
2148
2586
|
tools?: (string | {
|
|
2149
2587
|
name: string;
|
|
@@ -2229,10 +2667,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2229
2667
|
}, "strip", z.ZodTypeAny, {
|
|
2230
2668
|
id: string;
|
|
2231
2669
|
schema_version: number;
|
|
2232
|
-
description?: string | undefined;
|
|
2233
|
-
includes?: string[] | undefined;
|
|
2234
|
-
provider?: "anthropic" | "gemini" | "openrouter" | "llmasaservice" | "openai" | "openai-responses" | "google" | "any" | undefined;
|
|
2235
2670
|
model?: string | undefined;
|
|
2671
|
+
includes?: string[] | undefined;
|
|
2236
2672
|
fallback_models?: string[] | undefined;
|
|
2237
2673
|
reasoning?: {
|
|
2238
2674
|
effort?: "low" | "medium" | "high" | undefined;
|
|
@@ -2250,11 +2686,29 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2250
2686
|
format?: "text" | "json" | "markdown" | undefined;
|
|
2251
2687
|
stream?: boolean | undefined;
|
|
2252
2688
|
schema?: Record<string, unknown> | undefined;
|
|
2689
|
+
schema_ref?: string | undefined;
|
|
2690
|
+
schema_source?: {
|
|
2691
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
2692
|
+
ref?: string | undefined;
|
|
2693
|
+
resolved_path?: string | undefined;
|
|
2694
|
+
hash?: string | undefined;
|
|
2695
|
+
} | undefined;
|
|
2253
2696
|
schema_name?: string | undefined;
|
|
2254
2697
|
schema_description?: string | undefined;
|
|
2255
2698
|
schema_strict?: boolean | undefined;
|
|
2256
2699
|
} | undefined;
|
|
2700
|
+
compression?: {
|
|
2701
|
+
thetokencompany?: {
|
|
2702
|
+
model?: string | undefined;
|
|
2703
|
+
enabled?: boolean | undefined;
|
|
2704
|
+
aggressiveness?: number | undefined;
|
|
2705
|
+
} | undefined;
|
|
2706
|
+
} | undefined;
|
|
2257
2707
|
cache?: {
|
|
2708
|
+
openai?: {
|
|
2709
|
+
prompt_cache_key?: string | undefined;
|
|
2710
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
2711
|
+
} | undefined;
|
|
2258
2712
|
anthropic?: {
|
|
2259
2713
|
type?: "ephemeral" | undefined;
|
|
2260
2714
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -2266,29 +2720,27 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2266
2720
|
gemini?: {
|
|
2267
2721
|
cached_content?: string | undefined;
|
|
2268
2722
|
} | undefined;
|
|
2269
|
-
openai?: {
|
|
2270
|
-
prompt_cache_key?: string | undefined;
|
|
2271
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
2272
|
-
} | undefined;
|
|
2273
2723
|
google?: {
|
|
2274
2724
|
cached_content?: string | undefined;
|
|
2275
2725
|
} | undefined;
|
|
2276
2726
|
} | undefined;
|
|
2277
2727
|
raw?: {
|
|
2728
|
+
openai?: Record<string, unknown> | undefined;
|
|
2278
2729
|
anthropic?: Record<string, unknown> | undefined;
|
|
2279
2730
|
gemini?: Record<string, unknown> | undefined;
|
|
2280
|
-
|
|
2281
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
2282
|
-
openai?: Record<string, unknown> | undefined;
|
|
2731
|
+
google?: Record<string, unknown> | undefined;
|
|
2283
2732
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
2284
2733
|
openai_responses?: Record<string, unknown> | undefined;
|
|
2285
|
-
|
|
2734
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
2735
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
2286
2736
|
} | undefined;
|
|
2737
|
+
description?: string | undefined;
|
|
2287
2738
|
tools?: (string | {
|
|
2288
2739
|
name: string;
|
|
2289
2740
|
description?: string | undefined;
|
|
2290
2741
|
input_schema?: Record<string, unknown> | undefined;
|
|
2291
2742
|
})[] | undefined;
|
|
2743
|
+
provider?: "openai" | "anthropic" | "gemini" | "google" | "openai-responses" | "openrouter" | "llmasaservice" | "any" | undefined;
|
|
2292
2744
|
provider_options?: {
|
|
2293
2745
|
anthropic?: {
|
|
2294
2746
|
top_k?: number | undefined;
|
|
@@ -2325,16 +2777,9 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2325
2777
|
projectId?: string | undefined;
|
|
2326
2778
|
} | undefined;
|
|
2327
2779
|
} | undefined;
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
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;
|
|
2780
|
+
source?: {
|
|
2781
|
+
file_path?: string | undefined;
|
|
2782
|
+
checksum?: string | undefined;
|
|
2338
2783
|
} | undefined;
|
|
2339
2784
|
mcp?: {
|
|
2340
2785
|
servers?: (string | {
|
|
@@ -2343,8 +2788,13 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2343
2788
|
})[] | undefined;
|
|
2344
2789
|
} | undefined;
|
|
2345
2790
|
context?: {
|
|
2791
|
+
history?: {
|
|
2792
|
+
max_items?: number | undefined;
|
|
2793
|
+
} | undefined;
|
|
2346
2794
|
inputs?: (string | {
|
|
2347
2795
|
name: string;
|
|
2796
|
+
warnings?: boolean | undefined;
|
|
2797
|
+
optional?: boolean | undefined;
|
|
2348
2798
|
max_size?: number | undefined;
|
|
2349
2799
|
trim?: boolean | "start" | "end" | "both" | undefined;
|
|
2350
2800
|
allow_regex?: string | {
|
|
@@ -2364,9 +2814,6 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2364
2814
|
return_message?: string | undefined;
|
|
2365
2815
|
} | undefined;
|
|
2366
2816
|
})[] | undefined;
|
|
2367
|
-
history?: {
|
|
2368
|
-
max_items?: number | undefined;
|
|
2369
|
-
} | undefined;
|
|
2370
2817
|
} | undefined;
|
|
2371
2818
|
environments?: Record<string, {
|
|
2372
2819
|
model?: string | undefined;
|
|
@@ -2387,11 +2834,29 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2387
2834
|
format?: "text" | "json" | "markdown" | undefined;
|
|
2388
2835
|
stream?: boolean | undefined;
|
|
2389
2836
|
schema?: Record<string, unknown> | undefined;
|
|
2837
|
+
schema_ref?: string | undefined;
|
|
2838
|
+
schema_source?: {
|
|
2839
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
2840
|
+
ref?: string | undefined;
|
|
2841
|
+
resolved_path?: string | undefined;
|
|
2842
|
+
hash?: string | undefined;
|
|
2843
|
+
} | undefined;
|
|
2390
2844
|
schema_name?: string | undefined;
|
|
2391
2845
|
schema_description?: string | undefined;
|
|
2392
2846
|
schema_strict?: boolean | undefined;
|
|
2393
2847
|
} | undefined;
|
|
2848
|
+
compression?: {
|
|
2849
|
+
thetokencompany?: {
|
|
2850
|
+
model?: string | undefined;
|
|
2851
|
+
enabled?: boolean | undefined;
|
|
2852
|
+
aggressiveness?: number | undefined;
|
|
2853
|
+
} | undefined;
|
|
2854
|
+
} | undefined;
|
|
2394
2855
|
cache?: {
|
|
2856
|
+
openai?: {
|
|
2857
|
+
prompt_cache_key?: string | undefined;
|
|
2858
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
2859
|
+
} | undefined;
|
|
2395
2860
|
anthropic?: {
|
|
2396
2861
|
type?: "ephemeral" | undefined;
|
|
2397
2862
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -2403,23 +2868,19 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2403
2868
|
gemini?: {
|
|
2404
2869
|
cached_content?: string | undefined;
|
|
2405
2870
|
} | undefined;
|
|
2406
|
-
openai?: {
|
|
2407
|
-
prompt_cache_key?: string | undefined;
|
|
2408
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
2409
|
-
} | undefined;
|
|
2410
2871
|
google?: {
|
|
2411
2872
|
cached_content?: string | undefined;
|
|
2412
2873
|
} | undefined;
|
|
2413
2874
|
} | undefined;
|
|
2414
2875
|
raw?: {
|
|
2876
|
+
openai?: Record<string, unknown> | undefined;
|
|
2415
2877
|
anthropic?: Record<string, unknown> | undefined;
|
|
2416
2878
|
gemini?: Record<string, unknown> | undefined;
|
|
2417
|
-
|
|
2418
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
2419
|
-
openai?: Record<string, unknown> | undefined;
|
|
2879
|
+
google?: Record<string, unknown> | undefined;
|
|
2420
2880
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
2421
2881
|
openai_responses?: Record<string, unknown> | undefined;
|
|
2422
|
-
|
|
2882
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
2883
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
2423
2884
|
} | undefined;
|
|
2424
2885
|
tools?: (string | {
|
|
2425
2886
|
name: string;
|
|
@@ -2482,11 +2943,29 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2482
2943
|
format?: "text" | "json" | "markdown" | undefined;
|
|
2483
2944
|
stream?: boolean | undefined;
|
|
2484
2945
|
schema?: Record<string, unknown> | undefined;
|
|
2946
|
+
schema_ref?: string | undefined;
|
|
2947
|
+
schema_source?: {
|
|
2948
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
2949
|
+
ref?: string | undefined;
|
|
2950
|
+
resolved_path?: string | undefined;
|
|
2951
|
+
hash?: string | undefined;
|
|
2952
|
+
} | undefined;
|
|
2485
2953
|
schema_name?: string | undefined;
|
|
2486
2954
|
schema_description?: string | undefined;
|
|
2487
2955
|
schema_strict?: boolean | undefined;
|
|
2488
2956
|
} | undefined;
|
|
2957
|
+
compression?: {
|
|
2958
|
+
thetokencompany?: {
|
|
2959
|
+
model?: string | undefined;
|
|
2960
|
+
enabled?: boolean | undefined;
|
|
2961
|
+
aggressiveness?: number | undefined;
|
|
2962
|
+
} | undefined;
|
|
2963
|
+
} | undefined;
|
|
2489
2964
|
cache?: {
|
|
2965
|
+
openai?: {
|
|
2966
|
+
prompt_cache_key?: string | undefined;
|
|
2967
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
2968
|
+
} | undefined;
|
|
2490
2969
|
anthropic?: {
|
|
2491
2970
|
type?: "ephemeral" | undefined;
|
|
2492
2971
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -2498,23 +2977,19 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2498
2977
|
gemini?: {
|
|
2499
2978
|
cached_content?: string | undefined;
|
|
2500
2979
|
} | undefined;
|
|
2501
|
-
openai?: {
|
|
2502
|
-
prompt_cache_key?: string | undefined;
|
|
2503
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
2504
|
-
} | undefined;
|
|
2505
2980
|
google?: {
|
|
2506
2981
|
cached_content?: string | undefined;
|
|
2507
2982
|
} | undefined;
|
|
2508
2983
|
} | undefined;
|
|
2509
2984
|
raw?: {
|
|
2985
|
+
openai?: Record<string, unknown> | undefined;
|
|
2510
2986
|
anthropic?: Record<string, unknown> | undefined;
|
|
2511
2987
|
gemini?: Record<string, unknown> | undefined;
|
|
2512
|
-
|
|
2513
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
2514
|
-
openai?: Record<string, unknown> | undefined;
|
|
2988
|
+
google?: Record<string, unknown> | undefined;
|
|
2515
2989
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
2516
2990
|
openai_responses?: Record<string, unknown> | undefined;
|
|
2517
|
-
|
|
2991
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
2992
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
2518
2993
|
} | undefined;
|
|
2519
2994
|
tools?: (string | {
|
|
2520
2995
|
name: string;
|
|
@@ -2558,16 +3033,21 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2558
3033
|
} | undefined;
|
|
2559
3034
|
} | undefined;
|
|
2560
3035
|
}> | undefined;
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
3036
|
+
metadata?: {
|
|
3037
|
+
owner?: string | undefined;
|
|
3038
|
+
tags?: string[] | undefined;
|
|
3039
|
+
review_required?: boolean | undefined;
|
|
3040
|
+
stable?: boolean | undefined;
|
|
3041
|
+
} | undefined;
|
|
3042
|
+
sections?: {
|
|
3043
|
+
system_instructions?: string | undefined;
|
|
3044
|
+
prompt_template?: string | undefined;
|
|
3045
|
+
notes?: string | undefined;
|
|
2564
3046
|
} | undefined;
|
|
2565
3047
|
}, {
|
|
2566
3048
|
id: string;
|
|
2567
|
-
description?: string | undefined;
|
|
2568
|
-
includes?: string[] | undefined;
|
|
2569
|
-
provider?: "anthropic" | "gemini" | "openrouter" | "llmasaservice" | "openai" | "openai-responses" | "google" | "any" | undefined;
|
|
2570
3049
|
model?: string | undefined;
|
|
3050
|
+
includes?: string[] | undefined;
|
|
2571
3051
|
fallback_models?: string[] | undefined;
|
|
2572
3052
|
reasoning?: {
|
|
2573
3053
|
effort?: "low" | "medium" | "high" | undefined;
|
|
@@ -2585,11 +3065,29 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2585
3065
|
format?: "text" | "json" | "markdown" | undefined;
|
|
2586
3066
|
stream?: boolean | undefined;
|
|
2587
3067
|
schema?: Record<string, unknown> | undefined;
|
|
3068
|
+
schema_ref?: string | undefined;
|
|
3069
|
+
schema_source?: {
|
|
3070
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
3071
|
+
ref?: string | undefined;
|
|
3072
|
+
resolved_path?: string | undefined;
|
|
3073
|
+
hash?: string | undefined;
|
|
3074
|
+
} | undefined;
|
|
2588
3075
|
schema_name?: string | undefined;
|
|
2589
3076
|
schema_description?: string | undefined;
|
|
2590
3077
|
schema_strict?: boolean | undefined;
|
|
2591
3078
|
} | undefined;
|
|
3079
|
+
compression?: {
|
|
3080
|
+
thetokencompany?: {
|
|
3081
|
+
model?: string | undefined;
|
|
3082
|
+
enabled?: boolean | undefined;
|
|
3083
|
+
aggressiveness?: number | undefined;
|
|
3084
|
+
} | undefined;
|
|
3085
|
+
} | undefined;
|
|
2592
3086
|
cache?: {
|
|
3087
|
+
openai?: {
|
|
3088
|
+
prompt_cache_key?: string | undefined;
|
|
3089
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
3090
|
+
} | undefined;
|
|
2593
3091
|
anthropic?: {
|
|
2594
3092
|
type?: "ephemeral" | undefined;
|
|
2595
3093
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -2601,29 +3099,27 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2601
3099
|
gemini?: {
|
|
2602
3100
|
cached_content?: string | undefined;
|
|
2603
3101
|
} | undefined;
|
|
2604
|
-
openai?: {
|
|
2605
|
-
prompt_cache_key?: string | undefined;
|
|
2606
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
2607
|
-
} | undefined;
|
|
2608
3102
|
google?: {
|
|
2609
3103
|
cached_content?: string | undefined;
|
|
2610
3104
|
} | undefined;
|
|
2611
3105
|
} | undefined;
|
|
2612
3106
|
raw?: {
|
|
3107
|
+
openai?: Record<string, unknown> | undefined;
|
|
2613
3108
|
anthropic?: Record<string, unknown> | undefined;
|
|
2614
3109
|
gemini?: Record<string, unknown> | undefined;
|
|
2615
|
-
|
|
2616
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
2617
|
-
openai?: Record<string, unknown> | undefined;
|
|
3110
|
+
google?: Record<string, unknown> | undefined;
|
|
2618
3111
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
2619
3112
|
openai_responses?: Record<string, unknown> | undefined;
|
|
2620
|
-
|
|
3113
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
3114
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
2621
3115
|
} | undefined;
|
|
3116
|
+
description?: string | undefined;
|
|
2622
3117
|
tools?: (string | {
|
|
2623
3118
|
name: string;
|
|
2624
3119
|
description?: string | undefined;
|
|
2625
3120
|
input_schema?: Record<string, unknown> | undefined;
|
|
2626
3121
|
})[] | undefined;
|
|
3122
|
+
provider?: "openai" | "anthropic" | "gemini" | "google" | "openai-responses" | "openrouter" | "llmasaservice" | "any" | undefined;
|
|
2627
3123
|
provider_options?: {
|
|
2628
3124
|
anthropic?: {
|
|
2629
3125
|
top_k?: number | undefined;
|
|
@@ -2660,16 +3156,9 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2660
3156
|
projectId?: string | undefined;
|
|
2661
3157
|
} | undefined;
|
|
2662
3158
|
} | undefined;
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
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;
|
|
3159
|
+
source?: {
|
|
3160
|
+
file_path?: string | undefined;
|
|
3161
|
+
checksum?: string | undefined;
|
|
2673
3162
|
} | undefined;
|
|
2674
3163
|
schema_version?: number | undefined;
|
|
2675
3164
|
mcp?: {
|
|
@@ -2679,8 +3168,13 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2679
3168
|
})[] | undefined;
|
|
2680
3169
|
} | undefined;
|
|
2681
3170
|
context?: {
|
|
3171
|
+
history?: {
|
|
3172
|
+
max_items?: number | undefined;
|
|
3173
|
+
} | undefined;
|
|
2682
3174
|
inputs?: (string | {
|
|
2683
3175
|
name: string;
|
|
3176
|
+
warnings?: boolean | undefined;
|
|
3177
|
+
optional?: boolean | undefined;
|
|
2684
3178
|
max_size?: number | undefined;
|
|
2685
3179
|
trim?: boolean | "start" | "end" | "both" | undefined;
|
|
2686
3180
|
allow_regex?: string | {
|
|
@@ -2700,9 +3194,6 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2700
3194
|
return_message?: string | undefined;
|
|
2701
3195
|
} | undefined;
|
|
2702
3196
|
})[] | undefined;
|
|
2703
|
-
history?: {
|
|
2704
|
-
max_items?: number | undefined;
|
|
2705
|
-
} | undefined;
|
|
2706
3197
|
} | undefined;
|
|
2707
3198
|
environments?: Record<string, {
|
|
2708
3199
|
model?: string | undefined;
|
|
@@ -2723,11 +3214,29 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2723
3214
|
format?: "text" | "json" | "markdown" | undefined;
|
|
2724
3215
|
stream?: boolean | undefined;
|
|
2725
3216
|
schema?: Record<string, unknown> | undefined;
|
|
3217
|
+
schema_ref?: string | undefined;
|
|
3218
|
+
schema_source?: {
|
|
3219
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
3220
|
+
ref?: string | undefined;
|
|
3221
|
+
resolved_path?: string | undefined;
|
|
3222
|
+
hash?: string | undefined;
|
|
3223
|
+
} | undefined;
|
|
2726
3224
|
schema_name?: string | undefined;
|
|
2727
3225
|
schema_description?: string | undefined;
|
|
2728
3226
|
schema_strict?: boolean | undefined;
|
|
2729
3227
|
} | undefined;
|
|
3228
|
+
compression?: {
|
|
3229
|
+
thetokencompany?: {
|
|
3230
|
+
model?: string | undefined;
|
|
3231
|
+
enabled?: boolean | undefined;
|
|
3232
|
+
aggressiveness?: number | undefined;
|
|
3233
|
+
} | undefined;
|
|
3234
|
+
} | undefined;
|
|
2730
3235
|
cache?: {
|
|
3236
|
+
openai?: {
|
|
3237
|
+
prompt_cache_key?: string | undefined;
|
|
3238
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
3239
|
+
} | undefined;
|
|
2731
3240
|
anthropic?: {
|
|
2732
3241
|
type?: "ephemeral" | undefined;
|
|
2733
3242
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -2739,23 +3248,19 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2739
3248
|
gemini?: {
|
|
2740
3249
|
cached_content?: string | undefined;
|
|
2741
3250
|
} | undefined;
|
|
2742
|
-
openai?: {
|
|
2743
|
-
prompt_cache_key?: string | undefined;
|
|
2744
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
2745
|
-
} | undefined;
|
|
2746
3251
|
google?: {
|
|
2747
3252
|
cached_content?: string | undefined;
|
|
2748
3253
|
} | undefined;
|
|
2749
3254
|
} | undefined;
|
|
2750
3255
|
raw?: {
|
|
3256
|
+
openai?: Record<string, unknown> | undefined;
|
|
2751
3257
|
anthropic?: Record<string, unknown> | undefined;
|
|
2752
3258
|
gemini?: Record<string, unknown> | undefined;
|
|
2753
|
-
|
|
2754
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
2755
|
-
openai?: Record<string, unknown> | undefined;
|
|
3259
|
+
google?: Record<string, unknown> | undefined;
|
|
2756
3260
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
2757
3261
|
openai_responses?: Record<string, unknown> | undefined;
|
|
2758
|
-
|
|
3262
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
3263
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
2759
3264
|
} | undefined;
|
|
2760
3265
|
tools?: (string | {
|
|
2761
3266
|
name: string;
|
|
@@ -2818,11 +3323,29 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2818
3323
|
format?: "text" | "json" | "markdown" | undefined;
|
|
2819
3324
|
stream?: boolean | undefined;
|
|
2820
3325
|
schema?: Record<string, unknown> | undefined;
|
|
3326
|
+
schema_ref?: string | undefined;
|
|
3327
|
+
schema_source?: {
|
|
3328
|
+
mode?: "inline" | "schema_ref_json" | "schema_ref_zod_module" | undefined;
|
|
3329
|
+
ref?: string | undefined;
|
|
3330
|
+
resolved_path?: string | undefined;
|
|
3331
|
+
hash?: string | undefined;
|
|
3332
|
+
} | undefined;
|
|
2821
3333
|
schema_name?: string | undefined;
|
|
2822
3334
|
schema_description?: string | undefined;
|
|
2823
3335
|
schema_strict?: boolean | undefined;
|
|
2824
3336
|
} | undefined;
|
|
3337
|
+
compression?: {
|
|
3338
|
+
thetokencompany?: {
|
|
3339
|
+
model?: string | undefined;
|
|
3340
|
+
enabled?: boolean | undefined;
|
|
3341
|
+
aggressiveness?: number | undefined;
|
|
3342
|
+
} | undefined;
|
|
3343
|
+
} | undefined;
|
|
2825
3344
|
cache?: {
|
|
3345
|
+
openai?: {
|
|
3346
|
+
prompt_cache_key?: string | undefined;
|
|
3347
|
+
retention?: "in_memory" | "24h" | undefined;
|
|
3348
|
+
} | undefined;
|
|
2826
3349
|
anthropic?: {
|
|
2827
3350
|
type?: "ephemeral" | undefined;
|
|
2828
3351
|
mode?: "automatic" | "explicit" | undefined;
|
|
@@ -2834,23 +3357,19 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2834
3357
|
gemini?: {
|
|
2835
3358
|
cached_content?: string | undefined;
|
|
2836
3359
|
} | undefined;
|
|
2837
|
-
openai?: {
|
|
2838
|
-
prompt_cache_key?: string | undefined;
|
|
2839
|
-
retention?: "in_memory" | "24h" | undefined;
|
|
2840
|
-
} | undefined;
|
|
2841
3360
|
google?: {
|
|
2842
3361
|
cached_content?: string | undefined;
|
|
2843
3362
|
} | undefined;
|
|
2844
3363
|
} | undefined;
|
|
2845
3364
|
raw?: {
|
|
3365
|
+
openai?: Record<string, unknown> | undefined;
|
|
2846
3366
|
anthropic?: Record<string, unknown> | undefined;
|
|
2847
3367
|
gemini?: Record<string, unknown> | undefined;
|
|
2848
|
-
|
|
2849
|
-
llmasaservice?: Record<string, unknown> | undefined;
|
|
2850
|
-
openai?: Record<string, unknown> | undefined;
|
|
3368
|
+
google?: Record<string, unknown> | undefined;
|
|
2851
3369
|
'openai-responses'?: Record<string, unknown> | undefined;
|
|
2852
3370
|
openai_responses?: Record<string, unknown> | undefined;
|
|
2853
|
-
|
|
3371
|
+
openrouter?: Record<string, unknown> | undefined;
|
|
3372
|
+
llmasaservice?: Record<string, unknown> | undefined;
|
|
2854
3373
|
} | undefined;
|
|
2855
3374
|
tools?: (string | {
|
|
2856
3375
|
name: string;
|
|
@@ -2894,9 +3413,16 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2894
3413
|
} | undefined;
|
|
2895
3414
|
} | undefined;
|
|
2896
3415
|
}> | undefined;
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
3416
|
+
metadata?: {
|
|
3417
|
+
owner?: string | undefined;
|
|
3418
|
+
tags?: string[] | undefined;
|
|
3419
|
+
review_required?: boolean | undefined;
|
|
3420
|
+
stable?: boolean | undefined;
|
|
3421
|
+
} | undefined;
|
|
3422
|
+
sections?: {
|
|
3423
|
+
system_instructions?: string | undefined;
|
|
3424
|
+
prompt_template?: string | undefined;
|
|
3425
|
+
notes?: string | undefined;
|
|
2900
3426
|
} | undefined;
|
|
2901
3427
|
}>;
|
|
2902
3428
|
type PromptAsset = z.infer<typeof PromptAssetSchema>;
|