Compare commits

..

2 Commits

Author SHA1 Message Date
Anton Volnuhin
74b7f27c06 pi: capture the cursorapi provider and reformat models.json
Local drift that was never added: a cursorapi provider pointing at
http://127.0.0.1:8788/v1, plus the formatting pi itself writes. No key
material -- the apiKey fields hold env var names or the local
placeholder.
2026-08-06 01:59:18 +03:00
Anton Volnuhin
f7baca7b3b kitty: pin the theme mode to dark
Captures the current mode. The two generated theme files now hold the
dark theme because the mode is pinned; themes/light.conf still has the
light theme, so `theme light` and `theme auto` restore it.
2026-08-06 01:59:12 +03:00
4 changed files with 559 additions and 444 deletions

View File

@ -1,448 +1,560 @@
{
"providers": {
"alibaba-code-plan": {
"api": "openai-completions",
"apiKey": "!. /Users/anton/dev/librenew/.env 2>/dev/null; printf %s \"$ALIBABA_CODE_PLAN_API_KEY\"",
"baseUrl": "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1",
"compat": {
"supportsDeveloperRole": false
"providers" : {
"alibaba-code-plan" : {
"api" : "openai-completions",
"apiKey" : "!. /Users/anton/dev/librenew/.env 2>/dev/null; printf %s \"$ALIBABA_CODE_PLAN_API_KEY\"",
"baseUrl" : "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1",
"compat" : {
"supportsDeveloperRole" : false
},
"models": [
"models" : [
{
"id": "qwen3.8-max-preview",
"name": "Qwen 3.8 Max",
"reasoning": true,
"input": [
"contextWindow" : 1000000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "qwen3.8-max-preview",
"input" : [
"text"
],
"contextWindow": 1000000,
"maxTokens": 131072,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
"maxTokens" : 131072,
"name" : "Qwen 3.8 Max",
"reasoning" : true
}
]
},
"kimi-coding": {
"apiKey": "!. /Users/anton/dev/librenew/.env 2>/dev/null; printf %s \"$KIMI_CODE_API_KEY\"",
"compat": {
"supportsDeveloperRole": false
"anthropic-byok" : {
"api" : "anthropic-messages",
"apiKey" : "ANTHROPIC_API_KEY",
"baseUrl" : "https://api.anthropic.com",
"models" : [
{
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "claude-sonnet-4-6",
"input" : [
"text",
"image"
],
"maxTokens" : 4096,
"name" : "claude-sonnet-4-6"
}
]
},
"cursorapi" : {
"api" : "openai-completions",
"apiKey" : "cursor-local",
"authHeader" : true,
"baseUrl" : "http://127.0.0.1:8788/v1",
"models" : [
{
"api" : "openai-completions",
"compat" : {
"maxTokensField" : "max_tokens",
"requiresAssistantAfterToolResult" : false,
"supportsUsageInStreaming" : true
},
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.5,
"output" : 2.5
},
"id" : "composer-2.5",
"input" : [
"text"
],
"limit" : {
"context" : 200000,
"output" : 65536
},
"maxTokens" : 65536,
"name" : "Composer 2.5",
"reasoning" : false
},
{
"api" : "openai-completions",
"compat" : {
"maxTokensField" : "max_tokens",
"requiresAssistantAfterToolResult" : false,
"supportsUsageInStreaming" : true
},
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 3,
"output" : 15
},
"id" : "composer-2.5-fast",
"input" : [
"text"
],
"limit" : {
"context" : 200000,
"output" : 65536
},
"maxTokens" : 65536,
"name" : "Composer 2.5 Fast",
"reasoning" : false
},
{
"api" : "openai-completions",
"compat" : {
"maxTokensField" : "max_tokens",
"requiresAssistantAfterToolResult" : false,
"supportsUsageInStreaming" : true
},
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 2,
"output" : 6
},
"id" : "grok-4.5",
"input" : [
"text"
],
"limit" : {
"context" : 200000,
"output" : 65536
},
"maxTokens" : 65536,
"name" : "Grok 4.5",
"reasoning" : false
},
{
"api" : "openai-completions",
"compat" : {
"maxTokensField" : "max_tokens",
"requiresAssistantAfterToolResult" : false,
"supportsUsageInStreaming" : true
},
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 4,
"output" : 18
},
"id" : "grok-4.5-fast",
"input" : [
"text"
],
"limit" : {
"context" : 200000,
"output" : 65536
},
"maxTokens" : 65536,
"name" : "Grok 4.5 Fast",
"reasoning" : false
}
]
},
"kimi-coding" : {
"apiKey" : "!. /Users/anton/dev/librenew/.env 2>/dev/null; printf %s \"$KIMI_CODE_API_KEY\"",
"compat" : {
"supportsDeveloperRole" : false
},
"models": [
"models" : [
{
"id": "k3",
"name": "Kimi K3",
"api": "openai-completions",
"baseUrl": "https://api.kimi.com/coding/v1",
"reasoning": true,
"input": [
"api" : "openai-completions",
"baseUrl" : "https://api.kimi.com/coding/v1",
"contextWindow" : 1048576,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "k3",
"input" : [
"text",
"image"
],
"contextWindow": 1048576,
"maxTokens": 32000,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
"maxTokens" : 32000,
"name" : "Kimi K3",
"reasoning" : true
}
]
},
"zenmux": {
"api": "openai-completions",
"apiKey": "!. /Users/anton/dev/librenew/.env 2>/dev/null; printf %s \"$ZENMUX_PAYG_KEY\"",
"baseUrl": "https://zenmux.ai/api/v1",
"models": [
"screenpipe" : {
"api" : "openai-completions",
"apiKey" : "SCREENPIPE_API_KEY",
"authHeader" : true,
"baseUrl" : "https://api.screenpi.pe/v1",
"models" : [
{
"id": "openai/gpt-5.6-sol",
"name": "GPT 5.6 Sol",
"reasoning": true,
"input": [
"contextWindow" : 128000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "auto",
"input" : [
"text",
"image"
],
"contextWindow": 1050000,
"maxTokens": 128000,
"cost": {
"input": 5,
"output": 30,
"cacheRead": 0.5,
"cacheWrite": 6.25,
"tiers": [
"maxTokens" : 32000,
"name" : "Auto (recommended)",
"reasoning" : true
},
{
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "glm-4.7",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "GLM-4.7",
"reasoning" : true
},
{
"contextWindow" : 128000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "glm-5",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "GLM-5",
"reasoning" : true
},
{
"contextWindow" : 128000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "kimi-k2.5",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "Kimi K2.5",
"reasoning" : true
},
{
"contextWindow" : 524000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "llama-4-maverick",
"input" : [
"text",
"image"
],
"maxTokens" : 8192,
"name" : "Llama 4 Maverick (Vision)",
"reasoning" : true
},
{
"contextWindow" : 512000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "llama-4-scout",
"input" : [
"text",
"image"
],
"maxTokens" : 8192,
"name" : "Llama 4 Scout (Vision)",
"reasoning" : false
},
{
"contextWindow" : 262000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "qwen/qwen3-coder:free",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "Qwen3 Coder 480B",
"reasoning" : true
},
{
"contextWindow" : 256000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "stepfun/step-3.5-flash:free",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "Step 3.5 Flash",
"reasoning" : false
},
{
"contextWindow" : 1000000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.10000000000000001,
"output" : 0.40000000000000002
},
"id" : "gemini-3-flash",
"input" : [
"text",
"image"
],
"maxTokens" : 65536,
"name" : "Gemini 3 Flash",
"reasoning" : false
},
{
"contextWindow" : 1000000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.074999999999999997,
"output" : 0.29999999999999999
},
"id" : "gemini-2.5-flash",
"input" : [
"text",
"image"
],
"maxTokens" : 65536,
"name" : "Gemini 2.5 Flash",
"reasoning" : false
},
{
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 1.5,
"cacheWrite" : 18.75,
"input" : 15,
"output" : 75
},
"id" : "claude-opus-4-6",
"input" : [
"text",
"image"
],
"maxTokens" : 32000,
"name" : "Claude Opus 4.6",
"reasoning" : true
},
{
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0.29999999999999999,
"cacheWrite" : 3.75,
"input" : 3,
"output" : 15
},
"id" : "claude-sonnet-4-5",
"input" : [
"text",
"image"
],
"maxTokens" : 64000,
"name" : "Claude Sonnet 4.5",
"reasoning" : true
},
{
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0.080000000000000002,
"cacheWrite" : 1,
"input" : 0.80000000000000004,
"output" : 4
},
"id" : "claude-haiku-4-5",
"input" : [
"text",
"image"
],
"maxTokens" : 64000,
"name" : "Claude Haiku 4.5",
"reasoning" : true
},
{
"contextWindow" : 1000000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.065000000000000002,
"output" : 0.26000000000000001
},
"id" : "qwen/qwen3.5-flash-02-23",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "Qwen3.5 Flash",
"reasoning" : false
},
{
"contextWindow" : 128000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.26000000000000001,
"output" : 0.38
},
"id" : "deepseek/deepseek-chat",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "DeepSeek V3.2",
"reasoning" : true
},
{
"contextWindow" : 128000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 2.1899999999999999,
"output" : 8.7599999999999998
},
"id" : "deepseek/deepseek-v3.2-speciale",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "DeepSeek V3.2 Speciale",
"reasoning" : true
},
{
"contextWindow" : 131000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 1.5,
"output" : 3
},
"id" : "qwen/qwen3.5-397b-a17b",
"input" : [
"text",
"image"
],
"maxTokens" : 32000,
"name" : "Qwen3.5 397B",
"reasoning" : true
},
{
"contextWindow" : 512000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.11,
"output" : 0.34000000000000002
},
"id" : "meta-llama/llama-4-scout",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "Llama 4 Scout",
"reasoning" : false
},
{
"contextWindow" : 256000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.5,
"output" : 0.77000000000000002
},
"id" : "meta-llama/llama-4-maverick",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "Llama 4 Maverick",
"reasoning" : true
},
{
"contextWindow" : 1000000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 1.25,
"output" : 10
},
"id" : "gemini-3.1-pro",
"input" : [
"text",
"image"
],
"maxTokens" : 65536,
"name" : "Gemini 3.1 Pro",
"reasoning" : true
}
]
},
"zenmux" : {
"api" : "openai-completions",
"apiKey" : "!. /Users/anton/dev/librenew/.env 2>/dev/null; printf %s \"$ZENMUX_PAYG_KEY\"",
"baseUrl" : "https://zenmux.ai/api/v1",
"models" : [
{
"contextWindow" : 1050000,
"cost" : {
"cacheRead" : 0.5,
"cacheWrite" : 6.25,
"input" : 5,
"output" : 30,
"tiers" : [
{
"inputTokensAbove": 272000,
"input": 10,
"output": 45,
"cacheRead": 1,
"cacheWrite": 12.5
"cacheRead" : 1,
"cacheWrite" : 12.5,
"input" : 10,
"inputTokensAbove" : 272000,
"output" : 45
}
]
}
}
]
},
"anthropic-byok": {
"api": "anthropic-messages",
"apiKey": "ANTHROPIC_API_KEY",
"baseUrl": "https://api.anthropic.com",
"models": [
{
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0,
"output": 0
},
"id": "claude-sonnet-4-6",
"input": [
"id" : "openai/gpt-5.6-sol",
"input" : [
"text",
"image"
],
"maxTokens": 4096,
"name": "claude-sonnet-4-6"
}
]
},
"screenpipe": {
"api": "openai-completions",
"apiKey": "SCREENPIPE_API_KEY",
"authHeader": true,
"baseUrl": "https://api.screenpi.pe/v1",
"models": [
{
"contextWindow": 128000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0,
"output": 0
},
"id": "auto",
"input": [
"text",
"image"
],
"maxTokens": 32000,
"name": "Auto (recommended)",
"reasoning": true
},
{
"contextWindow": 200000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0,
"output": 0
},
"id": "glm-4.7",
"input": [
"text"
],
"maxTokens": 32000,
"name": "GLM-4.7",
"reasoning": true
},
{
"contextWindow": 128000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0,
"output": 0
},
"id": "glm-5",
"input": [
"text"
],
"maxTokens": 32000,
"name": "GLM-5",
"reasoning": true
},
{
"contextWindow": 128000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0,
"output": 0
},
"id": "kimi-k2.5",
"input": [
"text"
],
"maxTokens": 32000,
"name": "Kimi K2.5",
"reasoning": true
},
{
"contextWindow": 524000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0,
"output": 0
},
"id": "llama-4-maverick",
"input": [
"text",
"image"
],
"maxTokens": 8192,
"name": "Llama 4 Maverick (Vision)",
"reasoning": true
},
{
"contextWindow": 512000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0,
"output": 0
},
"id": "llama-4-scout",
"input": [
"text",
"image"
],
"maxTokens": 8192,
"name": "Llama 4 Scout (Vision)",
"reasoning": false
},
{
"contextWindow": 262000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0,
"output": 0
},
"id": "qwen/qwen3-coder:free",
"input": [
"text"
],
"maxTokens": 32000,
"name": "Qwen3 Coder 480B",
"reasoning": true
},
{
"contextWindow": 256000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0,
"output": 0
},
"id": "stepfun/step-3.5-flash:free",
"input": [
"text"
],
"maxTokens": 32000,
"name": "Step 3.5 Flash",
"reasoning": false
},
{
"contextWindow": 1000000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0.1,
"output": 0.4
},
"id": "gemini-3-flash",
"input": [
"text",
"image"
],
"maxTokens": 65536,
"name": "Gemini 3 Flash",
"reasoning": false
},
{
"contextWindow": 1000000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0.075,
"output": 0.3
},
"id": "gemini-2.5-flash",
"input": [
"text",
"image"
],
"maxTokens": 65536,
"name": "Gemini 2.5 Flash",
"reasoning": false
},
{
"contextWindow": 200000,
"cost": {
"cacheRead": 1.5,
"cacheWrite": 18.75,
"input": 15,
"output": 75
},
"id": "claude-opus-4-6",
"input": [
"text",
"image"
],
"maxTokens": 32000,
"name": "Claude Opus 4.6",
"reasoning": true
},
{
"contextWindow": 200000,
"cost": {
"cacheRead": 0.3,
"cacheWrite": 3.75,
"input": 3,
"output": 15
},
"id": "claude-sonnet-4-5",
"input": [
"text",
"image"
],
"maxTokens": 64000,
"name": "Claude Sonnet 4.5",
"reasoning": true
},
{
"contextWindow": 200000,
"cost": {
"cacheRead": 0.08,
"cacheWrite": 1,
"input": 0.8,
"output": 4
},
"id": "claude-haiku-4-5",
"input": [
"text",
"image"
],
"maxTokens": 64000,
"name": "Claude Haiku 4.5",
"reasoning": true
},
{
"contextWindow": 1000000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0.065,
"output": 0.26
},
"id": "qwen/qwen3.5-flash-02-23",
"input": [
"text"
],
"maxTokens": 32000,
"name": "Qwen3.5 Flash",
"reasoning": false
},
{
"contextWindow": 128000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0.26,
"output": 0.38
},
"id": "deepseek/deepseek-chat",
"input": [
"text"
],
"maxTokens": 32000,
"name": "DeepSeek V3.2",
"reasoning": true
},
{
"contextWindow": 128000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 2.19,
"output": 8.76
},
"id": "deepseek/deepseek-v3.2-speciale",
"input": [
"text"
],
"maxTokens": 32000,
"name": "DeepSeek V3.2 Speciale",
"reasoning": true
},
{
"contextWindow": 131000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 1.5,
"output": 3.0
},
"id": "qwen/qwen3.5-397b-a17b",
"input": [
"text",
"image"
],
"maxTokens": 32000,
"name": "Qwen3.5 397B",
"reasoning": true
},
{
"contextWindow": 512000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0.11,
"output": 0.34
},
"id": "meta-llama/llama-4-scout",
"input": [
"text"
],
"maxTokens": 32000,
"name": "Llama 4 Scout",
"reasoning": false
},
{
"contextWindow": 256000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 0.5,
"output": 0.77
},
"id": "meta-llama/llama-4-maverick",
"input": [
"text"
],
"maxTokens": 32000,
"name": "Llama 4 Maverick",
"reasoning": true
},
{
"contextWindow": 1000000,
"cost": {
"cacheRead": 0,
"cacheWrite": 0,
"input": 1.25,
"output": 10.0
},
"id": "gemini-3.1-pro",
"input": [
"text",
"image"
],
"maxTokens": 65536,
"name": "Gemini 3.1 Pro",
"reasoning": true
"maxTokens" : 128000,
"name" : "GPT 5.6 Sol",
"reasoning" : true
}
]
}

