@mastra/client-js 1.60.0-alpha.8 → 1.60.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/dist/client.d.ts +6 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +3 -3
- package/dist/docs/references/docs-auth-jwt.md +1 -1
- package/dist/docs/references/docs-harness-schedules.md +1 -1
- package/dist/docs/references/reference-observability-tracing-advanced-queries.md +3 -1
- package/dist/index.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/route-types.generated.d.ts +95 -11
- package/dist/route-types.generated.d.ts.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -8128,6 +8128,13 @@ var MastraClient = class extends BaseResource {
|
|
|
8128
8128
|
return this.request(`/mcp/v0/servers${queryString ? `?${queryString}` : ""}`);
|
|
8129
8129
|
}
|
|
8130
8130
|
/**
|
|
8131
|
+
* Describes the built-in Mastra MCP server: whether it is served, its endpoint path, toolsets, and auth mode.
|
|
8132
|
+
* Requires `mcp:read`. Its tools depend on the caller, so connect an MCP client to `path` to list them.
|
|
8133
|
+
*/
|
|
8134
|
+
getBuiltinMcpServer() {
|
|
8135
|
+
return this.request("/mcp/builtin");
|
|
8136
|
+
}
|
|
8137
|
+
/**
|
|
8131
8138
|
* Retrieves detailed information for a specific MCP server.
|
|
8132
8139
|
* @param serverId - The ID of the MCP server to retrieve.
|
|
8133
8140
|
* @param params - Optional parameters, e.g., specific version.
|
|
@@ -9363,6 +9370,7 @@ var MastraClient = class extends BaseResource {
|
|
|
9363
9370
|
if (options?.page !== void 0) searchParams.set("page", String(options.page));
|
|
9364
9371
|
if (options?.perPage !== void 0) searchParams.set("perPage", String(options.perPage));
|
|
9365
9372
|
for (const tag of options?.tags ?? []) searchParams.append("tags", tag);
|
|
9373
|
+
if (options?.status) searchParams.set("status", options.status);
|
|
9366
9374
|
if (options?.orderBy) {
|
|
9367
9375
|
searchParams.set("orderBy[field]", options.orderBy.field);
|
|
9368
9376
|
searchParams.set("orderBy[direction]", options.orderBy.direction);
|