@austinthesing/magic-shell 1.1.6 → 1.1.7

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 CHANGED
@@ -33059,6 +33059,42 @@ import { cwd as getCwd } from "process";
33059
33059
 
33060
33060
  // src/lib/models.ts
33061
33061
  var OPENROUTER_MODELS = [
33062
+ {
33063
+ id: "xiaomi/mimo-v2.6-flash",
33064
+ name: "MiMo V2.6 Flash",
33065
+ description: "Xiaomi's open-source mixture-of-experts model with long-context support.",
33066
+ category: "fast",
33067
+ provider: "openrouter",
33068
+ contextLength: 1048576,
33069
+ cost: "lower-cost"
33070
+ },
33071
+ {
33072
+ id: "openai/gpt-6-luna",
33073
+ name: "GPT 6 Luna",
33074
+ description: "Efficient GPT-6 model for focused, high-volume tasks.",
33075
+ category: "fast",
33076
+ provider: "openrouter",
33077
+ contextLength: 1050000,
33078
+ cost: "lower-cost"
33079
+ },
33080
+ {
33081
+ id: "openai/gpt-6-sol",
33082
+ name: "GPT 6 Sol",
33083
+ description: "GPT-6 model for complex coding and agentic workflows.",
33084
+ category: "reasoning",
33085
+ provider: "openrouter",
33086
+ contextLength: 1050000,
33087
+ cost: "premium"
33088
+ },
33089
+ {
33090
+ id: "anthropic/claude-opus-5.5",
33091
+ name: "Claude Opus 5.5",
33092
+ description: "Claude model for agentic coding with always-on adaptive thinking.",
33093
+ category: "reasoning",
33094
+ provider: "openrouter",
33095
+ contextLength: 1e6,
33096
+ cost: "premium"
33097
+ },
33062
33098
  {
33063
33099
  id: "openai/gpt-6-astra",
33064
33100
  name: "GPT 6 Astra",
@@ -33280,6 +33316,10 @@ var VERCEL_AI_GATEWAY_MODELS = [
33280
33316
  ...OPENROUTER_MODELS.filter((model) => [
33281
33317
  "openai/gpt-5.6-luna",
33282
33318
  "openai/gpt-6-astra",
33319
+ "openai/gpt-6-luna",
33320
+ "xiaomi/mimo-v2.6-flash",
33321
+ "openai/gpt-6-sol",
33322
+ "anthropic/claude-opus-5.5",
33283
33323
  "deepseek/deepseek-v4.1-flash",
33284
33324
  "openai/gpt-5.6-terra",
33285
33325
  "openai/gpt-5.6-sol",
@@ -33344,7 +33384,7 @@ var CLOUDFLARE_AI_GATEWAY_MODELS = [
33344
33384
  contextLength: 32000,
33345
33385
  cost: "lower-cost"
33346
33386
  },
33347
- ...VERCEL_AI_GATEWAY_MODELS.filter((model) => model.id !== "deepseek/deepseek-v4.1-flash").map((model) => ({
33387
+ ...VERCEL_AI_GATEWAY_MODELS.filter((model) => !["deepseek/deepseek-v4.1-flash", "xiaomi/mimo-v2.6-flash"].includes(model.id)).map((model) => ({
33348
33388
  ...model,
33349
33389
  id: model.id.startsWith("anthropic/") ? model.id.replaceAll(".", "-") : model.id,
33350
33390
  provider: "cloudflare-ai-gateway"
@@ -33535,6 +33575,8 @@ var OPENCODE_ZEN_MODELS = [
33535
33575
  ...[
33536
33576
  ["gpt-5.6-luna", "GPT 5.6 Luna", "fast", "lower-cost"],
33537
33577
  ["gpt-6-astra", "GPT 6 Astra", "reasoning", "premium"],
33578
+ ["gpt-6-luna", "GPT 6 Luna", "fast", "lower-cost"],
33579
+ ["gpt-6-sol", "GPT 6 Sol", "reasoning", "premium"],
33538
33580
  ["gpt-5.6-terra", "GPT 5.6 Terra", "smart", "premium"],
33539
33581
  ["gpt-5.6-sol", "GPT 5.6 Sol", "reasoning", "premium"]
33540
33582
  ].map(([id, name, category, cost]) => ({
@@ -33547,6 +33589,16 @@ var OPENCODE_ZEN_MODELS = [
33547
33589
  contextLength: 1050000,
33548
33590
  cost
33549
33591
  })),
33592
+ {
33593
+ id: "claude-opus-5-5",
33594
+ name: "Claude Opus 5.5",
33595
+ description: "Claude model for agentic coding with always-on adaptive thinking.",
33596
+ category: "reasoning",
33597
+ provider: "opencode-zen",
33598
+ zenApiType: "anthropic",
33599
+ contextLength: 1e6,
33600
+ cost: "premium"
33601
+ },
33550
33602
  {
33551
33603
  id: "claude-sonnet-5",
33552
33604
  name: "Claude Sonnet 5",
@@ -74826,6 +74878,9 @@ function buildOpenAICompatibleThinkingOptions(modelId, thinkingLevel) {
74826
74878
  };
74827
74879
  }
74828
74880
  function buildAiSdkProviderOptions(modelId, thinkingLevel, providerOptionsName) {
74881
+ if (modelId === "claude-opus-5-5") {
74882
+ return { anthropic: { effort: thinkingLevel === "off" ? "low" : thinkingLevel } };
74883
+ }
74829
74884
  if (thinkingLevel === "off" || !supportsThinkingControl(modelId)) {
74830
74885
  return;
74831
74886
  }
@@ -74884,6 +74939,8 @@ function buildAiSdkProviderOptions(modelId, thinkingLevel, providerOptionsName)
74884
74939
  return;
74885
74940
  }
74886
74941
  function shouldOmitTemperature(modelId, thinkingLevel) {
74942
+ if (/claude-opus-5[.-]5/.test(modelId))
74943
+ return true;
74887
74944
  if (modelId.includes("gpt-6"))
74888
74945
  return true;
74889
74946
  return thinkingLevel !== "off" && (modelId.startsWith("claude-") || modelId.includes("gpt-5"));
package/dist/index.js CHANGED
@@ -717,6 +717,42 @@ import { cwd as getCwd } from "process";
717
717
 
718
718
  // src/lib/models.ts
719
719
  var OPENROUTER_MODELS = [
720
+ {
721
+ id: "xiaomi/mimo-v2.6-flash",
722
+ name: "MiMo V2.6 Flash",
723
+ description: "Xiaomi's open-source mixture-of-experts model with long-context support.",
724
+ category: "fast",
725
+ provider: "openrouter",
726
+ contextLength: 1048576,
727
+ cost: "lower-cost"
728
+ },
729
+ {
730
+ id: "openai/gpt-6-luna",
731
+ name: "GPT 6 Luna",
732
+ description: "Efficient GPT-6 model for focused, high-volume tasks.",
733
+ category: "fast",
734
+ provider: "openrouter",
735
+ contextLength: 1050000,
736
+ cost: "lower-cost"
737
+ },
738
+ {
739
+ id: "openai/gpt-6-sol",
740
+ name: "GPT 6 Sol",
741
+ description: "GPT-6 model for complex coding and agentic workflows.",
742
+ category: "reasoning",
743
+ provider: "openrouter",
744
+ contextLength: 1050000,
745
+ cost: "premium"
746
+ },
747
+ {
748
+ id: "anthropic/claude-opus-5.5",
749
+ name: "Claude Opus 5.5",
750
+ description: "Claude model for agentic coding with always-on adaptive thinking.",
751
+ category: "reasoning",
752
+ provider: "openrouter",
753
+ contextLength: 1e6,
754
+ cost: "premium"
755
+ },
720
756
  {
721
757
  id: "openai/gpt-6-astra",
722
758
  name: "GPT 6 Astra",
@@ -938,6 +974,10 @@ var VERCEL_AI_GATEWAY_MODELS = [
938
974
  ...OPENROUTER_MODELS.filter((model) => [
939
975
  "openai/gpt-5.6-luna",
940
976
  "openai/gpt-6-astra",
977
+ "openai/gpt-6-luna",
978
+ "xiaomi/mimo-v2.6-flash",
979
+ "openai/gpt-6-sol",
980
+ "anthropic/claude-opus-5.5",
941
981
  "deepseek/deepseek-v4.1-flash",
942
982
  "openai/gpt-5.6-terra",
943
983
  "openai/gpt-5.6-sol",
@@ -1002,7 +1042,7 @@ var CLOUDFLARE_AI_GATEWAY_MODELS = [
1002
1042
  contextLength: 32000,
1003
1043
  cost: "lower-cost"
1004
1044
  },
1005
- ...VERCEL_AI_GATEWAY_MODELS.filter((model) => model.id !== "deepseek/deepseek-v4.1-flash").map((model) => ({
1045
+ ...VERCEL_AI_GATEWAY_MODELS.filter((model) => !["deepseek/deepseek-v4.1-flash", "xiaomi/mimo-v2.6-flash"].includes(model.id)).map((model) => ({
1006
1046
  ...model,
1007
1047
  id: model.id.startsWith("anthropic/") ? model.id.replaceAll(".", "-") : model.id,
1008
1048
  provider: "cloudflare-ai-gateway"
@@ -1193,6 +1233,8 @@ var OPENCODE_ZEN_MODELS = [
1193
1233
  ...[
1194
1234
  ["gpt-5.6-luna", "GPT 5.6 Luna", "fast", "lower-cost"],
1195
1235
  ["gpt-6-astra", "GPT 6 Astra", "reasoning", "premium"],
1236
+ ["gpt-6-luna", "GPT 6 Luna", "fast", "lower-cost"],
1237
+ ["gpt-6-sol", "GPT 6 Sol", "reasoning", "premium"],
1196
1238
  ["gpt-5.6-terra", "GPT 5.6 Terra", "smart", "premium"],
1197
1239
  ["gpt-5.6-sol", "GPT 5.6 Sol", "reasoning", "premium"]
1198
1240
  ].map(([id, name, category, cost]) => ({
@@ -1205,6 +1247,16 @@ var OPENCODE_ZEN_MODELS = [
1205
1247
  contextLength: 1050000,
1206
1248
  cost
1207
1249
  })),
1250
+ {
1251
+ id: "claude-opus-5-5",
1252
+ name: "Claude Opus 5.5",
1253
+ description: "Claude model for agentic coding with always-on adaptive thinking.",
1254
+ category: "reasoning",
1255
+ provider: "opencode-zen",
1256
+ zenApiType: "anthropic",
1257
+ contextLength: 1e6,
1258
+ cost: "premium"
1259
+ },
1208
1260
  {
1209
1261
  id: "claude-sonnet-5",
1210
1262
  name: "Claude Sonnet 5",
@@ -42744,6 +42796,9 @@ function buildOpenAICompatibleThinkingOptions(modelId, thinkingLevel) {
42744
42796
  };
42745
42797
  }
42746
42798
  function buildAiSdkProviderOptions(modelId, thinkingLevel, providerOptionsName) {
42799
+ if (modelId === "claude-opus-5-5") {
42800
+ return { anthropic: { effort: thinkingLevel === "off" ? "low" : thinkingLevel } };
42801
+ }
42747
42802
  if (thinkingLevel === "off" || !supportsThinkingControl(modelId)) {
42748
42803
  return;
42749
42804
  }
@@ -42802,6 +42857,8 @@ function buildAiSdkProviderOptions(modelId, thinkingLevel, providerOptionsName)
42802
42857
  return;
42803
42858
  }
42804
42859
  function shouldOmitTemperature(modelId, thinkingLevel) {
42860
+ if (/claude-opus-5[.-]5/.test(modelId))
42861
+ return true;
42805
42862
  if (modelId.includes("gpt-6"))
42806
42863
  return true;
42807
42864
  return thinkingLevel !== "off" && (modelId.startsWith("claude-") || modelId.includes("gpt-5"));
package/dist/tui.js CHANGED
@@ -33059,6 +33059,42 @@ import { cwd as getCwd } from "process";
33059
33059
 
33060
33060
  // src/lib/models.ts
33061
33061
  var OPENROUTER_MODELS = [
33062
+ {
33063
+ id: "xiaomi/mimo-v2.6-flash",
33064
+ name: "MiMo V2.6 Flash",
33065
+ description: "Xiaomi's open-source mixture-of-experts model with long-context support.",
33066
+ category: "fast",
33067
+ provider: "openrouter",
33068
+ contextLength: 1048576,
33069
+ cost: "lower-cost"
33070
+ },
33071
+ {
33072
+ id: "openai/gpt-6-luna",
33073
+ name: "GPT 6 Luna",
33074
+ description: "Efficient GPT-6 model for focused, high-volume tasks.",
33075
+ category: "fast",
33076
+ provider: "openrouter",
33077
+ contextLength: 1050000,
33078
+ cost: "lower-cost"
33079
+ },
33080
+ {
33081
+ id: "openai/gpt-6-sol",
33082
+ name: "GPT 6 Sol",
33083
+ description: "GPT-6 model for complex coding and agentic workflows.",
33084
+ category: "reasoning",
33085
+ provider: "openrouter",
33086
+ contextLength: 1050000,
33087
+ cost: "premium"
33088
+ },
33089
+ {
33090
+ id: "anthropic/claude-opus-5.5",
33091
+ name: "Claude Opus 5.5",
33092
+ description: "Claude model for agentic coding with always-on adaptive thinking.",
33093
+ category: "reasoning",
33094
+ provider: "openrouter",
33095
+ contextLength: 1e6,
33096
+ cost: "premium"
33097
+ },
33062
33098
  {
33063
33099
  id: "openai/gpt-6-astra",
33064
33100
  name: "GPT 6 Astra",
@@ -33280,6 +33316,10 @@ var VERCEL_AI_GATEWAY_MODELS = [
33280
33316
  ...OPENROUTER_MODELS.filter((model) => [
33281
33317
  "openai/gpt-5.6-luna",
33282
33318
  "openai/gpt-6-astra",
33319
+ "openai/gpt-6-luna",
33320
+ "xiaomi/mimo-v2.6-flash",
33321
+ "openai/gpt-6-sol",
33322
+ "anthropic/claude-opus-5.5",
33283
33323
  "deepseek/deepseek-v4.1-flash",
33284
33324
  "openai/gpt-5.6-terra",
33285
33325
  "openai/gpt-5.6-sol",
@@ -33344,7 +33384,7 @@ var CLOUDFLARE_AI_GATEWAY_MODELS = [
33344
33384
  contextLength: 32000,
33345
33385
  cost: "lower-cost"
33346
33386
  },
33347
- ...VERCEL_AI_GATEWAY_MODELS.filter((model) => model.id !== "deepseek/deepseek-v4.1-flash").map((model) => ({
33387
+ ...VERCEL_AI_GATEWAY_MODELS.filter((model) => !["deepseek/deepseek-v4.1-flash", "xiaomi/mimo-v2.6-flash"].includes(model.id)).map((model) => ({
33348
33388
  ...model,
33349
33389
  id: model.id.startsWith("anthropic/") ? model.id.replaceAll(".", "-") : model.id,
33350
33390
  provider: "cloudflare-ai-gateway"
@@ -33535,6 +33575,8 @@ var OPENCODE_ZEN_MODELS = [
33535
33575
  ...[
33536
33576
  ["gpt-5.6-luna", "GPT 5.6 Luna", "fast", "lower-cost"],
33537
33577
  ["gpt-6-astra", "GPT 6 Astra", "reasoning", "premium"],
33578
+ ["gpt-6-luna", "GPT 6 Luna", "fast", "lower-cost"],
33579
+ ["gpt-6-sol", "GPT 6 Sol", "reasoning", "premium"],
33538
33580
  ["gpt-5.6-terra", "GPT 5.6 Terra", "smart", "premium"],
33539
33581
  ["gpt-5.6-sol", "GPT 5.6 Sol", "reasoning", "premium"]
33540
33582
  ].map(([id, name, category, cost]) => ({
@@ -33547,6 +33589,16 @@ var OPENCODE_ZEN_MODELS = [
33547
33589
  contextLength: 1050000,
33548
33590
  cost
33549
33591
  })),
33592
+ {
33593
+ id: "claude-opus-5-5",
33594
+ name: "Claude Opus 5.5",
33595
+ description: "Claude model for agentic coding with always-on adaptive thinking.",
33596
+ category: "reasoning",
33597
+ provider: "opencode-zen",
33598
+ zenApiType: "anthropic",
33599
+ contextLength: 1e6,
33600
+ cost: "premium"
33601
+ },
33550
33602
  {
33551
33603
  id: "claude-sonnet-5",
33552
33604
  name: "Claude Sonnet 5",
@@ -74826,6 +74878,9 @@ function buildOpenAICompatibleThinkingOptions(modelId, thinkingLevel) {
74826
74878
  };
74827
74879
  }
74828
74880
  function buildAiSdkProviderOptions(modelId, thinkingLevel, providerOptionsName) {
74881
+ if (modelId === "claude-opus-5-5") {
74882
+ return { anthropic: { effort: thinkingLevel === "off" ? "low" : thinkingLevel } };
74883
+ }
74829
74884
  if (thinkingLevel === "off" || !supportsThinkingControl(modelId)) {
74830
74885
  return;
74831
74886
  }
@@ -74884,6 +74939,8 @@ function buildAiSdkProviderOptions(modelId, thinkingLevel, providerOptionsName)
74884
74939
  return;
74885
74940
  }
74886
74941
  function shouldOmitTemperature(modelId, thinkingLevel) {
74942
+ if (/claude-opus-5[.-]5/.test(modelId))
74943
+ return true;
74887
74944
  if (modelId.includes("gpt-6"))
74888
74945
  return true;
74889
74946
  return thinkingLevel !== "off" && (modelId.startsWith("claude-") || modelId.includes("gpt-5"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@austinthesing/magic-shell",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
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",