@mastra/client-js 1.29.0-alpha.10 → 1.29.0-alpha.6
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,37 +1,5 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
-
## 1.29.0-alpha.10
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- add Studio support for observational memory extractors ([#18655](https://github.com/mastra-ai/mastra/pull/18655))
|
|
8
|
-
|
|
9
|
-
Adds `bufferedObservationChunks` and extraction metadata to the buffer-status API and client types so extracted values flow through during live streaming. Renders observational memory indicators from a normalized cycle model that preserves extraction data across streaming, refetch, reload, activation, and failure transitions.
|
|
10
|
-
|
|
11
|
-
- Updated dependencies [[`6f578ac`](https://github.com/mastra-ai/mastra/commit/6f578acba84930b406b2a0700b17cfdfaf5aae56), [`c01012f`](https://github.com/mastra-ai/mastra/commit/c01012f50368d29eb3fc3764df42d48291973d23), [`be875ed`](https://github.com/mastra-ai/mastra/commit/be875ed43f856742ce58529f531b5ea0ae6911f3), [`9eefdc0`](https://github.com/mastra-ai/mastra/commit/9eefdc0ac03f989718c6d835334940a977938895), [`7d112ca`](https://github.com/mastra-ai/mastra/commit/7d112ca17078479b2659b88ba1c85b936cfc111c)]:
|
|
12
|
-
- @mastra/core@1.48.0-alpha.10
|
|
13
|
-
|
|
14
|
-
## 1.29.0-alpha.9
|
|
15
|
-
|
|
16
|
-
### Patch Changes
|
|
17
|
-
|
|
18
|
-
- Updated dependencies [[`e84e791`](https://github.com/mastra-ai/mastra/commit/e84e79174031d7bc8793ca6c805eb38b06e7cfb1)]:
|
|
19
|
-
- @mastra/core@1.48.0-alpha.9
|
|
20
|
-
|
|
21
|
-
## 1.29.0-alpha.8
|
|
22
|
-
|
|
23
|
-
### Patch Changes
|
|
24
|
-
|
|
25
|
-
- Updated dependencies [[`0ac14ce`](https://github.com/mastra-ai/mastra/commit/0ac14cea48e1b0a7857782153c78f7242fdf7e1a), [`c2f0b7f`](https://github.com/mastra-ai/mastra/commit/c2f0b7f1370f4428d165f51f0d1d9a48331cc257)]:
|
|
26
|
-
- @mastra/core@1.48.0-alpha.8
|
|
27
|
-
|
|
28
|
-
## 1.29.0-alpha.7
|
|
29
|
-
|
|
30
|
-
### Patch Changes
|
|
31
|
-
|
|
32
|
-
- Updated dependencies [[`8be63b0`](https://github.com/mastra-ai/mastra/commit/8be63b015fb8d72cea1220f05e7dc3bb997cc249), [`345eecc`](https://github.com/mastra-ai/mastra/commit/345eecce6ba519b5d987f0e10b5de4c8e5734580), [`ee14cae`](https://github.com/mastra-ai/mastra/commit/ee14cae244805783bde518a6142de28b744b169c)]:
|
|
33
|
-
- @mastra/core@1.48.0-alpha.7
|
|
34
|
-
|
|
35
3
|
## 1.29.0-alpha.6
|
|
36
4
|
|
|
37
5
|
### Patch 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.29.0-alpha.
|
|
6
|
+
version: "1.29.0-alpha.6"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -106,7 +106,7 @@ export type GetAgents_Response = {
|
|
|
106
106
|
defaultStreamOptionsLegacy?: {
|
|
107
107
|
[key: string]: any;
|
|
108
108
|
} | undefined;
|
|
109
|
-
source?: ('code' | 'stored'
|
|
109
|
+
source?: ('code' | 'stored') | undefined;
|
|
110
110
|
status?: ('draft' | 'published' | 'archived') | undefined;
|
|
111
111
|
activeVersionId?: string | undefined;
|
|
112
112
|
hasDraft?: boolean | undefined;
|
|
@@ -273,7 +273,7 @@ export type GetAgentsAgentId_Response = {
|
|
|
273
273
|
defaultStreamOptionsLegacy?: {
|
|
274
274
|
[key: string]: any;
|
|
275
275
|
} | undefined;
|
|
276
|
-
source?: ('code' | 'stored'
|
|
276
|
+
source?: ('code' | 'stored') | undefined;
|
|
277
277
|
status?: ('draft' | 'published' | 'archived') | undefined;
|
|
278
278
|
activeVersionId?: string | undefined;
|
|
279
279
|
hasDraft?: boolean | undefined;
|
|
@@ -7599,26 +7599,6 @@ export type GetMemoryObservationalMemory_Response = {
|
|
|
7599
7599
|
threadId: string | null;
|
|
7600
7600
|
activeObservations: string;
|
|
7601
7601
|
bufferedObservations?: string | undefined;
|
|
7602
|
-
bufferedObservationChunks?: {
|
|
7603
|
-
id?: string | undefined;
|
|
7604
|
-
cycleId: string;
|
|
7605
|
-
observations: string;
|
|
7606
|
-
tokenCount: number;
|
|
7607
|
-
messageIds?: string[] | undefined;
|
|
7608
|
-
messageTokens: number;
|
|
7609
|
-
lastObservedAt?: Date | undefined;
|
|
7610
|
-
createdAt?: Date | undefined;
|
|
7611
|
-
suggestedContinuation?: string | undefined;
|
|
7612
|
-
currentTask?: string | undefined;
|
|
7613
|
-
threadTitle?: string | undefined;
|
|
7614
|
-
extractedValues?: {
|
|
7615
|
-
[key: string]: unknown;
|
|
7616
|
-
} | undefined;
|
|
7617
|
-
extractionFailures?: {
|
|
7618
|
-
slug: string;
|
|
7619
|
-
error: string;
|
|
7620
|
-
}[] | undefined;
|
|
7621
|
-
}[] | undefined;
|
|
7622
7602
|
bufferedReflection?: string | undefined;
|
|
7623
7603
|
originType: 'initial' | 'observation' | 'reflection';
|
|
7624
7604
|
generationCount: number;
|
|
@@ -7644,26 +7624,6 @@ export type GetMemoryObservationalMemory_Response = {
|
|
|
7644
7624
|
threadId: string | null;
|
|
7645
7625
|
activeObservations: string;
|
|
7646
7626
|
bufferedObservations?: string | undefined;
|
|
7647
|
-
bufferedObservationChunks?: {
|
|
7648
|
-
id?: string | undefined;
|
|
7649
|
-
cycleId: string;
|
|
7650
|
-
observations: string;
|
|
7651
|
-
tokenCount: number;
|
|
7652
|
-
messageIds?: string[] | undefined;
|
|
7653
|
-
messageTokens: number;
|
|
7654
|
-
lastObservedAt?: Date | undefined;
|
|
7655
|
-
createdAt?: Date | undefined;
|
|
7656
|
-
suggestedContinuation?: string | undefined;
|
|
7657
|
-
currentTask?: string | undefined;
|
|
7658
|
-
threadTitle?: string | undefined;
|
|
7659
|
-
extractedValues?: {
|
|
7660
|
-
[key: string]: unknown;
|
|
7661
|
-
} | undefined;
|
|
7662
|
-
extractionFailures?: {
|
|
7663
|
-
slug: string;
|
|
7664
|
-
error: string;
|
|
7665
|
-
}[] | undefined;
|
|
7666
|
-
}[] | undefined;
|
|
7667
7627
|
bufferedReflection?: string | undefined;
|
|
7668
7628
|
originType: 'initial' | 'observation' | 'reflection';
|
|
7669
7629
|
generationCount: number;
|
|
@@ -7715,26 +7675,6 @@ export type PostMemoryObservationalMemoryBufferStatus_Response = {
|
|
|
7715
7675
|
threadId: string | null;
|
|
7716
7676
|
activeObservations: string;
|
|
7717
7677
|
bufferedObservations?: string | undefined;
|
|
7718
|
-
bufferedObservationChunks?: {
|
|
7719
|
-
id?: string | undefined;
|
|
7720
|
-
cycleId: string;
|
|
7721
|
-
observations: string;
|
|
7722
|
-
tokenCount: number;
|
|
7723
|
-
messageIds?: string[] | undefined;
|
|
7724
|
-
messageTokens: number;
|
|
7725
|
-
lastObservedAt?: Date | undefined;
|
|
7726
|
-
createdAt?: Date | undefined;
|
|
7727
|
-
suggestedContinuation?: string | undefined;
|
|
7728
|
-
currentTask?: string | undefined;
|
|
7729
|
-
threadTitle?: string | undefined;
|
|
7730
|
-
extractedValues?: {
|
|
7731
|
-
[key: string]: unknown;
|
|
7732
|
-
} | undefined;
|
|
7733
|
-
extractionFailures?: {
|
|
7734
|
-
slug: string;
|
|
7735
|
-
error: string;
|
|
7736
|
-
}[] | undefined;
|
|
7737
|
-
}[] | undefined;
|
|
7738
7678
|
bufferedReflection?: string | undefined;
|
|
7739
7679
|
originType: 'initial' | 'observation' | 'reflection';
|
|
7740
7680
|
generationCount: number;
|
|
@@ -8613,7 +8553,7 @@ export type GetScoresScorers_Response = {
|
|
|
8613
8553
|
agentNames: string[];
|
|
8614
8554
|
workflowIds: string[];
|
|
8615
8555
|
isRegistered: boolean;
|
|
8616
|
-
source: 'code' | 'stored'
|
|
8556
|
+
source: 'code' | 'stored';
|
|
8617
8557
|
};
|
|
8618
8558
|
};
|
|
8619
8559
|
export type GetScoresScorers_Request = Simplify<(never extends never ? {} : {
|
|
@@ -8654,7 +8594,7 @@ export type GetScoresScorersScorerId_Response = {
|
|
|
8654
8594
|
agentNames: string[];
|
|
8655
8595
|
workflowIds: string[];
|
|
8656
8596
|
isRegistered: boolean;
|
|
8657
|
-
source: 'code' | 'stored'
|
|
8597
|
+
source: 'code' | 'stored';
|
|
8658
8598
|
} | null;
|
|
8659
8599
|
export type GetScoresScorersScorerId_Request = Simplify<(GetScoresScorersScorerId_PathParams extends never ? {} : {
|
|
8660
8600
|
params: GetScoresScorersScorerId_PathParams;
|