@tanstack/ai 0.14.0 → 0.15.0

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/src/types.ts CHANGED
@@ -297,6 +297,7 @@ export interface ModelMessage<
297
297
  name?: string
298
298
  toolCalls?: Array<ToolCall>
299
299
  toolCallId?: string
300
+ thinking?: Array<{ content: string; signature?: string }>
300
301
  }
301
302
 
302
303
  /**
@@ -335,6 +336,8 @@ export interface ToolResultPart {
335
336
  export interface ThinkingPart {
336
337
  type: 'thinking'
337
338
  content: string
339
+ stepId?: string
340
+ signature?: string
338
341
  }
339
342
 
340
343
  export type MessagePart =
@@ -987,6 +990,8 @@ export interface StepFinishedEvent extends AGUIStepFinishedEvent {
987
990
  delta?: string
988
991
  /** Full accumulated thinking content (TanStack AI internal) */
989
992
  content?: string
993
+ /** Provider signature for the thinking block */
994
+ signature?: string
990
995
  }
991
996
 
992
997
  /**