@tanstack/ai 0.52.1 → 0.52.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/ai",
3
- "version": "0.52.1",
3
+ "version": "0.52.2",
4
4
  "description": "Type-safe TypeScript AI SDK for streaming chat, tool calling, agents, structured outputs, and multimodal generation.",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -623,12 +623,12 @@ export function createChatOptions<
623
623
  TStream,
624
624
  InferredContext<TTools, TMiddleware>
625
625
  >,
626
- 'tools' | 'middleware' | 'interrupts'
626
+ 'tools' | 'middleware' | 'interrupts' | 'context'
627
627
  > & {
628
628
  tools?: TTools
629
629
  interrupts?: TInterrupts
630
630
  middleware?: ExactMiddlewareOption<TTools, TContext, TInterrupts, TMiddleware>
631
- } {
631
+ } & RuntimeContextOption<TTools, TMiddleware, TContext> {
632
632
  return options
633
633
  }
634
634