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

Function hook

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

Source from the content-addressed store, hash-verified

609}
610
611fn hook(env: &Env, cwd: &Path, verb: &str, payload: Value) -> Output {
612 env.run_with_stdin(
613 cwd,
614 &["agent", "hooks", "sherpa", verb],
615 Some(&payload.to_string()),
616 )
617}
618
619/// The path outpost's VMs depend on: an agent's turn in a remote sandbox
620/// 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