Files
CLIProxyAPI/internal/pluginhost
Luis Pater 5bfae62919 feat(plugin): support credential-scoped after-auth request termination
- Add TerminateScope to plugin and executor after-auth interceptor responses so plugins can refuse a single selected credential with exact scope "credential" while keeping request-scoped termination as default.
- Exclude refused credentials for the remainder of the request across normal, count, streaming, Home dispatch, retry rounds, and Antigravity credits fallback without mutating shared cooldown state.
- Preserve real upstream error precedence over plugin credential refusals and plugin refusal precedence over local non-upstream errors, with regression tests across pluginhost, handlers, and auth conductor paths.

Closes: #7656
2026-11-19 23:59:02 +08:00
..
2026-09-27 14:42:26 +08:00