@austinthesing/magic-shell 1.1.0 → 1.1.1
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/cli.js +48 -10
- package/dist/index.js +48 -10
- package/dist/tui.js +48 -10
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -33058,9 +33058,9 @@ import { cwd as getCwd } from "process";
|
|
|
33058
33058
|
// src/lib/models.ts
|
|
33059
33059
|
var OPENROUTER_MODELS = [
|
|
33060
33060
|
{
|
|
33061
|
-
id: "inclusionai/ling-3.0-
|
|
33062
|
-
name: "Ling 3.0
|
|
33063
|
-
description: "
|
|
33061
|
+
id: "inclusionai/ling-3.0-tiny:free",
|
|
33062
|
+
name: "Ling 3.0 Tiny (Free)",
|
|
33063
|
+
description: "Current fast open-weight model available on OpenRouter's free tier.",
|
|
33064
33064
|
category: "fast",
|
|
33065
33065
|
provider: "openrouter",
|
|
33066
33066
|
contextLength: 262144,
|
|
@@ -33164,6 +33164,15 @@ var OPENROUTER_MODELS = [
|
|
|
33164
33164
|
provider: "openrouter",
|
|
33165
33165
|
contextLength: 1e6,
|
|
33166
33166
|
cost: "premium"
|
|
33167
|
+
},
|
|
33168
|
+
{
|
|
33169
|
+
id: "anthropic/claude-fable-5",
|
|
33170
|
+
name: "Claude Fable 5",
|
|
33171
|
+
description: "Anthropic's most capable widely available model for long-running agents.",
|
|
33172
|
+
category: "reasoning",
|
|
33173
|
+
provider: "openrouter",
|
|
33174
|
+
contextLength: 1e6,
|
|
33175
|
+
cost: "premium"
|
|
33167
33176
|
}
|
|
33168
33177
|
];
|
|
33169
33178
|
var VERCEL_AI_GATEWAY_MODELS = [
|
|
@@ -33172,7 +33181,8 @@ var VERCEL_AI_GATEWAY_MODELS = [
|
|
|
33172
33181
|
"openai/gpt-5.6-terra",
|
|
33173
33182
|
"openai/gpt-5.6-sol",
|
|
33174
33183
|
"anthropic/claude-sonnet-5",
|
|
33175
|
-
"anthropic/claude-opus-5"
|
|
33184
|
+
"anthropic/claude-opus-5",
|
|
33185
|
+
"anthropic/claude-fable-5"
|
|
33176
33186
|
].includes(model.id)).map((model) => ({ ...model, provider: "vercel-ai-gateway" }))
|
|
33177
33187
|
];
|
|
33178
33188
|
var CLOUDFLARE_AI_GATEWAY_MODELS = [
|
|
@@ -33193,12 +33203,12 @@ var CLOUDFLARE_AI_GATEWAY_MODELS = [
|
|
|
33193
33203
|
];
|
|
33194
33204
|
var WORKERS_AI_MODELS = [
|
|
33195
33205
|
{
|
|
33196
|
-
id: "@cf/
|
|
33197
|
-
name: "
|
|
33198
|
-
description: "
|
|
33206
|
+
id: "@cf/zai-org/glm-4.7-flash",
|
|
33207
|
+
name: "GLM 4.7 Flash",
|
|
33208
|
+
description: "Fast multilingual open-weight model optimized for tool calling.",
|
|
33199
33209
|
category: "fast",
|
|
33200
33210
|
provider: "workers-ai",
|
|
33201
|
-
contextLength:
|
|
33211
|
+
contextLength: 131072,
|
|
33202
33212
|
cost: "lower-cost"
|
|
33203
33213
|
},
|
|
33204
33214
|
{
|
|
@@ -33210,6 +33220,24 @@ var WORKERS_AI_MODELS = [
|
|
|
33210
33220
|
contextLength: 24000,
|
|
33211
33221
|
cost: "lower-cost"
|
|
33212
33222
|
},
|
|
33223
|
+
{
|
|
33224
|
+
id: "@cf/moonshotai/kimi-k2.7-code",
|
|
33225
|
+
name: "Kimi K2.7 Code",
|
|
33226
|
+
description: "Open-weight coding model with tool calling and structured outputs.",
|
|
33227
|
+
category: "reasoning",
|
|
33228
|
+
provider: "workers-ai",
|
|
33229
|
+
contextLength: 262144,
|
|
33230
|
+
cost: "lower-cost"
|
|
33231
|
+
},
|
|
33232
|
+
{
|
|
33233
|
+
id: "@cf/meta/llama-4-scout-17b-16e-instruct",
|
|
33234
|
+
name: "Llama 4 Scout",
|
|
33235
|
+
description: "Open-weight mixture-of-experts model with function calling.",
|
|
33236
|
+
category: "smart",
|
|
33237
|
+
provider: "workers-ai",
|
|
33238
|
+
contextLength: 131072,
|
|
33239
|
+
cost: "lower-cost"
|
|
33240
|
+
},
|
|
33213
33241
|
{
|
|
33214
33242
|
id: "@cf/openai/gpt-oss-120b",
|
|
33215
33243
|
name: "GPT OSS 120B",
|
|
@@ -33232,8 +33260,8 @@ var OPENCODE_ZEN_MODELS = [
|
|
|
33232
33260
|
cost: "free"
|
|
33233
33261
|
},
|
|
33234
33262
|
{
|
|
33235
|
-
id: "ling-3.0-
|
|
33236
|
-
name: "Ling 3.0
|
|
33263
|
+
id: "ling-3.0-tiny-free",
|
|
33264
|
+
name: "Ling 3.0 Tiny (Free)",
|
|
33237
33265
|
description: "Current free fast model on OpenCode Zen.",
|
|
33238
33266
|
category: "fast",
|
|
33239
33267
|
provider: "opencode-zen",
|
|
@@ -33304,6 +33332,16 @@ var OPENCODE_ZEN_MODELS = [
|
|
|
33304
33332
|
zenApiType: "anthropic",
|
|
33305
33333
|
contextLength: 1e6,
|
|
33306
33334
|
cost: "premium"
|
|
33335
|
+
},
|
|
33336
|
+
{
|
|
33337
|
+
id: "claude-fable-5",
|
|
33338
|
+
name: "Claude Fable 5",
|
|
33339
|
+
description: "Anthropic's most capable widely available model for long-running agents.",
|
|
33340
|
+
category: "reasoning",
|
|
33341
|
+
provider: "opencode-zen",
|
|
33342
|
+
zenApiType: "anthropic",
|
|
33343
|
+
contextLength: 1e6,
|
|
33344
|
+
cost: "premium"
|
|
33307
33345
|
}
|
|
33308
33346
|
];
|
|
33309
33347
|
var ALL_MODELS = [
|
package/dist/index.js
CHANGED
|
@@ -2119,9 +2119,9 @@ import { cwd as getCwd } from "process";
|
|
|
2119
2119
|
// src/lib/models.ts
|
|
2120
2120
|
var OPENROUTER_MODELS = [
|
|
2121
2121
|
{
|
|
2122
|
-
id: "inclusionai/ling-3.0-
|
|
2123
|
-
name: "Ling 3.0
|
|
2124
|
-
description: "
|
|
2122
|
+
id: "inclusionai/ling-3.0-tiny:free",
|
|
2123
|
+
name: "Ling 3.0 Tiny (Free)",
|
|
2124
|
+
description: "Current fast open-weight model available on OpenRouter's free tier.",
|
|
2125
2125
|
category: "fast",
|
|
2126
2126
|
provider: "openrouter",
|
|
2127
2127
|
contextLength: 262144,
|
|
@@ -2225,6 +2225,15 @@ var OPENROUTER_MODELS = [
|
|
|
2225
2225
|
provider: "openrouter",
|
|
2226
2226
|
contextLength: 1e6,
|
|
2227
2227
|
cost: "premium"
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
id: "anthropic/claude-fable-5",
|
|
2231
|
+
name: "Claude Fable 5",
|
|
2232
|
+
description: "Anthropic's most capable widely available model for long-running agents.",
|
|
2233
|
+
category: "reasoning",
|
|
2234
|
+
provider: "openrouter",
|
|
2235
|
+
contextLength: 1e6,
|
|
2236
|
+
cost: "premium"
|
|
2228
2237
|
}
|
|
2229
2238
|
];
|
|
2230
2239
|
var VERCEL_AI_GATEWAY_MODELS = [
|
|
@@ -2233,7 +2242,8 @@ var VERCEL_AI_GATEWAY_MODELS = [
|
|
|
2233
2242
|
"openai/gpt-5.6-terra",
|
|
2234
2243
|
"openai/gpt-5.6-sol",
|
|
2235
2244
|
"anthropic/claude-sonnet-5",
|
|
2236
|
-
"anthropic/claude-opus-5"
|
|
2245
|
+
"anthropic/claude-opus-5",
|
|
2246
|
+
"anthropic/claude-fable-5"
|
|
2237
2247
|
].includes(model.id)).map((model) => ({ ...model, provider: "vercel-ai-gateway" }))
|
|
2238
2248
|
];
|
|
2239
2249
|
var CLOUDFLARE_AI_GATEWAY_MODELS = [
|
|
@@ -2254,12 +2264,12 @@ var CLOUDFLARE_AI_GATEWAY_MODELS = [
|
|
|
2254
2264
|
];
|
|
2255
2265
|
var WORKERS_AI_MODELS = [
|
|
2256
2266
|
{
|
|
2257
|
-
id: "@cf/
|
|
2258
|
-
name: "
|
|
2259
|
-
description: "
|
|
2267
|
+
id: "@cf/zai-org/glm-4.7-flash",
|
|
2268
|
+
name: "GLM 4.7 Flash",
|
|
2269
|
+
description: "Fast multilingual open-weight model optimized for tool calling.",
|
|
2260
2270
|
category: "fast",
|
|
2261
2271
|
provider: "workers-ai",
|
|
2262
|
-
contextLength:
|
|
2272
|
+
contextLength: 131072,
|
|
2263
2273
|
cost: "lower-cost"
|
|
2264
2274
|
},
|
|
2265
2275
|
{
|
|
@@ -2271,6 +2281,24 @@ var WORKERS_AI_MODELS = [
|
|
|
2271
2281
|
contextLength: 24000,
|
|
2272
2282
|
cost: "lower-cost"
|
|
2273
2283
|
},
|
|
2284
|
+
{
|
|
2285
|
+
id: "@cf/moonshotai/kimi-k2.7-code",
|
|
2286
|
+
name: "Kimi K2.7 Code",
|
|
2287
|
+
description: "Open-weight coding model with tool calling and structured outputs.",
|
|
2288
|
+
category: "reasoning",
|
|
2289
|
+
provider: "workers-ai",
|
|
2290
|
+
contextLength: 262144,
|
|
2291
|
+
cost: "lower-cost"
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
id: "@cf/meta/llama-4-scout-17b-16e-instruct",
|
|
2295
|
+
name: "Llama 4 Scout",
|
|
2296
|
+
description: "Open-weight mixture-of-experts model with function calling.",
|
|
2297
|
+
category: "smart",
|
|
2298
|
+
provider: "workers-ai",
|
|
2299
|
+
contextLength: 131072,
|
|
2300
|
+
cost: "lower-cost"
|
|
2301
|
+
},
|
|
2274
2302
|
{
|
|
2275
2303
|
id: "@cf/openai/gpt-oss-120b",
|
|
2276
2304
|
name: "GPT OSS 120B",
|
|
@@ -2293,8 +2321,8 @@ var OPENCODE_ZEN_MODELS = [
|
|
|
2293
2321
|
cost: "free"
|
|
2294
2322
|
},
|
|
2295
2323
|
{
|
|
2296
|
-
id: "ling-3.0-
|
|
2297
|
-
name: "Ling 3.0
|
|
2324
|
+
id: "ling-3.0-tiny-free",
|
|
2325
|
+
name: "Ling 3.0 Tiny (Free)",
|
|
2298
2326
|
description: "Current free fast model on OpenCode Zen.",
|
|
2299
2327
|
category: "fast",
|
|
2300
2328
|
provider: "opencode-zen",
|
|
@@ -2365,6 +2393,16 @@ var OPENCODE_ZEN_MODELS = [
|
|
|
2365
2393
|
zenApiType: "anthropic",
|
|
2366
2394
|
contextLength: 1e6,
|
|
2367
2395
|
cost: "premium"
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
id: "claude-fable-5",
|
|
2399
|
+
name: "Claude Fable 5",
|
|
2400
|
+
description: "Anthropic's most capable widely available model for long-running agents.",
|
|
2401
|
+
category: "reasoning",
|
|
2402
|
+
provider: "opencode-zen",
|
|
2403
|
+
zenApiType: "anthropic",
|
|
2404
|
+
contextLength: 1e6,
|
|
2405
|
+
cost: "premium"
|
|
2368
2406
|
}
|
|
2369
2407
|
];
|
|
2370
2408
|
var ALL_MODELS = [
|
package/dist/tui.js
CHANGED
|
@@ -33058,9 +33058,9 @@ import { cwd as getCwd } from "process";
|
|
|
33058
33058
|
// src/lib/models.ts
|
|
33059
33059
|
var OPENROUTER_MODELS = [
|
|
33060
33060
|
{
|
|
33061
|
-
id: "inclusionai/ling-3.0-
|
|
33062
|
-
name: "Ling 3.0
|
|
33063
|
-
description: "
|
|
33061
|
+
id: "inclusionai/ling-3.0-tiny:free",
|
|
33062
|
+
name: "Ling 3.0 Tiny (Free)",
|
|
33063
|
+
description: "Current fast open-weight model available on OpenRouter's free tier.",
|
|
33064
33064
|
category: "fast",
|
|
33065
33065
|
provider: "openrouter",
|
|
33066
33066
|
contextLength: 262144,
|
|
@@ -33164,6 +33164,15 @@ var OPENROUTER_MODELS = [
|
|
|
33164
33164
|
provider: "openrouter",
|
|
33165
33165
|
contextLength: 1e6,
|
|
33166
33166
|
cost: "premium"
|
|
33167
|
+
},
|
|
33168
|
+
{
|
|
33169
|
+
id: "anthropic/claude-fable-5",
|
|
33170
|
+
name: "Claude Fable 5",
|
|
33171
|
+
description: "Anthropic's most capable widely available model for long-running agents.",
|
|
33172
|
+
category: "reasoning",
|
|
33173
|
+
provider: "openrouter",
|
|
33174
|
+
contextLength: 1e6,
|
|
33175
|
+
cost: "premium"
|
|
33167
33176
|
}
|
|
33168
33177
|
];
|
|
33169
33178
|
var VERCEL_AI_GATEWAY_MODELS = [
|
|
@@ -33172,7 +33181,8 @@ var VERCEL_AI_GATEWAY_MODELS = [
|
|
|
33172
33181
|
"openai/gpt-5.6-terra",
|
|
33173
33182
|
"openai/gpt-5.6-sol",
|
|
33174
33183
|
"anthropic/claude-sonnet-5",
|
|
33175
|
-
"anthropic/claude-opus-5"
|
|
33184
|
+
"anthropic/claude-opus-5",
|
|
33185
|
+
"anthropic/claude-fable-5"
|
|
33176
33186
|
].includes(model.id)).map((model) => ({ ...model, provider: "vercel-ai-gateway" }))
|
|
33177
33187
|
];
|
|
33178
33188
|
var CLOUDFLARE_AI_GATEWAY_MODELS = [
|
|
@@ -33193,12 +33203,12 @@ var CLOUDFLARE_AI_GATEWAY_MODELS = [
|
|
|
33193
33203
|
];
|
|
33194
33204
|
var WORKERS_AI_MODELS = [
|
|
33195
33205
|
{
|
|
33196
|
-
id: "@cf/
|
|
33197
|
-
name: "
|
|
33198
|
-
description: "
|
|
33206
|
+
id: "@cf/zai-org/glm-4.7-flash",
|
|
33207
|
+
name: "GLM 4.7 Flash",
|
|
33208
|
+
description: "Fast multilingual open-weight model optimized for tool calling.",
|
|
33199
33209
|
category: "fast",
|
|
33200
33210
|
provider: "workers-ai",
|
|
33201
|
-
contextLength:
|
|
33211
|
+
contextLength: 131072,
|
|
33202
33212
|
cost: "lower-cost"
|
|
33203
33213
|
},
|
|
33204
33214
|
{
|
|
@@ -33210,6 +33220,24 @@ var WORKERS_AI_MODELS = [
|
|
|
33210
33220
|
contextLength: 24000,
|
|
33211
33221
|
cost: "lower-cost"
|
|
33212
33222
|
},
|
|
33223
|
+
{
|
|
33224
|
+
id: "@cf/moonshotai/kimi-k2.7-code",
|
|
33225
|
+
name: "Kimi K2.7 Code",
|
|
33226
|
+
description: "Open-weight coding model with tool calling and structured outputs.",
|
|
33227
|
+
category: "reasoning",
|
|
33228
|
+
provider: "workers-ai",
|
|
33229
|
+
contextLength: 262144,
|
|
33230
|
+
cost: "lower-cost"
|
|
33231
|
+
},
|
|
33232
|
+
{
|
|
33233
|
+
id: "@cf/meta/llama-4-scout-17b-16e-instruct",
|
|
33234
|
+
name: "Llama 4 Scout",
|
|
33235
|
+
description: "Open-weight mixture-of-experts model with function calling.",
|
|
33236
|
+
category: "smart",
|
|
33237
|
+
provider: "workers-ai",
|
|
33238
|
+
contextLength: 131072,
|
|
33239
|
+
cost: "lower-cost"
|
|
33240
|
+
},
|
|
33213
33241
|
{
|
|
33214
33242
|
id: "@cf/openai/gpt-oss-120b",
|
|
33215
33243
|
name: "GPT OSS 120B",
|
|
@@ -33232,8 +33260,8 @@ var OPENCODE_ZEN_MODELS = [
|
|
|
33232
33260
|
cost: "free"
|
|
33233
33261
|
},
|
|
33234
33262
|
{
|
|
33235
|
-
id: "ling-3.0-
|
|
33236
|
-
name: "Ling 3.0
|
|
33263
|
+
id: "ling-3.0-tiny-free",
|
|
33264
|
+
name: "Ling 3.0 Tiny (Free)",
|
|
33237
33265
|
description: "Current free fast model on OpenCode Zen.",
|
|
33238
33266
|
category: "fast",
|
|
33239
33267
|
provider: "opencode-zen",
|
|
@@ -33304,6 +33332,16 @@ var OPENCODE_ZEN_MODELS = [
|
|
|
33304
33332
|
zenApiType: "anthropic",
|
|
33305
33333
|
contextLength: 1e6,
|
|
33306
33334
|
cost: "premium"
|
|
33335
|
+
},
|
|
33336
|
+
{
|
|
33337
|
+
id: "claude-fable-5",
|
|
33338
|
+
name: "Claude Fable 5",
|
|
33339
|
+
description: "Anthropic's most capable widely available model for long-running agents.",
|
|
33340
|
+
category: "reasoning",
|
|
33341
|
+
provider: "opencode-zen",
|
|
33342
|
+
zenApiType: "anthropic",
|
|
33343
|
+
contextLength: 1e6,
|
|
33344
|
+
cost: "premium"
|
|
33307
33345
|
}
|
|
33308
33346
|
];
|
|
33309
33347
|
var ALL_MODELS = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@austinthesing/magic-shell",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Natural language to terminal commands with safety features. Supports OpenCode Zen, OpenRouter, AI gateways, Workers AI, and custom models.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|