opencode_provider_manager/auth/mod.rs
1//! auth: Read-only access to OpenCode's auth.json for API key status display.
2//!
3//! OpenCode stores credentials in ~/.local/share/opencode/auth.json
4//! with the format: { "provider_id": { "type": "api", "key": "sk-..." } }
5
6pub mod error;
7pub mod parser;
8pub mod status;
9
10pub use error::{AuthError, Result};
11pub use status::ProviderAuthStatus;
12pub use status::provider_env_var;