@letta-ai/letta-code 0.34.39 → 0.34.40
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/agent-presets.js +4 -4
- package/dist/agent-presets.js.map +1 -1
- package/dist/gateway-core.js +2 -2
- package/dist/gateway-core.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/memory-constraints.js +21 -11
- package/dist/memory-constraints.js.map +3 -3
- package/dist/types/agent/memory-constraints.d.ts +5 -0
- package/dist/types/agent/memory-constraints.d.ts.map +1 -1
- package/dist/types/agent/message.d.ts.map +1 -1
- package/dist/types/agent/shared-memory-skills.d.ts.map +1 -1
- package/dist/types/agent/subagents/child-send-tracking.d.ts.map +1 -1
- package/dist/types/agent/subagents/index.d.ts +0 -13
- package/dist/types/agent/subagents/index.d.ts.map +1 -1
- package/dist/types/agent/subagents/parent-transcript.d.ts +35 -0
- package/dist/types/agent/subagents/parent-transcript.d.ts.map +1 -0
- package/dist/types/agent/subagents/remote-turn-wait.d.ts +6 -1
- package/dist/types/agent/subagents/remote-turn-wait.d.ts.map +1 -1
- package/dist/types/agent/subagents/subagent-names.d.ts +7 -0
- package/dist/types/agent/subagents/subagent-names.d.ts.map +1 -0
- package/dist/types/agent/turn-recovery-policy.d.ts +7 -0
- package/dist/types/agent/turn-recovery-policy.d.ts.map +1 -1
- package/dist/types/backend/api/agents.d.ts +2 -0
- package/dist/types/backend/api/agents.d.ts.map +1 -1
- package/dist/types/backend/api/environments.d.ts +2 -0
- package/dist/types/backend/api/environments.d.ts.map +1 -1
- package/dist/types/headless-super-run-wait.d.ts +6 -0
- package/dist/types/headless-super-run-wait.d.ts.map +1 -1
- package/dist/types/memory-constraints.d.ts +7 -0
- package/dist/types/memory-constraints.d.ts.map +1 -1
- package/dist/types/tools/impl/bash.d.ts.map +1 -1
- package/dist/types/tools/impl/external-coding-agent.d.ts +3 -1
- package/dist/types/tools/impl/external-coding-agent.d.ts.map +1 -1
- package/dist/types/tools/impl/external-fork-context.d.ts +43 -0
- package/dist/types/tools/impl/external-fork-context.d.ts.map +1 -0
- package/dist/types/tools/impl/remote-external-coding-agent.d.ts +2 -0
- package/dist/types/tools/impl/remote-external-coding-agent.d.ts.map +1 -1
- package/dist/types/tools/impl/self-matching-pgrep.d.ts +13 -0
- package/dist/types/tools/impl/self-matching-pgrep.d.ts.map +1 -0
- package/dist/types/tools/impl/task-agent-selection.d.ts +29 -0
- package/dist/types/tools/impl/task-agent-selection.d.ts.map +1 -0
- package/dist/types/tools/impl/task.d.ts.map +1 -1
- package/dist/types/types/runtime-start-protocol.d.ts +5 -0
- package/dist/types/types/runtime-start-protocol.d.ts.map +1 -1
- package/dist/types/types/subagent-protocol.d.ts +15 -1
- package/dist/types/types/subagent-protocol.d.ts.map +1 -1
- package/dist/types/utils/task-notifications.d.ts +1 -1
- package/dist/types/utils/task-notifications.d.ts.map +1 -1
- package/dist/types/websocket/listener/permission-mode.d.ts +7 -0
- package/dist/types/websocket/listener/permission-mode.d.ts.map +1 -1
- package/dist/types/websocket/listener/remote-settings.d.ts +2 -0
- package/dist/types/websocket/listener/remote-settings.d.ts.map +1 -1
- package/letta.js +3107 -2546
- package/npm-shrinkwrap.json +5 -5
- package/package.json +2 -2
- package/scripts/isolated-unit-tests.json +23 -6
- package/scripts/source-file-size-baseline.json +1 -1
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.40",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"packages": {
|
|
6
6
|
"node_modules/@alcalzone/ansi-tokenize": {
|
|
@@ -3887,9 +3887,9 @@
|
|
|
3887
3887
|
}
|
|
3888
3888
|
},
|
|
3889
3889
|
"node_modules/ip-address": {
|
|
3890
|
-
"version": "10.7.
|
|
3891
|
-
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.
|
|
3892
|
-
"integrity": "sha512-
|
|
3890
|
+
"version": "10.7.6",
|
|
3891
|
+
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.6.tgz",
|
|
3892
|
+
"integrity": "sha512-00LYkM6byILa9eQIx6qoaXCM40xTLd56AZ4vyaPW3YTyb49VZYPo5xsiAq4tuQ54GH4R7gVdYScJ1B7B77PuTg==",
|
|
3893
3893
|
"license": "MIT",
|
|
3894
3894
|
"engines": {
|
|
3895
3895
|
"node": ">= 12"
|
|
@@ -5656,7 +5656,7 @@
|
|
|
5656
5656
|
},
|
|
5657
5657
|
"": {
|
|
5658
5658
|
"name": "@letta-ai/letta-code",
|
|
5659
|
-
"version": "0.34.
|
|
5659
|
+
"version": "0.34.40",
|
|
5660
5660
|
"dependencies": {
|
|
5661
5661
|
"@cursor/sdk": "1.1.0",
|
|
5662
5662
|
"@earendil-works/pi-ai": "^0.99.1",
|
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.40",
|
|
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.",
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
},
|
|
279
279
|
"lettaLifecycleProtocol": 1,
|
|
280
280
|
"lettaRuntimeGraphProtocol": 1,
|
|
281
|
-
"lettaRuntimeGraphSha512": "sha512-
|
|
281
|
+
"lettaRuntimeGraphSha512": "sha512-vwYpHenC5+o1+QeT98fBEv+NQXWgKi/PeUqDEzLSl8uuXcNvo4KMRGiYuC++Cnyfwx4n+sywIKIeFT2FM/Cnsw==",
|
|
282
282
|
"patchedDependencies": {
|
|
283
283
|
"@earendil-works/pi-ai@0.99.1": "patches/@earendil-works%2Fpi-ai@0.99.1.patch"
|
|
284
284
|
}
|
|
@@ -78,13 +78,17 @@
|
|
|
78
78
|
{
|
|
79
79
|
"path": "src/channels/service.test.ts",
|
|
80
80
|
"timeoutMs": 15000,
|
|
81
|
-
"env": {
|
|
81
|
+
"env": {
|
|
82
|
+
"LETTA_SKIP_KEYCHAIN_CHECK": "1"
|
|
83
|
+
},
|
|
82
84
|
"reason": "Mutates shared channel stores and credential mode; local fixtures must not use the macOS keychain."
|
|
83
85
|
},
|
|
84
86
|
{
|
|
85
87
|
"path": "src/channels/registry-lifecycle.test.ts",
|
|
86
88
|
"timeoutMs": 15000,
|
|
87
|
-
"env": {
|
|
89
|
+
"env": {
|
|
90
|
+
"LETTA_SKIP_KEYCHAIN_CHECK": "1"
|
|
91
|
+
},
|
|
88
92
|
"reason": "initializeChannels() probes the OS keychain and caches the process-global channel credential mode; on macOS that cached keyring mode made later channel fixtures write tokens to the runner keychain."
|
|
89
93
|
},
|
|
90
94
|
{
|
|
@@ -130,7 +134,9 @@
|
|
|
130
134
|
{
|
|
131
135
|
"path": "src/cli/helpers/pinned-agent-listing.test.ts",
|
|
132
136
|
"timeoutMs": 15000,
|
|
133
|
-
"env": {
|
|
137
|
+
"env": {
|
|
138
|
+
"LETTA_SKIP_KEYCHAIN_CHECK": "1"
|
|
139
|
+
},
|
|
134
140
|
"reason": "Mutates HOME, local-backend paths, the settings singleton, and the keychain service name."
|
|
135
141
|
},
|
|
136
142
|
{
|
|
@@ -171,7 +177,9 @@
|
|
|
171
177
|
{
|
|
172
178
|
"path": "src/cli/reflection-worktree-completion.test.ts",
|
|
173
179
|
"timeoutMs": 15000,
|
|
174
|
-
"env": {
|
|
180
|
+
"env": {
|
|
181
|
+
"LETTA_CODE_TELEM": "1"
|
|
182
|
+
},
|
|
175
183
|
"reason": "Exercises reflection worktree cleanup telemetry with real Git processes and the shared telemetry singleton."
|
|
176
184
|
},
|
|
177
185
|
{
|
|
@@ -182,13 +190,17 @@
|
|
|
182
190
|
{
|
|
183
191
|
"path": "src/telemetry/flush-auth.test.ts",
|
|
184
192
|
"timeoutMs": 15000,
|
|
185
|
-
"env": {
|
|
193
|
+
"env": {
|
|
194
|
+
"LETTA_CODE_TELEM": "1"
|
|
195
|
+
},
|
|
186
196
|
"reason": "Explicitly exercises telemetry emission with mocked network requests."
|
|
187
197
|
},
|
|
188
198
|
{
|
|
189
199
|
"path": "src/telemetry/flush-batching.test.ts",
|
|
190
200
|
"timeoutMs": 15000,
|
|
191
|
-
"env": {
|
|
201
|
+
"env": {
|
|
202
|
+
"LETTA_CODE_TELEM": "1"
|
|
203
|
+
},
|
|
192
204
|
"reason": "Explicitly exercises telemetry batching with mocked network requests."
|
|
193
205
|
},
|
|
194
206
|
{
|
|
@@ -265,6 +277,11 @@
|
|
|
265
277
|
"path": "src/websocket/listener/remote-settings.test.ts",
|
|
266
278
|
"timeoutMs": 15000,
|
|
267
279
|
"reason": "Mutates HOME and the remote-settings singleton to verify startup cwd-map repair."
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"path": "src/tools/impl/task-external-fork.test.ts",
|
|
283
|
+
"timeoutMs": 30000,
|
|
284
|
+
"reason": "Mocks subagent discovery, the child-process launch and the external worker hand-off while exercising task() fork_context for external coding workers with process-global backend, settings, and subagent state."
|
|
268
285
|
}
|
|
269
286
|
]
|
|
270
287
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"src/cli/app/AppView.tsx": 1732,
|
|
9
9
|
"src/cli/app/use-approval-flow.ts": 1099,
|
|
10
10
|
"src/cli/app/use-configuration-handlers.ts": 1417,
|
|
11
|
-
"src/cli/app/use-conversation-loop.ts":
|
|
11
|
+
"src/cli/app/use-conversation-loop.ts": 2849,
|
|
12
12
|
"src/cli/app/use-submit-handler.ts": 3791,
|
|
13
13
|
"src/cli/components/AgentSelector.tsx": 1104,
|
|
14
14
|
"src/cli/components/InputRich.tsx": 2124,
|