pub struct AntigravityDriver;Expand description
The modular driver for Antigravity (agy): the stream-json launch with the
reviewed argv, prompt delegation to the Claude-style renderer (D-05), and
the Antigravity completion parser.
Trait Implementations§
Source§impl AgentDriver for AntigravityDriver
impl AgentDriver for AntigravityDriver
Source§fn build_command(
&self,
_phase: PhaseId,
_prompt: &str,
_extra_writable_roots: &[PathBuf],
) -> (&'static str, Vec<String>)
fn build_command( &self, _phase: PhaseId, _prompt: &str, _extra_writable_roots: &[PathBuf], ) -> (&'static str, Vec<String>)
Build the headless stream-json launch (D-02/F3, round 3).
Exact argv — do not “improve” it without re-deriving against a live
CLI. No -p (Go-flag string flag, D-02), no
--dangerously-skip-permissions (the agy wrapper injects it, D-01),
no prompt in argv (stdin is the transport, D-02), and
--print-timeout 60m explicitly above the 5m default (F3). The
prompt/phase parameters are kept for the shared AgentDriver
shape; they are unused here on purpose.
Source§fn parse_completion(&self, output: &str) -> Option<AgentResult>
fn parse_completion(&self, output: &str) -> Option<AgentResult>
Delegate completion parsing to the Antigravity stream parser
(D-03/round-3): marker from result.response, ERROR envelope decisive,
marker-less -> None (Layer 2 owns it).
Source§fn render_prompt(&self, intent: &StageIntent) -> String
fn render_prompt(&self, intent: &StageIntent) -> String
crate::prompt::StageIntent.Source§fn capabilities(&self) -> DriverCapabilities
fn capabilities(&self) -> DriverCapabilities
Source§fn health(&self, _state: &State) -> Result<(), String>
fn health(&self, _state: &State) -> Result<(), String>
Source§fn environment(&self) -> Vec<(String, String)>
fn environment(&self) -> Vec<(String, String)>
Source§fn sandbox_requirements(&self) -> SandboxRequirements
fn sandbox_requirements(&self) -> SandboxRequirements
Source§fn discover(&self) -> Result<(), String>
fn discover(&self) -> Result<(), String>
codex features list).Source§fn test_contract(&self) -> Vec<ContractResult>
fn test_contract(&self) -> Vec<ContractResult>
Source§fn interactivity_mode(&self, _stage: Stage) -> InteractivityMode
fn interactivity_mode(&self, _stage: Stage) -> InteractivityMode
stage headless.Source§fn workflow_root(&self) -> String
fn workflow_root(&self) -> String
Source§fn health_classification(&self, state: &State) -> DriverHealth
fn health_classification(&self, state: &State) -> DriverHealth
AgentDriver::health
mapped onto the richer DriverHealth).