@letta-ai/letta-agent-sdk 0.7.1 → 0.7.2
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/README.md +3 -2
- package/dist/client-entry.js +136 -379
- package/dist/client-entry.js.map +6 -6
- package/dist/index.d.ts +4 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +158 -383
- package/dist/index.js.map +8 -8
- package/dist/remote-session-protocol.d.ts +7 -1
- package/dist/remote-session-protocol.d.ts.map +1 -1
- package/dist/remote-turn-coordinator.d.ts +3 -0
- package/dist/remote-turn-coordinator.d.ts.map +1 -1
- package/dist/types.d.ts +7 -5
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +4 -5
- package/src/remote-session-protocol.ts +24 -7
- package/src/remote-turn-coordinator.ts +88 -14
- package/src/types.ts +7 -5
package/README.md
CHANGED
|
@@ -19,7 +19,8 @@ const client = new LettaAgentClient({ backend: "cloud" });
|
|
|
19
19
|
|
|
20
20
|
// Create the agent once...
|
|
21
21
|
const agentId = await client.createAgent({
|
|
22
|
-
|
|
22
|
+
systemPrompt: "You are Nora, a research analyst who tracks our competitors.",
|
|
23
|
+
memfs: true,
|
|
23
24
|
});
|
|
24
25
|
|
|
25
26
|
// ...then resume it, from anywhere, for as long as it lives.
|
|
@@ -49,7 +50,7 @@ Browser, Expo, and React Native applications import from `@letta-ai/letta-agent-
|
|
|
49
50
|
|
|
50
51
|
## Examples
|
|
51
52
|
|
|
52
|
-
Runnable applications live in [`examples/`](./examples)
|
|
53
|
+
Runnable applications live in [`examples/`](./examples). Start with the [examples guide](./examples/README.md), which orders the demos by concept and lists their setup and side effects. See the [React chat template](https://github.com/letta-ai/letta-agent-sdk-react-chat) for a more complete custom UI.
|
|
53
54
|
|
|
54
55
|
## Contributing
|
|
55
56
|
|