pub struct AntigravityConfig {Show 16 fields
pub executable: String,
pub json_line_bytes: u64,
pub csi_bytes: u64,
pub tail_lines: u64,
pub tail_line_bytes: u64,
pub close_wait_ms: u64,
pub exit_wait_ms: u64,
pub context_file_bytes: u64,
pub gate_timeout_secs: u64,
pub mcp_timeout_secs: i64,
pub usage_wait_ms: u64,
pub allowed_tools: Vec<String>,
pub denied_tools: Vec<String>,
pub settings: AgySettingsExtras,
pub auto_update: bool,
pub limit_phrases: Vec<String>,
}Expand description
Antigravity CLI AgentHandler configuration.
Fields§
§executable: StringExecutable visible to the AI6-owned terminal environment.
json_line_bytes: u64Bytes of one line of agy’s output the Run holds before handing over what it has. Default 67108864 (64 MiB).
csi_bytes: u64Bytes of one terminal control sequence before it is dropped. Default 64.
tail_lines: u64How many of the last non-JSON lines a failed Run quotes. Default 8.
tail_line_bytes: u64Bytes of each of those lines a failed Run quotes. Default 512.
close_wait_ms: u64Milliseconds a closing Run waits for agy to have exited. Default 2000.
exit_wait_ms: u64Milliseconds the end of the output waits for agy’s exit status. Default 1000.
context_file_bytes: u64Bytes of an assistant’s context file read into the Run’s system prompt; a larger file is refused. Default 1048576.
gate_timeout_secs: u64Seconds agy gives the green ink hook on each command; a hook past it holds the command. Default 60.
mcp_timeout_secs: i64agy’s timeoutSeconds for AI6’s MCP servers: positive replaces its limits, negative turns
them off, and 0 leaves its own, 300 s to connect and 180 s for a call. Default 0.
usage_wait_ms: u64Milliseconds a read of the account’s quota with no Run running may take, counting the
private agy acp it starts: agy serves the quota a few seconds after a run opens.
Default 20000.
allowed_tools: Vec<String>agy permission rules (command(git), read_url(*)) added to the allow list, or the names
of tools added to what a Mission’s Run is offered (search_web). Answer-only and
assistant Runs ignore them.
denied_tools: Vec<String>agy permission rules added to the deny list, or the names of tools taken out of what a Mission’s Run is offered; a deny rule beats an allow rule.
settings: AgySettingsExtrasFurther settings.json keys for this Run’s --settings (modelProvider), never those
that decide what a Run may do.
auto_update: boolLets agy update itself while a Run starts; off by default, so that a Run runs the CLI its fixtures were recorded from until an operator updates it.
limit_phrases: Vec<String>What marks a failed turn as a quota limit, found in its error without regard to case.
Trait Implementations§
Source§impl Clone for AntigravityConfig
impl Clone for AntigravityConfig
Source§impl Debug for AntigravityConfig
impl Debug for AntigravityConfig
Source§impl Default for AntigravityConfig
impl Default for AntigravityConfig
Source§impl FromValue for AntigravityConfig
impl FromValue for AntigravityConfig
Source§const KINDS: Kinds = ::ai6::guatiao::Kinds::MAP
const KINDS: Kinds = ::ai6::guatiao::Kinds::MAP
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.