@rse/claudex 1.1.7 → 1.1.9

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 CHANGED
@@ -2,6 +2,20 @@
2
2
  ChangeLog
3
3
  =========
4
4
 
5
+ 1.1.9 (2026-11-06)
6
+ ------------------
7
+
8
+ - FEATURE: add tmux keys `t`/`T` for ASE task of pane in popup/top pane (`ase task board --task`)
9
+ - IMPROVEMENT: change tmux key binding `B` to ASE Task Board TUI in top pane and move WUI to `W`
10
+ - IMPROVEMENT: name tmux panes of keys `B`/`T` "ASE Task Board" and "ASE Task Board: Task Edit"
11
+ - IMPROVEMENT: open tmux panes of keys `B`/`T` with 60% of the window height
12
+
13
+ 1.1.8 (2026-10-31)
14
+ ------------------
15
+
16
+ - IMPROVEMENT: use dedicated tmux(1) socket to no interfere with regular tmux usages
17
+ - UPDATE: upgrade NPM dependencies
18
+
5
19
  1.1.7 (2026-10-18)
6
20
  ------------------
7
21
 
package/ansi-recolor.conf CHANGED
@@ -73,6 +73,7 @@ claude:
73
73
  63/* -> blue/*
74
74
  23/* -> blue/*
75
75
  65/* -> blue/*
76
+ 35/* -> blue/*
76
77
 
77
78
  */37 -> rse-white/rse-blue-1
78
79
  */63 -> rse-white/rse-blue-1
