pub struct ClaudeRoutineFireAdapter {
pub url: Option<String>,
pub bearer: Option<String>,
}Expand description
Claude Code on the web, LAST resort: routine /fire
(POST https://api.anthropic.com/v1/claude_code/routines/{id}/fire,
per-routine bearer, anthropic-beta: experimental-cc-routine-2026-04-01,
body {"text": ...}). Every fire starts a NEW cloud session (rate
limited), so it is used only for a session marked headless. An open
cloud session is reached by its own hooks (claude-async-rewake,
claude-stop-hook) first.
Fields§
§url: Option<String>Fire URL. In memory only.
bearer: Option<String>Routine token. In memory only.
Trait Implementations§
Source§impl WakeAdapter for ClaudeRoutineFireAdapter
impl WakeAdapter for ClaudeRoutineFireAdapter
Source§fn kind(&self) -> SessionKind
fn kind(&self) -> SessionKind
Session kind this adapter wakes.
Source§fn probe(&self, session: &ProviderSession) -> Result<(), WakeError>
fn probe(&self, session: &ProviderSession) -> Result<(), WakeError>
Cheap readiness check (socket exists, server configured, routine
key present). Called before register and on every full drive.
Source§fn wake(
&mut self,
session: &ProviderSession,
letter: &WakeLetter<'_>,
) -> Result<WakeOutcome, WakeError>
fn wake( &mut self, session: &ProviderSession, letter: &WakeLetter<'_>, ) -> Result<WakeOutcome, WakeError>
Puts one letter in front of the session.
Auto Trait Implementations§
impl Freeze for ClaudeRoutineFireAdapter
impl RefUnwindSafe for ClaudeRoutineFireAdapter
impl Send for ClaudeRoutineFireAdapter
impl Sync for ClaudeRoutineFireAdapter
impl Unpin for ClaudeRoutineFireAdapter
impl UnsafeUnpin for ClaudeRoutineFireAdapter
impl UnwindSafe for ClaudeRoutineFireAdapter
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