chore: release v2.4.6 with improved npm compatibility and fixes

- fix color detection for cross-platform TTY compatibility
- enhance help command with npm-specific content and npx examples
- remove --install/--uninstall flags pending .claude/ integration testing
- update version across all files and documentation
- preserve implementation code for future release readiness
This commit is contained in:
kaitranntt
2025-11-05 16:51:30 -05:00
parent 966a43f0f9
commit 2b35bf419f
17 changed files with 258 additions and 165 deletions
+10 -12
View File
@@ -80,8 +80,6 @@ ccs glm /code "implement feature"
```bash
ccs --version # Show enhanced version info with installation details
ccs --help # Show CCS-specific help documentation
ccs --install # Install CCS commands and skills to ~/.claude/
ccs --uninstall # Remove CCS commands and skills from ~/.claude/
```
**Example `--version` Output**:
@@ -121,19 +119,19 @@ The official uninstaller completely removes CCS including configs and PATH modif
- Linux: `~/.local/bin/ccs`
- Windows: `%USERPROFILE%\.ccs\ccs.ps1`
### Installing Commands and Skills
### 🚧 Features in Development
To use the task delegation feature, you need to install the CCS commands and skills to your Claude CLI directory:
#### .claude/ Integration
```bash
# Install CCS delegation commands and skills
ccs --install
```
Task delegation via `--install` / `--uninstall` flags currently under development.
This will:
- Copy `/ccs` command to `~/.claude/commands/ccs.md`
- Copy `ccs-delegation` skill to `~/.claude/skills/ccs-delegation/`
- Skip existing files (won't overwrite your customizations)
**Status**: Testing incomplete, not available in current release
**Implementation**: Core functionality exists but disabled pending testing
**Timeline**: No ETA - follow GitHub issues for updates
**For Now**: Use direct profile switching (`ccs glm`) for model selection
**Output Example**:
```
+2 -2
View File
@@ -61,8 +61,8 @@ Provide developers with instant, zero-downtime switching between AI models, opti
- **Acceptance Criteria**:
- `ccs --version` displays version and installation location
- `ccs --help` shows usage information
- `ccs --install` integrates with Claude Code commands
- `ccs --uninstall` removes Claude Code integration
- **WIP**: `ccs --install` integrates with Claude Code commands (testing incomplete)
- **WIP**: `ccs --uninstall` removes Claude Code integration (testing incomplete)
#### FR-006: Error Handling
**Requirement**: System shall provide clear, actionable error messages
+1 -1
View File
@@ -62,7 +62,7 @@ graph TB
**Key Responsibilities**:
- Argument parsing and profile detection
- Special command handling (--version, --help, --install, --uninstall)
- Special command handling (--version, --help) [--install/--uninstall WIP]
- Unified process execution through `execClaude()`
- Error propagation and exit code management
+11 -11
View File
@@ -77,8 +77,6 @@ ccs glm /code "implement feature"
```bash
ccs --version # Hiển thị thông tin phiên bản nâng cao với chi tiết cài đặt
ccs --help # Hiển thị tài liệu trợ giúp riêng của CCS
ccs --install # Cài đặt commands và skills CCS vào ~/.claude/
ccs --uninstall # Gỡ bỏ commands và skills CCS khỏi ~/.claude/
```
**Ví Dụ Output `--version`**:
@@ -115,17 +113,19 @@ Uninstaller chính thức gỡ bỏ hoàn toàn CCS bao gồm cả cấu hình v
### Cài Đặt Commands và Skills
Để sử dụng tính năng delegation tác vụ, bạn cần cài đặt commands và skills CCS vào thư mục Claude CLI:
### 🚧 Tính Năng Đang Phát Triển
```bash
# Cài đặt commands và skills delegation CCS
ccs --install
```
#### Tích hợp .claude/
Điều này sẽ:
- Copy lệnh `/ccs` vào `~/.claude/commands/ccs.md`
- Copy skill `ccs-delegation` vào `~/.claude/skills/ccs-delegation/`
- Bỏ qua file đã tồn tại (không ghi đè customization của bạn)
Delegation tác vụ qua flags `--install` / `--uninstall` đang được phát triển.
**Trạng Thái**: Testing chưa hoàn tất, không có sẵn trong release hiện tại
**Implementation**: Chức năng cốt lõi đã có nhưng bị vô hiệu hóa pending testing
**Timeline**: Chưa có ETA - theo dõi GitHub issues để cập nhật
**Hiện Tại**: Sử dụng chuyển profile trực tiếp (`ccs glm`) để lựa chọn model
**Ví Dụ Output**:
```