@rse/claudex 1.0.10 → 1.0.11

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.
Files changed (3) hide show
  1. package/claudex.js +6 -4
  2. package/claudex.ts +6 -4
  3. package/package.json +11 -11
package/claudex.js CHANGED
@@ -265,7 +265,7 @@ const actionInstall = async (capsula) => {
265
265
  info("install Claude Code");
266
266
  await self("internal", "capsula", "bash", "-c", `PATH="${HOME}/.local/bin:$PATH"; curl -kfsSL https://claude.ai/install.sh | bash`);
267
267
  info("install ANSI-Recolor");
268
- await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "ansi-recolor");
268
+ await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "--allow-scripts=node-pty,tty-attr", "ansi-recolor");
269
269
  info("install TypeScript LS");
270
270
  await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "typescript-language-server");
271
271
  info("install CodeBurn");
@@ -339,9 +339,9 @@ const actionInstall = async (capsula) => {
339
339
  ensureTool("ansi-recolor", {
340
340
  hint: "https://github.com/rse/ansi-recolor",
341
341
  install: {
342
- "windows:*": "npm install -g ansi-recolor",
343
- "macos:*": "sudo npm install -g ansi-recolor",
344
- "linux:*": "sudo npm install -g ansi-recolor"
342
+ "windows:*": "npm install -g --allow-scripts=node-pty,tty-attr ansi-recolor",
343
+ "macos:*": "sudo npm install -g --allow-scripts=node-pty,tty-attr ansi-recolor",
344
+ "linux:*": "sudo npm install -g --allow-scripts=node-pty,tty-attr ansi-recolor"
345
345
  }
346
346
  });
347
347
  info("install TypeScript-Language-Server");
@@ -914,6 +914,7 @@ const actionDefault = (opts, args) => {
914
914
  env.CLAUDE_CODE_AUTO_COMPACT_WINDOW = context;
915
915
  env.DISABLE_LOGIN_COMMAND = "1";
916
916
  env.DISABLE_LOGOUT_COMMAND = "1";
917
+ env.ENABLE_TOOL_SEARCH = "auto";
917
918
  }
918
919
  else if (/^openrouter:/.test(claudeModel)) {
919
920
  /* parse openrouter:<model>[?[context=<size>],[capabilities=<list>]] */
@@ -950,6 +951,7 @@ const actionDefault = (opts, args) => {
950
951
  env.CLAUDE_CODE_AUTO_COMPACT_WINDOW = context;
951
952
  env.DISABLE_LOGIN_COMMAND = "1";
952
953
  env.DISABLE_LOGOUT_COMMAND = "1";
954
+ env.ENABLE_TOOL_SEARCH = "auto";
953
955
  }
954
956
  else if (claudeModel !== "")
955
957
  throw new Error(`invalid CLAUDE_MODEL "${claudeModel}" ` +
package/claudex.ts CHANGED
@@ -305,7 +305,7 @@ const actionInstall = async (capsula: boolean): Promise<void> => {
305
305
  await self("internal", "capsula", "bash", "-c", `PATH="${HOME}/.local/bin:$PATH"; curl -kfsSL https://claude.ai/install.sh | bash`)
306
306
 
307
307
  info("install ANSI-Recolor")
308
- await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "ansi-recolor")
308
+ await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "--allow-scripts=node-pty,tty-attr", "ansi-recolor")
309
309
 
310
310
  info("install TypeScript LS")
311
311
  await self("internal", "capsula", "-s", "sudo", "-E", "npm", "install", "-y", "-g", "typescript-language-server")
@@ -391,9 +391,9 @@ const actionInstall = async (capsula: boolean): Promise<void> => {
391
391
  ensureTool("ansi-recolor", {
392
392
  hint: "https://github.com/rse/ansi-recolor",
393
393
  install: {
394
- "windows:*": "npm install -g ansi-recolor",
395
- "macos:*": "sudo npm install -g ansi-recolor",
396
- "linux:*": "sudo npm install -g ansi-recolor"
394
+ "windows:*": "npm install -g --allow-scripts=node-pty,tty-attr ansi-recolor",
395
+ "macos:*": "sudo npm install -g --allow-scripts=node-pty,tty-attr ansi-recolor",
396
+ "linux:*": "sudo npm install -g --allow-scripts=node-pty,tty-attr ansi-recolor"
397
397
  }
398
398
  })
399
399
 
@@ -1010,6 +1010,7 @@ const actionDefault = (opts: TopOpts, args: string[]): never => {
1010
1010
  env.CLAUDE_CODE_AUTO_COMPACT_WINDOW = context
1011
1011
  env.DISABLE_LOGIN_COMMAND = "1"
1012
1012
  env.DISABLE_LOGOUT_COMMAND = "1"
1013
+ env.ENABLE_TOOL_SEARCH = "auto"
1013
1014
  }
1014
1015
  else if (/^openrouter:/.test(claudeModel)) {
1015
1016
  /* parse openrouter:<model>[?[context=<size>],[capabilities=<list>]] */
@@ -1045,6 +1046,7 @@ const actionDefault = (opts: TopOpts, args: string[]): never => {
1045
1046
  env.CLAUDE_CODE_AUTO_COMPACT_WINDOW = context
1046
1047
  env.DISABLE_LOGIN_COMMAND = "1"
1047
1048
  env.DISABLE_LOGOUT_COMMAND = "1"
1049
+ env.ENABLE_TOOL_SEARCH = "auto"
1048
1050
  }
1049
1051
  else if (claudeModel !== "")
1050
1052
  throw new Error(`invalid CLAUDE_MODEL "${claudeModel}" ` +
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rse/claudex",
3
3
  "publishConfig": { "access": "public" },
4
- "version": "1.0.10",
4
+ "version": "1.0.11",
5
5
  "description": "Claude Code eXtended",
6
6
  "type": "module",
7
7
  "keywords": [ "claude", "code", "extension", "wrapper" ],
@@ -17,28 +17,28 @@
17
17
  "bin": { "claudex": "claudex.js" },
18
18
  "dependencies": {
19
19
  "which": "7.0.0",
20
- "execa": "9.6.1",
20
+ "execa": "10.0.0",
21
21
  "chalk": "5.6.2",
22
22
  "commander": "15.0.0",
23
23
  "deepmerge": "4.3.1",
24
- "shescape": "2.1.12",
25
- "shell-quote": "1.8.4"
24
+ "shescape": "3.0.1",
25
+ "shell-quote": "1.10.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "typescript": "6.0.3",
29
- "@types/node": "25.9.1",
29
+ "@types/node": "26.1.1",
30
30
  "@types/which": "3.0.4",
31
31
  "@types/shell-quote": "1.7.5",
32
32
 
33
- "@rse/stx": "1.1.5",
34
- "eslint": "9.39.4",
35
- "@eslint/js": "9.39.4",
36
- "typescript-eslint": "8.60.0",
37
- "@typescript-eslint/parser": "8.60.0",
33
+ "@rse/stx": "1.1.6",
34
+ "eslint": "9.39.5",
35
+ "@eslint/js": "9.39.5",
36
+ "typescript-eslint": "8.65.0",
37
+ "@typescript-eslint/parser": "8.65.0",
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.6.0",
41
+ "globals": "17.7.0",
42
42
  "shx": "0.4.0"
43
43
  },
44
44
  "engines": {