@letta-ai/letta-code 0.34.45 → 0.34.46

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 (32) hide show
  1. package/dist/app-server-client.cjs.map +2 -2
  2. package/dist/app-server-client.js.map +2 -2
  3. package/dist/mcp-client.js +2 -2
  4. package/dist/mcp-client.js.map +1 -1
  5. package/dist/mcp-oauth.js +2 -2
  6. package/dist/mcp-oauth.js.map +1 -1
  7. package/dist/types/tools/external-tool-types.d.ts +0 -2
  8. package/dist/types/tools/external-tool-types.d.ts.map +1 -1
  9. package/dist/types/tools/manager.d.ts +2 -2
  10. package/dist/types/tools/manager.d.ts.map +1 -1
  11. package/dist/types/tools/tool-policy.d.ts +18 -0
  12. package/dist/types/tools/tool-policy.d.ts.map +1 -0
  13. package/dist/types/tools/toolset.d.ts +4 -2
  14. package/dist/types/tools/toolset.d.ts.map +1 -1
  15. package/dist/types/types/app-server-info.d.ts +2 -0
  16. package/dist/types/types/app-server-info.d.ts.map +1 -1
  17. package/dist/types/types/external-tool-protocol.d.ts +26 -3
  18. package/dist/types/types/external-tool-protocol.d.ts.map +1 -1
  19. package/dist/types/types/input-create-message.d.ts +0 -2
  20. package/dist/types/types/input-create-message.d.ts.map +1 -1
  21. package/dist/types/types/queue-update-protocol.d.ts +6 -0
  22. package/dist/types/types/queue-update-protocol.d.ts.map +1 -1
  23. package/dist/types/types/runtime-start-protocol.d.ts +6 -1
  24. package/dist/types/types/runtime-start-protocol.d.ts.map +1 -1
  25. package/dist/types/websocket/listener/conversation-runtime.d.ts.map +1 -1
  26. package/dist/types/websocket/listener/types.d.ts +0 -1
  27. package/dist/types/websocket/listener/types.d.ts.map +1 -1
  28. package/letta.js +223 -523
  29. package/npm-shrinkwrap.json +11 -11
  30. package/package.json +2 -2
  31. package/scripts/isolated-unit-tests.json +15 -0
  32. package/scripts/source-file-size-baseline.json +3 -3
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.34.45",
3
+ "version": "0.34.46",
4
4
  "lockfileVersion": 3,
5
5
  "packages": {
6
6
  "node_modules/@alcalzone/ansi-tokenize": {
@@ -2058,9 +2058,9 @@
2058
2058
  }
2059
2059
  },
