@letta-ai/letta-code 0.16.1 → 0.16.3
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/letta.js +2019 -792
- package/package.json +4 -1
- package/skills/syncing-memory-filesystem/SKILL.md +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@letta-ai/letta-code",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.3",
|
|
4
4
|
"description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
"url": "https://github.com/letta-ai/letta-code.git"
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=18"
|
|
31
|
+
},
|
|
29
32
|
"publishConfig": {
|
|
30
33
|
"access": "public"
|
|
31
34
|
},
|
|
@@ -33,15 +33,16 @@ This local setup is the default and recommended approach.
|
|
|
33
33
|
|
|
34
34
|
Why this matters: host-level **global** credential helpers (e.g. installed by other tooling) can conflict with memfs auth and cause confusing failures.
|
|
35
35
|
|
|
36
|
+
**Important:** Always use **single-line** format for credential helpers. Multi-line helpers can break tools that parse `git config --list` line-by-line.
|
|
37
|
+
|
|
36
38
|
```bash
|
|
37
39
|
cd ~/.letta/agents/<agent-id>/memory
|
|
38
40
|
|
|
39
41
|
# Check local helper(s)
|
|
40
42
|
git config --local --get-regexp '^credential\..*\.helper$'
|
|
41
43
|
|
|
42
|
-
# Reconfigure local helper (e.g. after API key rotation)
|
|
43
|
-
git config --local credential.$LETTA_BASE_URL.helper
|
|
44
|
-
'!f() { echo "username=letta"; echo "password=$LETTA_API_KEY"; }; f'
|
|
44
|
+
# Reconfigure local helper (e.g. after API key rotation) - SINGLE LINE
|
|
45
|
+
git config --local credential.$LETTA_BASE_URL.helper '!f() { echo "username=letta"; echo "password=$LETTA_API_KEY"; }; f'
|
|
45
46
|
```
|
|
46
47
|
|
|
47
48
|
If you suspect global helper conflicts, inspect and clear host-specific global entries:
|
|
@@ -115,10 +116,9 @@ curl -X PATCH "$LETTA_BASE_URL/v1/agents/$AGENT_ID" \
|
|
|
115
116
|
mkdir -p "$MEMORY_REPO_DIR"
|
|
116
117
|
git clone "$LETTA_BASE_URL/v1/git/$AGENT_ID/state.git" "$MEMORY_REPO_DIR"
|
|
117
118
|
|
|
118
|
-
# 3. Configure local credential helper
|
|
119
|
+
# 3. Configure local credential helper (single-line format required)
|
|
119
120
|
cd "$MEMORY_REPO_DIR"
|
|
120
|
-
git config --local credential.$LETTA_BASE_URL.helper
|
|
121
|
-
'!f() { echo "username=letta"; echo "password=$LETTA_API_KEY"; }; f'
|
|
121
|
+
git config --local credential.$LETTA_BASE_URL.helper '!f() { echo "username=letta"; echo "password=$LETTA_API_KEY"; }; f'
|
|
122
122
|
```
|
|
123
123
|
|
|
124
124
|
## Bidirectional Sync
|