@mastra/react 0.0.5 → 0.0.6-alpha.1
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 +30 -0
- package/dist/index.cjs +1554 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +1491 -0
- package/dist/index.js.map +1 -0
- package/dist/react.css +719 -0
- package/dist/src/agent/hooks.d.ts +25 -17
- package/dist/src/index.d.ts +1 -0
- package/dist/src/lib/ai-sdk/index.d.ts +3 -3
- package/dist/src/lib/ai-sdk/memory/resolveInitialMessages.d.ts +2 -0
- package/dist/src/lib/ai-sdk/transformers/AISdkNetworkTransformer.d.ts +10 -0
- package/dist/src/lib/ai-sdk/transformers/types.d.ts +10 -0
- package/dist/src/lib/ai-sdk/types.d.ts +14 -0
- package/dist/src/lib/ai-sdk/{toAssistantUIMessage.d.ts → utils/toAssistantUIMessage.d.ts} +1 -1
- package/dist/src/lib/ai-sdk/{toUIMessage.d.ts → utils/toUIMessage.d.ts} +6 -5
- package/dist/src/mastra-client-context.d.ts +1 -0
- package/dist/src/ui/Code/Code.d.ts +13 -0
- package/dist/src/ui/Code/highlight.d.ts +3 -0
- package/dist/src/ui/Code/index.d.ts +1 -0
- package/dist/src/ui/Entity/Entity.d.ts +13 -0
- package/dist/src/ui/Entity/Entity.stories.d.ts +22 -0
- package/dist/src/ui/Entity/Entry.d.ts +9 -0
- package/dist/src/ui/Entity/ToolApproval.d.ts +10 -0
- package/dist/src/ui/Entity/context.d.ts +10 -0
- package/dist/src/ui/Entity/index.d.ts +4 -0
- package/dist/src/ui/Entity/types.d.ts +1 -0
- package/dist/src/ui/Icon/Icon.d.ts +11 -0
- package/dist/src/ui/Icon/index.d.ts +1 -0
- package/dist/src/ui/IconButton/IconButton.d.ts +8 -0
- package/dist/src/ui/IconButton/IconButton.stories.d.ts +12 -0
- package/dist/src/ui/IconButton/index.d.ts +1 -0
- package/dist/src/ui/Icons/AgentIcon.d.ts +2 -0
- package/dist/src/ui/Icons/ToolsIcon.d.ts +2 -0
- package/dist/src/ui/Icons/WorkflowIcon.d.ts +2 -0
- package/dist/src/ui/Icons/index.d.ts +3 -0
- package/dist/src/ui/Message/Message.d.ts +25 -0
- package/dist/src/ui/Message/Message.stories.d.ts +13 -0
- package/dist/src/ui/Message/index.d.ts +1 -0
- package/dist/src/ui/Tooltip/Tooltip.d.ts +8 -0
- package/dist/src/ui/Tooltip/Tooltip.stories.d.ts +12 -0
- package/dist/src/ui/Tooltip/index.d.ts +1 -0
- package/dist/src/ui/index.d.ts +7 -0
- package/package.json +45 -11
- package/dist/index.cjs.js +0 -947
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.es.js +0 -937
- package/dist/index.es.js.map +0 -1
- package/dist/src/lib/ai-sdk/toNetworkUIMessage.d.ts +0 -6
- package/dist/src/lib/ai-sdk/toNetworkUIMessage.test.d.ts +0 -1
- package/dist/src/lib/ai-sdk/toUIMessage.test.d.ts +0 -1
- /package/dist/src/lib/ai-sdk/{toAssistantUIMessage.test.d.ts → utils/toAssistantUIMessage.test.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @mastra/react-hooks
|
|
2
2
|
|
|
3
|
+
## 0.0.6-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Improve the surface API of the react sdk ([#8715](https://github.com/mastra-ai/mastra/pull/8715))
|
|
8
|
+
|
|
9
|
+
- Move react and react-dom deps to peer and dev deps ([#8698](https://github.com/mastra-ai/mastra/pull/8698))
|
|
10
|
+
|
|
11
|
+
- Stream finalResult from network loop ([#8795](https://github.com/mastra-ai/mastra/pull/8795))
|
|
12
|
+
|
|
13
|
+
- Updated dependencies []:
|
|
14
|
+
- @mastra/client-js@0.16.0-alpha.1
|
|
15
|
+
|
|
16
|
+
## 0.0.6-alpha.0
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Gracefully fix errors in react-sdk when error is an object ([#8703](https://github.com/mastra-ai/mastra/pull/8703))
|
|
21
|
+
|
|
22
|
+
- Prepares some basic set of homemade components ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
|
|
23
|
+
|
|
24
|
+
- Fix back the tripwire verification inside the new react system ([#8674](https://github.com/mastra-ai/mastra/pull/8674))
|
|
25
|
+
|
|
26
|
+
- handle error case in react sdk ([#8676](https://github.com/mastra-ai/mastra/pull/8676))
|
|
27
|
+
|
|
28
|
+
- fix maxSteps model settings not being passed to generate and stream endpoints ([#8627](https://github.com/mastra-ai/mastra/pull/8627))
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [[`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`78cfb6b`](https://github.com/mastra-ai/mastra/commit/78cfb6b66fe88bc848105fccb6459fd75413ec87)]:
|
|
31
|
+
- @mastra/client-js@0.16.0-alpha.0
|
|
32
|
+
|
|
3
33
|
## 0.0.5
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|