pub struct Provision {
pub args: Vec<String>,
pub env: Vec<(String, String)>,
pub cleanup: Option<PathBuf>,
}Expand description
How a harness invocation is augmented to use a set of MCP servers — the
provision path (MCP_SKILLS.md §6). A provisioner writes whatever config the
CLI needs and returns the extra argv, the subprocess environment (carrying
secret tokens, kept out of the file via ${VAR} expansion), and a file to
clean up afterward.
Fields§
§args: Vec<String>§env: Vec<(String, String)>§cleanup: Option<PathBuf>Auto Trait Implementations§
impl Freeze for Provision
impl RefUnwindSafe for Provision
impl Send for Provision
impl Sync for Provision
impl Unpin for Provision
impl UnsafeUnpin for Provision
impl UnwindSafe for Provision
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more