@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 +1 -1
- package/bin/management/doctor.js +5 -10
- package/lib/ccs +1 -1
- package/lib/ccs.ps1 +1 -1
- package/package.json +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.1.
|
|
1
|
+
4.1.3
|
package/bin/management/doctor.js
CHANGED
|
@@ -276,17 +276,12 @@ class Doctor {
|
|
|
276
276
|
checkDelegation() {
|
|
277
277
|
process.stdout.write('[?] Checking delegation... ');
|
|
278
278
|
|
|
279
|
-
// Check if delegation
|
|
280
|
-
const
|
|
281
|
-
const
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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"
|