@letta-ai/letta-code 0.33.5 → 0.33.7
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 +2 -0
- package/dist/app-server-client.cjs +2 -2
- package/dist/app-server-client.cjs.map +3 -3
- package/dist/app-server-client.js +2 -2
- package/dist/app-server-client.js.map +3 -3
- package/dist/mcp-client.js +52 -11
- package/dist/mcp-client.js.map +3 -3
- package/dist/mcp-oauth.js +18531 -0
- package/dist/mcp-oauth.js.map +155 -0
- package/dist/types/backend/backend.d.ts +16 -0
- package/dist/types/backend/backend.d.ts.map +1 -1
- package/dist/types/backend/dev/fake-headless-backend.d.ts +2 -0
- package/dist/types/backend/dev/fake-headless-backend.d.ts.map +1 -1
- package/dist/types/backend/local/local-backend.d.ts +9 -0
- package/dist/types/backend/local/local-backend.d.ts.map +1 -1
- package/dist/types/backend/local/local-conversation-record.d.ts +8 -0
- package/dist/types/backend/local/local-conversation-record.d.ts.map +1 -0
- package/dist/types/backend/local/local-store.d.ts +14 -1
- package/dist/types/backend/local/local-store.d.ts.map +1 -1
- package/dist/types/backend/local/local-types.d.ts +7 -0
- package/dist/types/backend/local/local-types.d.ts.map +1 -1
- package/dist/types/cli/helpers/app-urls.d.ts +7 -0
- package/dist/types/cli/helpers/app-urls.d.ts.map +1 -1
- package/dist/types/mcp-client.d.ts +2 -0
- package/dist/types/mcp-client.d.ts.map +1 -1
- package/dist/types/mcp-oauth-callback.d.ts +11 -0
- package/dist/types/mcp-oauth-callback.d.ts.map +1 -0
- package/dist/types/mcp-oauth-public.d.ts +46 -0
- package/dist/types/mcp-oauth-public.d.ts.map +1 -0
- package/dist/types/mcp-oauth.d.ts +56 -0
- package/dist/types/mcp-oauth.d.ts.map +1 -0
- package/dist/types/reflection-settings.d.ts +2 -0
- package/dist/types/reflection-settings.d.ts.map +1 -1
- package/dist/types/tools/impl/external-coding-agent-task.d.ts +2 -0
- package/dist/types/tools/impl/external-coding-agent-task.d.ts.map +1 -1
- package/dist/types/tools/impl/external-coding-agent.d.ts +2 -0
- package/dist/types/tools/impl/external-coding-agent.d.ts.map +1 -1
- package/dist/types/tools/impl/native-session-capture.d.ts +19 -0
- package/dist/types/tools/impl/native-session-capture.d.ts.map +1 -0
- package/dist/types/tools/impl/send-agent-message.d.ts.map +1 -1
- package/dist/types/tools/impl/task.d.ts.map +1 -1
- package/dist/types/tools/impl/workflow.d.ts.map +1 -1
- package/dist/types/tools/workflow/sdk-loader.d.ts +2 -2
- package/dist/types/tools/workflow/sdk-loader.d.ts.map +1 -1
- package/dist/types/tools/workflow/sdk-spawner.d.ts +6 -0
- package/dist/types/tools/workflow/sdk-spawner.d.ts.map +1 -1
- package/dist/types/tools/workflow/workflow-engine.d.ts.map +1 -1
- package/dist/types/types/app-server-info.d.ts +2 -0
- package/dist/types/types/app-server-info.d.ts.map +1 -1
- package/dist/types/utils/secrets.d.ts.map +1 -1
- package/letta.js +2928 -1988
- package/package.json +11 -1
- package/scripts/source-file-size-baseline.json +1 -1
- package/skills/workflow-authoring/SKILL.md +7 -3
- package/skills/working-across-computers/SKILL.md +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@letta-ai/letta-code",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.7",
|
|
4
4
|
"lettaStartupLogProtocol": 1,
|
|
5
5
|
"description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
|
|
6
6
|
"type": "module",
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
"dist/memory-constraints.js.map",
|
|
28
28
|
"dist/mcp-client.js",
|
|
29
29
|
"dist/mcp-client.js.map",
|
|
30
|
+
"dist/mcp-oauth.js",
|
|
31
|
+
"dist/mcp-oauth.js.map",
|
|
30
32
|
"dist/agent-presets.js",
|
|
31
33
|
"dist/agent-presets.js.map",
|
|
32
34
|
"dist/schedules.js",
|
|
@@ -71,6 +73,11 @@
|
|
|
71
73
|
"import": "./dist/mcp-client.js",
|
|
72
74
|
"default": "./dist/mcp-client.js"
|
|
73
75
|
},
|
|
76
|
+
"./mcp-oauth": {
|
|
77
|
+
"types": "./dist/types/mcp-oauth-public.d.ts",
|
|
78
|
+
"import": "./dist/mcp-oauth.js",
|
|
79
|
+
"default": "./dist/mcp-oauth.js"
|
|
80
|
+
},
|
|
74
81
|
"./protocol": {
|
|
75
82
|
"types": "./dist/types/types/protocol.d.ts"
|
|
76
83
|
},
|
|
@@ -228,6 +235,9 @@
|
|
|
228
235
|
"mcp-client": [
|
|
229
236
|
"./dist/types/mcp-client.d.ts"
|
|
230
237
|
],
|
|
238
|
+
"mcp-oauth": [
|
|
239
|
+
"./dist/types/mcp-oauth-public.d.ts"
|
|
240
|
+
],
|
|
231
241
|
"channels": [
|
|
232
242
|
"./dist/types/channels-public.d.ts"
|
|
233
243
|
],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"src/agent/client-skills.test.ts": 1134,
|
|
3
3
|
"src/agent/memory-git.ts": 2013,
|
|
4
4
|
"src/backend/local-backend.test.ts": 2472,
|
|
5
|
-
"src/backend/local/local-store.ts":
|
|
5
|
+
"src/backend/local/local-store.ts": 3267,
|
|
6
6
|
"src/backend/pi-stream-adapter.test.ts": 1255,
|
|
7
7
|
"src/cli/app/AppCoordinator.tsx": 5109,
|
|
8
8
|
"src/cli/app/AppView.tsx": 1735,
|
|
@@ -64,7 +64,9 @@ the tool's `model` input) accepts any handle or alias listed by
|
|
|
64
64
|
`letta model list`; an unknown value resolves that call to `null`. Use a
|
|
65
65
|
cheaper model for mechanical stages only when you know a valid handle.
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
Use the invoking backend for workflow workers. Local execution requires an Agent
|
|
68
|
+
SDK and App Server with local conversation support; `decide()` still uses the
|
|
69
|
+
Cloud decisions service.
|
|
68
70
|
|
|
69
71
|
## Script body hooks
|
|
70
72
|
|
|
@@ -241,5 +243,7 @@ script and launch it again.
|
|
|
241
243
|
|
|
242
244
|
The script is never replayed, but one worker can continue:
|
|
243
245
|
`agent(prompt, {conversationId})` re-prompts it with history and model intact,
|
|
244
|
-
using a journal ID and only once its last Run is terminal.
|
|
245
|
-
|
|
246
|
+
using a journal ID and only once its last Run is terminal. Local workers can
|
|
247
|
+
only continue inside the same workflow execution that observed their completed
|
|
248
|
+
turn. Tools default to `[]`; `schema` and `effort` are chosen per turn. Needs
|
|
249
|
+
SDK 0.8.20+.
|
|
@@ -92,3 +92,14 @@ letta sandbox download <sandbox-path> --agent <agent-id> --to <local-path>
|
|
|
92
92
|
- Download sources must be under `/root/downloads`; `--to` selects the destination path on the receiving computer. Without `--to`, download saves under the source file's basename.
|
|
93
93
|
- Transfer files directly, not as base64 or file contents through model messages. Return the path and destination IDs; verify received contents or checksums.
|
|
94
94
|
- These commands transfer files to/from Cloud sandboxes, not arbitrary remote filesystems. No sandbox ID or separate wake command is needed.
|
|
95
|
+
|
|
96
|
+
## Share a live view of a Cloud sandbox desktop
|
|
97
|
+
|
|
98
|
+
When someone outside chat (Slack, email, a teammate) needs to watch or drive the sandbox desktop, mint a viewer link:
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
letta sandbox desktop-link # this conversation's sandbox
|
|
102
|
+
letta sandbox desktop-link --conversation <conv-id> # another Cloud conversation
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
It prints `{ url, expiresAt }`. The URL opens the desktop in a browser tab with no sign-in. Anyone holding it can view and control the desktop until `expiresAt` (about one hour), so hand it to the person who asked, in a private message or thread, and say when it expires. Mint a new one if it lapses. The sandbox must be a ready Linux VM with desktop support; the command reports the server's error otherwise.
|