pub struct Harness {Show 15 fields
pub id: String,
pub program: PathBuf,
pub args: Vec<String>,
pub cwd: Option<PathBuf>,
pub session: Option<String>,
pub prompt_queue: usize,
pub content_bytes: usize,
pub acp_frame_bytes: usize,
pub pending_permissions: usize,
pub write_queue: usize,
pub read_queue: usize,
pub stream_queue: usize,
pub issuer_response_bytes: usize,
pub listed_sessions: usize,
pub title_chars: usize,
}Expand description
A launch declaration and its positive resource bounds. No field grants permission.
Fields§
§id: StringOne catalogue id; cdx uses channel wake instead of this host.
program: PathBufThe executable, resolved at launch without searching the current directory.
args: Vec<String>Arguments passed without a shell. They never enter diagnostics.
cwd: Option<PathBuf>Session root; absent inherits the directory selected by the Lys launch profile.
session: Option<String>A prior session explicitly requested for resume, never silently replaced.
prompt_queue: usizeUnread prompts; 32 is one seat’s unread mail, not a durable mailbox.
content_bytes: usizeText bytes per stream item and prompt; 64 KiB covers one model turn, not a file transfer.
acp_frame_bytes: usizeACP frame bytes; 256 KiB admits tool metadata without permitting an unbounded pipe allocation.
pending_permissions: usizeHeld permissions; 1024 admits the 729-request pipe contract while bounding approval memory.
write_queue: usizePipe responses awaiting write; 2048 covers a permission burst without blocking stdout reads.
read_queue: usizeFrames awaiting dispatch; one prevents raw tool frames from becoming a second transcript.
stream_queue: usizeStream publications awaiting the network; 128 limits memory when a watcher is slow.
issuer_response_bytes: usizeIssuer response bytes; 64 KiB admits structured refusals without retaining arbitrary bodies.
listed_sessions: usizeConversations one history listing names, newest first; 50 fills the panel’s list
while one stream item stays within content_bytes.
title_chars: usizeCharacters kept of each listed title; 120 is one line of the panel’s list.