diff --git a/.chezmoiignore b/.chezmoiignore index a1ecf4c..08b96bc 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -6,3 +6,7 @@ Library {{- end }} .config/karabiner/automatic_backups .config/scripts/__pycache__ + +# pi: keep config, never commit secrets/sessions +.pi/agent/auth.json +.pi/agent/sessions diff --git a/dot_pi/agent/models.json b/dot_pi/agent/models.json new file mode 100644 index 0000000..c4e5311 --- /dev/null +++ b/dot_pi/agent/models.json @@ -0,0 +1,364 @@ +{ + "providers": { + "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" + } + ] + }, + "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 + } + ] + } + } +} \ No newline at end of file diff --git a/dot_pi/agent/settings.json b/dot_pi/agent/settings.json new file mode 100644 index 0000000..b8ec60a --- /dev/null +++ b/dot_pi/agent/settings.json @@ -0,0 +1,8 @@ +{ + "lastChangelogVersion": "0.79.9", + "theme": "dark", + "defaultProvider": "zai", + "defaultModel": "glm-5.2", + "showHardwareCursor": false, + "defaultThinkingLevel": "xhigh" +} \ No newline at end of file