@rse/claudex 1.1.12 → 1.1.14
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 +10 -0
- package/claudex.js +9 -5
- package/claudex.ts +8 -4
- package/package.json +9 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
ChangeLog
|
|
3
3
|
=========
|
|
4
4
|
|
|
5
|
+
1.1.13 (2026-11-16)
|
|
6
|
+
-------------------
|
|
7
|
+
|
|
8
|
+
- BUGFIX: skip `ansi-recolor` wrapping (`-R`) in print mode (`-p`) or with non-TTY stdout
|
|
9
|
+
|
|
10
|
+
1.1.12 (2026-11-15)
|
|
11
|
+
-------------------
|
|
12
|
+
|
|
13
|
+
- IMPROVEMENT: map ANSI color 68 to blue in `ansi-recolor` theme for Claude Code
|
|
14
|
+
|
|
5
15
|
1.1.11 (2026-11-07)
|
|
6
16
|
-------------------
|
|
7
17
|
|
package/claudex.js
CHANGED
|
@@ -380,7 +380,7 @@ const actionInstall = async (capsula) => {
|
|
|
380
380
|
info("install ANSI-Recolor");
|
|
381
381
|
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "--allow-scripts=node-pty,tty-attr", "ansi-recolor");
|
|
382
382
|
info("install TypeScript LS");
|
|
383
|
-
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "typescript-language-server");
|
|
383
|
+
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "typescript-language-server typescript");
|
|
384
384
|
info("install CodeBurn");
|
|
385
385
|
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "codeburn");
|
|
386
386
|
info("install ASE");
|
|
@@ -540,7 +540,7 @@ const actionUpdate = async (capsula) => {
|
|
|
540
540
|
info("update ANSI-Recolor");
|
|
541
541
|
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "--allow-scripts=node-pty,tty-attr", "ansi-recolor");
|
|
542
542
|
info("update TypeScript LS");
|
|
543
|
-
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "typescript-language-server");
|
|
543
|
+
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "typescript-language-server typescript");
|
|
544
544
|
info("update CodeBurn");
|
|
545
545
|
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "codeburn");
|
|
546
546
|
info("update ASE");
|
|
@@ -607,7 +607,7 @@ const actionUpdate = async (capsula) => {
|
|
|
607
607
|
}, undefined, true);
|
|
608
608
|
info("update TypeScript-Language-Server");
|
|
609
609
|
executeCommand({
|
|
610
|
-
"*": npmInstallGlobal("typescript-language-server")
|
|
610
|
+
"*": npmInstallGlobal("typescript-language-server typescript")
|
|
611
611
|
}, undefined, true);
|
|
612
612
|
info("update CodeBurn");
|
|
613
613
|
executeCommand({
|
|
@@ -1040,8 +1040,12 @@ const actionDefault = async (opts, args) => {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
}
|
|
1042
1042
|
/* branch: plain claude -- execute Claude Code, optionally
|
|
1043
|
-
wrapped with ansi-recolor when "-R" was given
|
|
1044
|
-
|
|
1043
|
+
wrapped with ansi-recolor when "-R" was given (but never in
|
|
1044
|
+
non-interactive print mode or with a non-TTY stdout, as recoloring
|
|
1045
|
+
through a PTY would merge stdout/stderr and break piped output) */
|
|
1046
|
+
const recolor = opts.recolor === true
|
|
1047
|
+
&& process.stdout.isTTY === true
|
|
1048
|
+
&& !args.includes("-p") && !args.includes("--print");
|
|
1045
1049
|
if (recolor)
|
|
1046
1050
|
ensureTool("ansi-recolor");
|
|
1047
1051
|
process.env.PATH = `${path.join(HOME, ".local/bin")}${path.delimiter}${process.env.PATH ?? ""}`;
|
package/claudex.ts
CHANGED
|
@@ -431,7 +431,7 @@ const actionInstall = async (capsula: boolean): Promise<void> => {
|
|
|
431
431
|
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "--allow-scripts=node-pty,tty-attr", "ansi-recolor")
|
|
432
432
|
|
|
433
433
|
info("install TypeScript LS")
|
|
434
|
-
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "typescript-language-server")
|
|
434
|
+
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "typescript-language-server typescript")
|
|
435
435
|
|
|
436
436
|
info("install CodeBurn")
|
|
437
437
|
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "codeburn")
|
|
@@ -615,7 +615,7 @@ const actionUpdate = async (capsula: boolean): Promise<void> => {
|
|
|
615
615
|
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "--allow-scripts=node-pty,tty-attr", "ansi-recolor")
|
|
616
616
|
|
|
617
617
|
info("update TypeScript LS")
|
|
618
|
-
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "typescript-language-server")
|
|
618
|
+
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "typescript-language-server typescript")
|
|
619
619
|
|
|
620
620
|
info("update CodeBurn")
|
|
621
621
|
await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "codeburn")
|
|
@@ -690,7 +690,7 @@ const actionUpdate = async (capsula: boolean): Promise<void> => {
|
|
|
690
690
|
|
|
691
691
|
info("update TypeScript-Language-Server")
|
|
692
692
|
executeCommand({
|
|
693
|
-
"*": npmInstallGlobal("typescript-language-server")
|
|
693
|
+
"*": npmInstallGlobal("typescript-language-server typescript")
|
|
694
694
|
}, undefined, true)
|
|
695
695
|
|
|
696
696
|
info("update CodeBurn")
|
|
@@ -1151,8 +1151,12 @@ const actionDefault = async (opts: TopOpts, args: string[]): Promise<never> => {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
1153
|
/* branch: plain claude -- execute Claude Code, optionally
|
|
1154
|
-
wrapped with ansi-recolor when "-R" was given
|
|
1154
|
+
wrapped with ansi-recolor when "-R" was given (but never in
|
|
1155
|
+
non-interactive print mode or with a non-TTY stdout, as recoloring
|
|
1156
|
+
through a PTY would merge stdout/stderr and break piped output) */
|
|
1155
1157
|
const recolor = opts.recolor === true
|
|
1158
|
+
&& process.stdout.isTTY === true
|
|
1159
|
+
&& !args.includes("-p") && !args.includes("--print")
|
|
1156
1160
|
if (recolor)
|
|
1157
1161
|
ensureTool("ansi-recolor")
|
|
1158
1162
|
process.env.PATH = `${path.join(HOME, ".local/bin")}${path.delimiter}${process.env.PATH ?? ""}`
|
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.14",
|
|
5
5
|
"description": "Claude Code eXtended",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"keywords": [ "claude", "code", "extension", "wrapper" ],
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"which": "7.0.0",
|
|
20
20
|
"execa": "10.2.1",
|
|
21
21
|
"chalk": "6.0.1",
|
|
22
|
-
"commander": "15.
|
|
22
|
+
"commander": "15.1.0",
|
|
23
23
|
"deepmerge": "4.3.1",
|
|
24
24
|
"shescape": "3.0.2",
|
|
25
25
|
"shell-quote": "1.12.0"
|
|
@@ -33,14 +33,19 @@
|
|
|
33
33
|
"@rse/stx": "1.1.7",
|
|
34
34
|
"eslint": "9.39.5",
|
|
35
35
|
"@eslint/js": "9.39.5",
|
|
36
|
-
"typescript-eslint": "8.
|
|
37
|
-
"@typescript-eslint/parser": "8.
|
|
36
|
+
"typescript-eslint": "8.73.0",
|
|
37
|
+
"@typescript-eslint/parser": "8.73.0",
|
|
38
38
|
"eslint-plugin-promise": "7.3.0",
|
|
39
39
|
"eslint-plugin-import": "2.32.0",
|
|
40
40
|
"neostandard": "0.14.1",
|
|
41
41
|
"globals": "17.14.0",
|
|
42
42
|
"shx": "0.4.0"
|
|
43
43
|
},
|
|
44
|
+
"upd": [
|
|
45
|
+
"!eslint",
|
|
46
|
+
"!@eslint/js",
|
|
47
|
+
"!typescript"
|
|
48
|
+
],
|
|
44
49
|
"engines": {
|
|
45
50
|
"npm": ">=10.0.0",
|
|
46
51
|
"node": ">=22.0.0"
|