Release v0.2.5: Fix CLI onboarding loop bug with context-aware configuration#62
Merged
freshtechbro merged 1 commit intomasterfrom Aug 14, 2025
Merged
Release v0.2.5: Fix CLI onboarding loop bug with context-aware configuration#62freshtechbro merged 1 commit intomasterfrom
freshtechbro merged 1 commit intomasterfrom
Conversation
…uration ### Major Bug Fixes - **Fixed critical CLI onboarding loop bug** where vibe command repeatedly triggered first-run setup - CLI now correctly detects user's project directory using process.cwd() instead of package directory - Configuration files (`.env`, `llm_config.json`, `.vibe-config.json`) now save to user's working directory ### Architecture Enhancements - **Context-aware configuration system** using enhanced TransportContext pattern - Dual-location configuration saving (user directory + package fallback) for reliability - Enhanced OpenRouterConfigManager with intelligent path resolution based on transport type - Updated SetupWizard with transport context support for CLI vs server differentiation ### User Experience Improvements - CLI users can now run `vibe` from any directory in their project - Enhanced error handling and debugging information for configuration persistence - Improved first-run detection logic with context-aware validation - Better setup wizard user experience with comprehensive test coverage ### Documentation Updates - Updated README.md with v0.2.5 release notes and CLI enhancement details - Enhanced CLAUDE.md with CLI auto-detection features and transport context documentation - Updated CHANGELOG.md with comprehensive release notes - Updated setup scripts (setup.sh, setup.bat) to reflect v2.5 ### Technical Improvements - Maintains full backward compatibility for all existing server setups - Follows DRY principles and existing architectural patterns - Enhanced UnifiedSecurityConfigManager integration - Comprehensive test coverage for CLI onboarding flows - Zero breaking changes for MCP client integrations ### Quality Assurance - All TypeScript compilation checks pass with zero errors - ESLint validation passes with no issues - Build process completes successfully - Maintains strict typing enforcement standards 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <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
vibecommand repeatedly triggered first-run setupprocess.cwd()instead of package directoryTechnical Changes
OpenRouterConfigManagerwith context-aware path resolutionSetupWizardto acceptTransportContextfor intelligent file operationsUser Experience Improvements
vibefrom any directory in their projectQuality Assurance
Test plan
🤖 Generated with Claude Code