INNER CODE UNIT · Rust
DEFAULT_STDERR_LIMIT
xuzhougeng/wisp-science · crates/wisp-acp/src/lib.rs:36
const DEFAULT_STDERR_LIMIT: usize = 64 * 1024;
static PERMISSION_SEQUENCE: AtomicU64 = AtomicU64::new(1);
/// Non-secret command configuration for one installed ACP agent.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct AcpAgentProfile {
pub id: String,
pub label: String,
pub command: PathBuf,
pub args: Vec<String>,
pub env: BTreeMap<String, String>,
}
impl AcpAgentProfile {
pub fn new(
id: impl Into<String>,
label: impl Into<String>,
command: impl Into<PathBuf>,