Import claude-code-switcher from the Windows build
Source of truth so far has been c:\Users\smoido\projects\cli on the Windows box, which has no git history of its own. This is that tree copied verbatim over SSH, minus dist/ - the PowerShell build, the POSIX port under linux/, and the presets both share. Recorded as its own commit so that everything after it is a reviewable diff rather than an undifferentiated first drop.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"provider": "openrouter",
|
||||
"description": "Minimum cost. Everything on flash-class models with 1M context.",
|
||||
"baseUrl": "https://openrouter.ai/api",
|
||||
"auth": {
|
||||
"mode": "vault",
|
||||
"keyRef": "openrouter"
|
||||
},
|
||||
"models": {
|
||||
"opus": "deepseek/deepseek-v4-pro",
|
||||
"sonnet": "deepseek/deepseek-v4-flash-0731",
|
||||
"haiku": "qwen/qwen3.7-flash",
|
||||
"fable": "openai/gpt-5.6-luna-pro"
|
||||
},
|
||||
"subagentModel": "qwen/qwen3.7-flash",
|
||||
"gatewayModelDiscovery": true,
|
||||
"contextTokens": 1000000
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"provider": "openrouter",
|
||||
"description": "Daily driver. Cheap flash models on the hot tiers, GLM on fable.",
|
||||
"baseUrl": "https://openrouter.ai/api",
|
||||
"auth": {
|
||||
"mode": "vault",
|
||||
"keyRef": "openrouter"
|
||||
},
|
||||
"models": {
|
||||
"opus": "deepseek/deepseek-v4-flash-0731",
|
||||
"sonnet": "qwen/qwen3.7-flash",
|
||||
"haiku": "openrouter/free",
|
||||
"fable": "z-ai/glm-5.2"
|
||||
},
|
||||
"subagentModel": "inherit",
|
||||
"gatewayModelDiscovery": true,
|
||||
"contextTokens": 1000000
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"provider": "lmstudio",
|
||||
"description": "Local Qwen3.6-35B-A3B uncensored (heretic, MTP-preserved). Clean chat template - verified working with tools + streaming.",
|
||||
"baseUrl": "http://127.0.0.1:1234",
|
||||
"auth": {
|
||||
"mode": "literal",
|
||||
"token": "lmstudio"
|
||||
},
|
||||
"models": {
|
||||
"opus": "qwen3.6-35b-a3b-uncensored-heretic-native-mtp-preserved",
|
||||
"sonnet": "qwen3.6-35b-a3b-uncensored-heretic-native-mtp-preserved",
|
||||
"haiku": "qwen3.6-35b-a3b-uncensored-heretic-native-mtp-preserved",
|
||||
"fable": "qwen3.6-35b-a3b-uncensored-heretic-native-mtp-preserved"
|
||||
},
|
||||
"subagentModel": "qwen3.6-35b-a3b-uncensored-heretic-native-mtp-preserved",
|
||||
"gatewayModelDiscovery": true,
|
||||
"extraEnv": {
|
||||
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0"
|
||||
},
|
||||
"contextTokens": 262144
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"provider": "lmstudio",
|
||||
"description": "Local KAT-Coder v2.5. NOTE: its chat template asserts message order - if you hit 'Unable to generate parser for this template', use the lmstudio-qwen preset.",
|
||||
"baseUrl": "http://127.0.0.1:1234",
|
||||
"auth": {
|
||||
"mode": "literal",
|
||||
"token": "lmstudio"
|
||||
},
|
||||
"models": {
|
||||
"opus": "kwaipilot_kat-coder-v2.5-dev",
|
||||
"sonnet": "kwaipilot_kat-coder-v2.5-dev",
|
||||
"haiku": "kwaipilot_kat-coder-v2.5-dev",
|
||||
"fable": "kwaipilot_kat-coder-v2.5-dev"
|
||||
},
|
||||
"subagentModel": "kwaipilot_kat-coder-v2.5-dev",
|
||||
"gatewayModelDiscovery": true,
|
||||
"extraEnv": {
|
||||
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0"
|
||||
},
|
||||
"contextTokens": 262144
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"provider": "zai",
|
||||
"description": "Z.AI GLM coding plan. Same endpoint the official coding helper uses, but with real per-tier model mapping.",
|
||||
"baseUrl": "https://api.z.ai/api/anthropic",
|
||||
"auth": {
|
||||
"mode": "vault",
|
||||
"keyRef": "zai"
|
||||
},
|
||||
"models": {
|
||||
"opus": "glm-5.2",
|
||||
"sonnet": "glm-5.2",
|
||||
"haiku": "glm-4.7",
|
||||
"fable": "glm-5.2"
|
||||
},
|
||||
"subagentModel": "inherit",
|
||||
"gatewayModelDiscovery": false,
|
||||
"extraEnv": {
|
||||
"API_TIMEOUT_MS": "3000000",
|
||||
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
|
||||
},
|
||||
"contextTokens": 1000000
|
||||
}
|
||||
Reference in New Issue
Block a user