- Refactored
@hazel/rivet-effectto strengthen Effect error channels and runtime boundaries. - Added typed SDK errors (
RuntimeExecutionError,QueueReceiveError,QueueUnavailableError,StatePersistenceError). - Standardized wrapper signatures (
Hook.effect,Action.effect) to explicit asyncPromisereturns. - Added safe wrappers (
Hook.try,Action.try) that normalize runtime failures. - Updated
@hazel/actorstoken validation integration to use explicitConfigErrorhandling (catchTag) instead of broad cause inspection. - Made JWKS loading lazy and config-aware to avoid runtime defects when auth config is incomplete.
- New test coverage for
packages/rivet-effectruntime/wrapper/queue behavior. - New
messageActor.createConnStatetests for invalid token, config-unavailable, bot token success, and JWT success paths. packages/rivet-effect/README.mdandpackages/rivet-effect/MIGRATION.mdwith upgrade guidance.