caroushell 0.1.10 → 0.1.11

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/dist/keyboard.js CHANGED
@@ -23,6 +23,13 @@ const KEYMAP = {
23
23
  '\u001b[1;5D': { name: 'ctrl-left', ctrl: true },
24
24
  '\u001b[5C': { name: 'ctrl-right', ctrl: true },
25
25
  '\u001b[5D': { name: 'ctrl-left', ctrl: true },
26
+ // Option/Alt-based word jumps (macOS/iTerm send meta-modified arrows or ESC+b/f)
27
+ '\u001b[1;3C': { name: 'ctrl-right', meta: true },
28
+ '\u001b[1;3D': { name: 'ctrl-left', meta: true },
29
+ '\u001b[1;9C': { name: 'ctrl-right', meta: true },
30
+ '\u001b[1;9D': { name: 'ctrl-left', meta: true },
31
+ '\u001bf': { name: 'ctrl-right', meta: true },
32
+ '\u001bb': { name: 'ctrl-left', meta: true },
26
33
  // Home/End/Delete variants
27
34
  '\u001b[H': { name: 'home' },
28
35
  '\u001b[F': { name: 'end' },
package/dist/main.js CHANGED
@@ -13,7 +13,7 @@ function shouldPrintVersion() {
13
13
  function printVersion() {
14
14
  const pkgJsonPath = (0, path_1.resolve)(__dirname, "..", "package.json");
15
15
  const pkgJson = JSON.parse((0, fs_1.readFileSync)(pkgJsonPath, "utf8"));
16
- console.log(pkgJson.version);
16
+ console.log("caroushell version:", pkgJson.version);
17
17
  }
18
18
  async function main() {
19
19
  if (shouldPrintVersion()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "caroushell",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Terminal carousel that suggests commands from history, config, and AI.",
5
5
  "type": "commonjs",
6
6
  "main": "dist/main.js",