Expand description
Internal wire-format helpers exposed for sibling crates that
need to talk to the in-guest agent directly (specifically the
napi binding in npm/supermachine-core/). The action JSON shape
these support is internal — outside embedders should prefer
Vm::write_file / Vm::read_file / Vm::exec which call
these for you.
Re-exports§
pub use crate::exec::send_control_with_ack;
Functions§
- b64_
decode - Public counterpart to
b64_encode. Same shape, same caveat. - b64_
encode - Public so the napi binding can encode bytes for the agent’s
write_fileaction JSON without re-implementing this. The shape is internal — embedders outside this workspace should stick tocrate::Vm::write_file/crate::Vm::read_filewhich call into this for you.