Skip to content

v0.2.0 — StopFailure hook and session-name refactor

Choose a tag to compare

@DokaDev DokaDev released this 11 Apr 13:43
· 2 commits to main since this release

Changes

  • New StopFailure hook (hooks/notify-fail.sh) surfaces turn terminations caused by API errors. The error_type field is mapped to a short body: Rate limited, Auth failed, Billing issue, Invalid request, Server error, Output truncated, or Turn failed for anything unrecognised
  • Internal refactor: session-name resolution moved out of the three hook scripts and into a shared hooks/lib/session-name.sh library. No behavioural change — purely deduplication at the rule-of-three boundary

Closes #2.