Helper type to infer the context schema type from a middleware
InferMiddlewareContext: T extends AgentMiddleware<
any,
TContextSchema,
any,
any
> TContextSchema extends InteropZodObject InferInteropZodInput<TContextSchema> : __type : __type