atagen

roundabout

public
Star0
Watch0
ecc1cf8df0f5b88c6bf2cd07254c98d13827cd26
1
ssh://brewery@pls.lobotomise.me:33/atagen/roundabout.git

Blame: nix/hooks.nix

052a1a49371catagen2026-09-27 03:59 UTC1
{ lib, roundabout }:
052a1a49371catagen2026-09-27 03:59 UTC2
052a1a49371catagen2026-09-27 03:59 UTC3
let
052a1a49371catagen2026-09-27 03:59 UTC4
  hook = event: {
052a1a49371catagen2026-09-27 03:59 UTC5
    type = "command";
052a1a49371catagen2026-09-27 03:59 UTC6
    command = "${lib.getExe roundabout} hook ${event}";
052a1a49371catagen2026-09-27 03:59 UTC7
  };
052a1a49371catagen2026-09-27 03:59 UTC8
in
052a1a49371catagen2026-09-27 03:59 UTC9
{
052a1a49371catagen2026-09-27 03:59 UTC10
  PreToolUse = [
052a1a49371catagen2026-09-27 03:59 UTC11
    {
052a1a49371catagen2026-09-27 03:59 UTC12
      matcher = "Bash";
052a1a49371catagen2026-09-27 03:59 UTC13
      hooks = [ (hook "pre-tool-use") ];
052a1a49371catagen2026-09-27 03:59 UTC14
    }
052a1a49371catagen2026-09-27 03:59 UTC15
  ];
052a1a49371catagen2026-09-27 03:59 UTC16
  PostToolUse = [ { hooks = [ (hook "post-tool-use") ]; } ];
052a1a49371catagen2026-09-27 03:59 UTC17
  UserPromptSubmit = [ { hooks = [ (hook "prompt-submit") ]; } ];
052a1a49371catagen2026-09-27 03:59 UTC18
  Stop = [ { hooks = [ (hook "stop") ]; } ];
052a1a49371catagen2026-09-27 03:59 UTC19
  SubagentStop = [ { hooks = [ (hook "subagent-stop") ]; } ];
ecc1cf8df0f5atagen2026-09-27 13:36 UTC20
  SessionEnd = [ { hooks = [ (hook "session-end") ]; } ];
052a1a49371catagen2026-09-27 03:59 UTC21
}