@rse/claudex 1.0.16 → 1.0.17

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,19 @@
2
2
  ChangeLog
3
3
  =========
4
4
 
5
+ 1.0.17 (2026-09-28)
6
+ -------------------
7
+
8
+ - IMPROVEMENT: add more color mappings to ansi-recolor configuration
9
+ - BUGFIX: fix coloring under latest Claude Code
10
+ - BUGFIX: do not break on non-interactive TTYs when determining color depth
11
+ - UPDATE: upgrade NPM dependencies
12
+
13
+ 1.0.16 (2026-08-25)
14
+ -------------------
15
+
16
+ - UPDATE: upgrade to newer LazyGit configuration (diff renderers, hunk mode in staging view)
17
+
5
18
  1.0.15 (2026-08-08)
6
19
  -------------------
7
20
 
package/ansi-recolor.conf CHANGED
@@ -88,6 +88,7 @@ claude:
88
88
 
89
89
  default/255 -> rse-white/rse-blue-1
90
90
  16/255 -> rse-white/rse-blue-1
91
+ 241/255 -> rse-white/rse-blue-1
91
92
  248/255 -> rse-blue-4/rse-blue-1
92
93
  145/255 -> rse-blue-4/rse-blue-1
93
94
 
@@ -121,6 +122,8 @@ claude:
121
122
 
122
123
  */189 -> */rse-blue-4
123
124
 
125
+ 168/* -> red/*
126
+
124
127
  magenta/* -> red/*
125
128
  yellow/* -> red/*
126
129
  cyan/* -> blue/*
package/claudex.js CHANGED
@@ -1072,7 +1072,7 @@ const actionDefault = (opts, args) => {
1072
1072
  }
1073
1073
  if (env.ASE_TERM_COLORS === undefined) {
1074
1074
  let colorMode = "none";
1075
- const depth = process.stdout.getColorDepth();
1075
+ const depth = process.stdout.isTTY ? process.stdout.getColorDepth() : 1;
1076
1076
  if (depth >= 8)
1077
1077
  colorMode = "ansi256";
1078
1078
  else if (depth >= 4)
package/claudex.ts CHANGED
@@ -1177,7 +1177,7 @@ const actionDefault = (opts: TopOpts, args: string[]): never => {
1177
1177
  }
1178
1178
  if (env.ASE_TERM_COLORS === undefined) {
1179
1179
  let colorMode = "none"
1180
- const depth = process.stdout.getColorDepth()
1180
+ const depth = process.stdout.isTTY ? process.stdout.getColorDepth() : 1
1181
1181
  if (depth >= 8)
1182
1182
  colorMode = "ansi256"
1183
1183
  else if (depth >= 4)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rse/claudex",
3
3
  "publishConfig": { "access": "public" },
4
- "version": "1.0.16",
4
+ "version": "1.0.17",
5
5
  "description": "Claude Code eXtended",
6
6
  "type": "module",
7
7
  "keywords": [ "claude", "code", "extension", "wrapper" ],
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "which": "7.0.0",
20
20
  "execa": "10.0.1",
21
- "chalk": "6.0.0",
21
+ "chalk": "6.0.1",
22
22
  "commander": "15.0.0",
23
23
  "deepmerge": "4.3.1",
24
24
  "shescape": "3.0.2",
@@ -26,19 +26,19 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "typescript": "6.0.3",
29
- "@types/node": "26.1.2",
29
+ "@types/node": "26.6.3",
30
30
  "@types/which": "3.0.4",
31
31
  "@types/shell-quote": "1.7.5",
32
32
 
33
- "@rse/stx": "1.1.6",
33
+ "@rse/stx": "1.1.7",
34
34
  "eslint": "9.39.5",
35
35
  "@eslint/js": "9.39.5",
36
- "typescript-eslint": "8.65.0",
37
- "@typescript-eslint/parser": "8.65.0",
36
+ "typescript-eslint": "8.70.1",
37
+ "@typescript-eslint/parser": "8.70.1",
38
38
  "eslint-plugin-promise": "7.3.0",
39
39
  "eslint-plugin-import": "2.32.0",
40
40
  "neostandard": "0.13.0",
41
- "globals": "17.8.0",
41
+ "globals": "17.12.0",
42
42
  "shx": "0.4.0"
43
43
  },
44
44
  "engines": {