2060
2060
  "node_modules/ansi-regex": {
2061
- "version": "6.5.0",
2062
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.5.0.tgz",
2063
- "integrity": "sha512-zhvbbbdt1kbw7EJ9OQoxmQcuaNR9P5kTj7e/YdmOSU10aHWbycofJxA6jKfoEy3vlLdctOF9ZHaxLtmSm998wQ==",
2061
+ "version": "6.6.0",
2062
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.6.0.tgz",
2063
+ "integrity": "sha512-XZ5apbzreCbXSKwPjJstu8R0zOi247w3XYwWxtwBXgpZrCyc1Ka7p9/xY0A9/diMewmHbEKz+FIraWaEWjlN5g==",
2064
2064
  "license": "MIT",
2065
2065
  "engines": {
2066
2066
  "node": ">=12"
@@ -3411,9 +3411,9 @@
3411
3411
  "license": "ISC"
3412
3412
  },
3413
3413
  "node_modules/jose": {
3414
- "version": "6.2.15",
3415
- "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.15.tgz",
3416
- "integrity": "sha512-qdF6ewcZARtef63fJ9AKKZPgxw+t7USH6HLXYcD4CrdmSvDp79rpJSPFEKc90QBeGS63u1KQtN2MZQHC0yDIzA==",
3414
+ "version": "6.2.16",
3415
+ "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.16.tgz",
3416
+ "integrity": "sha512-4LSJpbuBuPdGrONCdZUy0xnxtLf8eEz+EY0SMXdHQEBU7bgUHDVblU/JAjryv3wID9/LK7/YuwFwq+AQNfMscQ==",
3417
3417
  "license": "MIT",
3418
3418
  "funding": {
3419
3419
  "url": "https://github.com/sponsors/panva"
@@ -5009,9 +5009,9 @@
5009
5009
  "license": "ISC"
5010
5010
  },
5011
5011
  "node_modules/ws": {
5012
- "version": "8.22.1",
5013
- "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.1.tgz",
5014
- "integrity": "sha512-oyL6OPYme/CmiFvNuGzeoxCJ4nOrZE2O1FwM9MWM1AsGri6nLXB2pg+lNA8aLeXMSav0J6eIVS1j6vUPzUtK9g==",
5012
+ "version": "8.22.2",
5013
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.2.tgz",
5014
+ "integrity": "sha512-/rEZ2ejown2N5gxVTHUu9bVVC7ttu0/Tgzf5hbTOixR3Fs7mbbXgn2DbdbcKgJOmpQMtrIUWivtYuVMnp/W/yA==",
5015
5015
  "license": "MIT",
5016
5016
  "engines": {
5017
5017
  "node": ">=10.0.0"
@@ -5080,7 +5080,7 @@
5080
5080
  },
5081
5081
  "": {
5082
5082
  "name": "@letta-ai/letta-code",
5083
- "version": "0.34.45",
5083
+ "version": "0.34.46",
5084
5084
  "dependencies": {
5085
5085
  "@cursor/sdk": "1.1.0",
5086
5086
  "@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.45",
3
+ "version": "0.34.46",
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.",
@@ -277,7 +277,7 @@
277
277
  },
278
278
  "lettaLifecycleProtocol": 1,
279
279
  "lettaRuntimeGraphProtocol": 1,
280
- "lettaRuntimeGraphSha512": "sha512-WIZjjGgnUTIQDdGkiMGGmYxhKDr34pXqcEUPqh9YvmdauZnqYCj0OeYE8ltjcpPNYevvXHP32Edeo+arrylfXA==",
280
+ "lettaRuntimeGraphSha512": "sha512-DMyrwe+kalQ3U0ncY7kalXtOWp1QE7bh32cJNtGoERBViCd8eeb0avXJTTyM3TSLUTzaKyZ58TXwUiZeLLGDew==",
281
281
  "patchedDependencies": {
282
282
  "@earendil-works/pi-ai@0.99.1": "patches/@earendil-works%2Fpi-ai@0.99.1.patch"
283
283
  }
@@ -164,6 +164,11 @@
164
164
  "timeoutMs": 15000,
165
165
  "reason": "Mutates the settings singleton, HOME, and the secrets service name."
166
166
  },
167
+ {
168
+ "path": "src/browser-discovery-server.test.ts",
169
+ "timeoutMs": 30000,
170
+ "reason": "Builds and launches real Node fixtures and opens live sockets; an isolated process prevents shared-batch load from exhausting the Windows fixture-output deadline."
171
+ },
167
172
  {
168
173
  "path": "src/settings-manager-auth-cache.test.ts",
169
174
  "timeoutMs": 15000,
@@ -218,6 +223,11 @@
218
223
  "timeoutMs": 30000,
219
224
  "reason": "Spawns real Git processes and mutates HOME, USER_CWD, cwd, and runtime singletons."
220
225
  },
226
+ {
227
+ "path": "src/agent/memory-git.retry.test.ts",
228
+ "timeoutMs": 30000,
229
+ "reason": "Runs real Git clone helpers against live local HTTP servers; isolate it so Windows shared-batch load cannot exhaust the per-attempt network deadlines before Git reaches the fixture."
230
+ },
221
231
  {
222
232
  "path": "src/agent/available-models.test.ts",
223
233
  "timeoutMs": 15000,
@@ -278,6 +288,11 @@
278
288
  "timeoutMs": 15000,
279
289
  "reason": "Mutates HOME and the remote-settings singleton to verify startup cwd-map repair."
280
290
  },
291
+ {
292
+ "path": "src/websocket/listener/turn-durability.test.ts",
293
+ "timeoutMs": 30000,
294
+ "reason": "Performs hundreds of synchronous durable writes and lock operations; isolate it so shared-batch load does not make Windows lock-budget assertions hit the generic 15-second timeout."
295
+ },
281
296
  {
282
297
  "path": "src/tools/impl/task-external-fork.test.ts",
283
298
  "timeoutMs": 30000,
@@ -33,12 +33,12 @@
33
33
  "src/permissions/read-only-shell.ts": 1969,
34
34
  "src/settings-manager.test.ts": 1635,
35
35
  "src/settings-manager.ts": 2092,
36
- "src/tools/manager.ts": 2608,
37
- "src/tools/tool-execution-context.test.ts": 1092,
36
+ "src/tools/manager.ts": 2590,
37
+ "src/tools/tool-execution-context.test.ts": 1025,
38
38
  "src/types/protocol_v2.ts": 2409,
39
39
  "src/websocket/listen-client-concurrency.test.ts": 2519,
40
40
  "src/websocket/listen-client-protocol.test.ts": 5664,
41
41
  "src/websocket/listener/commands/memory.ts": 1114,
42
42
  "src/websocket/listener/file-commands.ts": 1045,
43
- "src/websocket/listener/protocol-inbound.ts": 2047
43
+ "src/websocket/listener/protocol-inbound.ts": 2041
44
44
  }