@mastra/client-js 1.3.0-alpha.3 → 1.4.0-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.
- package/CHANGELOG.md +205 -0
- package/dist/client.d.ts +182 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.cjs +384 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +384 -6
- package/dist/index.js.map +1 -1
- package/dist/resources/agent.d.ts +1 -1
- package/dist/resources/agent.d.ts.map +1 -1
- package/dist/resources/base.d.ts.map +1 -1
- package/dist/resources/index.d.ts +2 -0
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/stored-mcp-client.d.ts +30 -0
- package/dist/resources/stored-mcp-client.d.ts.map +1 -0
- package/dist/resources/tool-provider.d.ts +27 -0
- package/dist/resources/tool-provider.d.ts.map +1 -0
- package/dist/resources/workflow.d.ts +8 -0
- package/dist/resources/workflow.d.ts.map +1 -1
- package/dist/types.d.ts +320 -11
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,210 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 1.4.0-alpha.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added client methods for the Datasets and Experiments API. New methods on `MastraClient`: ([#12747](https://github.com/mastra-ai/mastra/pull/12747))
|
|
8
|
+
- `listDatasets`, `getDataset`, `createDataset`, `updateDataset`, `deleteDataset`
|
|
9
|
+
- `listDatasetItems`, `getDatasetItem`, `addDatasetItem`, `updateDatasetItem`, `deleteDatasetItem`
|
|
10
|
+
- `batchInsertDatasetItems`, `batchDeleteDatasetItems`
|
|
11
|
+
- `listDatasetVersions`, `getItemHistory`, `getDatasetItemVersion`
|
|
12
|
+
- `listDatasetExperiments`, `getDatasetExperiment`, `listDatasetExperimentResults`
|
|
13
|
+
- `triggerDatasetExperiment`, `compareExperiments`
|
|
14
|
+
|
|
15
|
+
- Added observational memory configuration support for stored agents. When creating or editing a stored agent in the playground, you can now enable observational memory and configure its settings including model provider/name, scope (thread or resource), share token budget, and detailed observer/reflector parameters like token limits, buffer settings, and blocking thresholds. The configuration is serialized as part of the agent's memory config and round-trips through storage. ([#12962](https://github.com/mastra-ai/mastra/pull/12962))
|
|
16
|
+
|
|
17
|
+
**Example usage in the playground:**
|
|
18
|
+
|
|
19
|
+
Enable the Observational Memory toggle in the Memory section, then configure:
|
|
20
|
+
- Top-level model (provider + model) used by both observer and reflector
|
|
21
|
+
- Scope: `thread` (per-conversation) or `resource` (shared across threads)
|
|
22
|
+
- Expand **Observer** or **Reflector** sections to override models and tune token budgets
|
|
23
|
+
|
|
24
|
+
**Programmatic usage via client SDK:**
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
await client.createStoredAgent({
|
|
28
|
+
name: 'My Agent',
|
|
29
|
+
// ...other config
|
|
30
|
+
memory: {
|
|
31
|
+
observationalMemory: true, // enable with defaults
|
|
32
|
+
options: { lastMessages: 40 },
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
// Or with custom configuration:
|
|
37
|
+
await client.createStoredAgent({
|
|
38
|
+
name: 'My Agent',
|
|
39
|
+
memory: {
|
|
40
|
+
observationalMemory: {
|
|
41
|
+
model: 'google/gemini-2.5-flash',
|
|
42
|
+
scope: 'resource',
|
|
43
|
+
shareTokenBudget: true,
|
|
44
|
+
observation: { messageTokens: 50000 },
|
|
45
|
+
reflection: { observationTokens: 60000 },
|
|
46
|
+
},
|
|
47
|
+
options: { lastMessages: 40 },
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Programmatic usage via editor:**
|
|
53
|
+
|
|
54
|
+
```ts
|
|
55
|
+
await editor.agent.create({
|
|
56
|
+
name: 'My Agent',
|
|
57
|
+
// ...other config
|
|
58
|
+
memory: {
|
|
59
|
+
observationalMemory: true, // enable with defaults
|
|
60
|
+
options: { lastMessages: 40 },
|
|
61
|
+
},
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
// Or with custom configuration:
|
|
65
|
+
await editor.agent.create({
|
|
66
|
+
name: 'My Agent',
|
|
67
|
+
memory: {
|
|
68
|
+
observationalMemory: {
|
|
69
|
+
model: 'google/gemini-2.5-flash',
|
|
70
|
+
scope: 'resource',
|
|
71
|
+
shareTokenBudget: true,
|
|
72
|
+
observation: { messageTokens: 50000 },
|
|
73
|
+
reflection: { observationTokens: 60000 },
|
|
74
|
+
},
|
|
75
|
+
options: { lastMessages: 40 },
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- Fix `base64RequestContext` to handle non-ASCII characters (e.g. CJK, em-dashes, emoji) without throwing `InvalidCharacterError`. The previous implementation used `btoa()` directly, which only supports Latin1 characters. Now encodes via `TextEncoder` to UTF-8 bytes first, which is compatible with the existing server-side `Buffer.from(str, 'base64').toString('utf-8')` decode. ([#13009](https://github.com/mastra-ai/mastra/pull/13009))
|
|
83
|
+
|
|
84
|
+
- Fixed `Content-Type: application/json` header not being sent on DELETE requests with a body. ([#12747](https://github.com/mastra-ai/mastra/pull/12747))
|
|
85
|
+
|
|
86
|
+
- Fixed `ClientAgent.network()` to properly convert `structuredOutput.schema` and `requestContext` before sending to the server, matching the existing behavior of `generate()` and `stream()`. Previously, Zod schemas passed to `network()` lost non-enumerable properties during JSON serialization, causing the server to misidentify them as pre-converted JSON Schema and resulting in OpenAI rejecting the malformed schema. ([#12942](https://github.com/mastra-ai/mastra/pull/12942))
|
|
87
|
+
|
|
88
|
+
- Added client SDK resources for stored MCP clients and tool providers. ([#12974](https://github.com/mastra-ai/mastra/pull/12974))
|
|
89
|
+
|
|
90
|
+
**Stored MCP Client Resource**
|
|
91
|
+
|
|
92
|
+
New `StoredMCPClient` resource class with methods for managing MCP client configurations:
|
|
93
|
+
|
|
94
|
+
```ts
|
|
95
|
+
const client = new MastraClient({ baseUrl: '...' });
|
|
96
|
+
|
|
97
|
+
// CRUD operations
|
|
98
|
+
const mcpClients = await client.storedMCPClient.list();
|
|
99
|
+
const mcpClient = await client.storedMCPClient.get('my-mcp');
|
|
100
|
+
await client.storedMCPClient.create('my-mcp', { name: 'My MCP', servers: { ... } });
|
|
101
|
+
await client.storedMCPClient.delete('my-mcp');
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
**Tool Provider Resource**
|
|
105
|
+
|
|
106
|
+
New `ToolProvider` resource class for browsing registered tool providers:
|
|
107
|
+
|
|
108
|
+
```ts
|
|
109
|
+
const providers = await client.listToolProviders();
|
|
110
|
+
const provider = await client.getToolProvider('composio');
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Updated agent types to include `mcpClients` and `integrationTools` conditional fields.
|
|
114
|
+
|
|
115
|
+
- Updated instructions type to support both plain strings and structured instruction blocks ([#12864](https://github.com/mastra-ai/mastra/pull/12864))
|
|
116
|
+
|
|
117
|
+
- Updated dependencies [[`7ef618f`](https://github.com/mastra-ai/mastra/commit/7ef618f3c49c27e2f6b27d7f564c557c0734325b), [`b373564`](https://github.com/mastra-ai/mastra/commit/b37356491d43b4d53067f10cb669abaf2502f218), [`927c2af`](https://github.com/mastra-ai/mastra/commit/927c2af9792286c122e04409efce0f3c804f777f), [`b896b41`](https://github.com/mastra-ai/mastra/commit/b896b41343de7fcc14442fb40fe82d189e65bbe2), [`6415277`](https://github.com/mastra-ai/mastra/commit/6415277a438faa00db2af850ead5dee25f40c428), [`0831bbb`](https://github.com/mastra-ai/mastra/commit/0831bbb5bc750c18e9b22b45f18687c964b70828), [`63f7eda`](https://github.com/mastra-ai/mastra/commit/63f7eda605eb3e0c8c35ee3912ffe7c999c69f69), [`a5b67a3`](https://github.com/mastra-ai/mastra/commit/a5b67a3589a74415feb663a55d1858324a2afde9), [`877b02c`](https://github.com/mastra-ai/mastra/commit/877b02cdbb15e199184c7f2b8f217be8d3ebada7), [`7567222`](https://github.com/mastra-ai/mastra/commit/7567222b1366f0d39980594792dd9d5060bfe2ab), [`af71458`](https://github.com/mastra-ai/mastra/commit/af71458e3b566f09c11d0e5a0a836dc818e7a24a), [`eb36bd8`](https://github.com/mastra-ai/mastra/commit/eb36bd8c52fcd6ec9674ac3b7a6412405b5983e1), [`3cbf121`](https://github.com/mastra-ai/mastra/commit/3cbf121f55418141924754a83102aade89835947)]:
|
|
118
|
+
- @mastra/core@1.4.0-alpha.0
|
|
119
|
+
|
|
120
|
+
## 1.3.0
|
|
121
|
+
|
|
122
|
+
### Minor Changes
|
|
123
|
+
|
|
124
|
+
- **Added stored scorer CRUD API and updated editor namespace calls** ([#12846](https://github.com/mastra-ai/mastra/pull/12846))
|
|
125
|
+
- Added server routes for stored scorer definitions: create, read, update, delete, list, and list resolved
|
|
126
|
+
- Added `StoredScorer` resource to the client SDK with full CRUD support
|
|
127
|
+
- Updated all server handlers to use the new editor namespace pattern (`editor.agent.getById`, `editor.agent.list`, `editor.prompt.preview`) and generic storage domain methods (`store.create`, `store.getById`, `store.delete`)
|
|
128
|
+
|
|
129
|
+
- Added `requestContextSchema` to stored agent types and replaced local conditional field type definitions with re-exports from `@mastra/core/storage` (`Rule`, `RuleGroup`, `StorageConditionalVariant`, `StorageConditionalField`). Existing type aliases (`StoredAgentRule`, `StoredAgentRuleGroup`, `ConditionalVariant`, `ConditionalField`) are preserved for backward compatibility. ([#12896](https://github.com/mastra-ai/mastra/pull/12896))
|
|
130
|
+
|
|
131
|
+
- Add clone agent feature. Code-defined or stored agents can be cloned into new stored agents via the client SDK: ([#12861](https://github.com/mastra-ai/mastra/pull/12861))
|
|
132
|
+
|
|
133
|
+
```ts
|
|
134
|
+
const client = new MastraClient();
|
|
135
|
+
const cloned = await client.getAgent('my-agent').clone({
|
|
136
|
+
newName: 'My Agent Copy',
|
|
137
|
+
requestContext: { workspace: 'dev' },
|
|
138
|
+
});
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
The clone serializes the agent's full resolved configuration — model, instructions, tools, workflows, sub-agents, memory, input/output processors, and scorers — using the caller's `requestContext` and persists it as a new stored agent.
|
|
142
|
+
|
|
143
|
+
- Add tool description overrides for stored agents: ([#12794](https://github.com/mastra-ai/mastra/pull/12794))
|
|
144
|
+
- Changed stored agent `tools` field from `string[]` to `Record<string, { description?: string }>` to allow per-tool description overrides
|
|
145
|
+
- When a stored agent specifies a custom `description` for a tool, the override is applied at resolution time
|
|
146
|
+
- Updated server API schemas, client SDK types, and editor resolution logic accordingly
|
|
147
|
+
|
|
148
|
+
### Patch Changes
|
|
149
|
+
|
|
150
|
+
- Fixed multiple issues with stored agents: ([#12861](https://github.com/mastra-ai/mastra/pull/12861))
|
|
151
|
+
1. **Memory field can now be disabled**: Fixed an issue where the memory field couldn't be set to `null` to disable memory on stored agents. The update endpoint now accepts `memory: null` to explicitly disable memory configuration.
|
|
152
|
+
2. **Agent-level scorers are now discoverable**: Fixed an issue where scorers attached to code-defined agents (e.g., answer relevancy scorer) were not available in the scorer dropdown for stored agents. The system now automatically registers agent-level scorers with the Mastra instance, making them discoverable through `resolveStoredScorers`.
|
|
153
|
+
3. **Agent IDs are now derived from names**: Agent IDs are now automatically generated from the agent name using slugification (e.g., "My Cool Agent" becomes "my-cool-agent") instead of using random UUIDs. This makes agent IDs more readable and consistent with code-defined agents.
|
|
154
|
+
|
|
155
|
+
**Before:**
|
|
156
|
+
|
|
157
|
+
```typescript
|
|
158
|
+
// Creating an agent required a manual ID
|
|
159
|
+
const agent = await client.createStoredAgent({
|
|
160
|
+
id: crypto.randomUUID(), // Required, resulted in "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
161
|
+
name: 'My Cool Agent',
|
|
162
|
+
// ...
|
|
163
|
+
});
|
|
164
|
+
|
|
165
|
+
// Couldn't disable memory
|
|
166
|
+
await client.updateStoredAgent(agentId, {
|
|
167
|
+
memory: null, // ❌ Would throw validation error
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
// Agent-level scorers weren't available for stored agents
|
|
171
|
+
// e.g., answer-relevancy-scorer from evalAgent wasn't in the dropdown
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
**After:**
|
|
175
|
+
|
|
176
|
+
```typescript
|
|
177
|
+
// ID is auto-generated from name
|
|
178
|
+
const agent = await client.createStoredAgent({
|
|
179
|
+
name: 'My Cool Agent',
|
|
180
|
+
// ...
|
|
181
|
+
});
|
|
182
|
+
// agent.id is now "my-cool-agent"
|
|
183
|
+
|
|
184
|
+
// Can disable memory
|
|
185
|
+
await client.updateStoredAgent(agentId, {
|
|
186
|
+
memory: null, // ✅ Works, disables memory
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
// All agent-level scorers are now available in the dropdown
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
- Added a buffer-status endpoint so buffering badges resolve with accurate token counts instead of spinning forever when buffering outlives the stream. ([#12939](https://github.com/mastra-ai/mastra/pull/12939))
|
|
193
|
+
|
|
194
|
+
- Update types and add new methods: ([#12704](https://github.com/mastra-ai/mastra/pull/12704))
|
|
195
|
+
- Updated `CreateStoredAgentParams` and `UpdateStoredAgentParams` types to match server schemas
|
|
196
|
+
- Added proper `SerializedMemoryConfig` type with all fields including `embedder` and `embedderOptions`
|
|
197
|
+
- Fixed `StoredAgentScorerConfig` to use correct sampling types (`'none' | 'ratio'`)
|
|
198
|
+
- Added `listVectors()` and `listEmbedders()` methods to the client
|
|
199
|
+
- Added corresponding `ListVectorsResponse` and `ListEmbeddersResponse` types
|
|
200
|
+
|
|
201
|
+
- Fixed A2A client URLs to correctly include the API prefix. Previously, requests to agent card and A2A execution endpoints were missing the `/api/` prefix (e.g., `/.well-known/[agent-id]/agent-card.json` instead of `/api/.well-known/[agent-id]/agent-card.json`), causing 404 errors. ([#12841](https://github.com/mastra-ai/mastra/pull/12841))
|
|
202
|
+
|
|
203
|
+
- Supporting work to enable workflow step metadata ([#12508](https://github.com/mastra-ai/mastra/pull/12508))
|
|
204
|
+
|
|
205
|
+
- Updated dependencies [[`717ffab`](https://github.com/mastra-ai/mastra/commit/717ffab42cfd58ff723b5c19ada4939997773004), [`b31c922`](https://github.com/mastra-ai/mastra/commit/b31c922215b513791d98feaea1b98784aa00803a), [`e4b6dab`](https://github.com/mastra-ai/mastra/commit/e4b6dab171c5960e340b3ea3ea6da8d64d2b8672), [`5719fa8`](https://github.com/mastra-ai/mastra/commit/5719fa8880e86e8affe698ec4b3807c7e0e0a06f), [`83cda45`](https://github.com/mastra-ai/mastra/commit/83cda4523e588558466892bff8f80f631a36945a), [`11804ad`](https://github.com/mastra-ai/mastra/commit/11804adf1d6be46ebe216be40a43b39bb8b397d7), [`aa95f95`](https://github.com/mastra-ai/mastra/commit/aa95f958b186ae5c9f4219c88e268f5565c277a2), [`90f7894`](https://github.com/mastra-ai/mastra/commit/90f7894568dc9481f40a4d29672234fae23090bb), [`f5501ae`](https://github.com/mastra-ai/mastra/commit/f5501aedb0a11106c7db7e480d6eaf3971b7bda8), [`44573af`](https://github.com/mastra-ai/mastra/commit/44573afad0a4bc86f627d6cbc0207961cdcb3bc3), [`00e3861`](https://github.com/mastra-ai/mastra/commit/00e3861863fbfee78faeb1ebbdc7c0223aae13ff), [`8109aee`](https://github.com/mastra-ai/mastra/commit/8109aeeab758e16cd4255a6c36f044b70eefc6a6), [`7bfbc52`](https://github.com/mastra-ai/mastra/commit/7bfbc52a8604feb0fff2c0a082c13c0c2a3df1a2), [`1445994`](https://github.com/mastra-ai/mastra/commit/1445994aee19c9334a6a101cf7bd80ca7ed4d186), [`61f44a2`](https://github.com/mastra-ai/mastra/commit/61f44a26861c89e364f367ff40825bdb7f19df55), [`37145d2`](https://github.com/mastra-ai/mastra/commit/37145d25f99dc31f1a9105576e5452609843ce32), [`fdad759`](https://github.com/mastra-ai/mastra/commit/fdad75939ff008b27625f5ec0ce9c6915d99d9ec), [`e4569c5`](https://github.com/mastra-ai/mastra/commit/e4569c589e00c4061a686c9eb85afe1b7050b0a8), [`7309a85`](https://github.com/mastra-ai/mastra/commit/7309a85427281a8be23f4fb80ca52e18eaffd596), [`99424f6`](https://github.com/mastra-ai/mastra/commit/99424f6862ffb679c4ec6765501486034754a4c2), [`44eb452`](https://github.com/mastra-ai/mastra/commit/44eb4529b10603c279688318bebf3048543a1d61), [`6c40593`](https://github.com/mastra-ai/mastra/commit/6c40593d6d2b1b68b0c45d1a3a4c6ac5ecac3937), [`8c1135d`](https://github.com/mastra-ai/mastra/commit/8c1135dfb91b057283eae7ee11f9ec28753cc64f), [`dd39e54`](https://github.com/mastra-ai/mastra/commit/dd39e54ea34532c995b33bee6e0e808bf41a7341), [`b6fad9a`](https://github.com/mastra-ai/mastra/commit/b6fad9a602182b1cc0df47cd8c55004fa829ad61), [`4129c07`](https://github.com/mastra-ai/mastra/commit/4129c073349b5a66643fd8136ebfe9d7097cf793), [`5b930ab`](https://github.com/mastra-ai/mastra/commit/5b930aba1834d9898e8460a49d15106f31ac7c8d), [`4be93d0`](https://github.com/mastra-ai/mastra/commit/4be93d09d68e20aaf0ea3f210749422719618b5f), [`047635c`](https://github.com/mastra-ai/mastra/commit/047635ccd7861d726c62d135560c0022a5490aec), [`8c90ff4`](https://github.com/mastra-ai/mastra/commit/8c90ff4d3414e7f2a2d216ea91274644f7b29133), [`ed232d1`](https://github.com/mastra-ai/mastra/commit/ed232d1583f403925dc5ae45f7bee948cf2a182b), [`3891795`](https://github.com/mastra-ai/mastra/commit/38917953518eb4154a984ee36e6ededdcfe80f72), [`4f955b2`](https://github.com/mastra-ai/mastra/commit/4f955b20c7f66ed282ee1fd8709696fa64c4f19d), [`55a4c90`](https://github.com/mastra-ai/mastra/commit/55a4c9044ac7454349b9f6aeba0bbab5ee65d10f)]:
|
|
206
|
+
- @mastra/core@1.3.0
|
|
207
|
+
|
|
3
208
|
## 1.3.0-alpha.3
|
|
4
209
|
|
|
5
210
|
### Patch Changes
|
package/dist/client.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ListScoresResponse } from '@mastra/core/evals';
|
|
2
2
|
import type { ServerDetailInfo } from '@mastra/core/mcp';
|
|
3
3
|
import type { RequestContext } from '@mastra/core/request-context';
|
|
4
|
-
import type { TraceRecord, ListTracesArgs, ListTracesResponse } from '@mastra/core/storage';
|
|
4
|
+
import type { PaginationInfo, TraceRecord, ListTracesArgs, ListTracesResponse } from '@mastra/core/storage';
|
|
5
5
|
import type { WorkflowInfo } from '@mastra/core/workflows';
|
|
6
|
-
import { Agent, MemoryThread, Tool, Processor, Workflow, Vector, BaseResource, A2A, MCPTool, AgentBuilder, StoredAgent, StoredScorer, Workspace } from './resources/index.js';
|
|
6
|
+
import { Agent, MemoryThread, Tool, Processor, Workflow, Vector, BaseResource, A2A, MCPTool, AgentBuilder, StoredAgent, StoredMCPClient, StoredScorer, ToolProvider, Workspace } from './resources/index.js';
|
|
7
7
|
import type { ListScoresBySpanParams, LegacyTracesPaginatedArg, LegacyGetTracesResponse } from './resources/observability.js';
|
|
8
|
-
import type { ClientOptions, CreateMemoryThreadParams, CreateMemoryThreadResponse, GetAgentResponse, GetLogParams, GetLogsParams, GetLogsResponse, GetToolResponse, GetProcessorResponse, GetWorkflowResponse, SaveMessageToMemoryParams, SaveMessageToMemoryResponse, McpServerListResponse, McpServerToolListResponse, GetScorerResponse, ListScoresByScorerIdParams, ListScoresByRunIdParams, ListScoresByEntityIdParams, SaveScoreParams, SaveScoreResponse, GetMemoryConfigParams, GetMemoryConfigResponse, ListMemoryThreadMessagesResponse, MemorySearchResponse, ListAgentsModelProvidersResponse, ListMemoryThreadsParams, ListMemoryThreadsResponse, ListStoredAgentsParams, ListStoredAgentsResponse, CreateStoredAgentParams, StoredAgentResponse, ListStoredScorersParams, ListStoredScorersResponse, CreateStoredScorerParams, StoredScorerResponse, GetSystemPackagesResponse, ListScoresResponse as ListScoresResponseOld, GetObservationalMemoryParams, GetObservationalMemoryResponse, AwaitBufferStatusParams, AwaitBufferStatusResponse, GetMemoryStatusResponse, ListWorkspacesResponse, ListVectorsResponse, ListEmbeddersResponse } from './types.js';
|
|
8
|
+
import type { ClientOptions, CreateMemoryThreadParams, CreateMemoryThreadResponse, GetAgentResponse, GetLogParams, GetLogsParams, GetLogsResponse, GetToolResponse, GetProcessorResponse, GetWorkflowResponse, SaveMessageToMemoryParams, SaveMessageToMemoryResponse, McpServerListResponse, McpServerToolListResponse, GetScorerResponse, ListScoresByScorerIdParams, ListScoresByRunIdParams, ListScoresByEntityIdParams, SaveScoreParams, SaveScoreResponse, GetMemoryConfigParams, GetMemoryConfigResponse, ListMemoryThreadMessagesResponse, MemorySearchResponse, ListAgentsModelProvidersResponse, ListMemoryThreadsParams, ListMemoryThreadsResponse, ListStoredAgentsParams, ListStoredAgentsResponse, CreateStoredAgentParams, StoredAgentResponse, ListStoredScorersParams, ListStoredScorersResponse, CreateStoredScorerParams, StoredScorerResponse, ListStoredMCPClientsParams, ListStoredMCPClientsResponse, CreateStoredMCPClientParams, StoredMCPClientResponse, GetSystemPackagesResponse, ListScoresResponse as ListScoresResponseOld, GetObservationalMemoryParams, GetObservationalMemoryResponse, AwaitBufferStatusParams, AwaitBufferStatusResponse, GetMemoryStatusResponse, ListWorkspacesResponse, ListVectorsResponse, ListEmbeddersResponse, DatasetRecord, DatasetItem, DatasetExperiment, DatasetExperimentResult, CreateDatasetParams, UpdateDatasetParams, AddDatasetItemParams, UpdateDatasetItemParams, BatchInsertDatasetItemsParams, BatchDeleteDatasetItemsParams, TriggerDatasetExperimentParams, CompareExperimentsParams, CompareExperimentsResponse, DatasetItemVersionResponse, DatasetVersionResponse, ListToolProvidersResponse } from './types.js';
|
|
9
9
|
export declare class MastraClient extends BaseResource {
|
|
10
10
|
private observability;
|
|
11
11
|
constructor(options: ClientOptions);
|
|
@@ -343,6 +343,35 @@ export declare class MastraClient extends BaseResource {
|
|
|
343
343
|
* @returns StoredScorer instance
|
|
344
344
|
*/
|
|
345
345
|
getStoredScorer(storedScorerId: string): StoredScorer;
|
|
346
|
+
/**
|
|
347
|
+
* Lists all stored MCP clients with optional pagination
|
|
348
|
+
* @param params - Optional pagination and ordering parameters
|
|
349
|
+
* @returns Promise containing paginated list of stored MCP clients
|
|
350
|
+
*/
|
|
351
|
+
listStoredMCPClients(params?: ListStoredMCPClientsParams): Promise<ListStoredMCPClientsResponse>;
|
|
352
|
+
/**
|
|
353
|
+
* Creates a new stored MCP client
|
|
354
|
+
* @param params - MCP client configuration
|
|
355
|
+
* @returns Promise containing the created stored MCP client
|
|
356
|
+
*/
|
|
357
|
+
createStoredMCPClient(params: CreateStoredMCPClientParams): Promise<StoredMCPClientResponse>;
|
|
358
|
+
/**
|
|
359
|
+
* Gets a stored MCP client instance by ID for further operations (details, update, delete)
|
|
360
|
+
* @param storedMCPClientId - ID of the stored MCP client
|
|
361
|
+
* @returns StoredMCPClient instance
|
|
362
|
+
*/
|
|
363
|
+
getStoredMCPClient(storedMCPClientId: string): StoredMCPClient;
|
|
364
|
+
/**
|
|
365
|
+
* Lists all registered tool providers
|
|
366
|
+
* @returns Promise containing list of tool provider info
|
|
367
|
+
*/
|
|
368
|
+
listToolProviders(): Promise<ListToolProvidersResponse>;
|
|
369
|
+
/**
|
|
370
|
+
* Gets a tool provider instance by ID for further operations (listToolkits, listTools, getToolSchema)
|
|
371
|
+
* @param providerId - ID of the tool provider
|
|
372
|
+
* @returns ToolProvider instance
|
|
373
|
+
*/
|
|
374
|
+
getToolProvider(providerId: string): ToolProvider;
|
|
346
375
|
/**
|
|
347
376
|
* Retrieves installed Mastra packages and their versions
|
|
348
377
|
* @returns Promise containing the list of installed Mastra packages
|
|
@@ -369,5 +398,155 @@ export declare class MastraClient extends BaseResource {
|
|
|
369
398
|
* @returns Promise containing list of available embedders
|
|
370
399
|
*/
|
|
371
400
|
listEmbedders(): Promise<ListEmbeddersResponse>;
|
|
401
|
+
/**
|
|
402
|
+
* Lists all datasets with optional pagination
|
|
403
|
+
*/
|
|
404
|
+
listDatasets(pagination?: {
|
|
405
|
+
page?: number;
|
|
406
|
+
perPage?: number;
|
|
407
|
+
}): Promise<{
|
|
408
|
+
datasets: DatasetRecord[];
|
|
409
|
+
pagination: PaginationInfo;
|
|
410
|
+
}>;
|
|
411
|
+
/**
|
|
412
|
+
* Gets a single dataset by ID
|
|
413
|
+
*/
|
|
414
|
+
getDataset(datasetId: string): Promise<DatasetRecord>;
|
|
415
|
+
/**
|
|
416
|
+
* Creates a new dataset
|
|
417
|
+
*/
|
|
418
|
+
createDataset(params: CreateDatasetParams): Promise<DatasetRecord>;
|
|
419
|
+
/**
|
|
420
|
+
* Updates a dataset
|
|
421
|
+
*/
|
|
422
|
+
updateDataset(params: UpdateDatasetParams): Promise<DatasetRecord>;
|
|
423
|
+
/**
|
|
424
|
+
* Deletes a dataset
|
|
425
|
+
*/
|
|
426
|
+
deleteDataset(datasetId: string): Promise<{
|
|
427
|
+
success: boolean;
|
|
428
|
+
}>;
|
|
429
|
+
/**
|
|
430
|
+
* Lists items in a dataset with optional pagination, search, and version filter
|
|
431
|
+
*/
|
|
432
|
+
listDatasetItems(datasetId: string, params?: {
|
|
433
|
+
page?: number;
|
|
434
|
+
perPage?: number;
|
|
435
|
+
search?: string;
|
|
436
|
+
version?: number | null;
|
|
437
|
+
}): Promise<{
|
|
438
|
+
items: DatasetItem[];
|
|
439
|
+
pagination: PaginationInfo;
|
|
440
|
+
}>;
|
|
441
|
+
/**
|
|
442
|
+
* Gets a single dataset item by ID
|
|
443
|
+
*/
|
|
444
|
+
getDatasetItem(datasetId: string, itemId: string): Promise<DatasetItem>;
|
|
445
|
+
/**
|
|
446
|
+
* Adds an item to a dataset
|
|
447
|
+
*/
|
|
448
|
+
addDatasetItem(params: AddDatasetItemParams): Promise<DatasetItem>;
|
|
449
|
+
/**
|
|
450
|
+
* Updates a dataset item
|
|
451
|
+
*/
|
|
452
|
+
updateDatasetItem(params: UpdateDatasetItemParams): Promise<DatasetItem>;
|
|
453
|
+
/**
|
|
454
|
+
* Deletes a dataset item
|
|
455
|
+
*/
|
|
456
|
+
deleteDatasetItem(datasetId: string, itemId: string): Promise<{
|
|
457
|
+
success: boolean;
|
|
458
|
+
}>;
|
|
459
|
+
/**
|
|
460
|
+
* Batch inserts items to a dataset
|
|
461
|
+
*/
|
|
462
|
+
batchInsertDatasetItems(params: BatchInsertDatasetItemsParams): Promise<{
|
|
463
|
+
items: DatasetItem[];
|
|
464
|
+
count: number;
|
|
465
|
+
}>;
|
|
466
|
+
/**
|
|
467
|
+
* Batch deletes items from a dataset
|
|
468
|
+
*/
|
|
469
|
+
batchDeleteDatasetItems(params: BatchDeleteDatasetItemsParams): Promise<{
|
|
470
|
+
success: boolean;
|
|
471
|
+
deletedCount: number;
|
|
472
|
+
}>;
|
|
473
|
+
/**
|
|
474
|
+
* Lists versions for a dataset item
|
|
475
|
+
*/
|
|
476
|
+
getItemHistory(datasetId: string, itemId: string): Promise<{
|
|
477
|
+
history: DatasetItemVersionResponse[];
|
|
478
|
+
}>;
|
|
479
|
+
/**
|
|
480
|
+
* Gets a specific version of a dataset item
|
|
481
|
+
*/
|
|
482
|
+
getDatasetItemVersion(datasetId: string, itemId: string, datasetVersion: number): Promise<DatasetItemVersionResponse>;
|
|
483
|
+
/**
|
|
484
|
+
* Lists versions for a dataset
|
|
485
|
+
*/
|
|
486
|
+
listDatasetVersions(datasetId: string, pagination?: {
|
|
487
|
+
page?: number;
|
|
488
|
+
perPage?: number;
|
|
489
|
+
}): Promise<{
|
|
490
|
+
versions: DatasetVersionResponse[];
|
|
491
|
+
pagination: PaginationInfo;
|
|
492
|
+
}>;
|
|
493
|
+
/**
|
|
494
|
+
* Lists experiments for a dataset
|
|
495
|
+
*/
|
|
496
|
+
listDatasetExperiments(datasetId: string, pagination?: {
|
|
497
|
+
page?: number;
|
|
498
|
+
perPage?: number;
|
|
499
|
+
}): Promise<{
|
|
500
|
+
experiments: DatasetExperiment[];
|
|
501
|
+
pagination: PaginationInfo;
|
|
502
|
+
}>;
|
|
503
|
+
/**
|
|
504
|
+
* Gets a single dataset experiment by ID
|
|
505
|
+
*/
|
|
506
|
+
getDatasetExperiment(datasetId: string, experimentId: string): Promise<DatasetExperiment>;
|
|
507
|
+
/**
|
|
508
|
+
* Lists results for a dataset experiment
|
|
509
|
+
*/
|
|
510
|
+
listDatasetExperimentResults(datasetId: string, experimentId: string, pagination?: {
|
|
511
|
+
page?: number;
|
|
512
|
+
perPage?: number;
|
|
513
|
+
}): Promise<{
|
|
514
|
+
results: DatasetExperimentResult[];
|
|
515
|
+
pagination: PaginationInfo;
|
|
516
|
+
}>;
|
|
517
|
+
/**
|
|
518
|
+
* Triggers a new dataset experiment
|
|
519
|
+
*/
|
|
520
|
+
triggerDatasetExperiment(params: TriggerDatasetExperimentParams): Promise<{
|
|
521
|
+
experimentId: string;
|
|
522
|
+
status: 'pending' | 'running' | 'completed' | 'failed';
|
|
523
|
+
totalItems: number;
|
|
524
|
+
succeededCount: number;
|
|
525
|
+
failedCount: number;
|
|
526
|
+
startedAt: string | Date;
|
|
527
|
+
completedAt: string | Date | null;
|
|
528
|
+
results: Array<{
|
|
529
|
+
itemId: string;
|
|
530
|
+
itemDatasetVersion: number | null;
|
|
531
|
+
input: unknown;
|
|
532
|
+
output: unknown | null;
|
|
533
|
+
groundTruth: unknown | null;
|
|
534
|
+
error: string | null;
|
|
535
|
+
startedAt: string | Date;
|
|
536
|
+
completedAt: string | Date;
|
|
537
|
+
retryCount: number;
|
|
538
|
+
scores: Array<{
|
|
539
|
+
scorerId: string;
|
|
540
|
+
scorerName: string;
|
|
541
|
+
score: number | null;
|
|
542
|
+
reason: string | null;
|
|
543
|
+
error: string | null;
|
|
544
|
+
}>;
|
|
545
|
+
}>;
|
|
546
|
+
}>;
|
|
547
|
+
/**
|
|
548
|
+
* Compares two dataset experiments for regression detection
|
|
549
|
+
*/
|
|
550
|
+
compareExperiments(params: CompareExperimentsParams): Promise<CompareExperimentsResponse>;
|
|
372
551
|
}
|
|
373
552
|
//# sourceMappingURL=client.d.ts.map
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC5F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EACL,KAAK,EACL,YAAY,EACZ,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,GAAG,EACH,OAAO,EACP,YAAY,EAEZ,WAAW,EACX,YAAY,EACZ,SAAS,EACV,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACxB,0BAA0B,EAC1B,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,qBAAqB,EACrB,yBAAyB,EACzB,iBAAiB,EACjB,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC1B,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,gCAAgC,EAChC,oBAAoB,EACpB,gCAAgC,EAChC,uBAAuB,EACvB,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,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S,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;QAClC,OAAO,EAAE,KAAK,CAAC;YACb,MAAM,EAAE,MAAM,CAAC;YACf,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;YAClC,KAAK,EAAE,OAAO,CAAC;YACf,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;YACvB,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;YAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YACrB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;YACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;YAC3B,UAAU,EAAE,MAAM,CAAC;YACnB,MAAM,EAAE,KAAK,CAAC;gBACZ,QAAQ,EAAE,MAAM,CAAC;gBACjB,UAAU,EAAE,MAAM,CAAC;gBACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;gBACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;gBACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;aACtB,CAAC,CAAC;SACJ,CAAC,CAAC;KACJ,CAAC;IAQF;;OAEG;IACI,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,0BAA0B,CAAC;CAOjG"}
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -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.
|
|
6
|
+
version: "1.4.0-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|