@mariozechner/pi-ai 0.68.1 → 0.69.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 +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models.generated.d.ts +106 -16
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +112 -14
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/transform-messages.d.ts.map +1 -1
- package/dist/providers/transform-messages.js +2 -0
- package/dist/providers/transform-messages.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/typebox-helpers.d.ts +1 -1
- package/dist/utils/typebox-helpers.d.ts.map +1 -1
- package/dist/utils/typebox-helpers.js +1 -1
- package/dist/utils/typebox-helpers.js.map +1 -1
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/validation.js +242 -41
- package/dist/utils/validation.js.map +1 -1
- package/package.json +2 -4
package/dist/models.generated.js
CHANGED
|
@@ -4164,6 +4164,23 @@ export const MODELS = {
|
|
|
4164
4164
|
contextWindow: 1048576,
|
|
4165
4165
|
maxTokens: 65535,
|
|
4166
4166
|
},
|
|
4167
|
+
"gemini-3.1-flash-lite-preview": {
|
|
4168
|
+
id: "gemini-3.1-flash-lite-preview",
|
|
4169
|
+
name: "Gemini 3.1 Flash Lite Preview (Cloud Code Assist)",
|
|
4170
|
+
api: "google-gemini-cli",
|
|
4171
|
+
provider: "google-gemini-cli",
|
|
4172
|
+
baseUrl: "https://cloudcode-pa.googleapis.com",
|
|
4173
|
+
reasoning: true,
|
|
4174
|
+
input: ["text", "image"],
|
|
4175
|
+
cost: {
|
|
4176
|
+
input: 0,
|
|
4177
|
+
output: 0,
|
|
4178
|
+
cacheRead: 0,
|
|
4179
|
+
cacheWrite: 0,
|
|
4180
|
+
},
|
|
4181
|
+
contextWindow: 1048576,
|
|
4182
|
+
maxTokens: 65535,
|
|
4183
|
+
},
|
|
4167
4184
|
"gemini-3.1-pro-preview": {
|
|
4168
4185
|
id: "gemini-3.1-pro-preview",
|
|
4169
4186
|
name: "Gemini 3.1 Pro Preview (Cloud Code Assist)",
|
|
@@ -7098,10 +7115,9 @@ export const MODELS = {
|
|
|
7098
7115
|
"qwen3.5-plus": {
|
|
7099
7116
|
id: "qwen3.5-plus",
|
|
7100
7117
|
name: "Qwen3.5 Plus",
|
|
7101
|
-
api: "
|
|
7118
|
+
api: "anthropic-messages",
|
|
7102
7119
|
provider: "opencode",
|
|
7103
|
-
baseUrl: "https://opencode.ai/zen
|
|
7104
|
-
compat: { "cacheControlFormat": "anthropic" },
|
|
7120
|
+
baseUrl: "https://opencode.ai/zen",
|
|
7105
7121
|
reasoning: true,
|
|
7106
7122
|
input: ["text", "image"],
|
|
7107
7123
|
cost: {
|
|
@@ -7116,10 +7132,9 @@ export const MODELS = {
|
|
|
7116
7132
|
"qwen3.6-plus": {
|
|
7117
7133
|
id: "qwen3.6-plus",
|
|
7118
7134
|
name: "Qwen3.6 Plus",
|
|
7119
|
-
api: "
|
|
7135
|
+
api: "anthropic-messages",
|
|
7120
7136
|
provider: "opencode",
|
|
7121
|
-
baseUrl: "https://opencode.ai/zen
|
|
7122
|
-
compat: { "cacheControlFormat": "anthropic" },
|
|
7137
|
+
baseUrl: "https://opencode.ai/zen",
|
|
7123
7138
|
reasoning: true,
|
|
7124
7139
|
input: ["text", "image"],
|
|
7125
7140
|
cost: {
|
|
@@ -7216,7 +7231,7 @@ export const MODELS = {
|
|
|
7216
7231
|
cacheWrite: 0,
|
|
7217
7232
|
},
|
|
7218
7233
|
contextWindow: 262144,
|
|
7219
|
-
maxTokens:
|
|
7234
|
+
maxTokens: 128000,
|
|
7220
7235
|
},
|
|
7221
7236
|
"mimo-v2-pro": {
|
|
7222
7237
|
id: "mimo-v2-pro",
|
|
@@ -7233,7 +7248,41 @@ export const MODELS = {
|
|
|
7233
7248
|
cacheWrite: 0,
|
|
7234
7249
|
},
|
|
7235
7250
|
contextWindow: 1048576,
|
|
7236
|
-
maxTokens:
|
|
7251
|
+
maxTokens: 128000,
|
|
7252
|
+
},
|
|
7253
|
+
"mimo-v2.5": {
|
|
7254
|
+
id: "mimo-v2.5",
|
|
7255
|
+
name: "MiMo V2.5",
|
|
7256
|
+
api: "openai-completions",
|
|
7257
|
+
provider: "opencode-go",
|
|
7258
|
+
baseUrl: "https://opencode.ai/zen/go/v1",
|
|
7259
|
+
reasoning: true,
|
|
7260
|
+
input: ["text", "image"],
|
|
7261
|
+
cost: {
|
|
7262
|
+
input: 0.4,
|
|
7263
|
+
output: 2,
|
|
7264
|
+
cacheRead: 0.08,
|
|
7265
|
+
cacheWrite: 0,
|
|
7266
|
+
},
|
|
7267
|
+
contextWindow: 262144,
|
|
7268
|
+
maxTokens: 128000,
|
|
7269
|
+
},
|
|
7270
|
+
"mimo-v2.5-pro": {
|
|
7271
|
+
id: "mimo-v2.5-pro",
|
|
7272
|
+
name: "MiMo V2.5 Pro",
|
|
7273
|
+
api: "openai-completions",
|
|
7274
|
+
provider: "opencode-go",
|
|
7275
|
+
baseUrl: "https://opencode.ai/zen/go/v1",
|
|
7276
|
+
reasoning: true,
|
|
7277
|
+
input: ["text"],
|
|
7278
|
+
cost: {
|
|
7279
|
+
input: 1,
|
|
7280
|
+
output: 3,
|
|
7281
|
+
cacheRead: 0.2,
|
|
7282
|
+
cacheWrite: 0,
|
|
7283
|
+
},
|
|
7284
|
+
contextWindow: 1048576,
|
|
7285
|
+
maxTokens: 128000,
|
|
7237
7286
|
},
|
|
7238
7287
|
"minimax-m2.5": {
|
|
7239
7288
|
id: "minimax-m2.5",
|
|
@@ -7272,10 +7321,9 @@ export const MODELS = {
|
|
|
7272
7321
|
"qwen3.5-plus": {
|
|
7273
7322
|
id: "qwen3.5-plus",
|
|
7274
7323
|
name: "Qwen3.5 Plus",
|
|
7275
|
-
api: "
|
|
7324
|
+
api: "anthropic-messages",
|
|
7276
7325
|
provider: "opencode-go",
|
|
7277
|
-
baseUrl: "https://opencode.ai/zen/go
|
|
7278
|
-
compat: { "cacheControlFormat": "anthropic" },
|
|
7326
|
+
baseUrl: "https://opencode.ai/zen/go",
|
|
7279
7327
|
reasoning: true,
|
|
7280
7328
|
input: ["text", "image"],
|
|
7281
7329
|
cost: {
|
|
@@ -7290,10 +7338,9 @@ export const MODELS = {
|
|
|
7290
7338
|
"qwen3.6-plus": {
|
|
7291
7339
|
id: "qwen3.6-plus",
|
|
7292
7340
|
name: "Qwen3.6 Plus",
|
|
7293
|
-
api: "
|
|
7341
|
+
api: "anthropic-messages",
|
|
7294
7342
|
provider: "opencode-go",
|
|
7295
|
-
baseUrl: "https://opencode.ai/zen/go
|
|
7296
|
-
compat: { "cacheControlFormat": "anthropic" },
|
|
7343
|
+
baseUrl: "https://opencode.ai/zen/go",
|
|
7297
7344
|
reasoning: true,
|
|
7298
7345
|
input: ["text", "image"],
|
|
7299
7346
|
cost: {
|
|
@@ -7681,6 +7728,23 @@ export const MODELS = {
|
|
|
7681
7728
|
contextWindow: 1000000,
|
|
7682
7729
|
maxTokens: 128000,
|
|
7683
7730
|
},
|
|
7731
|
+
"arcee-ai/trinity-large-preview": {
|
|
7732
|
+
id: "arcee-ai/trinity-large-preview",
|
|
7733
|
+
name: "Arcee AI: Trinity Large Preview",
|
|
7734
|
+
api: "openai-completions",
|
|
7735
|
+
provider: "openrouter",
|
|
7736
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
7737
|
+
reasoning: false,
|
|
7738
|
+
input: ["text"],
|
|
7739
|
+
cost: {
|
|
7740
|
+
input: 0.15,
|
|
7741
|
+
output: 0.44999999999999996,
|
|
7742
|
+
cacheRead: 0,
|
|
7743
|
+
cacheWrite: 0,
|
|
7744
|
+
},
|
|
7745
|
+
contextWindow: 131000,
|
|
7746
|
+
maxTokens: 4096,
|
|
7747
|
+
},
|
|
7684
7748
|
"arcee-ai/trinity-large-preview:free": {
|
|
7685
7749
|
id: "arcee-ai/trinity-large-preview:free",
|
|
7686
7750
|
name: "Arcee AI: Trinity Large Preview (free)",
|
|
@@ -11285,6 +11349,40 @@ export const MODELS = {
|
|
|
11285
11349
|
contextWindow: 1048576,
|
|
11286
11350
|
maxTokens: 131072,
|
|
11287
11351
|
},
|
|
11352
|
+
"xiaomi/mimo-v2.5": {
|
|
11353
|
+
id: "xiaomi/mimo-v2.5",
|
|
11354
|
+
name: "Xiaomi: MiMo-V2.5",
|
|
11355
|
+
api: "openai-completions",
|
|
11356
|
+
provider: "openrouter",
|
|
11357
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
11358
|
+
reasoning: true,
|
|
11359
|
+
input: ["text", "image"],
|
|
11360
|
+
cost: {
|
|
11361
|
+
input: 0.39999999999999997,
|
|
11362
|
+
output: 2,
|
|
11363
|
+
cacheRead: 0.08,
|
|
11364
|
+
cacheWrite: 0,
|
|
11365
|
+
},
|
|
11366
|
+
contextWindow: 1048576,
|
|
11367
|
+
maxTokens: 131072,
|
|
11368
|
+
},
|
|
11369
|
+
"xiaomi/mimo-v2.5-pro": {
|
|
11370
|
+
id: "xiaomi/mimo-v2.5-pro",
|
|
11371
|
+
name: "Xiaomi: MiMo-V2.5-Pro",
|
|
11372
|
+
api: "openai-completions",
|
|
11373
|
+
provider: "openrouter",
|
|
11374
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
11375
|
+
reasoning: true,
|
|
11376
|
+
input: ["text"],
|
|
11377
|
+
cost: {
|
|
11378
|
+
input: 1,
|
|
11379
|
+
output: 3,
|
|
11380
|
+
cacheRead: 0.19999999999999998,
|
|
11381
|
+
cacheWrite: 0,
|
|
11382
|
+
},
|
|
11383
|
+
contextWindow: 1048576,
|
|
11384
|
+
maxTokens: 131072,
|
|
11385
|
+
},
|
|
11288
11386
|
"z-ai/glm-4-32b": {
|
|
11289
11387
|
id: "z-ai/glm-4-32b",
|
|
11290
11388
|
name: "Z.ai: GLM 4 32B ",
|