feat: Enhance run-server.sh with uv-first Python environment setup (#129)
* feat: Enhance run-server.sh with uv-first Python environment setup - Implement uv-first approach for faster environment setup when available - Add automatic WSL environment detection using wslvar for better Windows integration - Improve system package installation by using bash -c for better command execution - Add comprehensive environment validation and fallback mechanisms - Optimize dependency installation with uv when environment supports it - Enhance configuration display workflow for better user experience - Add environment markers to track uv-created environments - Improve error handling and user messaging throughout setup process 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * feat: Add .claude/settings.local.json to .gitignore Personal Claude Code settings should not be tracked in source control. Reference: https://docs.anthropic.com/en/docs/claude-code/settings 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * feat: Add shared Claude Code settings.json for team defaults - Add .claude/settings.json with default permissions for team use - Remove .claude/settings.local.json from git tracking (now personal config) Reference: https://docs.anthropic.com/en/docs/claude-code/settings 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: Address Gemini Code Assist review issues in run-server.sh - Fix hardcoded Unix paths (lines 563 & 568) with cross-platform detection - Improve error handling by capturing uv stderr instead of /dev/null - Fix uv environment detection logic to check uv_created marker file Resolves three issues identified in PR review: 1. High Priority: Replace hardcoded $VENV_PATH/bin/python with detection 2. Medium Priority: Capture and display uv command errors for debugging 3. Medium Priority: Use marker file instead of path matching for uv detection 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: Address additional Gemini Code Assist feedback - Enhance WSL warning message with more helpful guidance - Add security comment explaining bash -c usage over eval - Add get_venv_python_path helper function for cleaner cross-platform detection - Improve path resolution error handling with proper error checking Addresses 4 additional review points from gemini-code-assist to improve user experience, code clarity, and error handling robustness. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
7
.claude/settings.json
Normal file
7
.claude/settings.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
],
|
||||
"deny": []
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"mcp__gemini__review_code",
|
||||
"mcp__gemini__chat",
|
||||
"mcp__gemini__analyze",
|
||||
"Bash(find:*)",
|
||||
"mcp__gemini__review_changes",
|
||||
"Bash(python test_resolve.py:*)",
|
||||
"Bash(python3:*)",
|
||||
"Bash(cat:*)",
|
||||
"Bash(grep:*)",
|
||||
"Bash(source:*)",
|
||||
"Bash(rm:*)"
|
||||
],
|
||||
"deny": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user