pub struct ClaudeConfig {
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 models_wait_ms: u64,
pub initialize_wait_ms: u64,
pub allowed_tools: Vec<String>,
pub denied_tools: Vec<String>,
}Expand description
Claude Code AgentHandler configuration.
Fields§
§executable: StringExecutable visible to the AI6-owned terminal environment.
json_line_bytes: u64Bytes of one line of Claude Code’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 Claude Code to have exited. Default 2000.
exit_wait_ms: u64Milliseconds the end of the output waits for Claude Code’s exit status. Default 1000.
models_wait_ms: u64Milliseconds a listing of the models an account may use waits for Claude Code to answer. Default 30000.
initialize_wait_ms: u64Milliseconds a starting Run waits for Claude Code to answer its initialize request.
Claude Code answers only after its SessionStart hooks have run, so a slow host or a
user with several hooks needs more. Default 30000.
allowed_tools: Vec<String>Claude Code permission rules added to the allow list of a Mission’s tools. A rule for a
tool the list keeps out (WebFetch(domain:example.com), or Bash at desk) offers that
tool and lifts its default denial. Each rule starts with a letter.
denied_tools: Vec<String>Permission rules added to the deny list; a deny rule beats an allow rule.
Trait Implementations§
Source§impl Clone for ClaudeConfig
impl Clone for ClaudeConfig
Source§impl Debug for ClaudeConfig
impl Debug for ClaudeConfig
Source§impl Default for ClaudeConfig
impl Default for ClaudeConfig
Source§impl FromValue for ClaudeConfig
impl FromValue for ClaudeConfig
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.