package/claudex.js CHANGED
@@ -455,7 +455,7 @@ const actionInstall = async (capsula) => {
455
455
  install: {
456
456
  "windows:winget": "winget install --accept-package-agreements --accept-source-agreements --silent -e --id OpenJS.NodeJS.LTS",
457
457
  "windows:choco": "choco install -y --accept-license --no-progress nodejs",
458
- "macos:ports": "sudo port -N install nodejs26 npm11",
458
+ "macos:ports": "sudo port -N install nodejs26 npm12",
459
459
  "macos:brew": "brew install node",
460
460
  "linux:apt": ["bash", "-o", "pipefail", "-c", "curl -fsSL https://deb.nodesource.com/setup_26.x | sudo -E bash - && sudo apt install -y nodejs"],
461
461
  "linux:dnf": "sudo dnf install -y nodejs npm",
@@ -592,7 +592,7 @@ const actionUpdate = async (capsula) => {
592
592
  updateTool("node", {
593
593
  "windows:winget": "winget upgrade --accept-package-agreements --accept-source-agreements --silent -e --id OpenJS.NodeJS.LTS",
594
594
  "windows:choco": "choco upgrade -y --accept-license --no-progress nodejs",
595
- "macos:ports": "sudo port -N upgrade nodejs26 npm11",
595
+ "macos:ports": "sudo port -N upgrade nodejs26 npm12",
596
596
  "macos:brew": "brew upgrade node",
597
597
  "linux:apt": "sudo apt install --only-upgrade -y nodejs",
598
598
  "linux:dnf": "sudo dnf upgrade -y nodejs npm",
@@ -652,8 +652,10 @@ const actionInternalTmux = (opts, args) => {
652
652
  conf +=
653
653
  "bind-key q display-popup -E -w 95% -h 95% -T \"─◀#[reverse] ⧉ Task Edit (ase task edit) #[noreverse]▶\" claudex internal ase-task-edit\n" +
654
654
  "bind-key b display-popup -E -w 95% -h 95% -T \"─◀#[reverse] ⧉ Task Board (ase task board) #[noreverse]▶\" claudex internal ase-task-board\n" +
655
- "bind-key B run-shell -b \"claudex internal ase-task-board --web\"\n" +
656
- "bind-key t send-keys \"/ase:ase-task-id \"\n" +
655
+ "bind-key B split-window -c \"#{pane_current_path}\" -v -f -b -l 60% \"claudex internal ase-task-board\" \\; select-pane -T \"ASE Task Board\"\n" +
656
+ "bind-key W run-shell -b \"claudex internal ase-task-board --web\"\n" +
657
+ "bind-key t display-popup -E -w 95% -h 95% -T \"─◀#[reverse] ⧉ Task View (ase task board --task) #[noreverse]▶\" claudex internal ase-task-view\n" +
658
+ "bind-key T split-window -c \"#{pane_current_path}\" -v -f -b -l 60% \"claudex internal ase-task-view --last\" \\; select-pane -T \"ASE Task Board: Task Edit\"\n" +
657
659
  "bind-key p send-keys \"/ase:ase-meta-persona \"\n";
658
660
  }
659
661
  if (isPsmux()) {
@@ -673,7 +675,7 @@ const actionInternalTmux = (opts, args) => {
673
675
  (opts.ase ?
674
676
  "bind-key q display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task Edit (ase task edit) )▶\" claudex internal ase-task-edit\n" +
675
677
  "bind-key b display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task Board (ase task board) )▶\" claudex internal ase-task-board\n" +
676
- "bind-key B run-shell -b \"claudex internal ase-task-board --web\"\n" : "");
678
+ "bind-key t display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task View (ase task board --task) )▶\" claudex internal ase-task-view\n" : "");
677
679
  }
678
680
  /* propagate model-selection environment variables into the tmux
679
681
  server's global environment, so that they survive into every pane
@@ -706,7 +708,10 @@ const actionInternalTmux = (opts, args) => {
706
708
  if (!isPsmux() && args[0] === "new-session")
707
709
  for (const name of ["CLAUDEX_FLAGS", "CLAUDEX_INTERNAL_EXEC", "CLAUDE_MODEL", "OPENROUTER_API_KEY"])
708
710
  args.splice(1, 0, "-e", `${name}=${process.env[name] ?? ""}`);
711
+ /* use a dedicated server socket on Unix, so our configuration neither
712
+ leaks into nor gets shadowed by the user's regular tmux server */
709
713
  const r = execaSync("tmux", [
714
+ ...(!isPsmux() ? ["-L", "claudex"] : []),
710
715
  "-f", confFile,
711
716
  ...args
712
717
  ], {
@@ -762,6 +767,19 @@ const actionInternalAseTaskBoard = async (_opts, args) => {
762
767
  if (!web && (r.exitCode ?? 1) !== 0)
763
768
  await new Promise((resolve) => setTimeout(resolve, 2000));
764
769
  };
770
+ /* action: internal "ase-task-view" -- show the ASE task associated with the current tmux pane in the task board;
771
+ with "--last" it runs in a freshly split pane, so the task is taken from the previously active pane */
772
+ const actionInternalAseTaskView = async (opts, args) => {
773
+ const target = args.includes("--last") ? ["-t", "{last}"] : [];
774
+ const r1 = execaSync("tmux", ["display-message", "-p", ...target, "#{@ase_task_id}"], { reject: false });
775
+ const tid = (r1.stdout ?? "").trim();
776
+ if (tid !== "")
777
+ await actionInternalAseTaskBoard(opts, ["--task", tid]);
778
+ else {
779
+ process.stderr.write("no ASE task id known for this pane yet\n");
780
+ await new Promise((resolve) => setTimeout(resolve, 2000));
781
+ }
782
+ };
765
783
  /* action: internal "lazygit" -- spawn lazygit (optionally recolored) */
766
784
  const actionInternalLazygit = (opts, args) => {
767
785
  ensureTool("git");
@@ -885,7 +903,7 @@ const actionStats = async (args) => {
885
903
  ensureTool("codeburn", { hint: "run \"claudex install\" or \"claudex update\" first" });
886
904
  return execInherit("codeburn", ["report", "--provider", "claude", "--period", "30days", ...args]);
887
905
  };
888
- /* action: internal sub-dispatch (tmux, shell, ase-task-edit, ase-task-board, lazygit, capsula, exec) */
906
+ /* action: internal sub-dispatch (tmux, shell, ase-task-edit, ase-task-board, ase-task-view, lazygit, capsula, exec) */
889
907
  const actionInternal = async (opts, args) => {
890
908
  const util = args[0];
891
909
  const rest = args.slice(1);
@@ -894,6 +912,7 @@ const actionInternal = async (opts, args) => {
894
912
  case "shell": return actionInternalShell(opts, rest);
895
913
  case "ase-task-edit": return actionInternalAseTaskEdit(opts);
896
914
  case "ase-task-board": return actionInternalAseTaskBoard(opts, rest);
915
+ case "ase-task-view": return actionInternalAseTaskView(opts, rest);
897
916
  case "lazygit": return actionInternalLazygit(opts, rest);
898
917
  case "capsula": return actionInternalCapsula(opts, rest);
899
918
  case "exec": return actionInternalExec(opts);
@@ -1419,7 +1438,7 @@ const main = async () => {
1419
1438
  /* dispatch "internal" sub-command */
1420
1439
  program
1421
1440
  .command("internal")
1422
- .description("internal command dispatcher (tmux, shell, lazygit, ase-task-edit, ase-task-board, capsula)")
1441
+ .description("internal command dispatcher (tmux, shell, lazygit, ase-task-edit, ase-task-board, ase-task-view, capsula)")
1423
1442
  .helpOption("-h, --help", "display help for command")
1424
1443
  .passThroughOptions()
1425
1444
  .allowUnknownOption()
package/claudex.ts CHANGED
@@ -516,7 +516,7 @@ const actionInstall = async (capsula: boolean): Promise<void> => {
516
516
  install: {
517
517
  "windows:winget": "winget install --accept-package-agreements --accept-source-agreements --silent -e --id OpenJS.NodeJS.LTS",
518
518
  "windows:choco": "choco install -y --accept-license --no-progress nodejs",
519
- "macos:ports": "sudo port -N install nodejs26 npm11",
519
+ "macos:ports": "sudo port -N install nodejs26 npm12",
520
520
  "macos:brew": "brew install node",
521
521
  "linux:apt": [ "bash", "-o", "pipefail", "-c", "curl -fsSL https://deb.nodesource.com/setup_26.x | sudo -E bash - && sudo apt install -y nodejs" ],
522
522
  "linux:dnf": "sudo dnf install -y nodejs npm",
@@ -673,7 +673,7 @@ const actionUpdate = async (capsula: boolean): Promise<void> => {
673
673
  updateTool("node", {
674
674
  "windows:winget": "winget upgrade --accept-package-agreements --accept-source-agreements --silent -e --id OpenJS.NodeJS.LTS",
675
675
  "windows:choco": "choco upgrade -y --accept-license --no-progress nodejs",
676
- "macos:ports": "sudo port -N upgrade nodejs26 npm11",
676
+ "macos:ports": "sudo port -N upgrade nodejs26 npm12",
677
677
  "macos:brew": "brew upgrade node",
678
678
  "linux:apt": "sudo apt install --only-upgrade -y nodejs",
679
679
  "linux:dnf": "sudo dnf upgrade -y nodejs npm",
@@ -741,8 +741,10 @@ const actionInternalTmux = (opts: TopOpts, args: string[]): never => {
741
741
  conf +=
742
742
  "bind-key q display-popup -E -w 95% -h 95% -T \"─◀#[reverse] ⧉ Task Edit (ase task edit) #[noreverse]▶\" claudex internal ase-task-edit\n" +
743
743
  "bind-key b display-popup -E -w 95% -h 95% -T \"─◀#[reverse] ⧉ Task Board (ase task board) #[noreverse]▶\" claudex internal ase-task-board\n" +
744
- "bind-key B run-shell -b \"claudex internal ase-task-board --web\"\n" +
745
- "bind-key t send-keys \"/ase:ase-task-id \"\n" +
744
+ "bind-key B split-window -c \"#{pane_current_path}\" -v -f -b -l 60% \"claudex internal ase-task-board\" \\; select-pane -T \"ASE Task Board\"\n" +
745
+ "bind-key W run-shell -b \"claudex internal ase-task-board --web\"\n" +
746
+ "bind-key t display-popup -E -w 95% -h 95% -T \"─◀#[reverse] ⧉ Task View (ase task board --task) #[noreverse]▶\" claudex internal ase-task-view\n" +
747
+ "bind-key T split-window -c \"#{pane_current_path}\" -v -f -b -l 60% \"claudex internal ase-task-view --last\" \\; select-pane -T \"ASE Task Board: Task Edit\"\n" +
746
748
  "bind-key p send-keys \"/ase:ase-meta-persona \"\n"
747
749
  }
748
750
  if (isPsmux()) {
@@ -762,7 +764,7 @@ const actionInternalTmux = (opts: TopOpts, args: string[]): never => {
762
764
  (opts.ase ?
763
765
  "bind-key q display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task Edit (ase task edit) )▶\" claudex internal ase-task-edit\n" +
764
766
  "bind-key b display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task Board (ase task board) )▶\" claudex internal ase-task-board\n" +
765
- "bind-key B run-shell -b \"claudex internal ase-task-board --web\"\n" : "")
767
+ "bind-key t display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task View (ase task board --task) )▶\" claudex internal ase-task-view\n" : "")
766
768
  }
767
769
  /* propagate model-selection environment variables into the tmux
768
770
  server's global environment, so that they survive into every pane
@@ -795,7 +797,10 @@ const actionInternalTmux = (opts: TopOpts, args: string[]): never => {
795
797
  for (const name of [ "CLAUDEX_FLAGS", "CLAUDEX_INTERNAL_EXEC", "CLAUDE_MODEL", "OPENROUTER_API_KEY" ])
796
798
  args.splice(1, 0, "-e", `${name}=${process.env[name] ?? ""}`)
797
799
 
800
+ /* use a dedicated server socket on Unix, so our configuration neither
801
+ leaks into nor gets shadowed by the user's regular tmux server */
798
802
  const r = execaSync("tmux", [
803
+ ...(!isPsmux() ? [ "-L", "claudex" ] : []),
799
804
  "-f", confFile,
800
805
  ...args
801
806
  ], {
@@ -855,6 +860,20 @@ const actionInternalAseTaskBoard = async (_opts: TopOpts, args: string[]): Promi
855
860
  await new Promise((resolve) => setTimeout(resolve, 2000))
856
861
  }
857
862
 
863
+ /* action: internal "ase-task-view" -- show the ASE task associated with the current tmux pane in the task board;
864
+ with "--last" it runs in a freshly split pane, so the task is taken from the previously active pane */
865
+ const actionInternalAseTaskView = async (opts: TopOpts, args: string[]): Promise<void> => {
866
+ const target = args.includes("--last") ? [ "-t", "{last}" ] : []
867
+ const r1 = execaSync("tmux", [ "display-message", "-p", ...target, "#{@ase_task_id}" ], { reject: false })
868
+ const tid = (r1.stdout ?? "").trim()
869
+ if (tid !== "")
870
+ await actionInternalAseTaskBoard(opts, [ "--task", tid ])
871
+ else {
872
+ process.stderr.write("no ASE task id known for this pane yet\n")
873
+ await new Promise((resolve) => setTimeout(resolve, 2000))
874
+ }
875
+ }
876
+
858
877
  /* action: internal "lazygit" -- spawn lazygit (optionally recolored) */
859
878
  const actionInternalLazygit = (opts: TopOpts, args: string[]): never => {
860
879
  ensureTool("git")
@@ -986,7 +1005,7 @@ const actionStats = async (args: string[]): Promise<never> => {
986
1005
  return execInherit("codeburn", [ "report", "--provider", "claude", "--period", "30days", ...args ])
987
1006
  }
988
1007
 
989
- /* action: internal sub-dispatch (tmux, shell, ase-task-edit, ase-task-board, lazygit, capsula, exec) */
1008
+ /* action: internal sub-dispatch (tmux, shell, ase-task-edit, ase-task-board, ase-task-view, lazygit, capsula, exec) */
990
1009
  const actionInternal = async (opts: TopOpts, args: string[]): Promise<void> => {
991
1010
  const util = args[0]
992
1011
  const rest = args.slice(1)
@@ -995,6 +1014,7 @@ const actionInternal = async (opts: TopOpts, args: string[]): Promise<void> => {
995
1014
  case "shell": return actionInternalShell(opts, rest)
996
1015
  case "ase-task-edit": return actionInternalAseTaskEdit(opts)
997
1016
  case "ase-task-board": return actionInternalAseTaskBoard(opts, rest)
1017
+ case "ase-task-view": return actionInternalAseTaskView(opts, rest)
998
1018
  case "lazygit": return actionInternalLazygit(opts, rest)
999
1019
  case "capsula": return actionInternalCapsula(opts, rest)
1000
1020
  case "exec": return actionInternalExec(opts)
@@ -1550,7 +1570,7 @@ const main = async (): Promise<void> => {
1550
1570
  /* dispatch "internal" sub-command */
1551
1571
  program
1552
1572
  .command("internal")
1553
- .description("internal command dispatcher (tmux, shell, lazygit, ase-task-edit, ase-task-board, capsula)")
1573
+ .description("internal command dispatcher (tmux, shell, lazygit, ase-task-edit, ase-task-board, ase-task-view, capsula)")
1554
1574
  .helpOption("-h, --help", "display help for command")
1555
1575
  .passThroughOptions()
1556
1576
  .allowUnknownOption()
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rse/claudex",
3
3
  "publishConfig": { "access": "public" },
4
- "version": "1.1.7",
4
+ "version": "1.1.9",
5
5
  "description": "Claude Code eXtended",
6
6
  "type": "module",
7
7
  "keywords": [ "claude", "code", "extension", "wrapper" ],
@@ -17,7 +17,7 @@
17
17
  "bin": { "claudex": "claudex.js" },
18
18
  "dependencies": {
19
19
  "which": "7.0.0",
20
- "execa": "10.2.0",
20
+ "execa": "10.2.1",
21
21
  "chalk": "6.0.1",
22
22
  "commander": "15.0.0",
23
23
  "deepmerge": "4.3.1",
@@ -26,19 +26,19 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "typescript": "6.0.3",
29
- "@types/node": "26.6.5",
29
+ "@types/node": "26.6.6",
30
30
  "@types/which": "3.0.4",
31
31
  "@types/shell-quote": "1.7.5",
32
32
 
33
33
  "@rse/stx": "1.1.7",
34
34
  "eslint": "9.39.5",
35
35
  "@eslint/js": "9.39.5",
36
- "typescript-eslint": "8.71.2",
37
- "@typescript-eslint/parser": "8.71.2",
36
+ "typescript-eslint": "8.72.1",
37
+ "@typescript-eslint/parser": "8.72.1",
38
38
  "eslint-plugin-promise": "7.3.0",
39
39
  "eslint-plugin-import": "2.32.0",
40
40
  "neostandard": "0.14.1",
41
- "globals": "17.13.0",
41
+ "globals": "17.14.0",
42
42
  "shx": "0.4.0"
43
43
  },
44
44
  "engines": {