@mastra/client-js 1.36.0 → 1.36.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 1.36.1-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`7f4e26d`](https://github.com/mastra-ai/mastra/commit/7f4e26dd57bd9b23c278ea21235ab823a3810a6c), [`b582f7f`](https://github.com/mastra-ai/mastra/commit/b582f7fa2f9c1f87d19efc63d344fbe5dda2608c), [`b582f7f`](https://github.com/mastra-ai/mastra/commit/b582f7fa2f9c1f87d19efc63d344fbe5dda2608c)]:
|
|
8
|
+
- @mastra/core@1.56.0-alpha.0
|
|
9
|
+
|
|
3
10
|
## 1.36.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
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.36.0"
|
|
6
|
+
version: "1.36.1-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -1991,6 +1991,8 @@ type Shared_Type_116 = {
|
|
|
1991
1991
|
expectedTrajectory?: unknown | undefined;
|
|
1992
1992
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
1993
1993
|
toolMocks?: Shared_Type_114[] | undefined;
|
|
1994
|
+
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
1995
|
+
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
1994
1996
|
requestContext?: {
|
|
1995
1997
|
[key: string]: unknown;
|
|
1996
1998
|
} | undefined;
|
|
@@ -2244,7 +2246,7 @@ type Shared_Type_133 = {
|
|
|
2244
2246
|
args: unknown;
|
|
2245
2247
|
}[];
|
|
2246
2248
|
failure?: {
|
|
2247
|
-
code: 'TOOL_MOCK_MISMATCH' | 'TOOL_MOCK_EXHAUSTED';
|
|
2249
|
+
code: 'TOOL_MOCK_MISMATCH' | 'TOOL_MOCK_EXHAUSTED' | 'TOOL_MOCK_NOT_DECLARED';
|
|
2248
2250
|
toolName: string;
|
|
2249
2251
|
args: unknown;
|
|
2250
2252
|
} | undefined;
|
|
@@ -13401,6 +13403,8 @@ export type PostDatasetsDatasetIdItems_Body = {
|
|
|
13401
13403
|
expectedTrajectory?: (Shared_Type_131 | undefined) | null;
|
|
13402
13404
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
13403
13405
|
toolMocks?: Shared_Type_114[] | undefined;
|
|
13406
|
+
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
13407
|
+
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
13404
13408
|
/** Request context preset for this item */
|
|
13405
13409
|
requestContext?: {
|
|
13406
13410
|
[key: string]: unknown;
|
|
@@ -13442,6 +13446,8 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
|
|
|
13442
13446
|
expectedTrajectory?: (Shared_Type_131 | undefined) | null;
|
|
13443
13447
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
13444
13448
|
toolMocks?: Shared_Type_114[] | undefined;
|
|
13449
|
+
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
13450
|
+
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
13445
13451
|
requestContext?: {
|
|
13446
13452
|
[key: string]: unknown;
|
|
13447
13453
|
} | undefined;
|
|
@@ -13538,6 +13544,8 @@ export type PatchDatasetsDatasetIdItemsItemId_Body = {
|
|
|
13538
13544
|
expectedTrajectory?: (Shared_Type_131 | undefined) | null;
|
|
13539
13545
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
13540
13546
|
toolMocks?: Shared_Type_114[] | undefined;
|
|
13547
|
+
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
13548
|
+
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
13541
13549
|
/** Request context preset for this item */
|
|
13542
13550
|
requestContext?: {
|
|
13543
13551
|
[key: string]: unknown;
|
|
@@ -13636,6 +13644,8 @@ export type GetDatasetsDatasetIdItemsItemIdHistory_Response = {
|
|
|
13636
13644
|
expectedTrajectory?: unknown | undefined;
|
|
13637
13645
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
13638
13646
|
toolMocks?: Shared_Type_114[] | undefined;
|
|
13647
|
+
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
13648
|
+
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
13639
13649
|
metadata?: {
|
|
13640
13650
|
[key: string]: unknown;
|
|
13641
13651
|
} | undefined;
|