@aragon-agent/cli 0.6.18 → 0.6.19
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/CHANGELOG.md +14 -0
- package/dist/input/win32-input-mode.js +12 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,20 @@ were written.
|
|
|
7
7
|
|
|
8
8
|
## Unreleased
|
|
9
9
|
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **`Ctrl+I` was dead on Windows.** The win32-input-mode translator only
|
|
13
|
+
recognised the chord when the console reported it as `VK_TAB` (vk 9) with
|
|
14
|
+
ctrl - a record shape no real console was ever probed for. Physical
|
|
15
|
+
Ctrl+I keeps the LETTER vk (0x49, the same Ctrl+letter rule that reports
|
|
16
|
+
Ctrl+A as vk 65 and Ctrl+J as vk 74 in the Shift+Enter probe captures)
|
|
17
|
+
while `char` carries the Tab byte, so the record fell through to the
|
|
18
|
+
generic Ctrl-combo branch, came out as plain Tab, and the keybinding
|
|
19
|
+
silently did completion instead of opening the index confirm. The
|
|
20
|
+
translator now tells Ctrl+I apart from Tab by `char === 0x09 && ctrl`
|
|
21
|
+
whatever vk it rides, with Shift still mapping to Shift+Tab; both record
|
|
22
|
+
shapes are pinned by regression rows in `win32-input-mode.test.ts`.
|
|
23
|
+
|
|
10
24
|
### Team dispatch supervisor (team-overseer)
|
|
11
25
|
|
|
12
26
|
- **A time ceiling on a subagent is now an inspection trigger, not a death
|
|
@@ -216,6 +216,18 @@ export function translateWin32Key(record) {
|
|
|
216
216
|
return char;
|
|
217
217
|
if (!ctrl && alt)
|
|
218
218
|
return `\x1b${char}`;
|
|
219
|
+
// Ctrl+I, letter-vk shape: a physical Ctrl+I keeps the LETTER vk
|
|
220
|
+
// (0x49, the same Ctrl+letter probe rule that reports Ctrl+A as 65
|
|
221
|
+
// and Ctrl+J as 74) while `char` is already the Tab byte, so the
|
|
222
|
+
// VK_TAB switch above never sees the record. 0x09 is both the Tab
|
|
223
|
+
// byte and VK_TAB, so the tell-apart from plain Tab is ctrl alone,
|
|
224
|
+
// and Shift keeps ESC [ Z exactly like that switch: the mode toggle
|
|
225
|
+
// stays intact and Ctrl+Shift+I stays on the Shift branch.
|
|
226
|
+
if (ctrl && record.char === VK_TAB) {
|
|
227
|
+
if (!shift && !alt)
|
|
228
|
+
return INDEX_KEY_FRAME;
|
|
229
|
+
return shift ? '\x1b[Z' : '\t';
|
|
230
|
+
}
|
|
219
231
|
return ctrl ? `${alt ? '\x1b' : ''}${char}` : char;
|
|
220
232
|
}
|
|
221
233
|
if (isPrintable(record.char)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aragon-agent/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.19",
|
|
4
4
|
"description": "AragonAgent CLI — a Claude-Code / Codex-style interactive terminal UI (TUI) on top of the @aragon-agent/core engine. Installable and runnable via npm / npx.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "AragonAgent contributors",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"prepublishOnly": "npm run build"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@aragon-agent/core": "^0.2.
|
|
59
|
+
"@aragon-agent/core": "^0.2.31",
|
|
60
60
|
"chalk": "^5.6.2",
|
|
61
61
|
"cli-highlight": "^2.0.0",
|
|
62
62
|
"commander": "^12.1.0",
|