mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
- Added auto-initialization of CSRF token for state-changing requests in cli-manager.js. - Refactored Claude CLI Tools configuration to separate tools and settings into cli-tools.json and cli-settings.json respectively. - Introduced new interfaces for Claude CLI Tools and Settings, including support for tags and primary models. - Implemented loading and saving functions for CLI settings, ensuring backward compatibility with legacy combined config. - Updated functions to synchronize tags between CLI tools and configuration manager. - Added error handling and logging for loading and saving configurations. - Created initial cli-settings.json with default settings.
65 lines
1.4 KiB
JSON
65 lines
1.4 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tools": {
|
|
"gemini": {
|
|
"enabled": true,
|
|
"isBuiltin": true,
|
|
"command": "gemini",
|
|
"description": "Google AI for code analysis",
|
|
"tags": []
|
|
},
|
|
"qwen": {
|
|
"enabled": true,
|
|
"isBuiltin": true,
|
|
"command": "qwen",
|
|
"description": "Alibaba AI assistant",
|
|
"tags": []
|
|
},
|
|
"codex": {
|
|
"enabled": true,
|
|
"isBuiltin": true,
|
|
"command": "codex",
|
|
"description": "OpenAI code generation",
|
|
"tags": []
|
|
},
|
|
"claude": {
|
|
"enabled": true,
|
|
"isBuiltin": true,
|
|
"command": "claude",
|
|
"description": "Anthropic AI assistant",
|
|
"tags": []
|
|
},
|
|
"opencode": {
|
|
"enabled": true,
|
|
"isBuiltin": true,
|
|
"command": "opencode",
|
|
"description": "OpenCode AI assistant",
|
|
"primaryModel": "opencode/glm-4.7-free",
|
|
"tags": []
|
|
}
|
|
},
|
|
"customEndpoints": [
|
|
{
|
|
"id": "g25",
|
|
"name": "g25",
|
|
"enabled": true
|
|
}
|
|
],
|
|
"defaultTool": "gemini",
|
|
"settings": {
|
|
"promptFormat": "plain",
|
|
"smartContext": {
|
|
"enabled": false,
|
|
"maxFiles": 10
|
|
},
|
|
"nativeResume": true,
|
|
"recursiveQuery": true,
|
|
"cache": {
|
|
"injectionMode": "auto",
|
|
"defaultPrefix": "",
|
|
"defaultSuffix": ""
|
|
},
|
|
"codeIndexMcp": "codexlens"
|
|
},
|
|
"$schema": "./cli-tools.schema.json"
|
|
} |