Documentation
¶
Overview ¶
Package hook is `stagent hook <harness> [event] [json]`, the command harness hooks run. It forwards the hook payload to the daemon and prints nothing but the answer that decides nothing, for a harness that reads one (hookHarness.output): approvals are answered on the program's own screen. It never breaks a harness: every path exits 0 and the daemon is never started from here. Waiting is bounded except for claude's PermissionRequest, which the daemon holds until its approval closes (the session's holder saw the prompt leave the screen, or claude stopped the hook, or the turn ended).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.