Skip to content

Commit 3ff6f71

Browse files
authored
Merge pull request #62 from freshtechbro/bug-fixes
Release v0.2.5: Fix CLI onboarding loop bug with context-aware configuration
2 parents 30daeb0 + c111d29 commit 3ff6f71

10 files changed

Lines changed: 687 additions & 250 deletions

.vibe-config.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"version": "1.0.0",
3+
"setupDate": "2025-08-14T18:25:58.699Z",
4+
"unified": {
5+
"enabled": true,
6+
"projectRoot": "/tmp/cli-files-test",
7+
"autoDetection": "true"
8+
},
9+
"directories": {
10+
"output": "./VibeCoderOutput",
11+
"codeMap": "/tmp/cli-files-test",
12+
"taskManager": "/tmp/cli-files-test"
13+
},
14+
"security": {
15+
"mode": "strict"
16+
},
17+
"models": {
18+
"gemini": "google/gemini-2.5-flash-preview-05-20",
19+
"perplexity": "perplexity/sonar"
20+
},
21+
"api": {
22+
"baseUrl": "https://openrouter.ai/api/v1"
23+
}
24+
}

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.2.5] - 2025-08-14
11+
12+
### Fixed
13+
- **Critical CLI Onboarding Loop Bug**
14+
- CLI now correctly detects user's project directory using `process.cwd()`
15+
- Resolved persistent first-run detection issues that caused repeated onboarding
16+
- Configuration files now save to user's working directory instead of package directory
17+
18+
### Added
19+
- **Context-Aware Configuration System**
20+
- Enhanced `TransportContext` pattern for CLI vs Server differentiation
21+
- Dual-location configuration saving (user directory + package fallback) for reliability
22+
- Intelligent path resolution based on transport type
23+
- Enhanced error handling for configuration persistence
24+
25+
- **Improved CLI Auto-Detection**
26+
- CLI automatically detects project root from current working directory
27+
- Enhanced `OpenRouterConfigManager` with context-aware path resolution
28+
- Updated `SetupWizard` with transport context support
29+
- Users can now run `vibe` from any directory in their project
30+
31+
### Changed
32+
- **Enhanced Setup Wizard**
33+
- SetupWizard constructor now accepts optional `TransportContext`
34+
- Factory function `createSetupWizard()` for context-aware initialization
35+
- Improved file path resolution methods for different transport types
36+
37+
- **Developer Experience**
38+
- Comprehensive test coverage for CLI onboarding flows
39+
- Enhanced error messages and debugging information
40+
- Better validation of configuration file locations
41+
1042
## [0.2.4] - 2025-08-14
1143

1244
### Added

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,37 @@
1010

1111
Vibe Coder is an MCP (Model Context Protocol) server designed to supercharge your AI assistant (like Cursor, Cline AI, or Claude Desktop) with powerful tools for software development. It helps with research, planning, generating requirements, creating starter projects, and more!
1212

13+
## 🆕 What's New in Version 0.2.5
14+
15+
### 🔧 Critical CLI Bug Fixes & Enhancements
16+
- **✅ Fixed CLI Onboarding Loop Bug**
17+
- CLI now correctly detects user's project directory using `process.cwd()`
18+
- Resolves persistent first-run detection issues
19+
- Configuration files now save to user's working directory instead of package directory
20+
21+
- **🎯 Context-Aware Configuration System**
22+
- Enhanced `TransportContext` pattern for CLI vs Server differentiation
23+
- Dual-location configuration saving (user directory + package fallback)
24+
- Intelligent path resolution based on transport type
25+
- Maintains backward compatibility for all existing setups
26+
27+
- **📍 Auto-Detection Improvements**
28+
- CLI automatically detects project root from current working directory
29+
- Enhanced `OpenRouterConfigManager` with context-aware path resolution
30+
- Updated `SetupWizard` with transport context support
31+
- Users can now run `vibe` from any directory in their project
32+
33+
- **💾 Enhanced File Management**
34+
- CLI saves all configuration files (`.env`, `llm_config.json`, `.vibe-config.json`) to user directory
35+
- Improved error handling for configuration persistence
36+
- Better validation of configuration file locations
37+
38+
### Developer Experience Improvements
39+
- Comprehensive test coverage for CLI onboarding flows
40+
- Enhanced error messages and debugging information
41+
- Improved setup wizard user experience
42+
- Better documentation of CLI behavior and configuration
43+
1344
## 🆕 What's New in Version 0.2.3
1445

1546
### Major Features

RELEASE_NOTES_v0.2.4.md

Lines changed: 0 additions & 177 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vibe-coder-mcp",
3-
"version": "0.2.4",
3+
"version": "0.2.5",
44
"description": "Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.",
55
"main": "build/index.js",
66
"type": "module",

setup.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo off
2-
REM Setup script for Vibe Coder MCP Server (Production Ready v2.3)
2+
REM Setup script for Vibe Coder MCP Server (Production Ready v2.5)
33
setlocal enabledelayedexpansion
44

55
REM Color codes for Windows (using PowerShell for colored output)
@@ -9,7 +9,7 @@ set "YELLOW=[33m"
99
set "BLUE=[34m"
1010
set "NC=[0m"
1111

12-
echo Setting up Vibe Coder MCP Server v2.3...
12+
echo Setting up Vibe Coder MCP Server v2.5...
1313
echo ==================================================
1414
echo Production-ready MCP server with complete agent integration
1515
echo Multi-transport support • Real-time notifications • Dynamic port allocation

setup.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Setup script for Vibe Coder MCP Server (Production Ready v2.3)
2+
# Setup script for Vibe Coder MCP Server (Production Ready v2.5)
33
set -e # Exit immediately if a command exits with a non-zero status.
44

55
# Color codes for better output
@@ -26,7 +26,7 @@ print_info() {
2626
echo -e "${BLUE}${NC} $1"
2727
}
2828

29-
echo "Setting up Vibe Coder MCP Server v2.3..."
29+
echo "Setting up Vibe Coder MCP Server v2.5..."
3030
echo "=================================================="
3131
echo "Production-ready MCP server with complete agent integration"
3232
echo "Multi-transport support • Real-time notifications • Dynamic port allocation"
@@ -382,7 +382,7 @@ fi
382382
echo ""
383383
print_status "Setup completed successfully!"
384384
echo "=================================================="
385-
echo "Vibe Coder MCP Server v2.3 (Production Ready) is now set up with complete agent integration:"
385+
echo "Vibe Coder MCP Server v2.5 (Production Ready) is now set up with complete agent integration:"
386386
echo ""
387387
echo "📋 PLANNING & DOCUMENTATION TOOLS:"
388388
echo " - Research Manager (research-manager) - AI-powered research with Perplexity Sonar"

0 commit comments

Comments
 (0)