@letta-ai/letta-code 0.32.8 → 0.32.10
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/mcp-client.js +2 -2
- package/dist/mcp-client.js.map +1 -1
- package/dist/types/agent/subagents/names.d.ts +1 -1
- package/dist/types/agent/subagents/names.d.ts.map +1 -1
- package/dist/types/backend/api/metadata.d.ts +1 -0
- package/dist/types/backend/api/metadata.d.ts.map +1 -1
- package/dist/types/runtime-context.d.ts +2 -0
- package/dist/types/runtime-context.d.ts.map +1 -1
- package/dist/types/telemetry/index.d.ts +1 -0
- package/dist/types/telemetry/index.d.ts.map +1 -1
- package/dist/types/tools/impl/task.d.ts.map +1 -1
- package/dist/types/tools/manager.d.ts +1 -3
- package/dist/types/tools/manager.d.ts.map +1 -1
- package/dist/types/types/protocol_v2.d.ts +3 -5
- package/dist/types/types/protocol_v2.d.ts.map +1 -1
- package/dist/types/websocket/listener/runtime.d.ts.map +1 -1
- package/dist/types/websocket/listener/types.d.ts +10 -8
- package/dist/types/websocket/listener/types.d.ts.map +1 -1
- package/docs/examples/mods/learning/memory-citations.env.json +2 -2
- package/docs/examples/mods/learning/uv-pip-install.env.json +2 -2
- package/docs/examples/mods/memory-citations.ts +3 -3
- package/letta.js +910 -563
- package/package.json +1 -1
- package/scripts/source-file-size-baseline.json +4 -4
- package/scripts/test-home-preload.ts +9 -1
- package/skills/letta-guide/SKILL.md +3 -1
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"src/cli/subcommands/skills.ts": 1264,
|
|
24
24
|
"src/headless.ts": 4864,
|
|
25
25
|
"src/hooks/integration.test.ts": 1147,
|
|
26
|
-
"src/index.ts":
|
|
26
|
+
"src/index.ts": 2612,
|
|
27
27
|
"src/mods/learning-harness.ts": 2434,
|
|
28
28
|
"src/mods/mod-engine.test.ts": 2153,
|
|
29
29
|
"src/mods/mod-engine.ts": 1838,
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"src/settings-manager.ts": 2102,
|
|
38
38
|
"src/tools/manager.ts": 2897,
|
|
39
39
|
"src/tools/tool-execution-context.test.ts": 1136,
|
|
40
|
-
"src/types/protocol_v2.ts":
|
|
41
|
-
"src/websocket/listen-client-concurrency.test.ts":
|
|
40
|
+
"src/types/protocol_v2.ts": 2593,
|
|
41
|
+
"src/websocket/listen-client-concurrency.test.ts": 2666,
|
|
42
42
|
"src/websocket/listen-client-protocol.test.ts": 5762,
|
|
43
43
|
"src/websocket/listener/commands/memory.ts": 1114,
|
|
44
44
|
"src/websocket/listener/file-commands.ts": 1053,
|
|
45
|
-
"src/websocket/listener/protocol-inbound.ts":
|
|
45
|
+
"src/websocket/listener/protocol-inbound.ts": 2137,
|
|
46
46
|
"src/websocket/listener/protocol-outbound.ts": 1022
|
|
47
47
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { afterAll } from "bun:test";
|
|
1
|
+
import { afterAll, afterEach } from "bun:test";
|
|
2
2
|
import { mkdtempSync, rmSync } from "node:fs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { basename, isAbsolute, join, relative, resolve } from "node:path";
|
|
@@ -57,6 +57,14 @@ process.env.LETTA_CODE_TELEM ??= "0";
|
|
|
57
57
|
// the redirected environment before their runtimes initialize.
|
|
58
58
|
os.homedir = () => testHome;
|
|
59
59
|
|
|
60
|
+
// Load after redirecting home: channel config captures its filesystem root.
|
|
61
|
+
const routes = await import("@/channels/routing");
|
|
62
|
+
afterEach(() => {
|
|
63
|
+
routes.clearAllRoutes();
|
|
64
|
+
routes.__testOverrideLoadRoutes(null);
|
|
65
|
+
routes.__testOverrideSaveRoutes(null);
|
|
66
|
+
});
|
|
67
|
+
|
|
60
68
|
if (!configuredTestHome) {
|
|
61
69
|
const cleanup = () => {
|
|
62
70
|
rmSync(testHome, { recursive: true, force: true });
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: letta-guide
|
|
3
|
-
description: Read the official Letta documentation (docs.letta.com) through its cached, ETag-checked fetch route. Load before ANY docs.letta.com retrieval — answering how Letta works, what Letta (or you) can do,
|
|
3
|
+
description: Read the official Letta documentation (docs.letta.com) through its cached, ETag-checked fetch route. Load before ANY docs.letta.com retrieval — answering how Letta works, what Letta (or you) can do, and looking up Letta API, Agent SDK, or Letta Code reference.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Letta Guide
|
|
7
7
|
|
|
8
|
+
Do not use fetch_webpage or web_search on docs.letta.com; this skill's helper is the docs route.
|
|
9
|
+
|
|
8
10
|
You are running inside Letta, but your training data about Letta's commands,
|
|
9
11
|
flags, settings, UI, pricing, and providers is out of date. Users lose trust
|
|
10
12
|
fastest when an agent confidently invents product details. This skill defines
|