Skip to content

v0.1.20 — Fix permission modal hanging and ZodError

Choose a tag to compare

@richardbowman richardbowman released this 07 May 21:26
· 859 commits to main since this release

Two fixes for the permission dialog:\n- Pressing Escape or clicking outside the modal now correctly denies the request (previously the promise hung forever, eventually causing a ZodError in the SDK)\n- canUseTool callback is now wrapped in try/catch so any error results in a clean deny instead of an unhandled rejection