pub enum ProviderKind {
Grok,
KimiCode,
ClaudeCode,
Codex,
Cursor,
}Expand description
Agent vendors the stack drives. Ids match the gate4agent catalog /
adapter ids (grok, kimi, claude, codex, cursor).
Variants§
Grok
xAI Grok.
KimiCode
Kimi Code.
ClaudeCode
Claude Code.
Codex
OpenAI Codex.
Cursor
Cursor: the vendor-hosted web agents (Grok Bot boxes) and the
optional Linux-only cursor-agent CLI.
Implementations§
Source§impl ProviderKind
impl ProviderKind
Sourcepub const CORE: [ProviderKind; 4]
pub const CORE: [ProviderKind; 4]
The core four, Grok first.
Sourcepub const ALL: [ProviderKind; 5]
pub const ALL: [ProviderKind; 5]
Every provider, including the optional Cursor CLI.
Sourcepub fn is_optional(self) -> bool
pub fn is_optional(self) -> bool
true for the optional fifth CLI provider.
Sourcepub fn from_env() -> Result<Self, WakeError>
pub fn from_env() -> Result<Self, WakeError>
Reads PROVIDER_ENV. Unset means Grok.
Trait Implementations§
Source§impl Clone for ProviderKind
impl Clone for ProviderKind
impl Copy for ProviderKind
Source§impl Debug for ProviderKind
impl Debug for ProviderKind
Source§impl Display for ProviderKind
impl Display for ProviderKind
impl Eq for ProviderKind
Source§impl Hash for ProviderKind
impl Hash for ProviderKind
Source§impl PartialEq for ProviderKind
impl PartialEq for ProviderKind
impl StructuralPartialEq for ProviderKind
Auto Trait Implementations§
impl Freeze for ProviderKind
impl RefUnwindSafe for ProviderKind
impl Send for ProviderKind
impl Sync for ProviderKind
impl Unpin for ProviderKind
impl UnsafeUnpin for ProviderKind
impl UnwindSafe for ProviderKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.