View File

@ -1,31 +1,31 @@
background #f8f8f8
foreground #2a2b33
cursor #bbbbbb
selection_background #e5e5e6
color0 #000000
color8 #000000
color1 #de3d35
color9 #de3d35
color2 #3e953a
color10 #3e953a
color3 #d2b67b
color11 #d2b67b
color4 #2f5af3
color12 #2f5af3
color5 #950095
color13 #a00095
color6 #3e953a
color14 #3e953a
color7 #bbbbbb
color15 #ffffff
selection_foreground #2a2b33
background #1c2836
foreground #ffffff
cursor #bbbbbb
selection_background #b4d5ff
color0 #000000
color8 #545454
color1 #f9555f
color9 #fa8b8e
color2 #20af89
color10 #34bb99
color3 #fdf029
color11 #ffff55
color4 #589cf5
color12 #589cf5
color5 #934d95
color13 #e75598
color6 #1e9ee6
color14 #3978bb
color7 #bbbbbb
color15 #ffffff
selection_foreground #1c2836
# START_AUTOGENERATED_TAB_STYLE
# Feel free to update these colors manually and remove these comments.
active_tab_foreground #f8f8f8
active_tab_background #2f5af3
inactive_tab_foreground #2f5af3
inactive_tab_background #f8f8f8
active_tab_foreground #1c2836
active_tab_background #2e84e6
inactive_tab_foreground #2e84e6
inactive_tab_background #1c2836
# END_AUTOGENERATED_TAB_STYLE
macos_titlebar_color background

View File

@ -20,9 +20,12 @@ color7 #bbbbbb
color15 #ffffff
selection_foreground #1c2836
# START_AUTOGENERATED_TAB_STYLE
# Feel free to update these colors manually and remove these comments.
active_tab_foreground #1c2836
active_tab_background #2e84e6
inactive_tab_foreground #2e84e6
inactive_tab_background #1c2836
# END_AUTOGENERATED_TAB_STYLE
macos_titlebar_color background

View File

@ -1 +1 @@
auto
dark