@rse/claudex 0.9.23 → 0.9.24
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 +7 -0
- package/claudex.js +14 -9
- package/claudex.ts +14 -9
- package/package.json +1 -1
- package/tmux.conf +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
ChangeLog
|
|
3
3
|
=========
|
|
4
4
|
|
|
5
|
+
0.9.24 (2026-05-10)
|
|
6
|
+
-------------------
|
|
7
|
+
|
|
8
|
+
- BUGFIX: further Windows workarounds related to tmux configuration
|
|
9
|
+
- CLEANUP: make ESLint happy
|
|
10
|
+
- REFACTOR: simplify `tmux.conf` patching by overwriting entries
|
|
11
|
+
|
|
5
12
|
0.9.23 (2026-05-10)
|
|
6
13
|
-------------------
|
|
7
14
|
|
package/claudex.js
CHANGED
|
@@ -479,18 +479,23 @@ const actionUpdate = async (capsula) => {
|
|
|
479
479
|
const actionInternalTmux = (args) => {
|
|
480
480
|
ensureTool("tmux");
|
|
481
481
|
let conf = fs.readFileSync(path.join(basedir, "tmux.conf"), "utf8");
|
|
482
|
-
conf = conf.replace(/@USER@/g, USER);
|
|
483
482
|
if (isPsmux()) {
|
|
484
483
|
/* psmux does not honor the reverse ANSI sequence in at least the statusline
|
|
485
|
-
and
|
|
486
|
-
conf
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
484
|
+
and not some expansions in the pane border format */
|
|
485
|
+
conf +=
|
|
486
|
+
"set-option -g status-style bg=black,fg=color15\n" +
|
|
487
|
+
"set-option -g status-left \" claudeX #[bg=blue,fg=color15] ※ @USER@ #[bg=black,fg=color15] #{?session_attached,#[bg=red,fg=color15] ⚑ #{session_name} #[bg=black,fg=color15],}\"\n" +
|
|
488
|
+
"set-option -g window-status-current-style bg=red,fg=color15\n" +
|
|
489
|
+
"set-option -g window-status-bell-style bg=blue,fg=color15\n" +
|
|
490
|
+
"set-option -g window-status-activity-style bg=blue,fg=color15\n" +
|
|
491
|
+
"set-option -g message-style bg=blue,fg=color15\n" +
|
|
492
|
+
"set-hook -g -u pane-exited\n" +
|
|
493
|
+
"set-hook -g -u after-split-window\n" +
|
|
494
|
+
"bind-key g display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Version Control (lazygit) )▶\" claudex internal lazygit\n" +
|
|
495
|
+
"bind-key s display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Shell )▶\" claudex internal shell\n" +
|
|
496
|
+
"bind-key q display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task Edit (ase task edit) )▶\" claudex internal ase-task-edit\n";
|
|
493
497
|
}
|
|
498
|
+
conf = conf.replace(/@USER@/g, USER);
|
|
494
499
|
const confFile = path.join(os.tmpdir(), `claudex-tmux-${process.pid}.conf`);
|
|
495
500
|
fs.writeFileSync(confFile, conf, { mode: 0o600 });
|
|
496
501
|
/* ensure the temp config is removed on normal exit AND on signal-driven
|
package/claudex.ts
CHANGED
|
@@ -550,18 +550,23 @@ const actionUpdate = async (capsula: boolean): Promise<void> => {
|
|
|
550
550
|
const actionInternalTmux = (args: string[]): never => {
|
|
551
551
|
ensureTool("tmux")
|
|
552
552
|
let conf = fs.readFileSync(path.join(basedir, "tmux.conf"), "utf8")
|
|
553
|
-
conf = conf.replace(/@USER@/g, USER)
|
|
554
553
|
if (isPsmux()) {
|
|
555
554
|
/* psmux does not honor the reverse ANSI sequence in at least the statusline
|
|
556
|
-
and
|
|
557
|
-
conf
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
555
|
+
and not some expansions in the pane border format */
|
|
556
|
+
conf +=
|
|
557
|
+
"set-option -g status-style bg=black,fg=color15\n" +
|
|
558
|
+
"set-option -g status-left \" claudeX #[bg=blue,fg=color15] ※ @USER@ #[bg=black,fg=color15] #{?session_attached,#[bg=red,fg=color15] ⚑ #{session_name} #[bg=black,fg=color15],}\"\n" +
|
|
559
|
+
"set-option -g window-status-current-style bg=red,fg=color15\n" +
|
|
560
|
+
"set-option -g window-status-bell-style bg=blue,fg=color15\n" +
|
|
561
|
+
"set-option -g window-status-activity-style bg=blue,fg=color15\n" +
|
|
562
|
+
"set-option -g message-style bg=blue,fg=color15\n" +
|
|
563
|
+
"set-hook -g -u pane-exited\n" +
|
|
564
|
+
"set-hook -g -u after-split-window\n" +
|
|
565
|
+
"bind-key g display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Version Control (lazygit) )▶\" claudex internal lazygit\n" +
|
|
566
|
+
"bind-key s display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Shell )▶\" claudex internal shell\n" +
|
|
567
|
+
"bind-key q display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task Edit (ase task edit) )▶\" claudex internal ase-task-edit\n"
|
|
564
568
|
}
|
|
569
|
+
conf = conf.replace(/@USER@/g, USER)
|
|
565
570
|
const confFile = path.join(os.tmpdir(), `claudex-tmux-${process.pid}.conf`)
|
|
566
571
|
fs.writeFileSync(confFile, conf, { mode: 0o600 })
|
|
567
572
|
/* ensure the temp config is removed on normal exit AND on signal-driven
|
package/package.json
CHANGED
package/tmux.conf
CHANGED
|
@@ -199,9 +199,9 @@ set-option -as terminal-overrides ',*:Tc:sitm=\E[3m:ritm=\E[23m'
|
|
|
199
199
|
bind-key c new-window -c "#{pane_current_path}" -n claude "claudex"
|
|
200
200
|
bind-key | split-window -c "#{pane_current_path}" -h "claudex"
|
|
201
201
|
bind-key - split-window -c "#{pane_current_path}" -v "claudex"
|
|
202
|
-
bind-key g display-popup -E -w 95% -h 95% -T "─◀#[reverse] ⧉ Version Control (lazygit) #[noreverse]▶"
|
|
203
|
-
bind-key s display-popup -E -w 95% -h 95% -T "─◀#[reverse] ⧉ Shell #[noreverse]▶"
|
|
204
|
-
bind-key q display-popup -E -w 95% -h 95% -T "─◀#[reverse] ⧉ Task Edit (ase task edit) #[noreverse]▶"
|
|
202
|
+
bind-key g display-popup -E -w 95% -h 95% -T "─◀#[reverse] ⧉ Version Control (lazygit) #[noreverse]▶" claudex internal lazygit
|
|
203
|
+
bind-key s display-popup -E -w 95% -h 95% -T "─◀#[reverse] ⧉ Shell #[noreverse]▶" claudex internal shell
|
|
204
|
+
bind-key q display-popup -E -w 95% -h 95% -T "─◀#[reverse] ⧉ Task Edit (ase task edit) #[noreverse]▶" claudex internal ase-task-edit
|
|
205
205
|
bind-key t send-keys "/ase:ase-meta-task "
|
|
206
206
|
bind-key p send-keys "/ase:ase-meta-persona "
|
|
207
207
|
|