@rse/claudex 0.9.18 → 0.9.20

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,21 @@
2
2
  ChangeLog
3
3
  =========
4
4
 
5
+ 0.9.20 (2026-05-09)
6
+ -------------------
7
+
8
+ - BUGFIX: try to workaround problems again in self-reference under Windows
9
+
10
+ 0.9.19 (2026-05-09)
11
+ -------------------
12
+
13
+ - BUGFIX: try to workaround problems again in self-reference under Windows
14
+
15
+ 0.9.18 (2026-05-09)
16
+ -------------------
17
+
18
+ - BUGFIX: try to workaround problems again in self-reference under Windows
19
+
5
20
  0.9.18 (2026-05-09)
6
21
  -------------------
7
22
 
package/claudex.js CHANGED
@@ -639,8 +639,13 @@ const actionDefault = (opts, args) => {
639
639
  else
640
640
  session = detectSessionName();
641
641
  const rest = args;
642
- /* build the in-pane self-invocation shell string (recolor pass-through) */
643
- const inPane = [shq(selfPath), ...innerFlags.map(shq), ...rest.map(shq)].join(" ");
642
+ /* build the in-pane self-invocation shell string */
643
+ const inPane = [
644
+ shq(process.execPath),
645
+ shq(selfPathJS),
646
+ ...innerFlags.map(shq),
647
+ ...rest.map(shq)
648
+ ].join(" ");
644
649
  /* propagate the chosen pass-through flags to "internal tmux" so its
645
650
  tmux.conf bind-keys spawn new claude panes with the same flags */
646
651
  const claudexFlags = innerFlags.join(" ");
@@ -671,8 +676,8 @@ const actionDefault = (opts, args) => {
671
676
  }
672
677
  else {
673
678
  /* enter/start plain tmux */
674
- return execInherit(selfPath, [
675
- "internal", "tmux", "new-session", "-A", "-s", session, "-n", "claude", inPane
679
+ return execInherit(process.execPath, [
680
+ selfPathJS, "internal", "tmux", "new-session", "-A", "-s", session, "-n", "claude", inPane
676
681
  ]);
677
682
  }
678
683
  }
package/claudex.ts CHANGED
@@ -724,8 +724,13 @@ const actionDefault = (opts: TopOpts, args: string[]): never => {
724
724
  session = detectSessionName()
725
725
  const rest = args
726
726
 
727
- /* build the in-pane self-invocation shell string (recolor pass-through) */
728
- const inPane = [ shq(selfPath), ...innerFlags.map(shq), ...rest.map(shq) ].join(" ")
727
+ /* build the in-pane self-invocation shell string */
728
+ const inPane = [
729
+ shq(process.execPath),
730
+ shq(selfPathJS),
731
+ ...innerFlags.map(shq),
732
+ ...rest.map(shq)
733
+ ].join(" ")
729
734
 
730
735
  /* propagate the chosen pass-through flags to "internal tmux" so its
731
736
  tmux.conf bind-keys spawn new claude panes with the same flags */
@@ -758,8 +763,8 @@ const actionDefault = (opts: TopOpts, args: string[]): never => {
758
763
  }
759
764
  else {
760
765
  /* enter/start plain tmux */
761
- return execInherit(selfPath, [
762
- "internal", "tmux", "new-session", "-A", "-s", session, "-n", "claude", inPane
766
+ return execInherit(process.execPath, [
767
+ selfPathJS, "internal", "tmux", "new-session", "-A", "-s", session, "-n", "claude", inPane
763
768
  ])
764
769
  }
765
770
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rse/claudex",
3
3
  "publishConfig": { "access": "public" },
4
- "version": "0.9.18",
4
+ "version": "0.9.20",
5
5
  "description": "Claude Code eXtended",
6
6
  "type": "module",
7
7
  "keywords": [ "claude", "code", "extension", "wrapper" ],
@@ -43,6 +43,7 @@
43
43
  "node": ">=22.0.0"
44
44
  },
45
45
  "scripts": {
46
+ "prepublishOnly": "npm start build",
46
47
  "start": "stx -v 4 -c stx.conf"
47
48
  }
48
49
  }