@austinthesing/magic-shell 1.1.3 → 1.1.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/cli.js +91 -0
- package/dist/index.js +91 -0
- package/dist/tui.js +91 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -33095,6 +33095,15 @@ var OPENROUTER_MODELS = [
|
|
|
33095
33095
|
contextLength: 1e6,
|
|
33096
33096
|
cost: "free"
|
|
33097
33097
|
},
|
|
33098
|
+
{
|
|
33099
|
+
id: "poolside/laguna-s-2.1:free",
|
|
33100
|
+
name: "Laguna S 2.1 (Free)",
|
|
33101
|
+
description: "Open-weight coding model for long-horizon agentic work.",
|
|
33102
|
+
category: "reasoning",
|
|
33103
|
+
provider: "openrouter",
|
|
33104
|
+
contextLength: 262144,
|
|
33105
|
+
cost: "free"
|
|
33106
|
+
},
|
|
33098
33107
|
{
|
|
33099
33108
|
id: "deepseek/deepseek-v4-flash-0731",
|
|
33100
33109
|
name: "DeepSeek V4 Flash 0731",
|
|
@@ -33131,6 +33140,15 @@ var OPENROUTER_MODELS = [
|
|
|
33131
33140
|
contextLength: 1048576,
|
|
33132
33141
|
cost: "lower-cost"
|
|
33133
33142
|
},
|
|
33143
|
+
{
|
|
33144
|
+
id: "z-ai/glm-5.3-flash",
|
|
33145
|
+
name: "GLM 5.3 Flash",
|
|
33146
|
+
description: "Open-weight multimodal GLM model optimized for efficient agentic coding.",
|
|
33147
|
+
category: "smart",
|
|
33148
|
+
provider: "openrouter",
|
|
33149
|
+
contextLength: 1310720,
|
|
33150
|
+
cost: "lower-cost"
|
|
33151
|
+
},
|
|
33134
33152
|
{
|
|
33135
33153
|
id: "qwen/qwen3.6-27b",
|
|
33136
33154
|
name: "Qwen 3.6 27B",
|
|
@@ -33257,6 +33275,24 @@ var VERCEL_AI_GATEWAY_MODELS = [
|
|
|
33257
33275
|
provider: "vercel-ai-gateway",
|
|
33258
33276
|
contextLength: 1e6,
|
|
33259
33277
|
cost: "lower-cost"
|
|
33278
|
+
},
|
|
33279
|
+
{
|
|
33280
|
+
id: "zai/glm-5.3-flash",
|
|
33281
|
+
name: "GLM 5.3 Flash",
|
|
33282
|
+
description: "Open-weight multimodal GLM model optimized for efficient agentic coding.",
|
|
33283
|
+
category: "smart",
|
|
33284
|
+
provider: "vercel-ai-gateway",
|
|
33285
|
+
contextLength: 1e6,
|
|
33286
|
+
cost: "lower-cost"
|
|
33287
|
+
},
|
|
33288
|
+
{
|
|
33289
|
+
id: "poolside/laguna-s-2.1-free",
|
|
33290
|
+
name: "Laguna S 2.1 (Free)",
|
|
33291
|
+
description: "Open-weight coding model for long-horizon agentic work.",
|
|
33292
|
+
category: "reasoning",
|
|
33293
|
+
provider: "vercel-ai-gateway",
|
|
33294
|
+
contextLength: 256000,
|
|
33295
|
+
cost: "free"
|
|
33260
33296
|
}
|
|
33261
33297
|
];
|
|
33262
33298
|
var CLOUDFLARE_AI_GATEWAY_MODELS = [
|
|
@@ -33276,6 +33312,24 @@ var CLOUDFLARE_AI_GATEWAY_MODELS = [
|
|
|
33276
33312
|
}))
|
|
33277
33313
|
];
|
|
33278
33314
|
var WORKERS_AI_MODELS = [
|
|
33315
|
+
{
|
|
33316
|
+
id: "@cf/zai-org/glm-5.3",
|
|
33317
|
+
name: "GLM 5.3",
|
|
33318
|
+
description: "Open-weight flagship model for long-running agentic coding workflows.",
|
|
33319
|
+
category: "reasoning",
|
|
33320
|
+
provider: "workers-ai",
|
|
33321
|
+
contextLength: 1048576,
|
|
33322
|
+
cost: "lower-cost"
|
|
33323
|
+
},
|
|
33324
|
+
{
|
|
33325
|
+
id: "@cf/zai-org/glm-5.3-flash",
|
|
33326
|
+
name: "GLM 5.3 Flash",
|
|
33327
|
+
description: "Open-weight multimodal model for efficient reasoning and agentic coding.",
|
|
33328
|
+
category: "smart",
|
|
33329
|
+
provider: "workers-ai",
|
|
33330
|
+
contextLength: 1310720,
|
|
33331
|
+
cost: "lower-cost"
|
|
33332
|
+
},
|
|
33279
33333
|
{
|
|
33280
33334
|
id: "@cf/zai-org/glm-5.2",
|
|
33281
33335
|
name: "GLM 5.2",
|
|
@@ -33285,6 +33339,33 @@ var WORKERS_AI_MODELS = [
|
|
|
33285
33339
|
contextLength: 262144,
|
|
33286
33340
|
cost: "lower-cost"
|
|
33287
33341
|
},
|
|
33342
|
+
{
|
|
33343
|
+
id: "@cf/deepseek-ai/deepseek-v4-flash-0731",
|
|
33344
|
+
name: "DeepSeek V4 Flash 0731",
|
|
33345
|
+
description: "Fast open-weight DeepSeek model with a one-million-token context window.",
|
|
33346
|
+
category: "fast",
|
|
33347
|
+
provider: "workers-ai",
|
|
33348
|
+
contextLength: 1048576,
|
|
33349
|
+
cost: "lower-cost"
|
|
33350
|
+
},
|
|
33351
|
+
{
|
|
33352
|
+
id: "@cf/deepseek-ai/deepseek-v4-pro-0813",
|
|
33353
|
+
name: "DeepSeek V4 Pro 0813",
|
|
33354
|
+
description: "Open-weight DeepSeek model for complex agentic work.",
|
|
33355
|
+
category: "reasoning",
|
|
33356
|
+
provider: "workers-ai",
|
|
33357
|
+
contextLength: 1048576,
|
|
33358
|
+
cost: "lower-cost"
|
|
33359
|
+
},
|
|
33360
|
+
{
|
|
33361
|
+
id: "@cf/qwen/qwen3.8-27b",
|
|
33362
|
+
name: "Qwen 3.8 27B",
|
|
33363
|
+
description: "Open-weight vision-language model with reasoning and function calling.",
|
|
33364
|
+
category: "smart",
|
|
33365
|
+
provider: "workers-ai",
|
|
33366
|
+
contextLength: 262144,
|
|
33367
|
+
cost: "lower-cost"
|
|
33368
|
+
},
|
|
33288
33369
|
{
|
|
33289
33370
|
id: "@cf/zai-org/glm-4.7-flash",
|
|
33290
33371
|
name: "GLM 4.7 Flash",
|
|
@@ -33362,6 +33443,16 @@ var OPENCODE_ZEN_MODELS = [
|
|
|
33362
33443
|
contextLength: 1e6,
|
|
33363
33444
|
cost: "free"
|
|
33364
33445
|
},
|
|
33446
|
+
{
|
|
33447
|
+
id: "laguna-s-2.1-free",
|
|
33448
|
+
name: "Laguna S 2.1 (Free)",
|
|
33449
|
+
description: "Open-weight coding model for long-horizon agentic work.",
|
|
33450
|
+
category: "reasoning",
|
|
33451
|
+
provider: "opencode-zen",
|
|
33452
|
+
zenApiType: "openai-compatible",
|
|
33453
|
+
contextLength: 262144,
|
|
33454
|
+
cost: "free"
|
|
33455
|
+
},
|
|
33365
33456
|
{
|
|
33366
33457
|
id: "minimax-m3",
|
|
33367
33458
|
name: "MiniMax M3",
|
package/dist/index.js
CHANGED
|
@@ -753,6 +753,15 @@ var OPENROUTER_MODELS = [
|
|
|
753
753
|
contextLength: 1e6,
|
|
754
754
|
cost: "free"
|
|
755
755
|
},
|
|
756
|
+
{
|
|
757
|
+
id: "poolside/laguna-s-2.1:free",
|
|
758
|
+
name: "Laguna S 2.1 (Free)",
|
|
759
|
+
description: "Open-weight coding model for long-horizon agentic work.",
|
|
760
|
+
category: "reasoning",
|
|
761
|
+
provider: "openrouter",
|
|
762
|
+
contextLength: 262144,
|
|
763
|
+
cost: "free"
|
|
764
|
+
},
|
|
756
765
|
{
|
|
757
766
|
id: "deepseek/deepseek-v4-flash-0731",
|
|
758
767
|
name: "DeepSeek V4 Flash 0731",
|
|
@@ -789,6 +798,15 @@ var OPENROUTER_MODELS = [
|
|
|
789
798
|
contextLength: 1048576,
|
|
790
799
|
cost: "lower-cost"
|
|
791
800
|
},
|
|
801
|
+
{
|
|
802
|
+
id: "z-ai/glm-5.3-flash",
|
|
803
|
+
name: "GLM 5.3 Flash",
|
|
804
|
+
description: "Open-weight multimodal GLM model optimized for efficient agentic coding.",
|
|
805
|
+
category: "smart",
|
|
806
|
+
provider: "openrouter",
|
|
807
|
+
contextLength: 1310720,
|
|
808
|
+
cost: "lower-cost"
|
|
809
|
+
},
|
|
792
810
|
{
|
|
793
811
|
id: "qwen/qwen3.6-27b",
|
|
794
812
|
name: "Qwen 3.6 27B",
|
|
@@ -915,6 +933,24 @@ var VERCEL_AI_GATEWAY_MODELS = [
|
|
|
915
933
|
provider: "vercel-ai-gateway",
|
|
916
934
|
contextLength: 1e6,
|
|
917
935
|
cost: "lower-cost"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
id: "zai/glm-5.3-flash",
|
|
939
|
+
name: "GLM 5.3 Flash",
|
|
940
|
+
description: "Open-weight multimodal GLM model optimized for efficient agentic coding.",
|
|
941
|
+
category: "smart",
|
|
942
|
+
provider: "vercel-ai-gateway",
|
|
943
|
+
contextLength: 1e6,
|
|
944
|
+
cost: "lower-cost"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
id: "poolside/laguna-s-2.1-free",
|
|
948
|
+
name: "Laguna S 2.1 (Free)",
|
|
949
|
+
description: "Open-weight coding model for long-horizon agentic work.",
|
|
950
|
+
category: "reasoning",
|
|
951
|
+
provider: "vercel-ai-gateway",
|
|
952
|
+
contextLength: 256000,
|
|
953
|
+
cost: "free"
|
|
918
954
|
}
|
|
919
955
|
];
|
|
920
956
|
var CLOUDFLARE_AI_GATEWAY_MODELS = [
|
|
@@ -934,6 +970,24 @@ var CLOUDFLARE_AI_GATEWAY_MODELS = [
|
|
|
934
970
|
}))
|
|
935
971
|
];
|
|
936
972
|
var WORKERS_AI_MODELS = [
|
|
973
|
+
{
|
|
974
|
+
id: "@cf/zai-org/glm-5.3",
|
|
975
|
+
name: "GLM 5.3",
|
|
976
|
+
description: "Open-weight flagship model for long-running agentic coding workflows.",
|
|
977
|
+
category: "reasoning",
|
|
978
|
+
provider: "workers-ai",
|
|
979
|
+
contextLength: 1048576,
|
|
980
|
+
cost: "lower-cost"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
id: "@cf/zai-org/glm-5.3-flash",
|
|
984
|
+
name: "GLM 5.3 Flash",
|
|
985
|
+
description: "Open-weight multimodal model for efficient reasoning and agentic coding.",
|
|
986
|
+
category: "smart",
|
|
987
|
+
provider: "workers-ai",
|
|
988
|
+
contextLength: 1310720,
|
|
989
|
+
cost: "lower-cost"
|
|
990
|
+
},
|
|
937
991
|
{
|
|
938
992
|
id: "@cf/zai-org/glm-5.2",
|
|
939
993
|
name: "GLM 5.2",
|
|
@@ -943,6 +997,33 @@ var WORKERS_AI_MODELS = [
|
|
|
943
997
|
contextLength: 262144,
|
|
944
998
|
cost: "lower-cost"
|
|
945
999
|
},
|
|
1000
|
+
{
|
|
1001
|
+
id: "@cf/deepseek-ai/deepseek-v4-flash-0731",
|
|
1002
|
+
name: "DeepSeek V4 Flash 0731",
|
|
1003
|
+
description: "Fast open-weight DeepSeek model with a one-million-token context window.",
|
|
1004
|
+
category: "fast",
|
|
1005
|
+
provider: "workers-ai",
|
|
1006
|
+
contextLength: 1048576,
|
|
1007
|
+
cost: "lower-cost"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
id: "@cf/deepseek-ai/deepseek-v4-pro-0813",
|
|
1011
|
+
name: "DeepSeek V4 Pro 0813",
|
|
1012
|
+
description: "Open-weight DeepSeek model for complex agentic work.",
|
|
1013
|
+
category: "reasoning",
|
|
1014
|
+
provider: "workers-ai",
|
|
1015
|
+
contextLength: 1048576,
|
|
1016
|
+
cost: "lower-cost"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
id: "@cf/qwen/qwen3.8-27b",
|
|
1020
|
+
name: "Qwen 3.8 27B",
|
|
1021
|
+
description: "Open-weight vision-language model with reasoning and function calling.",
|
|
1022
|
+
category: "smart",
|
|
1023
|
+
provider: "workers-ai",
|
|
1024
|
+
contextLength: 262144,
|
|
1025
|
+
cost: "lower-cost"
|
|
1026
|
+
},
|
|
946
1027
|
{
|
|
947
1028
|
id: "@cf/zai-org/glm-4.7-flash",
|
|
948
1029
|
name: "GLM 4.7 Flash",
|
|
@@ -1020,6 +1101,16 @@ var OPENCODE_ZEN_MODELS = [
|
|
|
1020
1101
|
contextLength: 1e6,
|
|
1021
1102
|
cost: "free"
|
|
1022
1103
|
},
|
|
1104
|
+
{
|
|
1105
|
+
id: "laguna-s-2.1-free",
|
|
1106
|
+
name: "Laguna S 2.1 (Free)",
|
|
1107
|
+
description: "Open-weight coding model for long-horizon agentic work.",
|
|
1108
|
+
category: "reasoning",
|
|
1109
|
+
provider: "opencode-zen",
|
|
1110
|
+
zenApiType: "openai-compatible",
|
|
1111
|
+
contextLength: 262144,
|
|
1112
|
+
cost: "free"
|
|
1113
|
+
},
|
|
1023
1114
|
{
|
|
1024
1115
|
id: "minimax-m3",
|
|
1025
1116
|
name: "MiniMax M3",
|
package/dist/tui.js
CHANGED
|
@@ -33095,6 +33095,15 @@ var OPENROUTER_MODELS = [
|
|
|
33095
33095
|
contextLength: 1e6,
|
|
33096
33096
|
cost: "free"
|
|
33097
33097
|
},
|
|
33098
|
+
{
|
|
33099
|
+
id: "poolside/laguna-s-2.1:free",
|
|
33100
|
+
name: "Laguna S 2.1 (Free)",
|
|
33101
|
+
description: "Open-weight coding model for long-horizon agentic work.",
|
|
33102
|
+
category: "reasoning",
|
|
33103
|
+
provider: "openrouter",
|
|
33104
|
+
contextLength: 262144,
|
|
33105
|
+
cost: "free"
|
|
33106
|
+
},
|
|
33098
33107
|
{
|
|
33099
33108
|
id: "deepseek/deepseek-v4-flash-0731",
|
|
33100
33109
|
name: "DeepSeek V4 Flash 0731",
|
|
@@ -33131,6 +33140,15 @@ var OPENROUTER_MODELS = [
|
|
|
33131
33140
|
contextLength: 1048576,
|
|
33132
33141
|
cost: "lower-cost"
|
|
33133
33142
|
},
|
|
33143
|
+
{
|
|
33144
|
+
id: "z-ai/glm-5.3-flash",
|
|
33145
|
+
name: "GLM 5.3 Flash",
|
|
33146
|
+
description: "Open-weight multimodal GLM model optimized for efficient agentic coding.",
|
|
33147
|
+
category: "smart",
|
|
33148
|
+
provider: "openrouter",
|
|
33149
|
+
contextLength: 1310720,
|
|
33150
|
+
cost: "lower-cost"
|
|
33151
|
+
},
|
|
33134
33152
|
{
|
|
33135
33153
|
id: "qwen/qwen3.6-27b",
|
|
33136
33154
|
name: "Qwen 3.6 27B",
|
|
@@ -33257,6 +33275,24 @@ var VERCEL_AI_GATEWAY_MODELS = [
|
|
|
33257
33275
|
provider: "vercel-ai-gateway",
|
|
33258
33276
|
contextLength: 1e6,
|
|
33259
33277
|
cost: "lower-cost"
|
|
33278
|
+
},
|
|
33279
|
+
{
|
|
33280
|
+
id: "zai/glm-5.3-flash",
|
|
33281
|
+
name: "GLM 5.3 Flash",
|
|
33282
|
+
description: "Open-weight multimodal GLM model optimized for efficient agentic coding.",
|
|
33283
|
+
category: "smart",
|
|
33284
|
+
provider: "vercel-ai-gateway",
|
|
33285
|
+
contextLength: 1e6,
|
|
33286
|
+
cost: "lower-cost"
|
|
33287
|
+
},
|
|
33288
|
+
{
|
|
33289
|
+
id: "poolside/laguna-s-2.1-free",
|
|
33290
|
+
name: "Laguna S 2.1 (Free)",
|
|
33291
|
+
description: "Open-weight coding model for long-horizon agentic work.",
|
|
33292
|
+
category: "reasoning",
|
|
33293
|
+
provider: "vercel-ai-gateway",
|
|
33294
|
+
contextLength: 256000,
|
|
33295
|
+
cost: "free"
|
|
33260
33296
|
}
|
|
33261
33297
|
];
|
|
33262
33298
|
var CLOUDFLARE_AI_GATEWAY_MODELS = [
|
|
@@ -33276,6 +33312,24 @@ var CLOUDFLARE_AI_GATEWAY_MODELS = [
|
|
|
33276
33312
|
}))
|
|
33277
33313
|
];
|
|
33278
33314
|
var WORKERS_AI_MODELS = [
|
|
33315
|
+
{
|
|
33316
|
+
id: "@cf/zai-org/glm-5.3",
|
|
33317
|
+
name: "GLM 5.3",
|
|
33318
|
+
description: "Open-weight flagship model for long-running agentic coding workflows.",
|
|
33319
|
+
category: "reasoning",
|
|
33320
|
+
provider: "workers-ai",
|
|
33321
|
+
contextLength: 1048576,
|
|
33322
|
+
cost: "lower-cost"
|
|
33323
|
+
},
|
|
33324
|
+
{
|
|
33325
|
+
id: "@cf/zai-org/glm-5.3-flash",
|
|
33326
|
+
name: "GLM 5.3 Flash",
|
|
33327
|
+
description: "Open-weight multimodal model for efficient reasoning and agentic coding.",
|
|
33328
|
+
category: "smart",
|
|
33329
|
+
provider: "workers-ai",
|
|
33330
|
+
contextLength: 1310720,
|
|
33331
|
+
cost: "lower-cost"
|
|
33332
|
+
},
|
|
33279
33333
|
{
|
|
33280
33334
|
id: "@cf/zai-org/glm-5.2",
|
|
33281
33335
|
name: "GLM 5.2",
|
|
@@ -33285,6 +33339,33 @@ var WORKERS_AI_MODELS = [
|
|
|
33285
33339
|
contextLength: 262144,
|
|
33286
33340
|
cost: "lower-cost"
|
|
33287
33341
|
},
|
|
33342
|
+
{
|
|
33343
|
+
id: "@cf/deepseek-ai/deepseek-v4-flash-0731",
|
|
33344
|
+
name: "DeepSeek V4 Flash 0731",
|
|
33345
|
+
description: "Fast open-weight DeepSeek model with a one-million-token context window.",
|
|
33346
|
+
category: "fast",
|
|
33347
|
+
provider: "workers-ai",
|
|
33348
|
+
contextLength: 1048576,
|
|
33349
|
+
cost: "lower-cost"
|
|
33350
|
+
},
|
|
33351
|
+
{
|
|
33352
|
+
id: "@cf/deepseek-ai/deepseek-v4-pro-0813",
|
|
33353
|
+
name: "DeepSeek V4 Pro 0813",
|
|
33354
|
+
description: "Open-weight DeepSeek model for complex agentic work.",
|
|
33355
|
+
category: "reasoning",
|
|
33356
|
+
provider: "workers-ai",
|
|
33357
|
+
contextLength: 1048576,
|
|
33358
|
+
cost: "lower-cost"
|
|
33359
|
+
},
|
|
33360
|
+
{
|
|
33361
|
+
id: "@cf/qwen/qwen3.8-27b",
|
|
33362
|
+
name: "Qwen 3.8 27B",
|
|
33363
|
+
description: "Open-weight vision-language model with reasoning and function calling.",
|
|
33364
|
+
category: "smart",
|
|
33365
|
+
provider: "workers-ai",
|
|
33366
|
+
contextLength: 262144,
|
|
33367
|
+
cost: "lower-cost"
|
|
33368
|
+
},
|
|
33288
33369
|
{
|
|
33289
33370
|
id: "@cf/zai-org/glm-4.7-flash",
|
|
33290
33371
|
name: "GLM 4.7 Flash",
|
|
@@ -33362,6 +33443,16 @@ var OPENCODE_ZEN_MODELS = [
|
|
|
33362
33443
|
contextLength: 1e6,
|
|
33363
33444
|
cost: "free"
|
|
33364
33445
|
},
|
|
33446
|
+
{
|
|
33447
|
+
id: "laguna-s-2.1-free",
|
|
33448
|
+
name: "Laguna S 2.1 (Free)",
|
|
33449
|
+
description: "Open-weight coding model for long-horizon agentic work.",
|
|
33450
|
+
category: "reasoning",
|
|
33451
|
+
provider: "opencode-zen",
|
|
33452
|
+
zenApiType: "openai-compatible",
|
|
33453
|
+
contextLength: 262144,
|
|
33454
|
+
cost: "free"
|
|
33455
|
+
},
|
|
33365
33456
|
{
|
|
33366
33457
|
id: "minimax-m3",
|
|
33367
33458
|
name: "MiniMax M3",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@austinthesing/magic-shell",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
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",
|