@mariozechner/pi-ai 0.67.2 → 0.67.4
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/dist/models.generated.d.ts +205 -35
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +212 -42
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +7 -6
- package/dist/providers/anthropic.js.map +1 -1
- package/dist/providers/google-vertex.d.ts.map +1 -1
- package/dist/providers/google-vertex.js +2 -1
- package/dist/providers/google-vertex.js.map +1 -1
- package/dist/providers/transform-messages.d.ts.map +1 -1
- package/dist/providers/transform-messages.js +20 -32
- package/dist/providers/transform-messages.js.map +1 -1
- package/package.json +1 -1
|
@@ -255,6 +255,23 @@ export declare const MODELS: {
|
|
|
255
255
|
contextWindow: number;
|
|
256
256
|
maxTokens: number;
|
|
257
257
|
};
|
|
258
|
+
readonly "anthropic.claude-opus-4-7": {
|
|
259
|
+
id: string;
|
|
260
|
+
name: string;
|
|
261
|
+
api: "bedrock-converse-stream";
|
|
262
|
+
provider: string;
|
|
263
|
+
baseUrl: string;
|
|
264
|
+
reasoning: true;
|
|
265
|
+
input: ("image" | "text")[];
|
|
266
|
+
cost: {
|
|
267
|
+
input: number;
|
|
268
|
+
output: number;
|
|
269
|
+
cacheRead: number;
|
|
270
|
+
cacheWrite: number;
|
|
271
|
+
};
|
|
272
|
+
contextWindow: number;
|
|
273
|
+
maxTokens: number;
|
|
274
|
+
};
|
|
258
275
|
readonly "anthropic.claude-sonnet-4-20250514-v1:0": {
|
|
259
276
|
id: string;
|
|
260
277
|
name: string;
|
|
@@ -408,6 +425,23 @@ export declare const MODELS: {
|
|
|
408
425
|
contextWindow: number;
|
|
409
426
|
maxTokens: number;
|
|
410
427
|
};
|
|
428
|
+
readonly "eu.anthropic.claude-opus-4-7": {
|
|
429
|
+
id: string;
|
|
430
|
+
name: string;
|
|
431
|
+
api: "bedrock-converse-stream";
|
|
432
|
+
provider: string;
|
|
433
|
+
baseUrl: string;
|
|
434
|
+
reasoning: true;
|
|
435
|
+
input: ("image" | "text")[];
|
|
436
|
+
cost: {
|
|
437
|
+
input: number;
|
|
438
|
+
output: number;
|
|
439
|
+
cacheRead: number;
|
|
440
|
+
cacheWrite: number;
|
|
441
|
+
};
|
|
442
|
+
contextWindow: number;
|
|
443
|
+
maxTokens: number;
|
|
444
|
+
};
|
|
411
445
|
readonly "eu.anthropic.claude-sonnet-4-20250514-v1:0": {
|
|
412
446
|
id: string;
|
|
413
447
|
name: string;
|
|
@@ -510,6 +544,23 @@ export declare const MODELS: {
|
|
|
510
544
|
contextWindow: number;
|
|
511
545
|
maxTokens: number;
|
|
512
546
|
};
|
|
547
|
+
readonly "global.anthropic.claude-opus-4-7": {
|
|
548
|
+
id: string;
|
|
549
|
+
name: string;
|
|
550
|
+
api: "bedrock-converse-stream";
|
|
551
|
+
provider: string;
|
|
552
|
+
baseUrl: string;
|
|
553
|
+
reasoning: true;
|
|
554
|
+
input: ("image" | "text")[];
|
|
555
|
+
cost: {
|
|
556
|
+
input: number;
|
|
557
|
+
output: number;
|
|
558
|
+
cacheRead: number;
|
|
559
|
+
cacheWrite: number;
|
|
560
|
+
};
|
|
561
|
+
contextWindow: number;
|
|
562
|
+
maxTokens: number;
|
|
563
|
+
};
|
|
513
564
|
readonly "global.anthropic.claude-sonnet-4-20250514-v1:0": {
|
|
514
565
|
id: string;
|
|
515
566
|
name: string;
|
|
@@ -1343,6 +1394,23 @@ export declare const MODELS: {
|
|
|
1343
1394
|
contextWindow: number;
|
|
1344
1395
|
maxTokens: number;
|
|
1345
1396
|
};
|
|
1397
|
+
readonly "us.anthropic.claude-opus-4-7": {
|
|
1398
|
+
id: string;
|
|
1399
|
+
name: string;
|
|
1400
|
+
api: "bedrock-converse-stream";
|
|
1401
|
+
provider: string;
|
|
1402
|
+
baseUrl: string;
|
|
1403
|
+
reasoning: true;
|
|
1404
|
+
input: ("image" | "text")[];
|
|
1405
|
+
cost: {
|
|
1406
|
+
input: number;
|
|
1407
|
+
output: number;
|
|
1408
|
+
cacheRead: number;
|
|
1409
|
+
cacheWrite: number;
|
|
1410
|
+
};
|
|
1411
|
+
contextWindow: number;
|
|
1412
|
+
maxTokens: number;
|
|
1413
|
+
};
|
|
1346
1414
|
readonly "us.anthropic.claude-sonnet-4-20250514-v1:0": {
|
|
1347
1415
|
id: string;
|
|
1348
1416
|
name: string;
|
|
@@ -1770,6 +1838,23 @@ export declare const MODELS: {
|
|
|
1770
1838
|
contextWindow: number;
|
|
1771
1839
|
maxTokens: number;
|
|
1772
1840
|
};
|
|
1841
|
+
readonly "claude-opus-4-7": {
|
|
1842
|
+
id: string;
|
|
1843
|
+
name: string;
|
|
1844
|
+
api: "anthropic-messages";
|
|
1845
|
+
provider: string;
|
|
1846
|
+
baseUrl: string;
|
|
1847
|
+
reasoning: true;
|
|
1848
|
+
input: ("image" | "text")[];
|
|
1849
|
+
cost: {
|
|
1850
|
+
input: number;
|
|
1851
|
+
output: number;
|
|
1852
|
+
cacheRead: number;
|
|
1853
|
+
cacheWrite: number;
|
|
1854
|
+
};
|
|
1855
|
+
contextWindow: number;
|
|
1856
|
+
maxTokens: number;
|
|
1857
|
+
};
|
|
1773
1858
|
readonly "claude-sonnet-4-0": {
|
|
1774
1859
|
id: string;
|
|
1775
1860
|
name: string;
|
|
@@ -4868,7 +4953,7 @@ export declare const MODELS: {
|
|
|
4868
4953
|
};
|
|
4869
4954
|
};
|
|
4870
4955
|
readonly "kimi-coding": {
|
|
4871
|
-
readonly
|
|
4956
|
+
readonly "kimi-for-coding": {
|
|
4872
4957
|
id: string;
|
|
4873
4958
|
name: string;
|
|
4874
4959
|
api: "anthropic-messages";
|
|
@@ -6376,6 +6461,23 @@ export declare const MODELS: {
|
|
|
6376
6461
|
contextWindow: number;
|
|
6377
6462
|
maxTokens: number;
|
|
6378
6463
|
};
|
|
6464
|
+
readonly "claude-opus-4-7": {
|
|
6465
|
+
id: string;
|
|
6466
|
+
name: string;
|
|
6467
|
+
api: "anthropic-messages";
|
|
6468
|
+
provider: string;
|
|
6469
|
+
baseUrl: string;
|
|
6470
|
+
reasoning: true;
|
|
6471
|
+
input: ("image" | "text")[];
|
|
6472
|
+
cost: {
|
|
6473
|
+
input: number;
|
|
6474
|
+
output: number;
|
|
6475
|
+
cacheRead: number;
|
|
6476
|
+
cacheWrite: number;
|
|
6477
|
+
};
|
|
6478
|
+
contextWindow: number;
|
|
6479
|
+
maxTokens: number;
|
|
6480
|
+
};
|
|
6379
6481
|
readonly "claude-sonnet-4": {
|
|
6380
6482
|
id: string;
|
|
6381
6483
|
name: string;
|
|
@@ -6801,6 +6903,40 @@ export declare const MODELS: {
|
|
|
6801
6903
|
contextWindow: number;
|
|
6802
6904
|
maxTokens: number;
|
|
6803
6905
|
};
|
|
6906
|
+
readonly "qwen3.5-plus": {
|
|
6907
|
+
id: string;
|
|
6908
|
+
name: string;
|
|
6909
|
+
api: "openai-completions";
|
|
6910
|
+
provider: string;
|
|
6911
|
+
baseUrl: string;
|
|
6912
|
+
reasoning: true;
|
|
6913
|
+
input: ("image" | "text")[];
|
|
6914
|
+
cost: {
|
|
6915
|
+
input: number;
|
|
6916
|
+
output: number;
|
|
6917
|
+
cacheRead: number;
|
|
6918
|
+
cacheWrite: number;
|
|
6919
|
+
};
|
|
6920
|
+
contextWindow: number;
|
|
6921
|
+
maxTokens: number;
|
|
6922
|
+
};
|
|
6923
|
+
readonly "qwen3.6-plus": {
|
|
6924
|
+
id: string;
|
|
6925
|
+
name: string;
|
|
6926
|
+
api: "openai-completions";
|
|
6927
|
+
provider: string;
|
|
6928
|
+
baseUrl: string;
|
|
6929
|
+
reasoning: true;
|
|
6930
|
+
input: ("image" | "text")[];
|
|
6931
|
+
cost: {
|
|
6932
|
+
input: number;
|
|
6933
|
+
output: number;
|
|
6934
|
+
cacheRead: number;
|
|
6935
|
+
cacheWrite: number;
|
|
6936
|
+
};
|
|
6937
|
+
contextWindow: number;
|
|
6938
|
+
maxTokens: number;
|
|
6939
|
+
};
|
|
6804
6940
|
};
|
|
6805
6941
|
readonly "opencode-go": {
|
|
6806
6942
|
readonly "glm-5": {
|
|
@@ -6922,6 +7058,40 @@ export declare const MODELS: {
|
|
|
6922
7058
|
contextWindow: number;
|
|
6923
7059
|
maxTokens: number;
|
|
6924
7060
|
};
|
|
7061
|
+
readonly "qwen3.5-plus": {
|
|
7062
|
+
id: string;
|
|
7063
|
+
name: string;
|
|
7064
|
+
api: "openai-completions";
|
|
7065
|
+
provider: string;
|
|
7066
|
+
baseUrl: string;
|
|
7067
|
+
reasoning: true;
|
|
7068
|
+
input: ("image" | "text")[];
|
|
7069
|
+
cost: {
|
|
7070
|
+
input: number;
|
|
7071
|
+
output: number;
|
|
7072
|
+
cacheRead: number;
|
|
7073
|
+
cacheWrite: number;
|
|
7074
|
+
};
|
|
7075
|
+
contextWindow: number;
|
|
7076
|
+
maxTokens: number;
|
|
7077
|
+
};
|
|
7078
|
+
readonly "qwen3.6-plus": {
|
|
7079
|
+
id: string;
|
|
7080
|
+
name: string;
|
|
7081
|
+
api: "openai-completions";
|
|
7082
|
+
provider: string;
|
|
7083
|
+
baseUrl: string;
|
|
7084
|
+
reasoning: true;
|
|
7085
|
+
input: ("image" | "text")[];
|
|
7086
|
+
cost: {
|
|
7087
|
+
input: number;
|
|
7088
|
+
output: number;
|
|
7089
|
+
cacheRead: number;
|
|
7090
|
+
cacheWrite: number;
|
|
7091
|
+
};
|
|
7092
|
+
contextWindow: number;
|
|
7093
|
+
maxTokens: number;
|
|
7094
|
+
};
|
|
6925
7095
|
};
|
|
6926
7096
|
readonly openrouter: {
|
|
6927
7097
|
readonly "ai21/jamba-large-1.7": {
|
|
@@ -7230,6 +7400,23 @@ export declare const MODELS: {
|
|
|
7230
7400
|
contextWindow: number;
|
|
7231
7401
|
maxTokens: number;
|
|
7232
7402
|
};
|
|
7403
|
+
readonly "anthropic/claude-opus-4.7": {
|
|
7404
|
+
id: string;
|
|
7405
|
+
name: string;
|
|
7406
|
+
api: "openai-completions";
|
|
7407
|
+
provider: string;
|
|
7408
|
+
baseUrl: string;
|
|
7409
|
+
reasoning: true;
|
|
7410
|
+
input: ("image" | "text")[];
|
|
7411
|
+
cost: {
|
|
7412
|
+
input: number;
|
|
7413
|
+
output: number;
|
|
7414
|
+
cacheRead: number;
|
|
7415
|
+
cacheWrite: number;
|
|
7416
|
+
};
|
|
7417
|
+
contextWindow: number;
|
|
7418
|
+
maxTokens: number;
|
|
7419
|
+
};
|
|
7233
7420
|
readonly "anthropic/claude-sonnet-4": {
|
|
7234
7421
|
id: string;
|
|
7235
7422
|
name: string;
|
|
@@ -7927,23 +8114,6 @@ export declare const MODELS: {
|
|
|
7927
8114
|
contextWindow: number;
|
|
7928
8115
|
maxTokens: number;
|
|
7929
8116
|
};
|
|
7930
|
-
readonly "inception/mercury": {
|
|
7931
|
-
id: string;
|
|
7932
|
-
name: string;
|
|
7933
|
-
api: "openai-completions";
|
|
7934
|
-
provider: string;
|
|
7935
|
-
baseUrl: string;
|
|
7936
|
-
reasoning: false;
|
|
7937
|
-
input: "text"[];
|
|
7938
|
-
cost: {
|
|
7939
|
-
input: number;
|
|
7940
|
-
output: number;
|
|
7941
|
-
cacheRead: number;
|
|
7942
|
-
cacheWrite: number;
|
|
7943
|
-
};
|
|
7944
|
-
contextWindow: number;
|
|
7945
|
-
maxTokens: number;
|
|
7946
|
-
};
|
|
7947
8117
|
readonly "inception/mercury-2": {
|
|
7948
8118
|
id: string;
|
|
7949
8119
|
name: string;
|
|
@@ -7961,23 +8131,6 @@ export declare const MODELS: {
|
|
|
7961
8131
|
contextWindow: number;
|
|
7962
8132
|
maxTokens: number;
|
|
7963
8133
|
};
|
|
7964
|
-
readonly "inception/mercury-coder": {
|
|
7965
|
-
id: string;
|
|
7966
|
-
name: string;
|
|
7967
|
-
api: "openai-completions";
|
|
7968
|
-
provider: string;
|
|
7969
|
-
baseUrl: string;
|
|
7970
|
-
reasoning: false;
|
|
7971
|
-
input: "text"[];
|
|
7972
|
-
cost: {
|
|
7973
|
-
input: number;
|
|
7974
|
-
output: number;
|
|
7975
|
-
cacheRead: number;
|
|
7976
|
-
cacheWrite: number;
|
|
7977
|
-
};
|
|
7978
|
-
contextWindow: number;
|
|
7979
|
-
maxTokens: number;
|
|
7980
|
-
};
|
|
7981
8134
|
readonly "kwaipilot/kat-coder-pro-v2": {
|
|
7982
8135
|
id: string;
|
|
7983
8136
|
name: string;
|
|
@@ -11601,6 +11754,23 @@ export declare const MODELS: {
|
|
|
11601
11754
|
contextWindow: number;
|
|
11602
11755
|
maxTokens: number;
|
|
11603
11756
|
};
|
|
11757
|
+
readonly "anthropic/claude-opus-4.7": {
|
|
11758
|
+
id: string;
|
|
11759
|
+
name: string;
|
|
11760
|
+
api: "anthropic-messages";
|
|
11761
|
+
provider: string;
|
|
11762
|
+
baseUrl: string;
|
|
11763
|
+
reasoning: true;
|
|
11764
|
+
input: ("image" | "text")[];
|
|
11765
|
+
cost: {
|
|
11766
|
+
input: number;
|
|
11767
|
+
output: number;
|
|
11768
|
+
cacheRead: number;
|
|
11769
|
+
cacheWrite: number;
|
|
11770
|
+
};
|
|
11771
|
+
contextWindow: number;
|
|
11772
|
+
maxTokens: number;
|
|
11773
|
+
};
|
|
11604
11774
|
readonly "anthropic/claude-sonnet-4": {
|
|
11605
11775
|
id: string;
|
|
11606
11776
|
name: string;
|