@kaitranntt/ccs 2.4.7 → 2.4.8

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/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.7
1
+ 2.4.8
package/bin/ccs.js CHANGED
@@ -13,10 +13,11 @@ const CCS_VERSION = require('../package.json').version;
13
13
 
14
14
  // Execute Claude CLI with unified spawn logic
15
15
  function execClaude(claudeCli, args) {
16
+ // Use shell only on Windows for .cmd/.bat compatibility
16
17
  const child = spawn(claudeCli, args, {
17
18
  stdio: 'inherit',
18
19
  windowsHide: true,
19
- shell: true // FIX: Enable shell for .cmd/.bat files on Windows
20
+ shell: process.platform === 'win32'
20
21
  });
21
22
  child.on('exit', (code, signal) => {
22
23
  if (signal) process.kill(process.pid, signal);
package/lib/ccs CHANGED
@@ -2,7 +2,7 @@
2
2
  set -euo pipefail
3
3
 
4
4
  # Version (updated by scripts/bump-version.sh)
5
- CCS_VERSION="2.4.7"
5
+ CCS_VERSION="2.4.8"
6
6
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
7
7
  readonly CONFIG_FILE="${CCS_CONFIG:-$HOME/.ccs/config.json}"
8
8
 
package/lib/ccs.ps1 CHANGED
@@ -134,7 +134,7 @@ function Show-Help {
134
134
  }
135
135
 
136
136
  # Version (updated by scripts/bump-version.sh)
137
- $CcsVersion = "2.4.7"
137
+ $CcsVersion = "2.4.8"
138
138
  $ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
139
139
  $ConfigFile = if ($env:CCS_CONFIG) { $env:CCS_CONFIG } else { "$env:USERPROFILE\.ccs\config.json" }
140
140
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaitranntt/ccs",
3
- "version": "2.4.7",
3
+ "version": "2.4.8",
4
4
  "description": "Claude Code Switch - Instant profile switching between Claude Sonnet 4.5 and GLM 4.6",
5
5
  "keywords": [
6
6
  "cli",