You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add typed context injection for interceptors (.provides/.requires)
Interceptors can now inject strongly-typed context into the pipeline via
.provides<T>() and declare context dependencies via .requires<T>().
Context flows through start-phase next({ context }) and merges with
user-defined context in action handlers. Compile-time rejection when
required context is not satisfied.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add typed context injection for interceptors. Interceptors can declare provided context via `.provides<T>()` and required context via `.requires<T>()` on `defineInterceptor()`. Action handlers see the full merged context type. `.intercept()` rejects interceptors whose required context is not satisfied at compile time.
0 commit comments