pub struct ExternalProcessTransport {Show 13 fields
pub command: Option<String>,
pub interpreter: Option<String>,
pub sha256: Option<String>,
pub binary_url: Option<String>,
pub health_url: Option<String>,
pub args: Vec<String>,
pub cwd: Option<PathBuf>,
pub env: BTreeMap<String, String>,
pub restart: RestartPolicy,
pub max_restarts: u32,
pub backoff_secs: u64,
pub auto_start: bool,
pub token: String,
}Fields§
§command: Option<String>§interpreter: Option<String>Optional bare interpreter name ("node", "python3",
"deno", …) resolved against the consumer’s $PATH at
install time (Parslee-ai/car#182 phase 5). A registry
publisher cannot know the consumer’s absolute interpreter
path — it moves across nvm / fnm / Homebrew / Volta — so a
portable manifest sets interpreter instead of command.
At install, to_agent_spec resolves the name to an absolute
path via the supervisor’s resolve_interpreter (which runs
the same validate_command gate as a bare command, so a
PATH-injection or /tmp-parked interpreter is still
rejected). Mutually exclusive with command: set exactly one.
This is the only opt-in to PATH resolution — a bare command
still requires an absolute path.
sha256: Option<String>§binary_url: Option<String>Optional https:// URL the publisher hosts the binary at.
When present, car install fetches the binary from this
URL, verifies the digest against sha256, and writes the
resulting file at the local command path before adoption
(Parslee-ai/car#182 phase 5). Mutually exclusive with
health_url. Locally-developed manifests can leave this
unset and ship command pointing at a binary the
developer placed there manually.
health_url: Option<String>§args: Vec<String>§cwd: Option<PathBuf>§env: BTreeMap<String, String>§restart: RestartPolicy§max_restarts: u32§backoff_secs: u64§auto_start: bool§token: StringTrait Implementations§
Source§impl Clone for ExternalProcessTransport
impl Clone for ExternalProcessTransport
Source§fn clone(&self) -> ExternalProcessTransport
fn clone(&self) -> ExternalProcessTransport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more