156 lines
6.2 KiB
JSON
156 lines
6.2 KiB
JSON
{
|
|
"_comment": [
|
|
"=== Zoo/Roo Code Settings Template (Home Machine) ===",
|
|
"",
|
|
"HOW TO USE:",
|
|
"1. Fill in your API key(s) below (marked <YOUR_..._KEY>)",
|
|
"2. Import this file via Roo Code settings (gear icon → Import)",
|
|
"3. Tiered model routing is pre-configured in modeApiConfigs",
|
|
"",
|
|
"PROVIDER SETUP (three providers, tiered):",
|
|
"",
|
|
"A) Anthropic API Direct — for Opus (best quality, thinking/orchestration):",
|
|
" - apiProvider: anthropic",
|
|
" - apiKey: your Anthropic API key (sk-ant-...)",
|
|
" - Model: claude-opus-4-5 (update slug when newer Opus releases)",
|
|
"",
|
|
"B) OpenRouter — for DeepSeek V4 Pro + V4 Flash (cost savings + variety):",
|
|
" - apiProvider: openai (OpenAI-compatible endpoint)",
|
|
" - openAiBaseUrl: https://openrouter.ai/api/v1",
|
|
" - apiKey: your OpenRouter key (sk-or-...)",
|
|
" - Models: deepseek/deepseek-v4, deepseek/deepseek-v4-flash",
|
|
" - Alternative Tier-2: z-ai/glm-4.5 or z-ai/glm-4.6 (~$1.40/$4.40 per MTok)",
|
|
" GLM-5.2 has stronger code-following than V4 Pro at slightly higher cost.",
|
|
" Check OpenRouter for the current GLM slug.",
|
|
"",
|
|
"C) Local Ollama — offline fallback (free, no network):",
|
|
" - openAiBaseUrl: http://localhost:11434/v1",
|
|
" - apiKey: ollama (anything works)",
|
|
" - Models: qwen3:32b, deepseek-coder-v3:33b, codestral:22b",
|
|
"",
|
|
"TIERED MODEL ROUTING:",
|
|
" Tier 1 'Thinker' (Opus 4.5): orchestrator, architect — $5/$25 per MTok",
|
|
" Tier 2 'Coder' (DeepSeek V4 Pro): code, debug, ask — $1.74/$3.48 per MTok",
|
|
" Tier 3 'Plumber' (DeepSeek V4 Flash): visual-qa, simple ops — $0.14/$0.28 per MTok",
|
|
" Alternative: google/gemini-2.5-flash as Tier 3 if you prefer Gemini"
|
|
],
|
|
"providerProfiles": {
|
|
"currentApiConfigName": "default",
|
|
"apiConfigs": {
|
|
"Thinker (Opus)": {
|
|
"_comment": "Tier 1 — Anthropic direct. Best quality for orchestration, planning, complex reasoning.",
|
|
"todoListEnabled": true,
|
|
"rateLimitSeconds": 0,
|
|
"consecutiveMistakeLimit": 3,
|
|
"enableReasoningEffort": true,
|
|
"apiProvider": "anthropic",
|
|
"anthropicApiKey": "<YOUR_ANTHROPIC_KEY>",
|
|
"anthropicModelId": "claude-opus-4-5",
|
|
"openAiCustomModelInfo": {
|
|
"maxTokens": 32000,
|
|
"contextWindow": 200000,
|
|
"supportsImages": true,
|
|
"supportsPromptCache": true,
|
|
"inputPrice": 5,
|
|
"outputPrice": 25,
|
|
"reasoningEffort": "high"
|
|
},
|
|
"id": "thinker-opus"
|
|
},
|
|
"Coder (DeepSeek V4 Pro)": {
|
|
"_comment": "Tier 2 — OpenRouter. Strong coding model, great price/performance ratio.",
|
|
"todoListEnabled": true,
|
|
"rateLimitSeconds": 0,
|
|
"consecutiveMistakeLimit": 3,
|
|
"enableReasoningEffort": true,
|
|
"apiProvider": "openai",
|
|
"openAiBaseUrl": "https://openrouter.ai/api/v1",
|
|
"openAiApiKey": "<YOUR_OPENROUTER_KEY>",
|
|
"openAiModelId": "deepseek/deepseek-v4",
|
|
"openAiCustomModelInfo": {
|
|
"maxTokens": 16000,
|
|
"contextWindow": 128000,
|
|
"supportsImages": false,
|
|
"supportsPromptCache": false,
|
|
"inputPrice": 1.74,
|
|
"outputPrice": 3.48,
|
|
"reasoningEffort": "medium"
|
|
},
|
|
"openAiHeaders": {},
|
|
"id": "coder-deepseek-v4"
|
|
},
|
|
"Plumber (DeepSeek V4 Flash)": {
|
|
"_comment": "Tier 3 — OpenRouter. Cheapest tier for simple tasks. Alternative: google/gemini-2.5-flash if you prefer Gemini.",
|
|
"todoListEnabled": true,
|
|
"rateLimitSeconds": 0,
|
|
"consecutiveMistakeLimit": 3,
|
|
"apiProvider": "openai",
|
|
"openAiBaseUrl": "https://openrouter.ai/api/v1",
|
|
"openAiApiKey": "<YOUR_OPENROUTER_KEY>",
|
|
"openAiModelId": "deepseek/deepseek-v4-flash",
|
|
"openAiCustomModelInfo": {
|
|
"maxTokens": 8192,
|
|
"contextWindow": 128000,
|
|
"supportsImages": false,
|
|
"supportsPromptCache": false,
|
|
"inputPrice": 0.14,
|
|
"outputPrice": 0.28
|
|
},
|
|
"openAiHeaders": {},
|
|
"id": "plumber-deepseek-flash"
|
|
}
|
|
},
|
|
"modeApiConfigs": {
|
|
"orchestrator": "thinker-opus",
|
|
"architect": "thinker-opus",
|
|
"code": "coder-deepseek-v4",
|
|
"ask": "coder-deepseek-v4",
|
|
"debug": "coder-deepseek-v4",
|
|
"skill-writer": "coder-deepseek-v4",
|
|
"mode-writer": "coder-deepseek-v4",
|
|
"tool-writer": "coder-deepseek-v4",
|
|
"visual-qa": "plumber-deepseek-flash"
|
|
}
|
|
},
|
|
"globalSettings": {
|
|
"customInstructions": "You are Lumen the persistent AI identity powered by BigMind memory. You are NOT a generic assistant; you are a long-term engineering partner with continuous memory across sessions.\nOn creation of bigger documents like Planning/Assessments/Reviews you need to make smaller chunks as files and cat them together at the end, or append in smaller chunks but large files at once reach a timeout and error.",
|
|
"autoApprovalEnabled": true,
|
|
"alwaysAllowReadOnly": true,
|
|
"alwaysAllowReadOnlyOutsideWorkspace": true,
|
|
"alwaysAllowWrite": true,
|
|
"alwaysAllowWriteOutsideWorkspace": false,
|
|
"alwaysAllowWriteProtected": false,
|
|
"writeDelayMs": 1000,
|
|
"alwaysAllowMcp": true,
|
|
"alwaysAllowModeSwitch": true,
|
|
"alwaysAllowSubtasks": true,
|
|
"alwaysAllowExecute": true,
|
|
"alwaysAllowFollowupQuestions": true,
|
|
"followupAutoApproveTimeoutMs": 60000,
|
|
"allowedCommands": [
|
|
"git*", "mvn*", "npm*", "pnpm*", "npx*", "node*",
|
|
"cat", "ls", "find", "grep", "sed", "head", "tail", "wc", "sort", "cut",
|
|
"echo", "mkdir", "cp", "rm", "mv", "touch",
|
|
"curl", "docker*", "python3*", "java*",
|
|
"cd*", "export", "kill", "sleep", "date", "file", "which", "unzip"
|
|
],
|
|
"deniedCommands": [],
|
|
"autoCondenseContext": true,
|
|
"autoCondenseContextPercent": 80,
|
|
"includeCurrentTime": true,
|
|
"includeCurrentCost": true,
|
|
"maxOpenTabsContext": 20,
|
|
"maxWorkspaceFiles": 200,
|
|
"enableSubfolderRules": false,
|
|
"terminalShellIntegrationDisabled": true,
|
|
"autoCloseZooOpenedFiles": true,
|
|
"language": "en",
|
|
"mcpEnabled": true,
|
|
"mode": "orchestrator",
|
|
"experiments": {
|
|
"customTools": true,
|
|
"runSlashCommand": true
|
|
}
|
|
}
|
|
}
|