@letta-ai/letta-code 0.6.1 → 0.6.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
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": {
@@ -17,6 +17,10 @@ function isControlSequence(input, key) {
17
17
  // Ctrl+W (delete word) - handled by parent component
18
18
  if (key.ctrl && (input === 'w' || input === 'W')) return true;
19
19
 
20
+ // Filter out other ctrl+letter combinations that aren't handled below (e.g., ctrl+o for subagent expand)
21
+ // The handled ones are: ctrl+a, ctrl+e, ctrl+k, ctrl+u, ctrl+y (see useInput below)
22
+ if (key.ctrl && input && /^[a-z]$/i.test(input) && !['a', 'e', 'k', 'u', 'y'].includes(input.toLowerCase())) return true;
23
+
20
24
  // Option+Arrow escape sequences: Ink parses \x1bb as meta=true, input='b'
21
25
  if (key.meta && (input === 'b' || input === 'B' || input === 'f' || input === 'F')) return true;
22
26