CursorCliSdk.Configuration (CursorCliSdk v0.1.0)

Copy Markdown View Source

Numeric runtime defaults for Cursor CLI SDK streams and helper commands.

Summary

Functions

Returns all Cursor SDK configuration keys and current values.

Returns configured command_timeout_ms; defaults to 60000.

Returns configured default_timeout_ms; defaults to 300000.

Returns configured max_inflight_headless; defaults to 4.

Returns configured max_stderr_buffer_size; defaults to 262144.

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_kill_grace_ms; defaults to 250.

Functions

all()

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

Returns all Cursor SDK configuration keys and current values.

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.

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.

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_kill_grace_ms()

@spec transport_kill_grace_ms() :: pos_integer()

Returns configured transport_kill_grace_ms; defaults to 250.