Skip to content

release: base configuration feature#2

Merged
LobayClaw merged 1 commit into
mainfrom
develop
Mar 16, 2026
Merged

release: base configuration feature#2
LobayClaw merged 1 commit into
mainfrom
develop

Conversation

@LobayClaw
Copy link
Copy Markdown
Collaborator

Merge develop to main with base configuration support and CI workflows.

* feat: add base configuration support

- Add base.json for shared settings across providers
- Merge base config with provider-specific config on switch
- New commands: cc-use base, cc-use base show, cc-use base rm
- Show merged config in 'cc-use show' when base exists
- Display base status in 'cc-use ls'

* test: add unit tests for config merge functionality

- 11 tests covering merge_json function
- Tests for simple/nested/deep object merging
- Tests for edge cases (empty, null, primitive override)
- Tests for realistic Claude settings scenario
- Tests for path functions

* ci: add GitHub Actions workflows

- lint.yml: triggered on PR to main/develop
  - cargo fmt --check for code formatting
  - cargo clippy -- -D warnings for linting

- build.yml: triggered on push to main
  - cargo build --release
  - cargo test

Also apply cargo fmt to all source files
@LobayClaw LobayClaw merged commit 3f706c2 into main Mar 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant