mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
ba062c1a71
Add `bl config agent` to configure a coding agent (Claude Code, Qwen Code, OpenCode, OpenClaw, Hermes, Codex) to use a DashScope/ModelStudio endpoint with a single command. Writers non-destructively merge into each agent's local config with a timestamped backup and atomic writes. - Field structures aligned to farion1231/cc-switch; qwen-code aligned to QwenLM/qwen-code source (modelProviders/security.auth keyed by protocol). - provider id unified as `bailian-cli` (qwen-code brands via model entry name + BAILIAN_CLI_API_KEY, since it keys by protocol). - Codex config.toml merged via smol-toml to preserve unrelated settings. - Add writer unit tests + config e2e cases; regenerate skill reference.
536 B
536 B