Files
CLIProxyAPI/internal
Luis Pater 42f9adb9ac feat(tui): migrate management client to v8 routes with legacy fallback
- Prefer /v8/management endpoints for config, credentials, api-keys, logs, and OAuth flows, normalizing the v8 config tree to the TUI's flat view and falling back to /v0/management only when a route is genuinely unimplemented.
- Read access.api-keys from the same versioned root-config snapshot and write back with If-Match, refusing unconditional replaces and stale-index edits/deletes so concurrent changes are not lost.
- Return a non-zero exit via CheckManagementSupport when a server definitively exposes neither contract, while keeping transient probe failures and wrong-password retries non-fatal.

Closes: #7462
Co-authored-by: Dylan <1990016@gmail.com>
Co-authored-by: lzt404 <2596933790@qq.com>
2026-11-13 02:02:23 +08:00
..