@mastra/client-js 1.56.0-alpha.1 → 1.56.0-alpha.11

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.
Files changed (48) hide show
  1. package/dist/client.d.ts +3 -3
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/docs/SKILL.md +2 -2
  4. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  5. package/dist/docs/references/docs-harness-agent-controller.md +11 -14
  6. package/dist/docs/references/docs-harness-schedules.md +8 -6
  7. package/dist/docs/references/docs-harness-signals.md +3 -1
  8. package/dist/docs/references/reference-client-js-agent-controller.md +15 -3
  9. package/dist/docs/references/reference-client-js-agents.md +20 -0
  10. package/dist/docs/references/reference-client-js-mastra-client.md +1 -1
  11. package/dist/docs/references/reference-client-js-observability.md +124 -9
  12. package/dist/docs/references/{reference-observability-tracing-trace-query.md → reference-observability-tracing-advanced-queries.md} +486 -158
  13. package/dist/index.cjs +913 -118
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.js +906 -111
  16. package/dist/index.js.map +1 -1
  17. package/dist/resources/agent-controller.d.ts +36 -26
  18. package/dist/resources/agent-controller.d.ts.map +1 -1
  19. package/dist/resources/agent.d.ts +54 -6
  20. package/dist/resources/agent.d.ts.map +1 -1
  21. package/dist/resources/base.d.ts.map +1 -1
  22. package/dist/resources/observability.d.ts +9 -7
  23. package/dist/resources/observability.d.ts.map +1 -1
  24. package/dist/route-types.generated.d.ts +711 -596
  25. package/dist/route-types.generated.d.ts.map +1 -1
  26. package/dist/types.d.ts +9 -9
  27. package/dist/types.d.ts.map +1 -1
  28. package/dist/utils/ai-sdk-v4/data-stream-parts.d.ts +89 -0
  29. package/dist/utils/ai-sdk-v4/data-stream-parts.d.ts.map +1 -0
  30. package/dist/utils/ai-sdk-v4/fix-json.d.ts +2 -0
  31. package/dist/utils/ai-sdk-v4/fix-json.d.ts.map +1 -0
  32. package/dist/utils/ai-sdk-v4/index.d.ts +5 -0
  33. package/dist/utils/ai-sdk-v4/index.d.ts.map +1 -0
  34. package/dist/utils/ai-sdk-v4/parse-partial-json.d.ts +6 -0
  35. package/dist/utils/ai-sdk-v4/parse-partial-json.d.ts.map +1 -0
  36. package/dist/utils/ai-sdk-v4/process-data-stream.d.ts +53 -0
  37. package/dist/utils/ai-sdk-v4/process-data-stream.d.ts.map +1 -0
  38. package/dist/utils/ai-sdk-v4/types.d.ts +93 -0
  39. package/dist/utils/ai-sdk-v4/types.d.ts.map +1 -0
  40. package/dist/utils/index.d.ts +7 -0
  41. package/dist/utils/index.d.ts.map +1 -1
  42. package/package.json +9 -11
  43. package/dist/_types/@ai-sdk_provider/dist/index.d.ts +0 -1587
  44. package/dist/_types/@ai-sdk_provider/package.json +0 -1
  45. package/dist/_types/@ai-sdk_provider-utils/dist/index.d.ts +0 -379
  46. package/dist/_types/@ai-sdk_provider-utils/package.json +0 -1
  47. package/dist/_types/@ai-sdk_ui-utils/dist/index.d.ts +0 -820
  48. package/dist/_types/@ai-sdk_ui-utils/package.json +0 -1
