Releases: guyskk/claude-code-supervisor
Releases · guyskk/claude-code-supervisor
v0.3.1
What's Changed
- fix: add beta headers for validate command to support all providers by @guyskk in #64
- Fix environment variable precedence issue by @istarwyh in #63
New Contributors
Full Changelog: v0.3.0...v0.3.1
What's Changed
- fix: add beta headers for validate command to support all providers by @guyskk in #64
- Fix environment variable precedence issue by @istarwyh in #63
- fix(cli): make supervisor-mode command silent when setting by @guyskk in #65
New Contributors
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- feat: 从 OpenSpec 迁移到 SpecKit 并中文化所有文档 by @guyskk in #55
- feat(cli): add patch command to replace claude with ccc by @guyskk in #57
- feat(cli): add query mode to supervisor-mode command by @guyskk in #58
- Feat/update supervisor prompt by @guyskk in #59
- docs: update CHANGELOG for v0.3.0 by @guyskk in #60
Full Changelog: v0.2.1...v0.3.0
v0.2.1
What's Changed
- test(cli): fix E2E tests for supervisor-hook command by @guyskk in #47
- refactor(supervisor): change supervisor mode activation to slash command by @guyskk in #48
- refactor(test): use strings.Contains instead of custom functions by @guyskk in #49
- test(integration): remove tests for non-existent Enabled field and deprecated env var by @guyskk in #50
- Revert "test(integration): remove tests for non-existent Enabled field and deprecated env var" by @guyskk in #52
- test: remove obsolete/incomplete tests and dead code by @guyskk in #51
- refactor(provider): rename supervisor-off.md to supervisoroff.md by @guyskk in #53
- docs: add CHANGELOG.md for v0.2.1 by @guyskk in #54
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
- feat: implement supervisor mode using Claude Code Hooks by @guyskk in #19
- feat: improve Supervisor mode and add documentation by @guyskk in #22
- docs: Supervisor Mode improvement proposal (AI-First) by @guyskk in #30
- feat: implement structured logging, unified error handling, and update proposals by @guyskk in #24
- refactor: replace JSON schema structured output with prompt-based JSO… by @guyskk in #31
- feat: add fallback for supervisor result parsing failure by @guyskk in #33
- refactor(supervisor): enhance supervisor prompt with strict review framework (Phase 1) by @guyskk in #32
- chore: archive completed OpenSpec changes and cleanup code by @guyskk in #34
- refactor(supervisor): use Interactive Client API for SDK by @guyskk in #35
- refactor(supervisor): improve logger and output modules by @guyskk in #36
- docs: restructure README to highlight Supervisor Mode and quick start by @guyskk in #37
- refactor(cli): remove duplicate CCC_SUPERVISOR env handling by @guyskk in #38
- refactor(cli): check existing CCC_SUPERVISOR_ID before generating new UUID by @guyskk in #39
- feat(supervisor): support custom prompt via SUPERVISOR.md file by @guyskk in #40
- docs: reposition as Claude Code Supervisor by @guyskk in #42
- docs: sync README with README-CN structure and content by @guyskk in #43
- chore: add MIT License by @guyskk in #44
- docs: update repo references from config-switcher to supervisor by @guyskk in #45
- Feat/update ci by @guyskk in #46
Full Changelog: v0.1.7...v0.2.0
v0.1.7
What's Changed
- chore: archive clear-env-pollution change by @guyskk in #14
- feat: use syscall.Exec to replace subprocess on Unix by @guyskk in #15
- fix: only show env cleared message when env was actually non-empty by @guyskk in #16
- feat: remove Windows platform support by @guyskk in #17
Full Changelog: v0.1.6...v0.1.7
v0.1.6
What's Changed
- Clear env in settings.json to prevent configuration pollution
Claude Code loads ~/.claude/settings.json (user config source) even when using --settings parameter. This update clears the env field in settings.json when switching providers to prevent configuration pollution.
Changes
- Add
ClearEnvInSettings()function to clear env field in~/.claude/settings.json - Modify
provider.Switch()to clear env after writing provider config - Add unit tests for the new functionality
What's Changed
- docs: clarify OpenSpec workflow usage in CLAUDE.md by @guyskk in #12
- feat: clear env in settings.json to prevent configuration pollution by @guyskk in #13
Full Changelog: v0.1.5...v0.1.6
v0.1.5
What's Changed
- Add
claude_argsfield to ccc.json configuration - Allows users to specify fixed command-line arguments (e.g.,
--verbose --debug) - Arguments are automatically prepended to all Claude Code launches
Usage Example:
{
"claude_args": ["--verbose", "--debug"],
"settings": { ... },
"providers": { ... }
}Full changelog: v0.1.4...v0.1.5
What's Changed
- docs: fix cross-platform installation command by @guyskk in #10
- feat: add claude_args configuration for fixed command-line arguments by @guyskk in #11
Full Changelog: v0.1.4...v0.1.5
v0.1.4: Config Validation
Features
-
Config Validation Command:
ccc validatefor validating provider configurations- Validate current provider:
ccc validate - Validate specific provider:
ccc validate <provider> - Validate all providers:
ccc validate --all
- Validate current provider:
-
Validation Checks:
- Configuration file format (JSON syntax, required fields)
- Environment variables (
ANTHROPIC_BASE_URL,ANTHROPIC_AUTH_TOKEN) - URL format validation (http/https scheme, host presence)
- API connectivity testing
-
API Testing:
- Providers without model: test with
/v1/modelsendpoint - Providers with model: test with
/v1/messagesendpoint - Simplified logic: direct success/failure, no fallback chains
- Providers without model: test with
-
Performance:
- Parallel validation using goroutines
- Validates N providers in ~8s instead of ~8s×N
-
User Experience:
- Color-coded output (Green=Valid, Red=Invalid, Yellow=Warning)
- Detailed error messages for debugging
Usage
# Validate current provider
ccc validate
# Validate specific provider
ccc validate kimi
# Validate all providers
ccc validate --allExample Output
$ ccc validate --all
Validating 3 provider(s)...
Valid: kimi
Base URL: https://api.moonshot.cn/anthropic
Model: kimi-k2-thinking
API connection: OK
Valid: glm
Base URL: https://open.bigmodel.cn/api/anthropic
Model: glm-4.7
API connection: OK
Warning: m2
Base URL: https://api.minimaxi.com/anthropic
Model: MiniMax-M2.1
API connection: HTTP 503: <error message>
All providers valid (1 with API warnings)
Full changelog: v0.1.3...v0.1.4
What's Changed
Full Changelog: v0.1.3...v0.1.4