Skip to main content

Module cli_executor

Module cli_executor 

Source

Structs§

CapturedOutput
One captured output: agent-supplied path + the proxy-side temp path the subprocess actually wrote to.
CredentialFile

Enums§

CliError

Constants§

DEFAULT_CLI_MAX_OUTPUT_BYTES
Default per-file cap on captured CLI output size (500 MB).

Functions§

apply_output_captures
Apply a provider’s output-capture rules to a flat arg list, producing a rewritten arg list (with temp paths in place of caller paths) plus a list of captures the proxy must read back after the subprocess exits.
execute
Execute a CLI provider tool as a subprocess.
execute_with_gen
Execute a CLI provider tool, optionally using a dynamic auth generator.
materialize_credential_file
Materialize a keyring secret as a file on disk with 0600 permissions.
resolve_cli_env
Resolve a provider’s cli_env map against the keyring.