package/dist/client.d.ts CHANGED
@@ -52,7 +52,7 @@ export declare class MastraClient extends BaseResource {
52
52
  listAgentControllers(): Promise<AgentControllerInfo[]>;
53
53
  /**
54
54
  * Scopes to an agent controller hosted on the connected Mastra instance. Use
55
- * `getAgentController(id).session(resourceId)` to create/resume a session,
55
+ * `getAgentController(id).session(sessionId)` to create/resume a session,
56
56
  * stream its events, and send messages.
57
57
  * @param controllerId - The id the agent controller is registered under on Mastra
58
58
  */
@@ -386,8 +386,8 @@ export declare class MastraClient extends BaseResource {
386
386
  getTraceQueryValues(params: GetTraceQueryValuesArgs, options?: {
387
387
  signal?: AbortSignal;
388
388
  }): Promise<GetTraceQueryValuesResponse>;
389
- /** Queries thread identities using eligible-trace and cross-trace predicates. */
390
- queryTraceThreads(params: QueryTraceThreadsInput): Promise<QueryTraceThreadsResult>;
389
+ /** Queries full-history thread rows using a trace or thread activity window. */
390
+ queryTraceThreads<T extends QueryTraceThreadsInput>(params: T): Promise<QueryTraceThreadsResult<T>>;
391
391
  /** Queries completed spans using a span predicate, returning one row per matching span. */
392
392
  querySpans(params: QuerySpansInput): Promise<QuerySpansResult>;
393
393
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EACL,KAAK,EACL,YAAY,EAEZ,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,GAAG,EACH,KAAK,EACL,OAAO,EACP,YAAY,EACZ,aAAa,EAEb,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,QAAQ,EACR,eAAe,EAChB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,6BAA6B,EAC7B,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,EAC3B,uBAAuB,EACvB,2BAA2B,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EAKjB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,mBAAm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IAED;;OAEG;IACI,iBAAiB,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAElF;IAED;;;OAGG;IACU,qBAAqB,CAAC,MAAM,GAAE,2BAAgC,yDAmB1E;IAED;;;;OAIG;IACI,aAAa,CAAC,MAAM,GAAE,mBAAwB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAUrF;IAED;;OAEG;IACI,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAEhE;IAED;;;;;;;;;OASG;IACI,cAAc,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAK7E;IAED;;;;OAIG;IACI,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAK/F;IAED;;OAEG;IACI,cAAc,CACnB,UAAU,EAAE,UAAU,CAAC,+BAA+B,CAAC,CAAC,YAAY,CAAC,GACpE,OAAO,CAAC,aAAa,CAAC,+BAA+B,CAAC,CAAC,CAIzD;IAED;;;;;OAKG;IACI,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAInE;IAED;;OAEG;IACI,oBAAoB,CACzB,UAAU,EAAE,MAAM,EAClB,MAAM,GAAE,0BAA+B,GACtC,OAAO,CAAC,4BAA4B,CAAC,CAOvC;IAED;;;;OAIG;IACI,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAElE;IAED;;;;OAIG;IACI,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAEnE;CACF"}
@@ -3,7 +3,7 @@ name: mastra-client-js
3
3
  description: Documentation for @mastra/client-js. Use when working with @mastra/client-js APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/client-js"
6
- version: "1.56.0-alpha.1"
6
+ version: "1.56.0-alpha.11"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -54,7 +54,7 @@ Read the individual reference documents for detailed explanations and code examp
54
54
  - [Reference: Versioning](references/reference-editor-versioning.md) - Editor versions stored agents and prompt blocks. Database-backed resources use draft and publish operations.
55
55
  - [Client SDK](references/reference-migrations-upgrade-to-v1-client.md) - Client SDK changes align with server-side API updates, including utility renames, updated pagination, and type naming conventions.
56
56
  - [Reference: Metric queries](references/reference-observability-metrics-queries.md) - Metric queries read raw and aggregated metric data from the observability storage domain. For exporter and storage setup, see the Metrics overview.
57
- - [Trace queries](references/reference-observability-tracing-trace-query.md) - Find completed traces by trace fields and related spans. Filter results, paginate, poll for updates, and discover query fields.
57
+ - [Reference: Advanced trace queries](references/reference-observability-tracing-advanced-queries.md) - Find, count, and measure completed traces with structured predicates. List matching traces, aggregate them into grouped measures, paginate, poll, and discover query fields.
58
58
 
59
59
 
60
60
  Read [assets/SOURCE_MAP.json](assets/SOURCE_MAP.json) for source code references.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.56.0-alpha.1",
2
+ "version": "1.56.0-alpha.11",
3
3
  "package": "@mastra/client-js",
4
4
  "exports": {},
5
5
  "modules": {}
@@ -90,43 +90,40 @@ Use the same controller for many Sessions. Don't store a current Session on the
90
90
  The controller, Session, and thread have different lifetimes:
91
91
 
92
92
  - **Controller**: A shared host for configuration and runtime services. Initialize it once and reuse it.
93
- - **Session**: An isolated live runtime for one user, task, or concurrent work scope. It owns the active mode, model, state, event bus, run state, grants, and current thread binding.
93
+ - **Session**: An isolated live runtime for one user, task, or concurrent piece of work, addressed by its session id. It owns the active mode, model, state, event bus, run state, grants, and current thread binding.
94
94
  - **Thread**: A stored conversation containing messages and thread settings. Threads can survive controller and process recreation when you configure storage.
95
95
 
96
96
  A Session is live state. Arbitrary [`session.state`](https://mastra.ai/reference/agent-controller/session), permission grants, pending approvals, and active runs don't automatically survive process recreation. Thread messages and selected thread settings, including the active mode and the current model, can persist through storage, but switching modes doesn't change the model.
97
97
 
98
98
  ## Sessions and threads
99
99
 
100
- `createSession()` is get-or-create by `resourceId` and optional `scope`:
100
+ `createSession()` is get-or-create by session `id`. The `resourceId` names who owns the session's threads and resource-scoped memory. When you omit `id`, it defaults to `resourceId`:
101
101
 
102
102
  ```typescript
103
103
  const webSession = await controller.createSession({
104
+ id: 'user-123:web',
104
105
  resourceId: 'user-123',
105
- scope: 'web',
106
106
  })
107
107
 
108
- const sameWebSession = await controller.createSession({
109
- resourceId: 'user-123',
110
- scope: 'web',
111
- })
108
+ const sameWebSession = await controller.getSession('user-123:web')
112
109
 
113
110
  const workerSession = await controller.createSession({
111
+ id: 'user-123:background-worker',
114
112
  resourceId: 'user-123',
115
- scope: 'background-worker',
116
113
  })
117
114
 
118
115
  console.log(webSession === sameWebSession) // true
119
116
  console.log(webSession === workerSession) // false
120
117
  ```
121
118
 
122
- Sessions with different scopes have separate event buses, run loops, state, mode and model selections, and current thread bindings. Their stored threads still belong to the shared `resourceId`.
119
+ Sessions with different ids have separate event buses, run loops, state, mode and model selections, and current thread bindings. Their stored threads and resource-scoped memory still belong to the shared `resourceId`, so listing threads by resource returns both sessions' threads.
123
120
 
124
121
  Pass `threadId` when the host must bind the Session to an exact thread. The controller switches to the existing thread or creates it with that ID when it's missing. This behavior also applies when `createSession()` returns a cached Session:
125
122
 
126
123
  ```typescript
127
124
  const session = await controller.createSession({
125
+ id: 'user-123:web',
128
126
  resourceId: 'user-123',
129
- scope: 'web',
130
127
  threadId: 'support-ticket-42',
131
128
  })
132
129
  ```
@@ -430,9 +427,9 @@ channels: {
430
427
  const install = await installs.authorize(requestContext.get('teamId'))
431
428
 
432
429
  return controller.createSession({
430
+ id: `${install.id}:${thread.id}`,
433
431
  resourceId: thread.resourceId,
434
432
  threadId: thread.id,
435
- scope: install.id,
436
433
  ownerId: controller.id,
437
434
  requestContext,
438
435
  })
@@ -440,7 +437,7 @@ channels: {
440
437
  }
441
438
  ```
442
439
 
443
- Create the session under `thread.resourceId`. Because a session can bind only threads it owns, use `resolveResourceId` to assign a different owner to the mapped thread. Pass `threadId: thread.id` so the session opens on the mapped thread. Without it, a session that has tags or a `projectPath` doesn't treat the mapped thread as its own, so it creates an extra empty thread before switching to the mapped one. Sessions are get-or-create for each `resourceId` and `scope` combination. Pass `scope` when one thread needs separate sessions for each installation or principal.
440
+ Create the session under `thread.resourceId`. Because a session can bind only threads it owns, use `resolveResourceId` to assign a different owner to the mapped thread. Pass `threadId: thread.id` so the session opens on the mapped thread. Without it, a session that has tags or a `projectPath` doesn't treat the mapped thread as its own, so it creates an extra empty thread before switching to the mapped one. Sessions are get-or-create by `id`. Give each installation or principal its own `id` when one thread needs separate sessions.
444
441
 
445
442
  Failures that aren't refusals (a storage outage, a bug in your resolver's dependencies) still post an error to the thread, so a broken bot doesn't look like a silent one. If you need to tell them apart in your own code, a refusal is a `ChannelSessionRejectedError` with the original error as its `cause`.
446
443
 
@@ -490,7 +487,7 @@ Subscriptions are isolated by Session. Events from another Session on the same c
490
487
 
491
488
  ### Client-side sessions
492
489
 
493
- [`client.getAgentController(key).session(resourceId, scope?)`](https://mastra.ai/reference/client-js/agent-controller) returns a session client bound to one resource. Pass the key the controller is registered under in `new Mastra({ agentControllers })`, which can differ from the controller's `id`. Sessions are get-or-create on the server, so `create()` resumes an existing conversation instead of forking it. Pass `scope` when one resource needs independent sessions, such as one per git worktree:
490
+ [`client.getAgentController(key).session(sessionId)`](https://mastra.ai/reference/client-js/agent-controller) returns a session client addressed by its session id. Pass the key the controller is registered under in `new Mastra({ agentControllers })`, which can differ from the controller's `id`. Sessions are get-or-create on the server, so `create()` resumes an existing conversation instead of forking it. Pass `resourceId` to `create()` when several sessions share one resource; otherwise the resource defaults to the session id:
494
491
 
495
492
  ```typescript
496
493
  import { MastraClient } from '@mastra/client-js'
@@ -513,7 +510,7 @@ const subscription = await session.subscribe({
513
510
  subscription.unsubscribe()
514
511
  ```
515
512
 
516
- `subscribe()` takes an options object and is async, unlike the in-process listener. Its promise resolves once the stream is established and rejects when it can't connect. A rejected call leaves nothing running in the background. `reconnect: true` re-establishes a stream that drops after it was established, with exponential backoff.
513
+ `subscribe()` takes an options object and is async, unlike the in-process listener. Its promise resolves once the stream is established and rejects when it can't connect. A rejected call leaves nothing running in the background. `reconnect: true` re-establishes a stream that drops after it was established, with exponential backoff. A connection that stays open but stops delivering data, for example after the device sleeps, counts as a drop once no data, including server heartbeats, arrives for `idleTimeoutMs` (default `60000`).
517
514
 
518
515
  The server doesn't replay events missed while the stream was down, so read `session.state()` from `onReconnect` for the current mode, model, and thread. The client surface has no `session.displayState.get()`.
519
516
 
@@ -171,13 +171,13 @@ const mastra = new Mastra({
171
171
  return { prompt: `Status as of ${trigger.firedAt.toISOString()}` }
172
172
  },
173
173
  onFinish: async ({ agentId, outcome, runId }) => {
174
- // Runs on any non-error, non-abort outcome
174
+ // Runs on any non-error, non-abort outcome. For a threaded schedule, this is the hand-off, not the end of the run
175
175
  },
176
176
  onError: async ({ agentId, phase, error }) => {
177
- // Runs when prepare, the signal, or the agent run threw
177
+ // Runs when prepare or the signal threw, or a threadless run failed without aborting
178
178
  },
179
179
  onAbort: async ({ agentId, runId }) => {
180
- // Runs when the run was aborted mid-stream
180
+ // Runs when a threadless run was aborted
181
181
  },
182
182
  },
183
183
  })
@@ -186,9 +186,11 @@ const mastra = new Mastra({
186
186
  The hooks are:
187
187
 
188
188
  - `prepare`: runs before the fire. Return an object to override fire-time parameters such as `prompt` or `threadId`, `null` to skip the fire, or `undefined` to use the stored defaults.
189
- - `onFinish`: runs once per trigger that reached a non-error, non-abort terminal state.
190
- - `onError`: runs after a failure in `prepare` or the signal. It also runs when the agent run fails.
191
- - `onAbort`: runs when the run was aborted mid-stream.
189
+ - `onFinish`: runs once per trigger that reached a non-error, non-abort outcome. When a threaded schedule starts a new run, it runs with `outcome: 'succeeded'` as soon as the run starts, not when it finishes.
190
+ - `onError`: runs after a failure in `prepare` or the signal. For a schedule without a `threadId`, it also runs when the agent run fails with an error that isn't an abort.
191
+ - `onAbort`: runs when the run of a schedule without a `threadId` was aborted.
192
+
193
+ For a schedule with a `threadId`, the worker sends the prompt to the thread and doesn't wait for the run. Errors and aborts after the run starts surface on that thread's run, not through `onError` or `onAbort`.
192
194
 
193
195
  Every hook context includes `agentId` (the agent the schedule fired for) alongside `schedule` and `trigger`.
194
196
 
@@ -416,7 +416,9 @@ Use the connection tools for distinct operations:
416
416
 
417
417
  Saved connections remain in the sender thread until explicitly disconnected. Every send independently refreshes discovery and verifies the exact endpoint before routing begins. A saved connection therefore records collaboration intent. It doesn't indicate current presence.
418
418
 
419
- After a send attempt reaches Core routing, the routing result is authoritative. The result can be `wake`, `deliver`, `persist`, `blocked`, or `discard`, depending on the target thread and notification policy. A send that isn't acknowledged by the advertised thread owner returns an error and doesn't consume its `messageId`, so the sender can retry it.
419
+ After a send attempt reaches Core routing, the routing result is authoritative. The result can be `wake`, `deliver`, `persist`, `blocked`, or `discard`, depending on the target thread and notification policy. A send that fails a direct delivery because no thread owner acknowledged it isn't lost: the signal stays pending in the target's notification inbox and the send reports `persist` instead of claiming delivery. The notification dispatcher retries that delivery on its own, so the sender doesn't need to resend it. The `messageId` isn't recorded in sent history and isn't rejected as a duplicate, although the pending notification still matches on it. A resend with the same `messageId` merges into that notification while it's pending, and delivers a second copy once the retry has succeeded. A send made with `expectsReply: true` returns an error there, because the reply obligation isn't established until the signal is delivered.
420
+
421
+ When the delivery policy routes a signal to a notification summary rather than delivering it directly, the send records the `messageId`, so retrying with the same id reports a duplicate instead of routing again. A low-priority send always takes this route and reports `persist`. A high- or medium-priority send to an active thread takes it too, but there the summary signal is emitted immediately, so the send reports that signal's routing result (`wake`, `deliver`, or `persist`) and records the `messageId` the same way, including when `expectsReply: true`. Only when the policy schedules a summary without emitting a signal at send time does an `expectsReply: true` send fail to establish its reply obligation: it returns an error and doesn't record the send in sent history, so establishing the reply obligation takes a new signal at a priority that routes directly.
420
422
 
421
423
  ### Discover agents in other projects
422
424
 
@@ -81,11 +81,19 @@ Returns the controller's workspace status.
81
81
 
82
82
  Returns: `Promise<AgentControllerWorkspaceStatus>`
83
83
 
84
- ### `session(resourceId, scope?)`
84
+ ### `session(sessionId)`
85
85
 
86
- Returns an `AgentControllerSession` bound to one resource. Sessions are get-or-create on the server, so calling `create()` on the same `resourceId` and `scope` resumes the existing conversation instead of forking it.
86
+ Returns an `AgentControllerSession` addressed by its session id. Every request goes to `/agent-controller/:controllerId/sessions/:sessionId/...`. Sessions are get-or-create on the server, so calling `create()` with the same `sessionId` resumes the existing conversation instead of forking it.
87
87
 
88
- Pass `scope` to address an independent session over the same `resourceId`. Sessions that share a `resourceId` but use different scopes each get their own run loop, thread binding, mode, model, and state. A common pattern is one session per git worktree with the worktree path as the scope. The scope travels on every request as a `sessionScope` query parameter.
88
+ Sessions that share a resource but use different session ids each get their own run loop, thread binding, mode, model, and state. Their stored threads and resource-scoped memory belong to the shared resource. Pass the resource to `create()`:
89
+
90
+ ```typescript
91
+ const runA = client.getAgentController('code').session('run-a')
92
+ await runA.create({ resourceId: 'factory-1' })
93
+
94
+ const runB = client.getAgentController('code').session('run-b')
95
+ await runB.create({ resourceId: 'factory-1' })
96
+ ```
89
97
 
90
98
  ## Session methods
91
99
 
@@ -93,6 +101,8 @@ Pass `scope` to address an independent session over the same `resourceId`. Sessi
93
101
 
94
102
  Creates or resumes the session.
95
103
 
104
+ **resourceId** (`string`): Memory resource that owns the session's threads. Defaults to the session id, so a session created with only an id keeps one resource of its own.
105
+
96
106
  **tags** (`Record<string, string>`): Scopes initial thread selection. A thread is a resume candidate only when its metadata matches every tag.
97
107
 
98
108
  **threadId** (`string`): Binds the session to one exact thread, creating it with that ID when it does not exist.
@@ -111,6 +121,8 @@ Subscribes to the session's event stream over SSE. The promise resolves once the
111
121
 
112
122
  **reconnect** (`boolean | { maxRetries?: number; delayMs?: number; maxDelayMs?: number }`): Re-establishes the stream after an established stream drops. Retries back off exponentially from delayMs (default 1000) up to maxDelayMs (default 30000). maxRetries (default Infinity) bounds the attempts per outage and resets once a connection is re-established. When retries are exhausted, onError fires. A reconnect request that fails with a 4xx (other than 408 and 429) or 501 stops reconnecting immediately and passes that MastraClientError to onError.
113
123
 
124
+ **idleTimeoutMs** (`number`): Treats the stream as dropped after this many milliseconds without receiving any data. Server heartbeats, sent every 25 seconds, reset the timer, so only a silent connection, such as one left half-open by laptop sleep or a proxy timeout, trips it. A timeout is handled like any other drop: it triggers reconnect and onReconnect when reconnect is enabled, otherwise onError. Also bounds opening the stream: subscribe() rejects, and a reconnect attempt counts as failed, when no response arrives in time. Set to 0 to disable. (Default: `60000`)
125
+
114
126
  Returns: `Promise<AgentControllerSubscription>`, an object with an `unsubscribe()` method that stops reading and releases the stream.
115
127
 
116
128
  ### `sendMessage(message, options?)`
@@ -321,6 +321,26 @@ await subscription.processDataStream({
321
321
 
322
322
  Pass `withInitialHistory: true` (or `{ perPage }`) to receive the stored messages as a first `thread-history` chunk instead of fetching history separately. Finished runs aren't replayed after it, so completed answers don't stream again on reconnect.
323
323
 
324
+ In the React SDK, `useChat()` exposes the `hasMore` flag from that first page as `initialHistoryPagination`, so you can decide whether to offer loading older messages without another history request:
325
+
326
+ ```typescript
327
+ import { useChat } from '@mastra/react'
328
+
329
+ const { messages, initialHistoryPagination } = useChat({
330
+ agentId: 'support-agent',
331
+ resourceId: 'user-123',
332
+ threadId: 'thread-abc',
333
+ enableThreadSignals: true,
334
+ withInitialHistory: { perPage: 20 },
335
+ })
336
+
337
+ // { hasMore: true }: older messages exist
338
+ // { hasMore: false }: the page reaches the start of the thread
339
+ // undefined: history is disabled, still loading, or the subscription ended
340
+ ```
341
+
342
+ `initialHistoryPagination` only describes the initial subscription page for the current agent, resource, thread, and `withInitialHistory` value. It isn't changed by live output or `setMessages()`. After you load older pages yourself, use the `hasMore` value from those responses.
343
+
324
344
  `subscribeToThread()` returns the underlying `Response` plus a `processDataStream()` helper. The helper reads the subscription stream until the connection closes or the request is aborted. Pass `reconnect: true` to resubscribe when the transport closes or a reconnect request fails, such as after a proxy idle timeout. If a reconnect request fails with a 4xx status (for example `401` or `403`) or `501`, `processDataStream()` stops reconnecting and rejects with the original `MastraClientError`. `408` and `429` are still retried.
325
345
 
326
346
  **resourceId** (`string`): Resource ID for the memory thread.
@@ -61,7 +61,7 @@ You can also pass `requestContext` as a `Record<string, any>`.
61
61
 
62
62
  **listAgentControllers()** (`Promise<AgentControllerInfo[]>`): Returns the agent controllers hosted on the connected Mastra instance. Each entry's id is the key the controller is registered under in new Mastra({ agentControllers }).
63
63
 
64
- **getAgentController(controllerId)** (`AgentController`): Retrieves a specific agent controller by the key it is registered under in new Mastra({ agentControllers }), which can differ from the controller id. .session(resourceId) returns a session client; call await session.create() to create or resume the server session.
64
+ **getAgentController(controllerId)** (`AgentController`): Retrieves a specific agent controller by the key it is registered under in new Mastra({ agentControllers }), which can differ from the controller id. .session(sessionId) returns a session client; call await session.create() to create or resume the server session.
65
65
 
66
66
  **listMemoryThreads(params)** (`Promise<StorageThreadType[]>`): Retrieves memory threads for the specified resource and agent. Requires a resourceId and an agentId.
67
67
 
@@ -90,7 +90,7 @@ const result = await mastraClient.querySpans({
90
90
  console.log(result.spans)
91
91
  ```
92
92
 
93
- Pages default to 100 rows and allow at most 1,000. The response is `{ spans, page: { next } }`, without a total count. Ordering accepts exactly one of `startedAt` or `endedAt`, ascending or descending, and defaults to descending start time.
93
+ Pages default to 100 rows and allow at most 1,000. The response is `{ spans, page: { next } }`, without a total count. Ordering accepts exactly one of `startedAt`, `endedAt`, or `timeToFirstChunkMs`, ascending or descending, and defaults to descending start time. Spans without a `timeToFirstChunkMs` value sort last in both directions.
94
94
 
95
95
  | Fields | Operators |
96
96
  | -------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
@@ -98,17 +98,132 @@ Pages default to 100 rows and allow at most 1,000. The response is `{ spans, pag
98
98
  | `organizationId`, `resourceId`, `runId`, `sessionId`, `userId`, `requestId`, `serviceName`, `experimentId`, `environment`, `executionSource` | Same string operators |
99
99
  | Entity, parent entity and root entity `Type`, `Id`, `Name`, `VersionId` fields, such as `parentEntityId` | Same string operators |
100
100
  | `name`, `spanType`, `status` | Same string operators; `name` also accepts `matches` / `notMatches` for normalized whole words and phrases |
101
- | `startedAt`, `endedAt`, `durationMs` | Comparisons, membership and presence |
101
+ | `startedAt`, `endedAt`, `durationMs`, `timeToFirstChunkMs` | Comparisons, membership and presence |
102
102
  | `error` | `exists`, `notExists` |
103
103
 
104
104
  Combine predicates with `and`, `or` and `not`. Membership uses `{ op: 'in', value: { path: 'spanType' }, set: ['agent_run', 'tool_call'] }`. A span's status is `error` when it has an error and `success` otherwise.
105
105
 
106
106
  Each summary includes identity, context, entity lineage, status, timestamps, `durationMs`, model/provider and input/output/error previews. Model/provider are available in returned rows but aren't filterable.
107
107
 
108
- The additional identity, context and parent/root entity filters require an updated storage adapter. With an older adapter, requests using these filters return a structured `422` error.
108
+ Check `capabilities.spanQueryContextFields` from `getObservabilityCapabilities()` before using the additional identity, context and parent/root entity filters. A missing or false value means these filters aren't available. With an older adapter, requests using these filters return a structured `422` error.
109
109
 
110
110
  DuckDB returns `null` for parent/root entity type, ID and name, and for `executionSource`. Equality filters on these fields match no spans. Parent/root entity version IDs remain available.
111
111
 
112
+ ## Querying threads
113
+
114
+ `queryTraceThreads()` returns thread summaries from completed traces through `POST /observability/threads/query`. Each row includes activity timestamps, trace counts, context and previews. Traces without a thread ID aren't included.
115
+
116
+ ```typescript
117
+ const result = await mastraClient.queryTraceThreads({
118
+ timeRange: {
119
+ traces: {
120
+ from: '2026-10-01T00:00:00.000Z',
121
+ to: '2026-10-02T00:00:00.000Z',
122
+ },
123
+ },
124
+ where: { op: 'eq', left: { path: 'status' }, right: { literal: 'error' } },
125
+ orderBy: [{ field: 'endedAt', direction: 'desc' }],
126
+ page: { limit: 100 },
127
+ })
128
+
129
+ for (const thread of result.threads) {
130
+ console.log(thread.firstTraceId, thread.lastTraceId, thread.traceCount, thread.outputPreview)
131
+ }
132
+ ```
133
+
134
+ ### Thread time ranges
135
+
136
+ Choose exactly one time selector. Each range requires ISO timestamps with `from` earlier than `to`. The range includes `from` and excludes `to`.
137
+
138
+ | Selector | Matches threads with |
139
+ | ----------------------------------------------------- | --------------------------------------------- |
140
+ | `timeRange.traces: { from, to }` | At least one trace that started in the window |
141
+ | `timeRange.threads: { field: 'startedAt', from, to }` | Their first activity in the window |
142
+ | `timeRange.threads: { field: 'endedAt', from, to }` | Their last activity in the window |
143
+
144
+ For example, find threads whose most recent activity falls on October 1:
145
+
146
+ ```typescript
147
+ const result = await mastraClient.queryTraceThreads({
148
+ timeRange: {
149
+ threads: {
150
+ field: 'endedAt',
151
+ from: '2026-10-01T00:00:00.000Z',
152
+ to: '2026-10-02T00:00:00.000Z',
153
+ },
154
+ },
155
+ })
156
+ ```
157
+
158
+ Rows include the full retained history within the authorized scope, including traces before and after the window. Filters apply to these complete rows. An `environment` filter checks the first trace's environment.
159
+
160
+ ### Thread filters
161
+
162
+ Use `where` to filter thread rows. Combine predicates with `and`, `or` and `not`.
163
+
164
+ | Fields | Operators |
165
+ | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
166
+ | `threadId`, `organizationId`, `firstTraceId`, `lastTraceId` | `eq`, `ne`, `in`, `notIn`, `exists`, `notExists` |
167
+ | `resourceId`, `userId`, `runId`, `sessionId`, `requestId`, `serviceName`, `experimentId`, `environment`, `executionSource` | Same string operators |
168
+ | `entityType`, `entityId`, `entityName`, `entityVersionId` | Same string operators |
169
+ | `status` | `eq`, `ne`, `in`, `notIn`, with values `success` or `error` |
170
+ | `startedAt`, `endedAt`, `timeToFirstChunkMs` | `eq`, `ne`, `lt`, `lte`, `gt`, `gte`, `in`, `notIn`, `exists`, `notExists` |
171
+ | `traceCount` | `eq`, `ne`, `lt`, `lte`, `gt`, `gte` |
172
+
173
+ For example, filter for threads from selected agents with at least three traces:
174
+
175
+ ```typescript
176
+ const result = await mastraClient.queryTraceThreads({
177
+ timeRange: {
178
+ traces: {
179
+ from: '2026-10-01T00:00:00.000Z',
180
+ to: '2026-10-02T00:00:00.000Z',
181
+ },
182
+ },
183
+ where: {
184
+ op: 'and',
185
+ args: [
186
+ { op: 'in', value: { path: 'entityId' }, set: ['support-agent', 'sales-agent'] },
187
+ { op: 'gte', left: { path: 'traceCount' }, right: { literal: 3 } },
188
+ ],
189
+ },
190
+ })
191
+ ```
192
+
193
+ Presence filters use `{ op: 'exists', path: 'userId' }` to check for a non-null value. Model/provider and previews are available in returned rows but aren't filterable.
194
+
195
+ ### Thread response
196
+
197
+ The response is `{ threads, page: { next } }`, without a total count. Each entry in `threads` contains these fields:
198
+
199
+ | Returned fields | Meaning |
200
+ | -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
201
+ | `threadId`, `organizationId` | Thread identity. Equal thread IDs in different organizations remain separate. |
202
+ | `firstTraceId`, `lastTraceId` | Earliest and latest trace by start time. Equal start times use trace ID as a deterministic tie-breaker. |
203
+ | `resourceId`, `userId`, `runId`, `sessionId`, `requestId`, `serviceName`, `experimentId`, `environment`, `executionSource` | First-trace context, or `null` when missing. |
204
+ | `entityType`, `entityId`, `entityName`, `entityVersionId` | First-trace entity. |
205
+ | `startedAt`, `endedAt` | Earliest start and maximum end time across the thread. |
206
+ | `status` | `error` when the last-started trace's root span has an error, otherwise `success`. |
207
+ | `traceCount` | Number of logical traces in the thread. |
208
+ | `inputPreview` | First trace's input preview. |
209
+ | `outputPreview`, `errorPreview` | Last-started trace's previews. |
210
+ | `timeToFirstChunkMs` | First trace's root agent time to first chunk, in milliseconds. `null` when unavailable or the root isn't an agent. |
211
+ | `model`, `provider` | Model/provider from the first completed model generation directly under the first trace's root agent. `null` when unavailable. |
212
+
213
+ An earlier-started trace can finish last. In that case, it supplies `endedAt`, while the last-started trace still supplies status and output/error previews. Missing first-trace values aren't replaced with values from a later trace.
214
+
215
+ ### Thread ordering and pagination
216
+
217
+ Ordering accepts exactly one of `startedAt` or `endedAt`, with direction `asc` or `desc`. The default is `endedAt` descending. Pages default to 100 rows and allow at most 1,000. Pass `result.page.next` as `page.after` with the same time selector, filters, scope and ordering. A `null` cursor means no more pages are available. Pagination reflects live data, so new traces can move a thread between pages.
218
+
219
+ To load the traces within a thread, use [`queryTraces()`](#querying-traces) with a `threadId` filter and a time range covering the thread's activity.
220
+
221
+ ### Thread query support
222
+
223
+ Check `capabilities.threadQueryRows` from `getObservabilityCapabilities()` before using this contract. A missing or false value means full thread rows aren't available. Older core or storage packages return a structured `501` for these requests. Legacy identity requests remain supported for mixed package versions.
224
+
225
+ ClickHouse rejects broad thread queries when the authorized history exceeds 250,000 stored trace-root rows, including duplicate copies. A narrower time range can still succeed by selecting fewer candidate threads. Rejected queries return `503 TRACE_QUERY_RESOURCE_LIMIT` without partial results.
226
+
112
227
  ## Querying traces
113
228
 
114
229
  `queryTraces()` finds completed logical traces using trace fields and conditions over related spans. Every query requires an ISO timestamp range.
@@ -133,7 +248,7 @@ const result = await mastraClient.queryTraces({
133
248
  })
134
249
  ```
135
250
 
136
- See [Trace queries](https://mastra.ai/reference/observability/tracing/trace-query) for request fields, predicates, limits, response shapes, and errors.
251
+ See [Query traces](https://mastra.ai/reference/observability/tracing/advanced-queries) for request fields, predicates, limits, response shapes, and errors.
137
252
 
138
253
  ### Load a page and poll for traces
139
254
 
@@ -160,7 +275,7 @@ const changes = await mastraClient.queryTraces({
160
275
 
161
276
  Merge `changes.traces` by `traceId`, retain `changes.deltaCursor`, and continue while `changes.delta.hasMore` is `true`. Keep the same time range and predicate across polls. Only completed traces are returned; polling doesn't guarantee notifications for related-record updates, deletions, or traces that stop matching.
162
277
 
163
- See [Delta polling](https://mastra.ai/reference/observability/tracing/trace-query) for bootstrap behavior, cursor lifetime, retention, and a complete polling loop.
278
+ See [Delta polling](https://mastra.ai/reference/observability/tracing/advanced-queries) for bootstrap behavior, cursor lifetime, retention, and a complete polling loop.
164
279
 
165
280
  ### Aggregate traces
166
281
 
@@ -185,9 +300,9 @@ if (capabilities.traceAggregate) {
185
300
  }
186
301
  ```
187
302
 
188
- Each row has `dimensions` keyed by `groupBy` field, `measures` keyed by measure name, a `bucket` timestamp when `interval` is set, and `cost` coverage when a cost measure is requested. `truncated` is `true` when more groups matched than `limit`.
303
+ Each row has `dimensions` keyed by `groupBy` field, `measures` keyed by measure name, a `bucket` timestamp when `interval` is set, and `cost` coverage when a cost measure is requested. `truncated` is `true` when more groups matched than `limit`. Check `capabilities.traceAggregate` before calling. The client retries server errors like `queryTraces()` but doesn't retry `422` validation errors.
189
304
 
190
- Check `capabilities.traceAggregate` before calling. Unlike `traceQuery`, a missing value means the server doesn't support aggregation. The client retries server errors like `queryTraces()` but doesn't retry `422` validation errors.
305
+ See [Aggregate traces](https://mastra.ai/reference/observability/tracing/advanced-queries) for dimensions, measures, token and cost semantics, time buckets, limits, and errors.
191
306
 
192
307
  ### Discover trace-query fields and values
193
308
 
@@ -207,7 +322,7 @@ const fields = await mastraClient.getTraceQueryFields({
207
322
  })
208
323
  ```
209
324
 
210
- For the `trace` scope on a server that supports aggregation, the response also includes `aggregate`: the `dimensions` you can pass to `groupBy` and the `measures` you can request. Every observed metadata field is also a dimension, and `countDistinct.<field>` accepts any dimension or `traceId`.
325
+ For the `trace` scope on a server that supports aggregation, the response also includes `aggregate`: the `dimensions` you can pass to `groupBy` and the `measures` you can request. See [Discover fields and values](https://mastra.ai/reference/observability/tracing/advanced-queries).
211
326
 
212
327
  Use the exact local path from the response with the same scope. For example, `model` belongs inside a `spans.some` or `spans.none` predicate. A field picker can fetch the `trace` and `spans` scopes in parallel.
213
328
 
@@ -385,7 +500,7 @@ const ratingPercentiles = await mastraClient.getFeedbackPercentiles({
385
500
 
386
501
  ## Related
387
502
 
388
- - [Trace queries](https://mastra.ai/reference/observability/tracing/trace-query): Query completed traces with recursive predicates
503
+ - [Advanced trace queries](https://mastra.ai/reference/observability/tracing/advanced-queries): Query and aggregate completed traces with recursive predicates
389
504
  - [Feedback guide](https://mastra.ai/docs/observability/feedback): Learn how to create, list, and query feedback
390
505
  - [Feedback reference](https://mastra.ai/reference/observability/feedback): Review feedback schemas and HTTP routes
391
506
  - [Agents API](https://mastra.ai/reference/client-js/agents): Learn about agent interactions that generate traces