Skip to content

v0.150.0

Choose a tag to compare

@nstfkc nstfkc released this 19 Oct 01:23
· 333 commits to main since this release

Features

  • Shared AgentController hooks (#989, #991). Define hooks once with defineAgentHooks<Body>({ ... }) and assign them with hooks = sharedHooks on each controller that extends AgentController, without an app-level base class. Resolution order: the controller's own method, then the hook, then gemi's default; an override can call super.x() to run the shared hook too. Per-turn state between hooks goes on req.state. See docs/ai-controller-hooks.md.

Upgrade notes

  • No behaviour change: controllers without hooks work as before.