@letta-ai/letta-code 0.1.14 → 0.1.17
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/README.md +8 -3
- package/letta.js +28098 -25773
- package/package.json +12 -7
- package/scripts/check.js +43 -0
- package/vendor/ink-text-input/build/index.js +6 -1
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ When you run `letta` in a project, it resumes where you left off with the same a
|
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
54
|
letta # Auto-resumes project agent (or creates new if first time)
|
|
55
|
-
letta --new #
|
|
55
|
+
letta --new # Create new agent with new memory blocks
|
|
56
56
|
letta --agent <id> # Use specific agent ID
|
|
57
57
|
```
|
|
58
58
|
|
|
@@ -81,18 +81,23 @@ Join our [Discord](https://discord.gg/letta) to share feedback on persistence pa
|
|
|
81
81
|
### Interactive Mode
|
|
82
82
|
```bash
|
|
83
83
|
letta # Auto-resume project agent (or create new if first time)
|
|
84
|
-
letta --new #
|
|
84
|
+
letta --new # Create new agent with new memory blocks
|
|
85
85
|
letta --agent <id> # Use specific agent ID
|
|
86
|
+
letta --model <model> # Specify model (e.g., claude-sonnet-4.5, gpt-4o)
|
|
87
|
+
letta -m <model> # Short form of --model
|
|
86
88
|
letta --continue # Resume global last agent (deprecated, use project-based)
|
|
87
89
|
```
|
|
88
90
|
|
|
91
|
+
> **Note:** The `--model` flag is inconsistent when resuming sessions. We recommend using the `/model` command instead to change models in interactive mode.
|
|
92
|
+
|
|
89
93
|
### Headless Mode
|
|
90
94
|
```bash
|
|
91
95
|
letta -p "Run bun lint and correct errors" # Auto-resumes project agent
|
|
92
96
|
letta -p "Pick up where you left off" # Same - auto-resumes by default
|
|
93
|
-
letta -p "Start fresh" --new #
|
|
97
|
+
letta -p "Start fresh" --new # Create new agent with new memory blocks
|
|
94
98
|
letta -p "Run all the test" --allowedTools "Bash" # Control tool permissions
|
|
95
99
|
letta -p "Just read the code" --disallowedTools "Bash" # Control tool permissions
|
|
100
|
+
letta -p "Explain this code" -m gpt-4o # Use specific model
|
|
96
101
|
|
|
97
102
|
# Pipe input from stdin
|
|
98
103
|
echo "Explain this code" | letta -p
|