@letta-ai/letta-react 0.0.2 → 0.0.4

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 (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  A Letta react library full of the hooks you need to talk to Letta instantly
4
4
 
5
+ ```bash
6
+ npm install @letta-ai/letta-react
7
+ ```
8
+
5
9
  ## Documentation
6
10
 
7
11
  📚[Letta React Documentation](https://docs.letta.com/guides/letta-react)
@@ -85,7 +89,7 @@ root.render(
85
89
 
86
90
  ##### Sending and Reading Messages `useAgentMessages`
87
91
 
88
- Check out [this example](./examples/view-and-send-messages) for more detailed usage.
92
+ Check out [this example](./packages/letta-react/examples/view-and-send-messages) for more detailed usage.
89
93
 
90
94
  ```typescript jsx
91
95
  const {
@@ -106,7 +110,7 @@ const {
106
110
 
107
111
  ##### Getting Agent State
108
112
 
109
- Check out [this example](./examples/view-and-send-messages) for more detailed usage.
113
+ Check out [this example](./packages/letta-react/examples/view-and-send-messages) for more detailed usage.
110
114
 
111
115
  ```typescript jsx
112
116
  const { agentState, error, isLoading, refresh } = useAgentState({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-react",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Letta's react library",
5
5
  "private": false,
6
6
  "main": "./index.js",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "homepage": "https://github.com/letta-ai/letta-typescript-web-clients#readme",
23
23
  "peerDependencies": {
24
- "@letta-ai/letta-client": ">=0.1.48",
24
+ "@letta-ai/letta-client": ">=0.1.48 <0.2.0",
25
25
  "react": ">=16.8.0 <20.0.0",
26
26
  "react-dom": ">=16.8.0 <20.0.0"
27
27
  },