@rse/claudex 1.1.8 → 1.1.10
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 +8 -0
- package/ansi-recolor.conf +1 -0
- package/claudex.js +27 -11
- package/claudex.ts +28 -11
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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
|
+
|
|
5
13
|
1.1.8 (2026-10-31)
|
|
6
14
|
------------------
|
|
7
15
|
|
package/ansi-recolor.conf
CHANGED
package/claudex.js
CHANGED
|
@@ -384,7 +384,7 @@ const actionInstall = async (capsula) => {
|
|
|
384
384
|
info("install CodeBurn");
|
|
385
385
|
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "codeburn");
|
|
386
386
|
info("install ASE");
|
|
387
|
-
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "@rse/ase");
|
|
387
|
+
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "--allow-scripts=fsevents", "@rse/ase");
|
|
388
388
|
info("install Claude wrapper");
|
|
389
389
|
await self("internal", "capsula", "-s", "sudo", "install", "-c", "-m", "755", `${basedir}/claude`, "/usr/bin/claude");
|
|
390
390
|
/* prune obsolete versions only after successful install */
|
|
@@ -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
|
|
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",
|
|
@@ -490,7 +490,7 @@ const actionInstall = async (capsula) => {
|
|
|
490
490
|
ensureTool("ase", {
|
|
491
491
|
hint: "https://ase.tools",
|
|
492
492
|
install: {
|
|
493
|
-
"*": npmInstallGlobal("@rse/ase")
|
|
493
|
+
"*": npmInstallGlobal("--allow-scripts=fsevents", "@rse/ase")
|
|
494
494
|
}
|
|
495
495
|
});
|
|
496
496
|
info("install Claude Code");
|
|
@@ -544,7 +544,7 @@ const actionUpdate = async (capsula) => {
|
|
|
544
544
|
info("update CodeBurn");
|
|
545
545
|
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "codeburn");
|
|
546
546
|
info("update ASE");
|
|
547
|
-
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "@rse/ase");
|
|
547
|
+
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "--allow-scripts=fsevents", "@rse/ase");
|
|
548
548
|
info("update Claude wrapper");
|
|
549
549
|
await self("internal", "capsula", "-s", "sudo", "install", "-c", "-m", "755", `${basedir}/claude`, "/usr/bin/claude");
|
|
550
550
|
}
|
|
@@ -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
|
|
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",
|
|
@@ -615,7 +615,7 @@ const actionUpdate = async (capsula) => {
|
|
|
615
615
|
}, undefined, true);
|
|
616
616
|
info("update ASE");
|
|
617
617
|
executeCommand({
|
|
618
|
-
"*": npmInstallGlobal("@rse/ase")
|
|
618
|
+
"*": npmInstallGlobal("--allow-scripts=fsevents", "@rse/ase")
|
|
619
619
|
}, undefined, true);
|
|
620
620
|
info("update Claude Code");
|
|
621
621
|
if (process.platform !== "win32") {
|
|
@@ -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
|
|
656
|
-
"bind-key
|
|
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
|
|
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
|
|
@@ -765,6 +767,19 @@ const actionInternalAseTaskBoard = async (_opts, args) => {
|
|
|
765
767
|
if (!web && (r.exitCode ?? 1) !== 0)
|
|
766
768
|
await new Promise((resolve) => setTimeout(resolve, 2000));
|
|
767
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
|
+
};
|
|
768
783
|
/* action: internal "lazygit" -- spawn lazygit (optionally recolored) */
|
|
769
784
|
const actionInternalLazygit = (opts, args) => {
|
|
770
785
|
ensureTool("git");
|
|
@@ -888,7 +903,7 @@ const actionStats = async (args) => {
|
|
|
888
903
|
ensureTool("codeburn", { hint: "run \"claudex install\" or \"claudex update\" first" });
|
|
889
904
|
return execInherit("codeburn", ["report", "--provider", "claude", "--period", "30days", ...args]);
|
|
890
905
|
};
|
|
891
|
-
/* 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) */
|
|
892
907
|
const actionInternal = async (opts, args) => {
|
|
893
908
|
const util = args[0];
|
|
894
909
|
const rest = args.slice(1);
|
|
@@ -897,6 +912,7 @@ const actionInternal = async (opts, args) => {
|
|
|
897
912
|
case "shell": return actionInternalShell(opts, rest);
|
|
898
913
|
case "ase-task-edit": return actionInternalAseTaskEdit(opts);
|
|
899
914
|
case "ase-task-board": return actionInternalAseTaskBoard(opts, rest);
|
|
915
|
+
case "ase-task-view": return actionInternalAseTaskView(opts, rest);
|
|
900
916
|
case "lazygit": return actionInternalLazygit(opts, rest);
|
|
901
917
|
case "capsula": return actionInternalCapsula(opts, rest);
|
|
902
918
|
case "exec": return actionInternalExec(opts);
|
|
@@ -1422,7 +1438,7 @@ const main = async () => {
|
|
|
1422
1438
|
/* dispatch "internal" sub-command */
|
|
1423
1439
|
program
|
|
1424
1440
|
.command("internal")
|
|
1425
|
-
.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)")
|
|
1426
1442
|
.helpOption("-h, --help", "display help for command")
|
|
1427
1443
|
.passThroughOptions()
|
|
1428
1444
|
.allowUnknownOption()
|
package/claudex.ts
CHANGED
|
@@ -437,7 +437,7 @@ const actionInstall = async (capsula: boolean): Promise<void> => {
|
|
|
437
437
|
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "codeburn")
|
|
438
438
|
|
|
439
439
|
info("install ASE")
|
|
440
|
-
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "@rse/ase")
|
|
440
|
+
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "--allow-scripts=fsevents", "@rse/ase")
|
|
441
441
|
|
|
442
442
|
info("install Claude wrapper")
|
|
443
443
|
await self("internal", "capsula", "-s", "sudo", "install", "-c", "-m", "755", `${basedir}/claude`, "/usr/bin/claude")
|
|
@@ -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
|
|
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",
|
|
@@ -555,7 +555,7 @@ const actionInstall = async (capsula: boolean): Promise<void> => {
|
|
|
555
555
|
ensureTool("ase", {
|
|
556
556
|
hint: "https://ase.tools",
|
|
557
557
|
install: {
|
|
558
|
-
"*": npmInstallGlobal("@rse/ase")
|
|
558
|
+
"*": npmInstallGlobal("--allow-scripts=fsevents", "@rse/ase")
|
|
559
559
|
}
|
|
560
560
|
})
|
|
561
561
|
|
|
@@ -621,7 +621,7 @@ const actionUpdate = async (capsula: boolean): Promise<void> => {
|
|
|
621
621
|
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "codeburn")
|
|
622
622
|
|
|
623
623
|
info("update ASE")
|
|
624
|
-
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "@rse/ase")
|
|
624
|
+
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "--allow-scripts=fsevents", "@rse/ase")
|
|
625
625
|
|
|
626
626
|
info("update Claude wrapper")
|
|
627
627
|
await self("internal", "capsula", "-s", "sudo", "install", "-c", "-m", "755", `${basedir}/claude`, "/usr/bin/claude")
|
|
@@ -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
|
|
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",
|
|
@@ -700,7 +700,7 @@ const actionUpdate = async (capsula: boolean): Promise<void> => {
|
|
|
700
700
|
|
|
701
701
|
info("update ASE")
|
|
702
702
|
executeCommand({
|
|
703
|
-
"*": npmInstallGlobal("@rse/ase")
|
|
703
|
+
"*": npmInstallGlobal("--allow-scripts=fsevents", "@rse/ase")
|
|
704
704
|
}, undefined, true)
|
|
705
705
|
|
|
706
706
|
info("update Claude Code")
|
|
@@ -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
|
|
745
|
-
"bind-key
|
|
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
|
|
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
|
|
@@ -858,6 +860,20 @@ const actionInternalAseTaskBoard = async (_opts: TopOpts, args: string[]): Promi
|
|
|
858
860
|
await new Promise((resolve) => setTimeout(resolve, 2000))
|
|
859
861
|
}
|
|
860
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
|
+
|
|
861
877
|
/* action: internal "lazygit" -- spawn lazygit (optionally recolored) */
|
|
862
878
|
const actionInternalLazygit = (opts: TopOpts, args: string[]): never => {
|
|
863
879
|
ensureTool("git")
|
|
@@ -989,7 +1005,7 @@ const actionStats = async (args: string[]): Promise<never> => {
|
|
|
989
1005
|
return execInherit("codeburn", [ "report", "--provider", "claude", "--period", "30days", ...args ])
|
|
990
1006
|
}
|
|
991
1007
|
|
|
992
|
-
/* 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) */
|
|
993
1009
|
const actionInternal = async (opts: TopOpts, args: string[]): Promise<void> => {
|
|
994
1010
|
const util = args[0]
|
|
995
1011
|
const rest = args.slice(1)
|
|
@@ -998,6 +1014,7 @@ const actionInternal = async (opts: TopOpts, args: string[]): Promise<void> => {
|
|
|
998
1014
|
case "shell": return actionInternalShell(opts, rest)
|
|
999
1015
|
case "ase-task-edit": return actionInternalAseTaskEdit(opts)
|
|
1000
1016
|
case "ase-task-board": return actionInternalAseTaskBoard(opts, rest)
|
|
1017
|
+
case "ase-task-view": return actionInternalAseTaskView(opts, rest)
|
|
1001
1018
|
case "lazygit": return actionInternalLazygit(opts, rest)
|
|
1002
1019
|
case "capsula": return actionInternalCapsula(opts, rest)
|
|
1003
1020
|
case "exec": return actionInternalExec(opts)
|
|
@@ -1553,7 +1570,7 @@ const main = async (): Promise<void> => {
|
|
|
1553
1570
|
/* dispatch "internal" sub-command */
|
|
1554
1571
|
program
|
|
1555
1572
|
.command("internal")
|
|
1556
|
-
.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)")
|
|
1557
1574
|
.helpOption("-h, --help", "display help for command")
|
|
1558
1575
|
.passThroughOptions()
|
|
1559
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.
|
|
4
|
+
"version": "1.1.10",
|
|
5
5
|
"description": "Claude Code eXtended",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"keywords": [ "claude", "code", "extension", "wrapper" ],
|
|
@@ -38,7 +38,7 @@
|
|
|
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.
|
|
41
|
+
"globals": "17.14.0",
|
|
42
42
|
"shx": "0.4.0"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|