CLI reference
euthyne hook
Called by the agent harness to sign a receipt.
Coming soon
Planned command. Not released yet.
euthyne hook codexYou do not run this yourself. init registers it with Claude Code and Codex, and the harness calls it on each hook event.
On each call it:
- Reads the hook event.
- Computes the content commitments.
- Signs a receipt with the session key.
- Writes it to the local queue and exits.
It never touches the network, so it does not slow the agent down waiting on a server. If no upload is running, it starts sync in the background.
The hook command line stays the same across upgrades. Codex pins a trusted hook to a hash of its definition, so a changed command would need your trust again.