@tanstack/ai 0.22.0 → 0.22.1

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.
@@ -113,6 +113,7 @@ class TextEngine {
113
113
  this.middlewareCtx = {
114
114
  requestId: this.requestId,
115
115
  streamId: this.streamId,
116
+ runId: this.runIdOverride ?? this.requestId,
116
117
  threadId: this.threadId,
117
118
  // Legacy alias kept on the ctx so middleware that reads
118
119
  // `ctx.conversationId` keeps working. Always equals `threadId`.