@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/letta.js +19198 -16872
- package/package.json +1 -1
- package/vendor/ink-text-input/build/index.js +4 -0
package/package.json
CHANGED
|
@@ -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
|
|