AntigravityCliSdk.Configuration (AntigravityCliSdk v0.2.0)

Copy Markdown View Source

Runtime defaults for Antigravity CLI SDK execution.

These values are read from application configuration so callers can configure them per environment without direct OS environment reads in library code.

Summary

Functions

Returns all numeric SDK configuration keys and current values.

Returns the configured default Antigravity CLI path, if any.

Returns configured command_timeout_ms; defaults to 60000.

Returns configured default_timeout_ms; defaults to 300000.

Returns the configured default Antigravity log file, if any.

Returns configured max_inflight_headless; defaults to 4.

Returns configured max_stderr_buffer_size; defaults to 262144.

Returns the configured default Antigravity model, if any.

Returns configured run_deadline_ms; defaults to 300000.

Returns configured spawn_stagger_ms; defaults to 75.

Returns configured stream_timeout_ms; defaults to 300000.

Returns configured transport_close_grace_ms; defaults to 2000.

Returns configured transport_headless_timeout_ms; defaults to 5000.

Returns configured transport_kill_grace_ms; defaults to 250.

Functions

all()

@spec all() :: keyword(pos_integer())

Returns all numeric SDK configuration keys and current values.

cli_path()

@spec cli_path() :: String.t() | nil

Returns the configured default Antigravity CLI path, if any.

command_timeout_ms()

@spec command_timeout_ms() :: pos_integer()

Returns configured command_timeout_ms; defaults to 60000.

default_timeout_ms()

@spec default_timeout_ms() :: pos_integer()

Returns configured default_timeout_ms; defaults to 300000.

log_file()

@spec log_file() :: String.t() | nil

Returns the configured default Antigravity log file, if any.

max_inflight_headless()

@spec max_inflight_headless() :: pos_integer()

Returns configured max_inflight_headless; defaults to 4.

max_stderr_buffer_size()

@spec max_stderr_buffer_size() :: pos_integer()

Returns configured max_stderr_buffer_size; defaults to 262144.

model()

@spec model() :: String.t() | nil

Returns the configured default Antigravity model, if any.

run_deadline_ms()

@spec run_deadline_ms() :: pos_integer()

Returns configured run_deadline_ms; defaults to 300000.

spawn_stagger_ms()

@spec spawn_stagger_ms() :: pos_integer()

Returns configured spawn_stagger_ms; defaults to 75.

stream_timeout_ms()

@spec stream_timeout_ms() :: pos_integer()

Returns configured stream_timeout_ms; defaults to 300000.

transport_close_grace_ms()

@spec transport_close_grace_ms() :: pos_integer()

Returns configured transport_close_grace_ms; defaults to 2000.

transport_headless_timeout_ms()

@spec transport_headless_timeout_ms() :: pos_integer()

Returns configured transport_headless_timeout_ms; defaults to 5000.

transport_kill_grace_ms()

@spec transport_kill_grace_ms() :: pos_integer()

Returns configured transport_kill_grace_ms; defaults to 250.