@kaitranntt/ccs 4.3.0 → 4.3.1
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/lib/ccs +1 -1
- package/lib/ccs.ps1 +1 -1
- package/package.json +1 -1
- package/scripts/completion/ccs.fish +19 -14
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.3.
|
|
1
|
+
4.3.1
|
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.3.
|
|
5
|
+
CCS_VERSION="4.3.1"
|
|
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.3.
|
|
15
|
+
$CcsVersion = "4.3.1"
|
|
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,11 @@
|
|
|
1
1
|
# Fish completion for CCS (Claude Code Switch)
|
|
2
2
|
# Compatible with fish 3.0+
|
|
3
3
|
#
|
|
4
|
+
# Features:
|
|
5
|
+
# - Categorized completions with [cmd], [model], and [account] prefixes
|
|
6
|
+
# - Dynamic profile loading from config.json and profiles.json
|
|
7
|
+
# - Context-aware subcommand completion
|
|
8
|
+
#
|
|
4
9
|
# Installation:
|
|
5
10
|
# Copy to ~/.config/fish/completions/:
|
|
6
11
|
# mkdir -p ~/.config/fish/completions
|
|
@@ -72,23 +77,23 @@ complete -c ccs -s h -l help -d 'Show help message'
|
|
|
72
77
|
complete -c ccs -s v -l version -d 'Show version information'
|
|
73
78
|
complete -c ccs -s sc -l shell-completion -d 'Install shell completion'
|
|
74
79
|
|
|
75
|
-
#
|
|
76
|
-
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'auth' -d
|
|
77
|
-
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'doctor' -d
|
|
78
|
-
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'sync' -d
|
|
79
|
-
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'update' -d
|
|
80
|
+
# Commands - grouped with [cmd] prefix for visual distinction
|
|
81
|
+
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'auth' -d '[cmd] Manage multiple Claude accounts'
|
|
82
|
+
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'doctor' -d '[cmd] Run health check and diagnostics'
|
|
83
|
+
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'sync' -d '[cmd] Sync delegation commands and skills'
|
|
84
|
+
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'update' -d '[cmd] Update CCS to latest version'
|
|
80
85
|
|
|
81
|
-
#
|
|
82
|
-
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'default' -d
|
|
83
|
-
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'glm' -d
|
|
84
|
-
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'glmt' -d
|
|
85
|
-
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'kimi' -d
|
|
86
|
+
# Model profiles - grouped with [model] prefix for visual distinction
|
|
87
|
+
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'default' -d '[model] Default Claude Sonnet 4.5'
|
|
88
|
+
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'glm' -d '[model] GLM-4.6 (cost-optimized)'
|
|
89
|
+
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'glmt' -d '[model] GLM-4.6 with thinking mode'
|
|
90
|
+
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a 'kimi' -d '[model] Kimi for Coding (long-context)'
|
|
86
91
|
|
|
87
|
-
#
|
|
88
|
-
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a '(__fish_ccs_get_custom_settings_profiles)' -d
|
|
92
|
+
# Custom model profiles - dynamic with [model] prefix
|
|
93
|
+
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a '(__fish_ccs_get_custom_settings_profiles)' -d '[model] Settings-based profile'
|
|
89
94
|
|
|
90
|
-
#
|
|
91
|
-
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a '(__fish_ccs_get_account_profiles)' -d
|
|
95
|
+
# Account profiles - dynamic with [account] prefix
|
|
96
|
+
complete -c ccs -n 'not __fish_seen_subcommand_from auth doctor sync update' -a '(__fish_ccs_get_account_profiles)' -d '[account] Account-based profile'
|
|
92
97
|
|
|
93
98
|
# shell-completion subflags
|
|
94
99
|
complete -c ccs -n '__fish_seen_argument -l shell-completion; or __fish_seen_argument -s sc' -l bash -d 'Install for bash'
|