@kaitranntt/ccs 4.1.2 → 4.1.3

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
- 4.1.2
1
+ 4.1.3
@@ -276,17 +276,12 @@ class Doctor {
276
276
  checkDelegation() {
277
277
  process.stdout.write('[?] Checking delegation... ');
278
278
 
279
- // Check if delegation-rules.json exists
280
- const delegationRulesPath = path.join(this.ccsDir, 'delegation-rules.json');
281
- const hasDelegationRules = fs.existsSync(delegationRulesPath);
279
+ // Check if delegation commands exist in ~/.ccs/.claude/commands/ccs/
280
+ const ccsClaudeCommandsDir = path.join(this.ccsDir, '.claude', 'commands', 'ccs');
281
+ const hasGlmCommand = fs.existsSync(path.join(ccsClaudeCommandsDir, 'glm.md'));
282
+ const hasKimiCommand = fs.existsSync(path.join(ccsClaudeCommandsDir, 'kimi.md'));
282
283
 
283
- // Check if delegation commands exist
284
- const sharedCommandsDir = path.join(this.ccsDir, 'shared', 'commands', 'ccs');
285
- const hasGlmCommand = fs.existsSync(path.join(sharedCommandsDir, 'glm.md'));
286
- const hasKimiCommand = fs.existsSync(path.join(sharedCommandsDir, 'kimi.md'));
287
- const hasCreateCommand = fs.existsSync(path.join(sharedCommandsDir, 'create.md'));
288
-
289
- if (!hasGlmCommand || !hasKimiCommand || !hasCreateCommand) {
284
+ if (!hasGlmCommand || !hasKimiCommand) {
290
285
  console.log(colored('[!]', 'yellow'), '(not installed)');
291
286
  this.results.addCheck(
292
287
  'Delegation',
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="4.1.2"
5
+ CCS_VERSION="4.1.3"
6
6
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
7
7
  readonly CONFIG_FILE="${CCS_CONFIG:-$HOME/.ccs/config.json}"
8
8
  readonly PROFILES_JSON="$HOME/.ccs/profiles.json"
package/lib/ccs.ps1 CHANGED
@@ -12,7 +12,7 @@ param(
12
12
  $ErrorActionPreference = "Stop"
13
13
 
14
14
  # Version (updated by scripts/bump-version.sh)
15
- $CcsVersion = "4.1.2"
15
+ $CcsVersion = "4.1.3"
16
16
  $ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
17
17
  $ConfigFile = if ($env:CCS_CONFIG) { $env:CCS_CONFIG } else { "$env:USERPROFILE\.ccs\config.json" }
18
18
  $ProfilesJson = "$env:USERPROFILE\.ccs\profiles.json"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaitranntt/ccs",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "description": "Claude Code Switch - Instant profile switching between Claude Sonnet 4.5 and GLM 4.6",
5
5
  "keywords": [
6
6
  "cli",