@blockrun/clawrouter 0.9.28 → 0.9.30

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/index.js CHANGED
@@ -17,6 +17,10 @@ var MODEL_ALIASES = {
17
17
  "anthropic/claude-opus-4.6": "anthropic/claude-opus-4-6",
18
18
  "anthropic/claude-opus-4.5": "anthropic/claude-opus-4-5",
19
19
  "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4-5",
20
+ // Base model names without version -> route to latest
21
+ "anthropic/claude-sonnet-4": "anthropic/claude-sonnet-4-6",
22
+ "anthropic/claude-opus-4": "anthropic/claude-opus-4-6",
23
+ "anthropic/claude-haiku-4": "anthropic/claude-haiku-4-5",
20
24
  // OpenAI
21
25
  gpt: "openai/gpt-4o",
22
26
  gpt4: "openai/gpt-4o",
@@ -40,7 +44,10 @@ var MODEL_ALIASES = {
40
44
  nvidia: "nvidia/gpt-oss-120b",
41
45
  "gpt-120b": "nvidia/gpt-oss-120b",
42
46
  // MiniMax
43
- minimax: "minimax/minimax-m2.5"
47
+ minimax: "minimax/minimax-m2.5",
48
+ // Routing profile aliases (common variations)
49
+ "auto-router": "auto",
50
+ router: "auto"
44
51
  // Note: auto, free, eco, premium are virtual routing profiles registered in BLOCKRUN_MODELS
45
52
  // They don't need aliases since they're already top-level model IDs
46
53
  };