5 Commits

Author SHA1 Message Date
simfor99
c2f9848236 fix: add execute permission to shell scripts
Makes start.sh and start_ui.sh executable for Unix/Linux/macOS users.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 07:57:31 +01:00
Leon van Zyl
cd82a4cf46 Merge pull request #12 from mantarayDigital/fix/start-sh-credentials-check
fix: Comprehensive authentication error handling
2026-01-10 11:29:13 +02:00
Auto
dff28c53bf fix: handle cross-platform venv compatibility in WSL
Changes:
- start_ui.sh, start.sh: Check for venv/bin/activate instead of just
  venv/ directory to detect Windows venvs in Linux/WSL
- Auto-recreate venv when incompatible platform structure detected
- Add error handling for venv removal, creation, and activation failures
- Provide actionable error messages with distro-specific instructions
- start_ui.bat: Check for venv\Scripts\activate.bat for consistency
  with start.bat pattern

Fixes issue where users cloning repo in WSL would encounter:
- "venv/bin/activate: No such file or directory"
- "No module named pip" errors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 09:51:54 +02:00
mantarayDigital
81dbc4bc16 fix: Update start.sh to use correct Claude CLI auth detection
The previous credential check looked for ~/.claude/.credentials.json,
which no longer exists in recent versions of Claude CLI. This caused
the script to incorrectly prompt users to login even when they were
already authenticated.

Changes:
- Remove check for non-existent .credentials.json file
- Check for ~/.claude directory existence instead
- Always remind users about 'claude login' since we can't verify auth
  status without making an API call
- If ~/.claude doesn't exist, pause and warn (but allow continuing)
- Add explanatory comments about the limitation

The new approach is honest about what we can and can't verify:
- We CAN check if the CLI is installed (command -v claude)
- We CAN check if ~/.claude directory exists (CLI has been run)
- We CANNOT verify actual auth status without an API call

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 07:24:31 +02:00
Auto
dd7c1ddd82 init 2025-12-30 11:13:18 +02:00