@mastra/client-js 1.51.0 → 1.51.1-alpha.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.
@@ -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.51.0"
6
+ version: "1.51.1-alpha.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.51.0",
2
+ "version": "1.51.1-alpha.0",
3
3
  "package": "@mastra/client-js",
4
4
  "exports": {},
5
5
  "modules": {}
@@ -45,7 +45,7 @@ const completeTrace = await mastraClient.getTrace(traces.spans[0].traceId)
45
45
 
46
46
  ## Listing traces for a list view
47
47
 
48
- `listTracesLight()` returns the same rows as a trace list, without the `input`, `output` and `attributes` payloads. Each row carries a short `inputPreview` string instead, so a list can render a preview column without transferring the whole prompt.
48
+ `listTracesLight()` returns the same rows as a trace list, without the `input`, `output` and `attributes` payloads. Each row carries a short `inputPreview` string instead, so a list can render a preview column without transferring the whole prompt, plus `threadId` and `resourceId` for the memory context columns.
49
49
 
50
50
  Prefer it whenever you are rendering many traces at once, and fetch the full record only when a row is opened:
51
51
 
@@ -2501,6 +2501,8 @@ type Shared_Type_60 = {
2501
2501
  entityType?: (Shared_Type_58 | null) | undefined;
2502
2502
  entityId?: (string | null) | undefined;
2503
2503
  entityName?: (string | null) | undefined;
2504
+ threadId?: ((string | null) | undefined) | null;
2505
+ resourceId?: ((string | null) | undefined) | null;
2504
2506
  metadata?: ({
2505
2507
  [key: string]: unknown;
2506
2508
  } | null) | undefined;
@@ -5933,7 +5935,7 @@ export type GetProcessors_Response = {
5933
5935
  id: string;
5934
5936
  name?: string | undefined;
5935
5937
  description?: string | undefined;
5936
- phases: ('input' | 'inputStep' | 'outputStream' | 'outputResult' | 'outputStep' | 'toolResult')[];
5938
+ phases: ('input' | 'inputStep' | 'outputStream' | 'outputResult' | 'outputStep' | 'toolResult' | 'llmRequest')[];
5937
5939
  agentIds: string[];
5938
5940
  configurations: {
5939
5941
  agentId: string;
@@ -5969,7 +5971,7 @@ export type GetProcessorsProcessorId_Response = {
5969
5971
  id: string;
5970
5972
  name?: string | undefined;
5971
5973
  description?: string | undefined;
5972
- phases: ('input' | 'inputStep' | 'outputStream' | 'outputResult' | 'outputStep' | 'toolResult')[];
5974
+ phases: ('input' | 'inputStep' | 'outputStream' | 'outputResult' | 'outputStep' | 'toolResult' | 'llmRequest')[];
5973
5975
  configurations: {
5974
5976
  agentId: string;
5975
5977
  agentName: string;
@@ -5998,7 +6000,7 @@ export interface GetProcessorsProcessorId_RouteContract {
5998
6000
  }
5999
6001
  export type PostProcessorsProcessorIdExecute_PathParams = GetProcessorsProcessorId_PathParams;
6000
6002
  export type PostProcessorsProcessorIdExecute_Body = {
6001
- phase: 'input' | 'inputStep' | 'outputStream' | 'outputResult' | 'outputStep' | 'toolResult';
6003
+ phase: 'input' | 'inputStep' | 'outputStream' | 'outputResult' | 'outputStep' | 'toolResult' | 'llmRequest';
6002
6004
  messages: {
6003
6005
  id: string;
6004
6006
  role: 'user' | 'assistant' | 'system' | 'tool' | 'signal';