pub struct AntigravityRecognizer;Expand description
Recognizer for the agy (Antigravity CLI, Gemini) TUI. Best-effort.
Unlike claude/codex (Ink, alt-screen + in-place redraw), agy renders in
append mode inside winx’s PTY: spent Generating… / esc to cancel frames
ghost into later screens and are never cleared. We therefore lead with the
idle hint ? for shortcuts, which only sits at the bottom of the screen
when input is actually ready — a busy turn pushes it out of the tail — and
only then fall back to the busy markers. Markers verified against a real
agy 1.0.8 (Gemini 3.5 Flash) session captured through winx.
Deliberately NOT part of AutoRecognizer: its markers (esc to cancel,
generating) are generic enough to pollute claude/codex detection, so it is
opt-in only via the agy/antigravity hint — mirroring GenericRecognizer.
Trait Implementations§
Source§impl TurnRecognizer for AntigravityRecognizer
impl TurnRecognizer for AntigravityRecognizer
Source§fn detect_input(&self, input: &TurnInput<'_>) -> TurnState
fn detect_input(&self, input: &TurnInput<'_>) -> TurnState
Auto Trait Implementations§
impl Freeze for AntigravityRecognizer
impl RefUnwindSafe for AntigravityRecognizer
impl Send for AntigravityRecognizer
impl Sync for AntigravityRecognizer
impl Unpin for AntigravityRecognizer
impl UnsafeUnpin for AntigravityRecognizer
impl UnwindSafe for AntigravityRecognizer
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more