Conversation
1.2.0 release
release 1.3.0
- Extract Claude and Codex configuration logic into separate adapters - Add CliAdapter interface for extensible CLI support - Simplify ConfigStore by delegating to adapters - Add type guards for provider type checking - Improve TypeScript type safety across commands and TUI This enables adding new CLI targets (e.g., OpenAI CLI) by: 1. Creating a new adapter class 2. Registering it in the adapter factory
- Add ConfigStore unit tests (Provider CRUD, active provider, theme, config) - Add Adapter tests (ClaudeAdapter, CodexAdapter general config, env parsing) - Add mock provider fixtures - Refactor ConfigStore to support test config directory injection - Refactor Adapters to support custom config directory Test results: 32 tests passing
- Relocate test files from src/ to test/ - Add 'pnpm test' script to package.json - Update import paths in test files
# Conflicts: # src/config/store.ts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pre-commit hook was only updating package.json but not src/version.ts, causing version mismatch. Hook now updates both files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ClaudeAdapter,CodexAdapter) for cleaner separation between providersConfigStoreand all adapters (moved totest/directory with dedicated test script)as anycasts throughout codebase using properCliTargetandProviderTemplatetypespackage.jsonandsrc/version.tson every commitTest plan
bun test— all unit tests passbun run dev switch— switching providers works for both Claude and Codex targetsbun run dev add— adding providers with templates works correctlybun run dev list— lists providers correctly🤖 Generated with Claude Code