cc-hub-cli 1.1.8 → 1.1.9

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 (2) hide show
  1. package/dist/index.js +3 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1056,7 +1056,7 @@ function execClaude(profileName, p, extraArgs) {
1056
1056
  ).then(({ baseUrl, stop }) => {
1057
1057
  env.ANTHROPIC_BASE_URL = baseUrl;
1058
1058
  debug(`execClaude: proxy running at ${baseUrl}`);
1059
- const child = spawn(cmd[0], cmd.slice(1), { stdio: "inherit", env, shell: process.platform === "win32" });
1059
+ const child = spawn(cmd[0], cmd.slice(1), { stdio: "inherit", env });
1060
1060
  child.on("close", (code) => {
1061
1061
  stop();
1062
1062
  process.exit(code ?? 1);
@@ -1069,8 +1069,7 @@ function execClaude(profileName, p, extraArgs) {
1069
1069
  } else {
1070
1070
  const result = spawnSync2(cmd[0], cmd.slice(1), {
1071
1071
  stdio: "inherit",
1072
- env,
1073
- shell: process.platform === "win32"
1072
+ env
1074
1073
  });
1075
1074
  process.exit(result.status ?? 1);
1076
1075
  }
@@ -1086,8 +1085,7 @@ function execClaudeBuiltIn(extraArgs) {
1086
1085
  info(`Launching Claude with built-in official models: binary=${binary}`);
1087
1086
  const result = spawnSync2(cmd[0], cmd.slice(1), {
1088
1087
  stdio: "inherit",
1089
- env,
1090
- shell: process.platform === "win32"
1088
+ env
1091
1089
  });
1092
1090
  process.exit(result.status ?? 1);
1093
1091
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-hub-cli",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "Manage Claude CLI profiles, hooks, and sessions",
5
5
  "type": "module",
6
6
  "bin": {