Skip to main content

AntigravityConfig

Struct AntigravityConfig 

Source
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: String

Executable visible to the AI6-owned terminal environment.

§json_line_bytes: u64

Bytes of one line of agy’s output the Run holds before handing over what it has. Default 67108864 (64 MiB).

§csi_bytes: u64

Bytes of one terminal control sequence before it is dropped. Default 64.

§tail_lines: u64

How many of the last non-JSON lines a failed Run quotes. Default 8.

§tail_line_bytes: u64

Bytes of each of those lines a failed Run quotes. Default 512.

§close_wait_ms: u64

Milliseconds a closing Run waits for agy to have exited. Default 2000.

§exit_wait_ms: u64

Milliseconds the end of the output waits for agy’s exit status. Default 1000.

§context_file_bytes: u64

Bytes of an assistant’s context file read into the Run’s system prompt; a larger file is refused. Default 1048576.

§gate_timeout_secs: u64

Seconds agy gives the green ink hook on each command; a hook past it holds the command. Default 60.

§mcp_timeout_secs: i64

agy’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: u64

Milliseconds 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: AgySettingsExtras

Further settings.json keys for this Run’s --settings (modelProvider), never those that decide what a Run may do.

§auto_update: bool

Lets 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

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AntigravityConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for AntigravityConfig

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl FromValue for AntigravityConfig

Source§

const KINDS: Kinds = ::ai6::guatiao::Kinds::MAP

The kinds 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.
Source§

fn from_value(__value: &Value) -> Result<Self, MapError>

Performs the conversion. Read more
Source§

impl FromWalk for AntigravityConfig

Source§

fn from_walk<__W: Walker>(__walker: __W) -> Result<Self, MapError>

Reads Self from the one value walker holds.
Source§

impl MapRead for AntigravityConfig

Source§

fn read_map<__M: MapWalker>(__entries: __M) -> Result<Self, MapError>

Reads every entry.
Source§

impl Schema for AntigravityConfig

Source§

fn kind(__alloc: Alloc) -> KindBuilder

The kind describing values of this type.
§

fn schema_in(alloc: Alloc) -> Result<Value, ValueError>

The whole schema: the fields a consumer fills in, as a root document with its dialect declared. Read more
§

fn schema() -> Result<Value, ValueError>

The whole schema, built through the crate’s own allocator. See schema_in.
Source§

impl ToValue for AntigravityConfig

Source§

fn to_value_in(&self, __alloc: Alloc) -> Result<Value, ValueError>

Performs the conversion through alloc. A derived struct produces a map.
§

fn to_value(&self) -> Result<Value, ValueError>

Performs the conversion through the crate’s own allocator.
Source§

impl TryFrom<AntigravityConfig> for AntigravityHandler

Source§

type Error = ProviderError

The type returned in the event of a conversion error.
Source§

fn try_from(config: AntigravityConfig) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Walk for AntigravityConfig

Source§

fn walk<__V: Visitor>(&self, __visitor: __V) -> Result<__V::Ok, __V::Error>

Hands this value to visitor: one call for a scalar; for a list or a map, the call that opens it, then each element, then end.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for T
where T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
§

impl<A, B, T> HttpServerConnExec<A, B> for T
where B: Body,

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> IntoMaybeUndefined<T> for T

§

fn into_maybe_undefined(self) -> MaybeUndefined<T>

Converts this value into a three-state builder argument.
§

impl<T> IntoOption<T> for T

§

fn into_option(self) -> Option<T>

Converts this value into an optional builder argument.
§

impl<T> NoneValue for T
where T: Default,

§

type NoneType = T

§

fn null_value() -> T

The none-equivalent value.
§

impl<T> NoneValue for T
where T: Default,

§

type NoneType = T

The type of the none-equivalent value that [NoneValue::null_value] produces.
§

fn null_value() -> T

The none-equivalent value.
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more