@letta-ai/letta-code 0.32.19 → 0.33.0
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 +60 -59
- package/dist/agent-presets.js.map +2 -2
- package/dist/mcp-client.js +2 -2
- package/dist/mcp-client.js.map +1 -1
- package/dist/types/agent/memory-conflict-repair.d.ts +34 -0
- package/dist/types/agent/memory-conflict-repair.d.ts.map +1 -0
- package/dist/types/agent/subagents/memory-handoff.d.ts +1 -0
- package/dist/types/agent/subagents/memory-handoff.d.ts.map +1 -1
- package/dist/types/agent/subagents/memory-worker.d.ts +29 -14
- package/dist/types/agent/subagents/memory-worker.d.ts.map +1 -1
- package/dist/types/agent/subagents/subagent-model.d.ts.map +1 -1
- package/dist/types/hooks/executor.d.ts +4 -0
- package/dist/types/hooks/executor.d.ts.map +1 -1
- package/dist/types/permissions/checker.d.ts.map +1 -1
- package/dist/types/permissions/memory-write-allowance.d.ts +17 -0
- package/dist/types/permissions/memory-write-allowance.d.ts.map +1 -0
- package/dist/types/tools/hook-feedback.d.ts +30 -0
- package/dist/types/tools/hook-feedback.d.ts.map +1 -0
- package/dist/types/tools/impl/bash.d.ts.map +1 -1
- package/dist/types/tools/impl/exec-command.d.ts +5 -0
- package/dist/types/tools/impl/exec-command.d.ts.map +1 -1
- package/dist/types/tools/impl/memory-task-lifecycle.d.ts +20 -0
- package/dist/types/tools/impl/memory-task-lifecycle.d.ts.map +1 -1
- package/dist/types/tools/impl/monitor.d.ts.map +1 -1
- package/dist/types/tools/impl/process_manager.d.ts.map +1 -1
- package/dist/types/tools/impl/task.d.ts +6 -0
- package/dist/types/tools/impl/task.d.ts.map +1 -1
- package/dist/types/tools/manager.d.ts.map +1 -1
- package/dist/types/tools/secret-substitution.d.ts +46 -1
- package/dist/types/tools/secret-substitution.d.ts.map +1 -1
- package/dist/types/tools/toolset-catalog.d.ts.map +1 -1
- package/dist/types/types/background-process-protocol.d.ts +8 -1
- package/dist/types/types/background-process-protocol.d.ts.map +1 -1
- package/dist/types/websocket/listener/background-process-snapshot.d.ts.map +1 -1
- package/letta.js +2 -2
- package/package.json +1 -1
- package/scripts/source-file-size-baseline.json +2 -2
- package/skills/initializing-memory/ROOT_MEMORY.md +2 -0
- package/skills/initializing-memory/SKILL.md +2 -0
- package/skills/self-configuration/SKILL.md +3 -8
- package/skills/syncing-memory-filesystem/SKILL.md +12 -4
|
@@ -7,7 +7,13 @@ description: Diagnose and repair MemFS repository setup, remote sync, authentica
|
|
|
7
7
|
|
|
8
8
|
Use this skill only when the Git repository behind an agent's memory is not
|
|
9
9
|
setting up or syncing correctly. For ordinary memory reads and edits, use the
|
|
10
|
-
memory files
|
|
10
|
+
memory files without loading this skill. Delegate incidental upkeep during another
|
|
11
|
+
task to the background `memory` subagent. When memory repair is the user's main
|
|
12
|
+
request, diagnose and repair it directly, then verify the result before reporting
|
|
13
|
+
success. If a memory worker you launched may still be running, wait for it: re-read
|
|
14
|
+
its output file until it ends with `[Task completed]` or `[Task failed]` before
|
|
15
|
+
editing memory files or changing Git state. While the harness reports a repair in
|
|
16
|
+
progress, leave both alone as well; that worker edits `$MEMORY_DIR` in place.
|
|
11
17
|
|
|
12
18
|
## Current Model
|
|
13
19
|
|
|
@@ -31,7 +37,7 @@ $MEMORY_DIR/ $MEMORY_DIR/
|
|
|
31
37
|
Cloud-backed agents have a hosted MemFS remote. Local-backend agents keep a
|
|
32
38
|
local-only Git repository and do not need a remote or cloud credentials.
|
|
33
39
|
|
|
34
|
-
The memory
|
|
40
|
+
The agent doing the memory work commits its changes. After each turn, the harness pushes
|
|
35
41
|
clean committed changes for cloud-backed agents. Local-backend commits remain
|
|
36
42
|
on the current machine. Do not run `git push` for normal MemFS sync; let the
|
|
37
43
|
harness push after the turn.
|
|
@@ -115,8 +121,10 @@ cloud-backed agent's pending commits after the turn.
|
|
|
115
121
|
|
|
116
122
|
The harness first tries a fast-forward pull. When a remote push is rejected
|
|
117
123
|
because the remote moved, post-turn sync tries `git pull --rebase` and retries
|
|
118
|
-
the push. If that rebase conflicts, the harness
|
|
119
|
-
|
|
124
|
+
the push. If that rebase conflicts, the harness launches a fresh background
|
|
125
|
+
`memory` subagent to repair it. The primary conversation is not interrupted.
|
|
126
|
+
The harness retries normal sync after the worker finishes. The instructions
|
|
127
|
+
below are for explicit troubleshooting; routine repairs run in the background.
|
|
120
128
|
|
|
121
129
|
Start by reading the current Git operation and every conflicted file:
|
|
122
130
|
|