promptopskit 0.8.2 → 0.9.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 +2 -1
- package/SKILL.md +10 -4
- package/dist/{chunk-ZVCKP4EM.js → chunk-AAQNCAVA.js} +3 -3
- package/dist/{chunk-5XH2GROP.js → chunk-E2AIIPQC.js} +2 -2
- package/dist/{chunk-UQLAWU67.js → chunk-FJ3D76IV.js} +2 -2
- package/dist/{chunk-RVAFVWR2.js → chunk-NS6OTKY2.js} +115 -34
- package/dist/chunk-NS6OTKY2.js.map +1 -0
- package/dist/{chunk-Z3DPPJNU.js → chunk-Q67E2GGD.js} +2 -2
- package/dist/{chunk-PDVUVZAU.js → chunk-SVNQNMMV.js} +2 -2
- package/dist/{chunk-E4GEKWVP.js → chunk-VOXMOGU5.js} +5 -2
- package/dist/chunk-VOXMOGU5.js.map +1 -0
- package/dist/{chunk-DI7Q4T7A.js → chunk-W6XHGSPJ.js} +3 -3
- package/dist/cli/index.js +8 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +117 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +8 -8
- package/dist/providers/anthropic.cjs +117 -33
- 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 +117 -33
- 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 +117 -33
- 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 +117 -33
- 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 +117 -33
- 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 +117 -33
- 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-BgVLZ2u5.d.cts → schema-BkOMklgI.d.cts} +129 -0
- package/dist/{schema-BgVLZ2u5.d.ts → schema-BkOMklgI.d.ts} +129 -0
- package/dist/testing.cjs +4 -1
- 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-2hnZmCkH.d.cts → types-B4TWRzUY.d.cts} +1 -1
- package/dist/{types-DgAT4jSR.d.ts → types-D6VJJo1x.d.ts} +1 -1
- package/dist/usagetap/index.d.cts +2 -2
- package/dist/usagetap/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-E4GEKWVP.js.map +0 -1
- package/dist/chunk-RVAFVWR2.js.map +0 -1
- /package/dist/{chunk-ZVCKP4EM.js.map → chunk-AAQNCAVA.js.map} +0 -0
- /package/dist/{chunk-5XH2GROP.js.map → chunk-E2AIIPQC.js.map} +0 -0
- /package/dist/{chunk-UQLAWU67.js.map → chunk-FJ3D76IV.js.map} +0 -0
- /package/dist/{chunk-Z3DPPJNU.js.map → chunk-Q67E2GGD.js.map} +0 -0
- /package/dist/{chunk-PDVUVZAU.js.map → chunk-SVNQNMMV.js.map} +0 -0
- /package/dist/{chunk-DI7Q4T7A.js.map → chunk-W6XHGSPJ.js.map} +0 -0
|
@@ -138,7 +138,11 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
138
138
|
query: z.ZodOptional<z.ZodString>;
|
|
139
139
|
query_variable: z.ZodOptional<z.ZodString>;
|
|
140
140
|
json_to_toon: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
+
mode: z.ZodOptional<z.ZodEnum<["conservative", "balanced"]>>;
|
|
142
|
+
preserve_neighbors: z.ZodOptional<z.ZodBoolean>;
|
|
143
|
+
fail_on_low_confidence: z.ZodOptional<z.ZodBoolean>;
|
|
141
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
142
146
|
enabled?: boolean | undefined;
|
|
143
147
|
min_tokens?: number | undefined;
|
|
144
148
|
max_sentences?: number | undefined;
|
|
@@ -146,7 +150,10 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
146
150
|
query?: string | undefined;
|
|
147
151
|
query_variable?: string | undefined;
|
|
148
152
|
json_to_toon?: boolean | undefined;
|
|
153
|
+
preserve_neighbors?: boolean | undefined;
|
|
154
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
149
155
|
}, {
|
|
156
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
150
157
|
enabled?: boolean | undefined;
|
|
151
158
|
min_tokens?: number | undefined;
|
|
152
159
|
max_sentences?: number | undefined;
|
|
@@ -154,6 +161,8 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
154
161
|
query?: string | undefined;
|
|
155
162
|
query_variable?: string | undefined;
|
|
156
163
|
json_to_toon?: boolean | undefined;
|
|
164
|
+
preserve_neighbors?: boolean | undefined;
|
|
165
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
157
166
|
}>>;
|
|
158
167
|
code: z.ZodOptional<z.ZodObject<{
|
|
159
168
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -184,6 +193,7 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
184
193
|
aggressiveness?: number | undefined;
|
|
185
194
|
} | undefined;
|
|
186
195
|
heuristic?: {
|
|
196
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
187
197
|
enabled?: boolean | undefined;
|
|
188
198
|
min_tokens?: number | undefined;
|
|
189
199
|
max_sentences?: number | undefined;
|
|
@@ -191,6 +201,8 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
191
201
|
query?: string | undefined;
|
|
192
202
|
query_variable?: string | undefined;
|
|
193
203
|
json_to_toon?: boolean | undefined;
|
|
204
|
+
preserve_neighbors?: boolean | undefined;
|
|
205
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
194
206
|
} | undefined;
|
|
195
207
|
}, {
|
|
196
208
|
code?: {
|
|
@@ -205,6 +217,7 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
205
217
|
aggressiveness?: number | undefined;
|
|
206
218
|
} | undefined;
|
|
207
219
|
heuristic?: {
|
|
220
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
208
221
|
enabled?: boolean | undefined;
|
|
209
222
|
min_tokens?: number | undefined;
|
|
210
223
|
max_sentences?: number | undefined;
|
|
@@ -212,6 +225,8 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
212
225
|
query?: string | undefined;
|
|
213
226
|
query_variable?: string | undefined;
|
|
214
227
|
json_to_toon?: boolean | undefined;
|
|
228
|
+
preserve_neighbors?: boolean | undefined;
|
|
229
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
215
230
|
} | undefined;
|
|
216
231
|
}>>;
|
|
217
232
|
cache: z.ZodOptional<z.ZodObject<{
|
|
@@ -562,6 +577,7 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
562
577
|
aggressiveness?: number | undefined;
|
|
563
578
|
} | undefined;
|
|
564
579
|
heuristic?: {
|
|
580
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
565
581
|
enabled?: boolean | undefined;
|
|
566
582
|
min_tokens?: number | undefined;
|
|
567
583
|
max_sentences?: number | undefined;
|
|
@@ -569,6 +585,8 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
569
585
|
query?: string | undefined;
|
|
570
586
|
query_variable?: string | undefined;
|
|
571
587
|
json_to_toon?: boolean | undefined;
|
|
588
|
+
preserve_neighbors?: boolean | undefined;
|
|
589
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
572
590
|
} | undefined;
|
|
573
591
|
} | undefined;
|
|
574
592
|
cache?: {
|
|
@@ -685,6 +703,7 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
685
703
|
aggressiveness?: number | undefined;
|
|
686
704
|
} | undefined;
|
|
687
705
|
heuristic?: {
|
|
706
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
688
707
|
enabled?: boolean | undefined;
|
|
689
708
|
min_tokens?: number | undefined;
|
|
690
709
|
max_sentences?: number | undefined;
|
|
@@ -692,6 +711,8 @@ declare const PromptAssetOverridesSchema: z.ZodObject<{
|
|
|
692
711
|
query?: string | undefined;
|
|
693
712
|
query_variable?: string | undefined;
|
|
694
713
|
json_to_toon?: boolean | undefined;
|
|
714
|
+
preserve_neighbors?: boolean | undefined;
|
|
715
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
695
716
|
} | undefined;
|
|
696
717
|
} | undefined;
|
|
697
718
|
cache?: {
|
|
@@ -909,7 +930,11 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
909
930
|
query: z.ZodOptional<z.ZodString>;
|
|
910
931
|
query_variable: z.ZodOptional<z.ZodString>;
|
|
911
932
|
json_to_toon: z.ZodOptional<z.ZodBoolean>;
|
|
933
|
+
mode: z.ZodOptional<z.ZodEnum<["conservative", "balanced"]>>;
|
|
934
|
+
preserve_neighbors: z.ZodOptional<z.ZodBoolean>;
|
|
935
|
+
fail_on_low_confidence: z.ZodOptional<z.ZodBoolean>;
|
|
912
936
|
}, "strip", z.ZodTypeAny, {
|
|
937
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
913
938
|
enabled?: boolean | undefined;
|
|
914
939
|
min_tokens?: number | undefined;
|
|
915
940
|
max_sentences?: number | undefined;
|
|
@@ -917,7 +942,10 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
917
942
|
query?: string | undefined;
|
|
918
943
|
query_variable?: string | undefined;
|
|
919
944
|
json_to_toon?: boolean | undefined;
|
|
945
|
+
preserve_neighbors?: boolean | undefined;
|
|
946
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
920
947
|
}, {
|
|
948
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
921
949
|
enabled?: boolean | undefined;
|
|
922
950
|
min_tokens?: number | undefined;
|
|
923
951
|
max_sentences?: number | undefined;
|
|
@@ -925,6 +953,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
925
953
|
query?: string | undefined;
|
|
926
954
|
query_variable?: string | undefined;
|
|
927
955
|
json_to_toon?: boolean | undefined;
|
|
956
|
+
preserve_neighbors?: boolean | undefined;
|
|
957
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
928
958
|
}>>;
|
|
929
959
|
code: z.ZodOptional<z.ZodObject<{
|
|
930
960
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -955,6 +985,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
955
985
|
aggressiveness?: number | undefined;
|
|
956
986
|
} | undefined;
|
|
957
987
|
heuristic?: {
|
|
988
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
958
989
|
enabled?: boolean | undefined;
|
|
959
990
|
min_tokens?: number | undefined;
|
|
960
991
|
max_sentences?: number | undefined;
|
|
@@ -962,6 +993,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
962
993
|
query?: string | undefined;
|
|
963
994
|
query_variable?: string | undefined;
|
|
964
995
|
json_to_toon?: boolean | undefined;
|
|
996
|
+
preserve_neighbors?: boolean | undefined;
|
|
997
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
965
998
|
} | undefined;
|
|
966
999
|
}, {
|
|
967
1000
|
code?: {
|
|
@@ -976,6 +1009,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
976
1009
|
aggressiveness?: number | undefined;
|
|
977
1010
|
} | undefined;
|
|
978
1011
|
heuristic?: {
|
|
1012
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
979
1013
|
enabled?: boolean | undefined;
|
|
980
1014
|
min_tokens?: number | undefined;
|
|
981
1015
|
max_sentences?: number | undefined;
|
|
@@ -983,6 +1017,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
983
1017
|
query?: string | undefined;
|
|
984
1018
|
query_variable?: string | undefined;
|
|
985
1019
|
json_to_toon?: boolean | undefined;
|
|
1020
|
+
preserve_neighbors?: boolean | undefined;
|
|
1021
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
986
1022
|
} | undefined;
|
|
987
1023
|
}>>;
|
|
988
1024
|
cache: z.ZodOptional<z.ZodObject<{
|
|
@@ -1328,7 +1364,11 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1328
1364
|
query: z.ZodOptional<z.ZodString>;
|
|
1329
1365
|
query_variable: z.ZodOptional<z.ZodString>;
|
|
1330
1366
|
json_to_toon: z.ZodOptional<z.ZodBoolean>;
|
|
1367
|
+
mode: z.ZodOptional<z.ZodEnum<["conservative", "balanced"]>>;
|
|
1368
|
+
preserve_neighbors: z.ZodOptional<z.ZodBoolean>;
|
|
1369
|
+
fail_on_low_confidence: z.ZodOptional<z.ZodBoolean>;
|
|
1331
1370
|
}, "strip", z.ZodTypeAny, {
|
|
1371
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
1332
1372
|
enabled?: boolean | undefined;
|
|
1333
1373
|
min_tokens?: number | undefined;
|
|
1334
1374
|
max_sentences?: number | undefined;
|
|
@@ -1336,7 +1376,10 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1336
1376
|
query?: string | undefined;
|
|
1337
1377
|
query_variable?: string | undefined;
|
|
1338
1378
|
json_to_toon?: boolean | undefined;
|
|
1379
|
+
preserve_neighbors?: boolean | undefined;
|
|
1380
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
1339
1381
|
}, {
|
|
1382
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
1340
1383
|
enabled?: boolean | undefined;
|
|
1341
1384
|
min_tokens?: number | undefined;
|
|
1342
1385
|
max_sentences?: number | undefined;
|
|
@@ -1344,6 +1387,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1344
1387
|
query?: string | undefined;
|
|
1345
1388
|
query_variable?: string | undefined;
|
|
1346
1389
|
json_to_toon?: boolean | undefined;
|
|
1390
|
+
preserve_neighbors?: boolean | undefined;
|
|
1391
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
1347
1392
|
}>>;
|
|
1348
1393
|
code: z.ZodOptional<z.ZodObject<{
|
|
1349
1394
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1369,6 +1414,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1369
1414
|
collapse_blank_lines?: boolean | undefined;
|
|
1370
1415
|
} | undefined;
|
|
1371
1416
|
heuristic?: {
|
|
1417
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
1372
1418
|
enabled?: boolean | undefined;
|
|
1373
1419
|
min_tokens?: number | undefined;
|
|
1374
1420
|
max_sentences?: number | undefined;
|
|
@@ -1376,6 +1422,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1376
1422
|
query?: string | undefined;
|
|
1377
1423
|
query_variable?: string | undefined;
|
|
1378
1424
|
json_to_toon?: boolean | undefined;
|
|
1425
|
+
preserve_neighbors?: boolean | undefined;
|
|
1426
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
1379
1427
|
} | undefined;
|
|
1380
1428
|
}, {
|
|
1381
1429
|
code?: {
|
|
@@ -1385,6 +1433,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1385
1433
|
collapse_blank_lines?: boolean | undefined;
|
|
1386
1434
|
} | undefined;
|
|
1387
1435
|
heuristic?: {
|
|
1436
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
1388
1437
|
enabled?: boolean | undefined;
|
|
1389
1438
|
min_tokens?: number | undefined;
|
|
1390
1439
|
max_sentences?: number | undefined;
|
|
@@ -1392,6 +1441,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1392
1441
|
query?: string | undefined;
|
|
1393
1442
|
query_variable?: string | undefined;
|
|
1394
1443
|
json_to_toon?: boolean | undefined;
|
|
1444
|
+
preserve_neighbors?: boolean | undefined;
|
|
1445
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
1395
1446
|
} | undefined;
|
|
1396
1447
|
}>]>>;
|
|
1397
1448
|
allow_regex: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -1444,6 +1495,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1444
1495
|
collapse_blank_lines?: boolean | undefined;
|
|
1445
1496
|
} | undefined;
|
|
1446
1497
|
heuristic?: {
|
|
1498
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
1447
1499
|
enabled?: boolean | undefined;
|
|
1448
1500
|
min_tokens?: number | undefined;
|
|
1449
1501
|
max_sentences?: number | undefined;
|
|
@@ -1451,6 +1503,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1451
1503
|
query?: string | undefined;
|
|
1452
1504
|
query_variable?: string | undefined;
|
|
1453
1505
|
json_to_toon?: boolean | undefined;
|
|
1506
|
+
preserve_neighbors?: boolean | undefined;
|
|
1507
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
1454
1508
|
} | undefined;
|
|
1455
1509
|
} | undefined;
|
|
1456
1510
|
warnings?: boolean | undefined;
|
|
@@ -1483,6 +1537,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1483
1537
|
collapse_blank_lines?: boolean | undefined;
|
|
1484
1538
|
} | undefined;
|
|
1485
1539
|
heuristic?: {
|
|
1540
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
1486
1541
|
enabled?: boolean | undefined;
|
|
1487
1542
|
min_tokens?: number | undefined;
|
|
1488
1543
|
max_sentences?: number | undefined;
|
|
@@ -1490,6 +1545,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1490
1545
|
query?: string | undefined;
|
|
1491
1546
|
query_variable?: string | undefined;
|
|
1492
1547
|
json_to_toon?: boolean | undefined;
|
|
1548
|
+
preserve_neighbors?: boolean | undefined;
|
|
1549
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
1493
1550
|
} | undefined;
|
|
1494
1551
|
} | undefined;
|
|
1495
1552
|
warnings?: boolean | undefined;
|
|
@@ -1534,6 +1591,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1534
1591
|
collapse_blank_lines?: boolean | undefined;
|
|
1535
1592
|
} | undefined;
|
|
1536
1593
|
heuristic?: {
|
|
1594
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
1537
1595
|
enabled?: boolean | undefined;
|
|
1538
1596
|
min_tokens?: number | undefined;
|
|
1539
1597
|
max_sentences?: number | undefined;
|
|
@@ -1541,6 +1599,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1541
1599
|
query?: string | undefined;
|
|
1542
1600
|
query_variable?: string | undefined;
|
|
1543
1601
|
json_to_toon?: boolean | undefined;
|
|
1602
|
+
preserve_neighbors?: boolean | undefined;
|
|
1603
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
1544
1604
|
} | undefined;
|
|
1545
1605
|
} | undefined;
|
|
1546
1606
|
warnings?: boolean | undefined;
|
|
@@ -1578,6 +1638,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1578
1638
|
collapse_blank_lines?: boolean | undefined;
|
|
1579
1639
|
} | undefined;
|
|
1580
1640
|
heuristic?: {
|
|
1641
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
1581
1642
|
enabled?: boolean | undefined;
|
|
1582
1643
|
min_tokens?: number | undefined;
|
|
1583
1644
|
max_sentences?: number | undefined;
|
|
@@ -1585,6 +1646,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1585
1646
|
query?: string | undefined;
|
|
1586
1647
|
query_variable?: string | undefined;
|
|
1587
1648
|
json_to_toon?: boolean | undefined;
|
|
1649
|
+
preserve_neighbors?: boolean | undefined;
|
|
1650
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
1588
1651
|
} | undefined;
|
|
1589
1652
|
} | undefined;
|
|
1590
1653
|
warnings?: boolean | undefined;
|
|
@@ -1748,7 +1811,11 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1748
1811
|
query: z.ZodOptional<z.ZodString>;
|
|
1749
1812
|
query_variable: z.ZodOptional<z.ZodString>;
|
|
1750
1813
|
json_to_toon: z.ZodOptional<z.ZodBoolean>;
|
|
1814
|
+
mode: z.ZodOptional<z.ZodEnum<["conservative", "balanced"]>>;
|
|
1815
|
+
preserve_neighbors: z.ZodOptional<z.ZodBoolean>;
|
|
1816
|
+
fail_on_low_confidence: z.ZodOptional<z.ZodBoolean>;
|
|
1751
1817
|
}, "strip", z.ZodTypeAny, {
|
|
1818
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
1752
1819
|
enabled?: boolean | undefined;
|
|
1753
1820
|
min_tokens?: number | undefined;
|
|
1754
1821
|
max_sentences?: number | undefined;
|
|
@@ -1756,7 +1823,10 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1756
1823
|
query?: string | undefined;
|
|
1757
1824
|
query_variable?: string | undefined;
|
|
1758
1825
|
json_to_toon?: boolean | undefined;
|
|
1826
|
+
preserve_neighbors?: boolean | undefined;
|
|
1827
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
1759
1828
|
}, {
|
|
1829
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
1760
1830
|
enabled?: boolean | undefined;
|
|
1761
1831
|
min_tokens?: number | undefined;
|
|
1762
1832
|
max_sentences?: number | undefined;
|
|
@@ -1764,6 +1834,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1764
1834
|
query?: string | undefined;
|
|
1765
1835
|
query_variable?: string | undefined;
|
|
1766
1836
|
json_to_toon?: boolean | undefined;
|
|
1837
|
+
preserve_neighbors?: boolean | undefined;
|
|
1838
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
1767
1839
|
}>>;
|
|
1768
1840
|
code: z.ZodOptional<z.ZodObject<{
|
|
1769
1841
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1794,6 +1866,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1794
1866
|
aggressiveness?: number | undefined;
|
|
1795
1867
|
} | undefined;
|
|
1796
1868
|
heuristic?: {
|
|
1869
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
1797
1870
|
enabled?: boolean | undefined;
|
|
1798
1871
|
min_tokens?: number | undefined;
|
|
1799
1872
|
max_sentences?: number | undefined;
|
|
@@ -1801,6 +1874,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1801
1874
|
query?: string | undefined;
|
|
1802
1875
|
query_variable?: string | undefined;
|
|
1803
1876
|
json_to_toon?: boolean | undefined;
|
|
1877
|
+
preserve_neighbors?: boolean | undefined;
|
|
1878
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
1804
1879
|
} | undefined;
|
|
1805
1880
|
}, {
|
|
1806
1881
|
code?: {
|
|
@@ -1815,6 +1890,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1815
1890
|
aggressiveness?: number | undefined;
|
|
1816
1891
|
} | undefined;
|
|
1817
1892
|
heuristic?: {
|
|
1893
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
1818
1894
|
enabled?: boolean | undefined;
|
|
1819
1895
|
min_tokens?: number | undefined;
|
|
1820
1896
|
max_sentences?: number | undefined;
|
|
@@ -1822,6 +1898,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
1822
1898
|
query?: string | undefined;
|
|
1823
1899
|
query_variable?: string | undefined;
|
|
1824
1900
|
json_to_toon?: boolean | undefined;
|
|
1901
|
+
preserve_neighbors?: boolean | undefined;
|
|
1902
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
1825
1903
|
} | undefined;
|
|
1826
1904
|
}>>;
|
|
1827
1905
|
cache: z.ZodOptional<z.ZodObject<{
|
|
@@ -2172,6 +2250,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2172
2250
|
aggressiveness?: number | undefined;
|
|
2173
2251
|
} | undefined;
|
|
2174
2252
|
heuristic?: {
|
|
2253
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
2175
2254
|
enabled?: boolean | undefined;
|
|
2176
2255
|
min_tokens?: number | undefined;
|
|
2177
2256
|
max_sentences?: number | undefined;
|
|
@@ -2179,6 +2258,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2179
2258
|
query?: string | undefined;
|
|
2180
2259
|
query_variable?: string | undefined;
|
|
2181
2260
|
json_to_toon?: boolean | undefined;
|
|
2261
|
+
preserve_neighbors?: boolean | undefined;
|
|
2262
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
2182
2263
|
} | undefined;
|
|
2183
2264
|
} | undefined;
|
|
2184
2265
|
cache?: {
|
|
@@ -2295,6 +2376,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2295
2376
|
aggressiveness?: number | undefined;
|
|
2296
2377
|
} | undefined;
|
|
2297
2378
|
heuristic?: {
|
|
2379
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
2298
2380
|
enabled?: boolean | undefined;
|
|
2299
2381
|
min_tokens?: number | undefined;
|
|
2300
2382
|
max_sentences?: number | undefined;
|
|
@@ -2302,6 +2384,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2302
2384
|
query?: string | undefined;
|
|
2303
2385
|
query_variable?: string | undefined;
|
|
2304
2386
|
json_to_toon?: boolean | undefined;
|
|
2387
|
+
preserve_neighbors?: boolean | undefined;
|
|
2388
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
2305
2389
|
} | undefined;
|
|
2306
2390
|
} | undefined;
|
|
2307
2391
|
cache?: {
|
|
@@ -2514,7 +2598,11 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2514
2598
|
query: z.ZodOptional<z.ZodString>;
|
|
2515
2599
|
query_variable: z.ZodOptional<z.ZodString>;
|
|
2516
2600
|
json_to_toon: z.ZodOptional<z.ZodBoolean>;
|
|
2601
|
+
mode: z.ZodOptional<z.ZodEnum<["conservative", "balanced"]>>;
|
|
2602
|
+
preserve_neighbors: z.ZodOptional<z.ZodBoolean>;
|
|
2603
|
+
fail_on_low_confidence: z.ZodOptional<z.ZodBoolean>;
|
|
2517
2604
|
}, "strip", z.ZodTypeAny, {
|
|
2605
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
2518
2606
|
enabled?: boolean | undefined;
|
|
2519
2607
|
min_tokens?: number | undefined;
|
|
2520
2608
|
max_sentences?: number | undefined;
|
|
@@ -2522,7 +2610,10 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2522
2610
|
query?: string | undefined;
|
|
2523
2611
|
query_variable?: string | undefined;
|
|
2524
2612
|
json_to_toon?: boolean | undefined;
|
|
2613
|
+
preserve_neighbors?: boolean | undefined;
|
|
2614
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
2525
2615
|
}, {
|
|
2616
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
2526
2617
|
enabled?: boolean | undefined;
|
|
2527
2618
|
min_tokens?: number | undefined;
|
|
2528
2619
|
max_sentences?: number | undefined;
|
|
@@ -2530,6 +2621,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2530
2621
|
query?: string | undefined;
|
|
2531
2622
|
query_variable?: string | undefined;
|
|
2532
2623
|
json_to_toon?: boolean | undefined;
|
|
2624
|
+
preserve_neighbors?: boolean | undefined;
|
|
2625
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
2533
2626
|
}>>;
|
|
2534
2627
|
code: z.ZodOptional<z.ZodObject<{
|
|
2535
2628
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2560,6 +2653,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2560
2653
|
aggressiveness?: number | undefined;
|
|
2561
2654
|
} | undefined;
|
|
2562
2655
|
heuristic?: {
|
|
2656
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
2563
2657
|
enabled?: boolean | undefined;
|
|
2564
2658
|
min_tokens?: number | undefined;
|
|
2565
2659
|
max_sentences?: number | undefined;
|
|
@@ -2567,6 +2661,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2567
2661
|
query?: string | undefined;
|
|
2568
2662
|
query_variable?: string | undefined;
|
|
2569
2663
|
json_to_toon?: boolean | undefined;
|
|
2664
|
+
preserve_neighbors?: boolean | undefined;
|
|
2665
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
2570
2666
|
} | undefined;
|
|
2571
2667
|
}, {
|
|
2572
2668
|
code?: {
|
|
@@ -2581,6 +2677,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2581
2677
|
aggressiveness?: number | undefined;
|
|
2582
2678
|
} | undefined;
|
|
2583
2679
|
heuristic?: {
|
|
2680
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
2584
2681
|
enabled?: boolean | undefined;
|
|
2585
2682
|
min_tokens?: number | undefined;
|
|
2586
2683
|
max_sentences?: number | undefined;
|
|
@@ -2588,6 +2685,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2588
2685
|
query?: string | undefined;
|
|
2589
2686
|
query_variable?: string | undefined;
|
|
2590
2687
|
json_to_toon?: boolean | undefined;
|
|
2688
|
+
preserve_neighbors?: boolean | undefined;
|
|
2689
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
2591
2690
|
} | undefined;
|
|
2592
2691
|
}>>;
|
|
2593
2692
|
cache: z.ZodOptional<z.ZodObject<{
|
|
@@ -2938,6 +3037,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2938
3037
|
aggressiveness?: number | undefined;
|
|
2939
3038
|
} | undefined;
|
|
2940
3039
|
heuristic?: {
|
|
3040
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
2941
3041
|
enabled?: boolean | undefined;
|
|
2942
3042
|
min_tokens?: number | undefined;
|
|
2943
3043
|
max_sentences?: number | undefined;
|
|
@@ -2945,6 +3045,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
2945
3045
|
query?: string | undefined;
|
|
2946
3046
|
query_variable?: string | undefined;
|
|
2947
3047
|
json_to_toon?: boolean | undefined;
|
|
3048
|
+
preserve_neighbors?: boolean | undefined;
|
|
3049
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
2948
3050
|
} | undefined;
|
|
2949
3051
|
} | undefined;
|
|
2950
3052
|
cache?: {
|
|
@@ -3061,6 +3163,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3061
3163
|
aggressiveness?: number | undefined;
|
|
3062
3164
|
} | undefined;
|
|
3063
3165
|
heuristic?: {
|
|
3166
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
3064
3167
|
enabled?: boolean | undefined;
|
|
3065
3168
|
min_tokens?: number | undefined;
|
|
3066
3169
|
max_sentences?: number | undefined;
|
|
@@ -3068,6 +3171,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3068
3171
|
query?: string | undefined;
|
|
3069
3172
|
query_variable?: string | undefined;
|
|
3070
3173
|
json_to_toon?: boolean | undefined;
|
|
3174
|
+
preserve_neighbors?: boolean | undefined;
|
|
3175
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
3071
3176
|
} | undefined;
|
|
3072
3177
|
} | undefined;
|
|
3073
3178
|
cache?: {
|
|
@@ -3227,6 +3332,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3227
3332
|
aggressiveness?: number | undefined;
|
|
3228
3333
|
} | undefined;
|
|
3229
3334
|
heuristic?: {
|
|
3335
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
3230
3336
|
enabled?: boolean | undefined;
|
|
3231
3337
|
min_tokens?: number | undefined;
|
|
3232
3338
|
max_sentences?: number | undefined;
|
|
@@ -3234,6 +3340,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3234
3340
|
query?: string | undefined;
|
|
3235
3341
|
query_variable?: string | undefined;
|
|
3236
3342
|
json_to_toon?: boolean | undefined;
|
|
3343
|
+
preserve_neighbors?: boolean | undefined;
|
|
3344
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
3237
3345
|
} | undefined;
|
|
3238
3346
|
} | undefined;
|
|
3239
3347
|
cache?: {
|
|
@@ -3333,6 +3441,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3333
3441
|
collapse_blank_lines?: boolean | undefined;
|
|
3334
3442
|
} | undefined;
|
|
3335
3443
|
heuristic?: {
|
|
3444
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
3336
3445
|
enabled?: boolean | undefined;
|
|
3337
3446
|
min_tokens?: number | undefined;
|
|
3338
3447
|
max_sentences?: number | undefined;
|
|
@@ -3340,6 +3449,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3340
3449
|
query?: string | undefined;
|
|
3341
3450
|
query_variable?: string | undefined;
|
|
3342
3451
|
json_to_toon?: boolean | undefined;
|
|
3452
|
+
preserve_neighbors?: boolean | undefined;
|
|
3453
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
3343
3454
|
} | undefined;
|
|
3344
3455
|
} | undefined;
|
|
3345
3456
|
warnings?: boolean | undefined;
|
|
@@ -3407,6 +3518,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3407
3518
|
aggressiveness?: number | undefined;
|
|
3408
3519
|
} | undefined;
|
|
3409
3520
|
heuristic?: {
|
|
3521
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
3410
3522
|
enabled?: boolean | undefined;
|
|
3411
3523
|
min_tokens?: number | undefined;
|
|
3412
3524
|
max_sentences?: number | undefined;
|
|
@@ -3414,6 +3526,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3414
3526
|
query?: string | undefined;
|
|
3415
3527
|
query_variable?: string | undefined;
|
|
3416
3528
|
json_to_toon?: boolean | undefined;
|
|
3529
|
+
preserve_neighbors?: boolean | undefined;
|
|
3530
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
3417
3531
|
} | undefined;
|
|
3418
3532
|
} | undefined;
|
|
3419
3533
|
cache?: {
|
|
@@ -3531,6 +3645,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3531
3645
|
aggressiveness?: number | undefined;
|
|
3532
3646
|
} | undefined;
|
|
3533
3647
|
heuristic?: {
|
|
3648
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
3534
3649
|
enabled?: boolean | undefined;
|
|
3535
3650
|
min_tokens?: number | undefined;
|
|
3536
3651
|
max_sentences?: number | undefined;
|
|
@@ -3538,6 +3653,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3538
3653
|
query?: string | undefined;
|
|
3539
3654
|
query_variable?: string | undefined;
|
|
3540
3655
|
json_to_toon?: boolean | undefined;
|
|
3656
|
+
preserve_neighbors?: boolean | undefined;
|
|
3657
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
3541
3658
|
} | undefined;
|
|
3542
3659
|
} | undefined;
|
|
3543
3660
|
cache?: {
|
|
@@ -3668,6 +3785,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3668
3785
|
aggressiveness?: number | undefined;
|
|
3669
3786
|
} | undefined;
|
|
3670
3787
|
heuristic?: {
|
|
3788
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
3671
3789
|
enabled?: boolean | undefined;
|
|
3672
3790
|
min_tokens?: number | undefined;
|
|
3673
3791
|
max_sentences?: number | undefined;
|
|
@@ -3675,6 +3793,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3675
3793
|
query?: string | undefined;
|
|
3676
3794
|
query_variable?: string | undefined;
|
|
3677
3795
|
json_to_toon?: boolean | undefined;
|
|
3796
|
+
preserve_neighbors?: boolean | undefined;
|
|
3797
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
3678
3798
|
} | undefined;
|
|
3679
3799
|
} | undefined;
|
|
3680
3800
|
cache?: {
|
|
@@ -3775,6 +3895,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3775
3895
|
collapse_blank_lines?: boolean | undefined;
|
|
3776
3896
|
} | undefined;
|
|
3777
3897
|
heuristic?: {
|
|
3898
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
3778
3899
|
enabled?: boolean | undefined;
|
|
3779
3900
|
min_tokens?: number | undefined;
|
|
3780
3901
|
max_sentences?: number | undefined;
|
|
@@ -3782,6 +3903,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3782
3903
|
query?: string | undefined;
|
|
3783
3904
|
query_variable?: string | undefined;
|
|
3784
3905
|
json_to_toon?: boolean | undefined;
|
|
3906
|
+
preserve_neighbors?: boolean | undefined;
|
|
3907
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
3785
3908
|
} | undefined;
|
|
3786
3909
|
} | undefined;
|
|
3787
3910
|
warnings?: boolean | undefined;
|
|
@@ -3849,6 +3972,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3849
3972
|
aggressiveness?: number | undefined;
|
|
3850
3973
|
} | undefined;
|
|
3851
3974
|
heuristic?: {
|
|
3975
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
3852
3976
|
enabled?: boolean | undefined;
|
|
3853
3977
|
min_tokens?: number | undefined;
|
|
3854
3978
|
max_sentences?: number | undefined;
|
|
@@ -3856,6 +3980,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3856
3980
|
query?: string | undefined;
|
|
3857
3981
|
query_variable?: string | undefined;
|
|
3858
3982
|
json_to_toon?: boolean | undefined;
|
|
3983
|
+
preserve_neighbors?: boolean | undefined;
|
|
3984
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
3859
3985
|
} | undefined;
|
|
3860
3986
|
} | undefined;
|
|
3861
3987
|
cache?: {
|
|
@@ -3973,6 +4099,7 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3973
4099
|
aggressiveness?: number | undefined;
|
|
3974
4100
|
} | undefined;
|
|
3975
4101
|
heuristic?: {
|
|
4102
|
+
mode?: "conservative" | "balanced" | undefined;
|
|
3976
4103
|
enabled?: boolean | undefined;
|
|
3977
4104
|
min_tokens?: number | undefined;
|
|
3978
4105
|
max_sentences?: number | undefined;
|
|
@@ -3980,6 +4107,8 @@ declare const PromptAssetSchema: z.ZodObject<{
|
|
|
3980
4107
|
query?: string | undefined;
|
|
3981
4108
|
query_variable?: string | undefined;
|
|
3982
4109
|
json_to_toon?: boolean | undefined;
|
|
4110
|
+
preserve_neighbors?: boolean | undefined;
|
|
4111
|
+
fail_on_low_confidence?: boolean | undefined;
|
|
3983
4112
|
} | undefined;
|
|
3984
4113
|
} | undefined;
|
|
3985
4114
|
cache?: {
|
package/dist/testing.cjs
CHANGED
|
@@ -161,7 +161,10 @@ var HeuristicCompressionSchema = import_zod.z.object({
|
|
|
161
161
|
target_reduction: import_zod.z.number().min(0).max(1).optional(),
|
|
162
162
|
query: import_zod.z.string().optional(),
|
|
163
163
|
query_variable: import_zod.z.string().min(1).optional(),
|
|
164
|
-
json_to_toon: import_zod.z.boolean().optional()
|
|
164
|
+
json_to_toon: import_zod.z.boolean().optional(),
|
|
165
|
+
mode: import_zod.z.enum(["conservative", "balanced"]).optional(),
|
|
166
|
+
preserve_neighbors: import_zod.z.boolean().optional(),
|
|
167
|
+
fail_on_low_confidence: import_zod.z.boolean().optional()
|
|
165
168
|
});
|
|
166
169
|
var CodeCompactionSchema = import_zod.z.object({
|
|
167
170
|
enabled: import_zod.z.boolean().optional(),
|