refactor: move config_path from root into install_methods
Migrated all 80 app JSON files to place config_path inside each install_methods object instead of at the root level. This allows different install methods (e.g. Debian vs Alpine) to have distinct config paths. Also updated AGENTS.md JSON structure example to reflect the change.
This commit is contained in:
@@ -12,12 +12,12 @@
|
||||
"documentation": "https://help.router-for.me/",
|
||||
"website": "https://github.com/router-for-me/CLIProxyAPI",
|
||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/openai.webp",
|
||||
"config_path": "/opt/cliproxyapi/config.yaml",
|
||||
"description": "CLIProxyAPI is a proxy server that provides OpenAI-compatible API endpoints for multiple AI CLI tools including Claude Code, Gemini CLI, OpenAI Codex, and more. It enables leveraging free-tier AI subscriptions through a unified API with features like credential routing, quota management, and request retrying.",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/cliproxyapi.sh",
|
||||
"config_path": "/opt/cliproxyapi/config.yaml",
|
||||
"resources": {
|
||||
"cpu": 1,
|
||||
"ram": 512,
|
||||
@@ -41,4 +41,4 @@
|
||||
"type": "warning"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user