@letta-ai/letta-code 0.30.14 → 0.30.16

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 (30) hide show
  1. package/dist/mcp-client.js +2 -2
  2. package/dist/mcp-client.js.map +1 -1
  3. package/dist/types/agent/message.d.ts +2 -0
  4. package/dist/types/agent/message.d.ts.map +1 -1
  5. package/dist/types/backend/local/local-agent-record.d.ts +14 -0
  6. package/dist/types/backend/local/local-agent-record.d.ts.map +1 -0
  7. package/dist/types/backend/local/local-store.d.ts +5 -5
  8. package/dist/types/backend/local/local-store.d.ts.map +1 -1
  9. package/dist/types/mods/mod-engine.d.ts.map +1 -1
  10. package/dist/types/mods/turn-start-input.d.ts +5 -0
  11. package/dist/types/mods/turn-start-input.d.ts.map +1 -0
  12. package/dist/types/tools/impl/enter-worktree.d.ts.map +1 -1
  13. package/dist/types/tools/impl/monitor.d.ts.map +1 -1
  14. package/dist/types/tools/impl/worktree-git.d.ts +2 -0
  15. package/dist/types/tools/impl/worktree-git.d.ts.map +1 -1
  16. package/dist/types/types/runtime-scope.d.ts +2 -0
  17. package/dist/types/types/runtime-scope.d.ts.map +1 -1
  18. package/dist/types/websocket/listener/protocol-outbound.d.ts +1 -2
  19. package/dist/types/websocket/listener/protocol-outbound.d.ts.map +1 -1
  20. package/dist/types/websocket/listener/runtime.d.ts.map +1 -1
  21. package/dist/types/websocket/listener/scope.d.ts +1 -0
  22. package/dist/types/websocket/listener/scope.d.ts.map +1 -1
  23. package/dist/types/websocket/listener/turn-lifecycle.d.ts +3 -0
  24. package/dist/types/websocket/listener/turn-lifecycle.d.ts.map +1 -1
  25. package/dist/types/websocket/listener/types.d.ts +4 -0
  26. package/dist/types/websocket/listener/types.d.ts.map +1 -1
  27. package/letta.js +838 -679
  28. package/package.json +1 -1
  29. package/scripts/isolated-unit-tests.json +22 -0
  30. package/scripts/source-file-size-baseline.json +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.30.14",
3
+ "version": "0.30.16",
4
4
  "description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.0",
@@ -30,6 +30,17 @@
30
30
  "timeoutMs": 15000,
31
31
  "reason": "Mutates shared channel account, route, pairing, and target stores."
32
32
  },
33
+ {
34
+ "path": "src/channels/protocol-command-handler.test.ts",
35
+ "timeoutMs": 15000,
36
+ "reason": "Mutates shared channel account, route, credential-store, service-loader, and listener runtime state."
37
+ },
38
+ {
39
+ "path": "src/channels/service.test.ts",
40
+ "timeoutMs": 15000,
41
+ "env": { "LETTA_SKIP_KEYCHAIN_CHECK": "1" },
42
+ "reason": "Mutates shared channel stores and credential mode; local fixtures must not use the macOS keychain."
43
+ },
33
44
  {
34
45
  "path": "src/channels/slack/media.test.ts",
35
46
  "timeoutMs": 15000,
@@ -45,6 +56,12 @@
45
56
  "timeoutMs": 15000,
46
57
  "reason": "Uses a top-level Bun module mock for backend search."
47
58
  },
59
+ {
60
+ "path": "src/cli/helpers/pinned-agent-listing.test.ts",
61
+ "timeoutMs": 15000,
62
+ "env": { "LETTA_SKIP_KEYCHAIN_CHECK": "1" },
63
+ "reason": "Mutates HOME, local-backend paths, the settings singleton, and the keychain service name."
64
+ },
48
65
  {
49
66
  "path": "src/hooks/prompt-executor.test.ts",
50
67
  "timeoutMs": 15000,
@@ -108,6 +125,11 @@
108
125
  "timeoutMs": 30000,
109
126
  "reason": "Spawns real shells and temporarily mutates process platform and PATH state."
110
127
  },
128
+ {
129
+ "path": "src/tools/impl/github-pull-request-shell-adapters.test.ts",
130
+ "timeoutMs": 30000,
131
+ "reason": "Spawns every shell adapter while mutating PATH, the backend singleton, and process registries."
132
+ },
111
133
  {
112
134
  "path": "src/tools/enter-worktree.test.ts",
113
135
  "timeoutMs": 30000,
@@ -3,7 +3,7 @@
3
3
  "src/agent/memory-git.ts": 2128,
4
4
  "src/backend/local-backend.test.ts": 2532,
5
5
  "src/backend/local/local-backend.ts": 1014,
6
- "src/backend/local/local-store.ts": 3599,
6
+ "src/backend/local/local-store.ts": 3459,
7
7
  "src/backend/pi-stream-adapter.test.ts": 1304,
8
8
  "src/cli/app/AppCoordinator.tsx": 5188,
9
9
  "src/cli/app/AppView.tsx": 1735,
@@ -26,7 +26,7 @@
26
26
  "src/index.ts": 2773,
27
27
  "src/mods/learning-harness.ts": 2434,
28
28
  "src/mods/mod-engine.test.ts": 2153,
29
- "src/mods/mod-engine.ts": 1840,
29
+ "src/mods/mod-engine.ts": 1838,
30
30
  "src/mods/package-installer.test.ts": 1248,
31
31
  "src/mods/package-installer.ts": 1201,
32
32
  "src/mods/package-registry.ts": 1033,
@@ -46,5 +46,5 @@
46
46
  "src/websocket/listener/lifecycle.ts": 1051,
47
47
  "src/websocket/listener/protocol-inbound.ts": 2264,
48
48
  "src/websocket/listener/protocol-outbound.ts": 1085,
49
- "src/websocket/listener/turn.ts": 1010
49
+ "src/websocket/listener/turn.ts": 1013
50
50
  }