@mastra/playground-ui 38.0.0-alpha.9 → 38.0.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/{Entity-Bwbh0iLW.cjs → Entity-BYv3HxFw.cjs} +3 -2
  3. package/dist/{Entity-Bwbh0iLW.cjs.map → Entity-BYv3HxFw.cjs.map} +1 -1
  4. package/dist/{Entity-CyYGTYWL.js → Entity-Bm2Ej7Is.js} +3 -2
  5. package/dist/{Entity-CyYGTYWL.js.map → Entity-Bm2Ej7Is.js.map} +1 -1
  6. package/dist/components/Columns.cjs.js +1 -1
  7. package/dist/components/Columns.es.js +1 -1
  8. package/dist/components/Entity.cjs.js +1 -1
  9. package/dist/components/Entity.es.js +1 -1
  10. package/dist/components/EntityHeader.cjs.js +1 -1
  11. package/dist/components/EntityHeader.es.js +1 -1
  12. package/dist/components/RuleBuilder.cjs.js +1 -1
  13. package/dist/components/RuleBuilder.es.js +1 -1
  14. package/dist/{entity-header-C8I47AfB.js → entity-header-0O1DTUKq.js} +2 -1
  15. package/dist/{entity-header-C8I47AfB.js.map → entity-header-0O1DTUKq.js.map} +1 -1
  16. package/dist/{entity-header-FXlDOgXp.cjs → entity-header-DqFtpiMx.cjs} +2 -1
  17. package/dist/{entity-header-FXlDOgXp.cjs.map → entity-header-DqFtpiMx.cjs.map} +1 -1
  18. package/dist/index.cjs.js +126 -126
  19. package/dist/index.es.js +65 -65
  20. package/dist/{multi-column-DGAsiBPq.cjs → multi-column-BaLTJpM1.cjs} +3 -1
  21. package/dist/{multi-column-DGAsiBPq.cjs.map → multi-column-BaLTJpM1.cjs.map} +1 -1
  22. package/dist/{multi-column-BR3a4MvZ.js → multi-column-VYOIJrLB.js} +3 -1
  23. package/dist/{multi-column-BR3a4MvZ.js.map → multi-column-VYOIJrLB.js.map} +1 -1
  24. package/dist/resize/collapsible-panel.cjs.js +1 -1
  25. package/dist/resize/collapsible-panel.es.js +1 -1
  26. package/dist/resize/panel-drawer.cjs.js +2 -1
  27. package/dist/resize/panel-drawer.cjs.js.map +1 -1
  28. package/dist/resize/panel-drawer.es.js +2 -1
  29. package/dist/resize/panel-drawer.es.js.map +1 -1
  30. package/dist/{rule-builder-CN5HwvJ3.cjs → rule-builder-BGlwYc1Q.cjs} +2 -2
  31. package/dist/{rule-builder-CN5HwvJ3.cjs.map → rule-builder-BGlwYc1Q.cjs.map} +1 -1
  32. package/dist/{rule-builder-B7J3z1Gd.js → rule-builder-DYON077L.js} +2 -2
  33. package/dist/{rule-builder-B7J3z1Gd.js.map → rule-builder-DYON077L.js.map} +1 -1
  34. package/dist/src/domains/memory/hooks/use-observational-memory.d.ts +40 -0
  35. package/package.json +8 -8
@@ -7,6 +7,26 @@ export declare function useObservationalMemory(agentId: string | undefined, thre
7
7
  threadId: string | null;
8
8
  activeObservations: string;
9
9
  bufferedObservations?: string | undefined | undefined;
10
+ bufferedObservationChunks?: {
11
+ id?: string | undefined | undefined;
12
+ cycleId: string;
13
+ observations: string;
14
+ tokenCount: number;
15
+ messageIds?: string[] | undefined;
16
+ messageTokens: number;
17
+ lastObservedAt?: string | undefined;
18
+ createdAt?: string | undefined;
19
+ suggestedContinuation?: string | undefined | undefined;
20
+ currentTask?: string | undefined | undefined;
21
+ threadTitle?: string | undefined | undefined;
22
+ extractedValues?: {
23
+ [x: string]: unknown;
24
+ } | undefined;
25
+ extractionFailures?: {
26
+ slug: string;
27
+ error: string;
28
+ }[] | undefined;
29
+ }[] | undefined;
10
30
  bufferedReflection?: string | undefined | undefined;
11
31
  originType: "initial" | "observation" | "reflection";
12
32
  generationCount: number;
@@ -32,6 +52,26 @@ export declare function useObservationalMemory(agentId: string | undefined, thre
32
52
  threadId: string | null;
33
53
  activeObservations: string;
34
54
  bufferedObservations?: string | undefined | undefined;
55
+ bufferedObservationChunks?: {
56
+ id?: string | undefined | undefined;
57
+ cycleId: string;
58
+ observations: string;
59
+ tokenCount: number;
60
+ messageIds?: string[] | undefined;
61
+ messageTokens: number;
62
+ lastObservedAt?: string | undefined;
63
+ createdAt?: string | undefined;
64
+ suggestedContinuation?: string | undefined | undefined;
65
+ currentTask?: string | undefined | undefined;
66
+ threadTitle?: string | undefined | undefined;
67
+ extractedValues?: {
68
+ [x: string]: unknown;
69
+ } | undefined;
70
+ extractionFailures?: {
71
+ slug: string;
72
+ error: string;
73
+ }[] | undefined;
74
+ }[] | undefined;
35
75
  bufferedReflection?: string | undefined | undefined;
36
76
  originType: "initial" | "observation" | "reflection";
37
77
  generationCount: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mastra/playground-ui",
3
3
  "type": "module",
4
- "version": "38.0.0-alpha.9",
4
+ "version": "38.0.0",
5
5
  "description": "Mastra Playground components",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -169,8 +169,8 @@
169
169
  "react": ">=19.0.0",
170
170
  "react-dom": ">=19.0.0",
171
171
  "tailwindcss": "^4.0.0",
172
- "@mastra/client-js": "^1.29.0-alpha.9",
173
- "@mastra/react": "1.2.1-alpha.9"
172
+ "@mastra/react": "1.2.1",
173
+ "@mastra/client-js": "^1.29.0"
174
174
  },
175
175
  "devDependencies": {
176
176
  "@storybook/addon-a11y": "^10.4.1",
@@ -207,11 +207,11 @@
207
207
  "vite-plugin-dts": "^4.5.4",
208
208
  "vite-plugin-lib-inject-css": "^2.2.2",
209
209
  "vitest": "4.1.8",
210
- "@internal/lint": "0.0.109",
211
- "@mastra/client-js": "^1.29.0-alpha.9",
212
- "@mastra/core": "1.48.0-alpha.9",
213
- "@mastra/memory": "1.21.3-alpha.2",
214
- "@mastra/react": "1.2.1-alpha.9"
210
+ "@mastra/memory": "1.22.0",
211
+ "@mastra/react": "1.2.1",
212
+ "@mastra/client-js": "^1.29.0",
213
+ "@internal/lint": "0.0.110",
214
+ "@mastra/core": "1.48.0"
215
215
  },
216
216
  "homepage": "https://mastra.ai",
217
217
  "repository": {