M3: Copilot device-flow, token exchange, provider

Adds the Copilot provider: device-flow login modal support, copilot_internal/v2/token exchange with a direct-Bearer fallback, and routing across the three codecs, per the dual-path mitigation noted for Copilot token variance.
This commit is contained in:
2026-07-10 16:19:59 +02:00
parent ab0269df1a
commit 8ed17bf091
5 changed files with 661 additions and 0 deletions
+2
View File
@@ -1,12 +1,14 @@
pub mod anthropic;
pub mod auth;
pub mod codec;
pub mod copilot;
pub mod modelsdev;
pub mod openai;
pub mod registry;
pub use anthropic::AnthropicProvider;
pub use auth::{AuthRecord, AuthStorage};
pub use copilot::CopilotProvider;
pub use modelsdev::ModelCatalog;
pub use openai::OpenAiProvider;
pub use registry::ProviderRegistry;