@letta-ai/letta-code 0.28.3 → 0.28.5
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 +3 -1
- package/dist/agent-presets.js.map +3 -3
- package/dist/types/agent/model-catalog.d.ts +27 -0
- package/dist/types/agent/model-catalog.d.ts.map +1 -1
- package/dist/types/agent-presets.d.ts +1 -0
- package/dist/types/agent-presets.d.ts.map +1 -1
- package/letta.js +1434 -1111
- package/package.json +1 -1
- package/scripts/isolated-unit-tests.json +10 -0
- package/scripts/source-file-size-baseline.json +3 -3
- package/skills/creating-mods/references/ui.md +2 -2
package/package.json
CHANGED
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
"timeoutMs": 15000,
|
|
26
26
|
"reason": "Uses a top-level Bun module mock for backend generation."
|
|
27
27
|
},
|
|
28
|
+
{
|
|
29
|
+
"path": "src/settings-manager-auth-cache.test.ts",
|
|
30
|
+
"timeoutMs": 15000,
|
|
31
|
+
"reason": "Mutates the settings singleton, keychain test overrides, HOME, and the secrets service name."
|
|
32
|
+
},
|
|
28
33
|
{
|
|
29
34
|
"path": "src/tools/bash.test.ts",
|
|
30
35
|
"timeoutMs": 30000,
|
|
@@ -59,6 +64,11 @@
|
|
|
59
64
|
"path": "src/websocket/listen-client-concurrency.test.ts",
|
|
60
65
|
"timeoutMs": 30000,
|
|
61
66
|
"reason": "Uses several top-level Bun module mocks and exercises real concurrent listener state."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "src/websocket/listener/auth-lifecycle.test.ts",
|
|
70
|
+
"timeoutMs": 30000,
|
|
71
|
+
"reason": "Exercises real WebSockets while mutating listener, settings, HOME, and process environment state."
|
|
62
72
|
}
|
|
63
73
|
]
|
|
64
74
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"src/agent/client-skills.test.ts": 1196,
|
|
3
|
-
"src/agent/memory-git.ts":
|
|
4
|
-
"src/backend/local-backend.test.ts":
|
|
3
|
+
"src/agent/memory-git.ts": 2129,
|
|
4
|
+
"src/backend/local-backend.test.ts": 2534,
|
|
5
5
|
"src/backend/local/local-backend.ts": 1058,
|
|
6
6
|
"src/backend/local/local-store.ts": 3618,
|
|
7
7
|
"src/backend/pi-stream-adapter.test.ts": 1442,
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"src/providers/chatgpt-usage-service.ts": 1115,
|
|
37
37
|
"src/settings-manager.test.ts": 1669,
|
|
38
38
|
"src/settings-manager.ts": 2113,
|
|
39
|
-
"src/tools/impl/enter-worktree.ts":
|
|
39
|
+
"src/tools/impl/enter-worktree.ts": 1260,
|
|
40
40
|
"src/tools/impl/message-channel.ts": 1208,
|
|
41
41
|
"src/tools/manager.ts": 3293,
|
|
42
42
|
"src/tools/tool-execution-context.test.ts": 1422,
|
|
@@ -77,7 +77,7 @@ Checklist:
|
|
|
77
77
|
|
|
78
78
|
- Open a panel with `order: 1`, not an additive panel.
|
|
79
79
|
- Read active hidden background agents from `ctx.backgroundAgents`; filter by `status` (`pending`/`running`).
|
|
80
|
-
- Use `agent.agentId` to build `https://
|
|
80
|
+
- Use `agent.agentId` to build `https://chat.letta.com/chat/${agent.agentId}`.
|
|
81
81
|
- If the user asks for the full URL, render visible text; do not use `ctx.link()` because it hides the URL behind OSC-8.
|
|
82
82
|
- If preserving animation, own the timer and call `panel.update()`; clean up timer and panel in the disposer.
|
|
83
83
|
- Keep `render()` pure: do not call diagnostics or mutate external state from render.
|
|
@@ -95,7 +95,7 @@ const panel = letta.ui.openPanel({
|
|
|
95
95
|
if (!agent) return "";
|
|
96
96
|
|
|
97
97
|
const url = agent.agentId
|
|
98
|
-
? `https://
|
|
98
|
+
? `https://chat.letta.com/chat/${agent.agentId}`
|
|
99
99
|
: null;
|
|
100
100
|
// Render spinner/label/elapsed, plus visible URL if requested.
|
|
101
101
|
},
|