Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
2 folders · 5 files
README.md
# albedo_ext_hooks
`albedo_ext_hooks` runs configured command hooks for prompts, tool calls, and
turn completion.
- [`extension`](src/albedo_ext_hooks.gleam) returns the extension declaration.
- [`extension.gleam`](src/albedo_ext_hooks/extension.gleam) contributes a
`HookPlugin` that reads `$ALBEDO_HOME/hooks.json`.
- It maps SDK hook events to `UserPromptSubmit`, `PreToolUse`, `PostToolUse`,
and `Stop`, then merges command verdicts.
- The [command runner](../../python/albedo_hook_command.py) executes the
configured hook commands.
See [the hooks reference](../../robot-docs/hooks.md).