@letta-ai/letta-code 0.34.62 → 0.34.64
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/dist/channels-public.js +2 -1
- package/dist/channels-public.js.map +3 -3
- package/dist/mcp-client.js +2 -2
- package/dist/mcp-client.js.map +1 -1
- package/dist/mcp-oauth.js +2 -2
- package/dist/mcp-oauth.js.map +1 -1
- package/dist/types/agent/subagents/remote-turn-wait.d.ts.map +1 -1
- package/dist/types/backend/api/agent-message.d.ts +2 -0
- package/dist/types/backend/api/agent-message.d.ts.map +1 -1
- package/dist/types/backend/api/metadata.d.ts +0 -12
- package/dist/types/backend/api/metadata.d.ts.map +1 -1
- package/dist/types/backend/api/unified-mcp.d.ts.map +1 -1
- package/dist/types/backend/local/local-backend.d.ts.map +1 -1
- package/dist/types/backend/local/local-message-list-options.d.ts +7 -0
- package/dist/types/backend/local/local-message-list-options.d.ts.map +1 -0
- package/dist/types/backend/local/local-store.d.ts +2 -0
- package/dist/types/backend/local/local-store.d.ts.map +1 -1
- package/dist/types/backend/local/local-transcript-history.d.ts +8 -0
- package/dist/types/backend/local/local-transcript-history.d.ts.map +1 -1
- package/dist/types/backend/local/local-transcript.d.ts +1 -0
- package/dist/types/backend/local/local-transcript.d.ts.map +1 -1
- package/dist/types/backend/local/system-prompt-compilation.d.ts +2 -1
- package/dist/types/backend/local/system-prompt-compilation.d.ts.map +1 -1
- package/dist/types/channels/xml.d.ts +5 -0
- package/dist/types/channels/xml.d.ts.map +1 -1
- package/dist/types/channels-public.d.ts +1 -0
- package/dist/types/channels-public.d.ts.map +1 -1
- package/dist/types/queue/queue-runtime.d.ts +1 -1
- package/dist/types/queue/queue-runtime.d.ts.map +1 -1
- package/dist/types/queue/turn-queue-runtime.d.ts +4 -0
- package/dist/types/queue/turn-queue-runtime.d.ts.map +1 -1
- package/dist/types/reminders/engine.d.ts +3 -3
- package/dist/types/reminders/engine.d.ts.map +1 -1
- package/dist/types/tools/external-tool-background.d.ts.map +1 -1
- package/dist/types/tools/impl/claude-steer-timeouts.d.ts +5 -0
- package/dist/types/tools/impl/claude-steer-timeouts.d.ts.map +1 -1
- package/dist/types/tools/impl/external-coding-agent.d.ts +1 -1
- package/dist/types/tools/impl/external-coding-agent.d.ts.map +1 -1
- package/dist/types/tools/impl/external-fork-context.d.ts +6 -0
- package/dist/types/tools/impl/external-fork-context.d.ts.map +1 -1
- package/dist/types/tools/impl/monitor-script.d.ts +1 -0
- package/dist/types/tools/impl/monitor-script.d.ts.map +1 -1
- package/dist/types/tools/impl/monitor.d.ts +1 -0
- package/dist/types/tools/impl/monitor.d.ts.map +1 -1
- package/dist/types/tools/impl/remote-connect-retry.d.ts +4 -0
- package/dist/types/tools/impl/remote-connect-retry.d.ts.map +1 -0
- package/dist/types/tools/impl/remote-external-coding-agent.d.ts.map +1 -1
- package/dist/types/tools/impl/remote-follow-up-retry.d.ts +9 -0
- package/dist/types/tools/impl/remote-follow-up-retry.d.ts.map +1 -0
- package/dist/types/tools/impl/task.d.ts.map +1 -1
- package/dist/types/tools/impl/watch-pr.d.ts.map +1 -1
- package/dist/types/utils/message-queue-bridge.d.ts +1 -1
- package/dist/types/utils/message-queue-bridge.d.ts.map +1 -1
- package/dist/types/utils/task-notifications.d.ts +6 -0
- package/dist/types/utils/task-notifications.d.ts.map +1 -1
- package/letta.js +376 -253
- package/npm-shrinkwrap.json +18 -14
- package/package.json +2 -2
- package/scripts/source-file-size-baseline.json +2 -2
- package/skills/image-generation/SKILL.md +2 -0
- package/skills/self-configuration/SKILL.md +7 -5
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@letta-ai/letta-code",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.64",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"packages": {
|
|
6
6
|
"node_modules/@alcalzone/ansi-tokenize": {
|
|
@@ -622,9 +622,9 @@
|
|
|
622
622
|
}
|
|
623
623
|
},
|
|
624
624
|
"node_modules/@hono/node-server": {
|
|
625
|
-
"version": "2.1.
|
|
626
|
-
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.
|
|
627
|
-
"integrity": "sha512-
|
|
625
|
+
"version": "2.1.9",
|
|
626
|
+
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.9.tgz",
|
|
627
|
+
"integrity": "sha512-Sk4NQd3GFY0WZWCzndwFMPwJhtD0y9qjsQ+pjID0/03nK9pxyBCUoUHCho8QYBLBVhi0ssL8UkNPHqbgSOFPIQ==",
|
|
628
628
|
"license": "MIT",
|
|
629
629
|
"engines": {
|
|
630
630
|
"node": ">=20"
|
|
@@ -1673,9 +1673,9 @@
|
|
|
1673
1673
|
"license": "MIT"
|
|
1674
1674
|
},
|
|
1675
1675
|
"node_modules/@smithy/core": {
|
|
1676
|
-
"version": "3.
|
|
1677
|
-
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.
|
|
1678
|
-
"integrity": "sha512-
|
|
1676
|
+
"version": "3.41.0",
|
|
1677
|
+
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.41.0.tgz",
|
|
1678
|
+
"integrity": "sha512-fuZ34H1uizS3WgcX9VXG7Uy8od5A5/kCc+CR3NkHLNm2H/BE9AUHG02VIdu8ZB7FYhLqsr/RZbqAoXuOCg/Oxg==",
|
|
1679
1679
|
"license": "Apache-2.0",
|
|
1680
1680
|
"dependencies": {
|
|
1681
1681
|
"@smithy/types": "^4.20.0",
|
|
@@ -3147,9 +3147,9 @@
|
|
|
3147
3147
|
}
|
|
3148
3148
|
},
|
|
3149
3149
|
"node_modules/hono": {
|
|
3150
|
-
"version": "4.13.
|
|
3151
|
-
"resolved": "https://registry.npmjs.org/hono/-/hono-4.13.
|
|
3152
|
-
"integrity": "sha512-
|
|
3150
|
+
"version": "4.13.19",
|
|
3151
|
+
"resolved": "https://registry.npmjs.org/hono/-/hono-4.13.19.tgz",
|
|
3152
|
+
"integrity": "sha512-KmXvQAXwcAHV+muzbIwoJ23niEB5nMoDVr9WcRkU8mvjUECm/1+7v4Jgp7P7a+H6MLFrh+vXrGonGrGS+RQfkA==",
|
|
3153
3153
|
"license": "MIT",
|
|
3154
3154
|
"engines": {
|
|
3155
3155
|
"node": ">=16.9.0"
|
|
@@ -4252,9 +4252,9 @@
|
|
|
4252
4252
|
}
|
|
4253
4253
|
},
|
|
4254
4254
|
"node_modules/router": {
|
|
4255
|
-
"version": "2.
|
|
4256
|
-
"resolved": "https://registry.npmjs.org/router/-/router-2.
|
|
4257
|
-
"integrity": "sha512-
|
|
4255
|
+
"version": "2.3.0",
|
|
4256
|
+
"resolved": "https://registry.npmjs.org/router/-/router-2.3.0.tgz",
|
|
4257
|
+
"integrity": "sha512-bpowRfGjEPe8t9R6fJIzhwmyCGAXwKvxBUsgJm+bJukwdcWmUXbMo7p22w7aYmQBPQTUMNqMV39YX0kMou3z8w==",
|
|
4258
4258
|
"license": "MIT",
|
|
4259
4259
|
"dependencies": {
|
|
4260
4260
|
"debug": "^4.4.0",
|
|
@@ -4265,6 +4265,10 @@
|
|
|
4265
4265
|
},
|
|
4266
4266
|
"engines": {
|
|
4267
4267
|
"node": ">= 18"
|
|
4268
|
+
},
|
|
4269
|
+
"funding": {
|
|
4270
|
+
"type": "opencollective",
|
|
4271
|
+
"url": "https://opencollective.com/express"
|
|
4268
4272
|
}
|
|
4269
4273
|
},
|
|
4270
4274
|
"node_modules/run-applescript": {
|
|
@@ -5083,7 +5087,7 @@
|
|
|
5083
5087
|
},
|
|
5084
5088
|
"": {
|
|
5085
5089
|
"name": "@letta-ai/letta-code",
|
|
5086
|
-
"version": "0.34.
|
|
5090
|
+
"version": "0.34.64",
|
|
5087
5091
|
"dependencies": {
|
|
5088
5092
|
"@cursor/sdk": "1.1.0",
|
|
5089
5093
|
"@earendil-works/pi-ai": "^1.5.2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@letta-ai/letta-code",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.64",
|
|
4
4
|
"lettaStartupLogProtocol": 1,
|
|
5
5
|
"lettaConfigDirProtocol": 1,
|
|
6
6
|
"description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
},
|
|
288
288
|
"lettaLifecycleProtocol": 1,
|
|
289
289
|
"lettaRuntimeGraphProtocol": 1,
|
|
290
|
-
"lettaRuntimeGraphSha512": "sha512-
|
|
290
|
+
"lettaRuntimeGraphSha512": "sha512-YBw5454QIS1lIoAD6ih1iX/HMCzk64xnt+DSnT2DImzzMMJXgHXqXap7e1O2wPQbkVfm5HI9Q+5a9KskU8GYRw==",
|
|
291
291
|
"patchedDependencies": {
|
|
292
292
|
"@earendil-works/pi-ai@1.5.2": "patches/@earendil-works%2Fpi-ai@1.5.2.patch"
|
|
293
293
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"src/agent/client-skills.test.ts": 1132,
|
|
3
3
|
"src/agent/memory-git.ts": 2009,
|
|
4
4
|
"src/backend/local-backend.test.ts": 2472,
|
|
5
|
-
"src/backend/local/local-store.ts":
|
|
5
|
+
"src/backend/local/local-store.ts": 3247,
|
|
6
6
|
"src/backend/pi-stream-adapter.test.ts": 1255,
|
|
7
7
|
"src/cli/app/AppCoordinator.tsx": 5129,
|
|
8
8
|
"src/cli/app/AppView.tsx": 1732,
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"src/cli/reflection-transcript.test.ts": 1084,
|
|
21
21
|
"src/cli/subcommands/mcp.ts": 1045,
|
|
22
22
|
"src/cli/subcommands/skills.ts": 1243,
|
|
23
|
-
"src/headless.ts":
|
|
23
|
+
"src/headless.ts": 4773,
|
|
24
24
|
"src/hooks/integration.test.ts": 1147,
|
|
25
25
|
"src/index.ts": 2543,
|
|
26
26
|
"src/mods/learning-harness.ts": 2434,
|
|
@@ -9,6 +9,8 @@ Generate images via Letta's hosted endpoint `POST /v1/images/generations`. The A
|
|
|
9
9
|
usually returns base64 image bytes, but some providers return signed image URLs;
|
|
10
10
|
save either form to a local image file before replying.
|
|
11
11
|
|
|
12
|
+
If the ask names a real thing (a product, place, meme, emoji or person), look up what it actually looks like before drawing it. If the real image is all they asked for, post it (slackmojis.com for Slack emoji); otherwise pass it to the generator as a reference so the thing looks right in the new image. A name you don't recognize may be newer than you know, so search it rather than guessing from the words.
|
|
13
|
+
|
|
12
14
|
## Example
|
|
13
15
|
|
|
14
16
|
Generate the image, save it locally, then show it inline:
|
|
@@ -56,13 +56,15 @@ Local settings, server state, and the current process are different sources of t
|
|
|
56
56
|
|
|
57
57
|
`letta model` reads and writes through the active backend, so it works the same on every backend. Prefer it over the REST helper scripts for anything model-related.
|
|
58
58
|
|
|
59
|
-
### Account credits
|
|
59
|
+
### Account credits
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
Hosted model quota has been retired; `letta usage` shows Letta credits instead, not provider subscription quota.
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
Run `letta usage` for a Markdown overview of the current plan and remaining credit balance. Amounts are credits, not dollars; preserve negative balances.
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
The command uses CLI auth and respects `LETTA_API_KEY`/`LETTA_BASE_URL`, not agent or conversation selectors. Credits belong to the organization, not necessarily the person chatting with the agent. In local mode, use `letta --backend cloud usage` only when the user wants Cloud account usage.
|
|
66
|
+
|
|
67
|
+
Use `letta model list` for available models; a credit balance does not guarantee inference availability. `letta usage` does not include session token statistics; the interactive `/usage` command is a separate surface. If the balance lookup fails, the command exits nonzero without partial usage. Treat that as unavailable data, not zero credits.
|
|
66
68
|
|
|
67
69
|
### Billing path when changing models
|
|
68
70
|
|
|
@@ -70,7 +72,7 @@ The same model can often be reached through more than one route: a connected sub
|
|
|
70
72
|
|
|
71
73
|
Before switching models, consider how the current model is billed and keep the user on that route unless they asked to change it. Use the current handle, the labels in `letta model list`, and anything the user has said about billing as evidence. If several available handles serve the requested model and you cannot tell which one uses the user's subscription, list the candidates and ask before switching. Do not silently move a user from a subscription to per-token billing.
|
|
72
74
|
|
|
73
|
-
`letta model list --byok` includes both connected subscriptions and user API keys, so it does not separate the two. `letta usage` covers only Letta credits
|
|
75
|
+
`letta model list --byok` includes both connected subscriptions and user API keys, so it does not separate the two. `letta usage` covers only Letta credits, not connected subscriptions.
|
|
74
76
|
|
|
75
77
|
### Harness and server settings
|
|
76
78
|
|