MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / hook

Function hook

atomic-cli/tests/it/remote_sandbox_client_test.rs:614–620  ·  view source on GitHub ↗
(env: &Env, cwd: &Path, verb: &str, payload: Value)

Source from the content-addressed store, hash-verified

612}
613
614fn hook(env: &Env, cwd: &Path, verb: &str, payload: Value) -> Output {
615 env.run_with_stdin(
616 cwd,
617 &["agent", "hooks", "sherpa", verb],
618 Some(&payload.to_string()),
619 )
620}
621
622/// The path outpost's VMs depend on: an agent's turn in a remote sandbox
623/// lands its change on the view through SubmitChange, and its provenance in

Calls 1

run_with_stdinMethod · 0.80

Tested by

no test coverage detected