fix: fast node creation, first-run modal, simplified docs

- Skip AI calls when no valid OpenAI key (fixes 9-13s timeout)
- Add first-run modal prompting for API key
- Rewrite README for first-time users
- Add /api/health endpoint
- Remove all Anthropic references (not used in OS)
- Fix bootstrap script (dev:local → dev)
- Fix next.config.js devIndicators warning
- Add Node 18+ version check

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
“BeeRad”
2026-02-02 15:10:46 +11:00
co-authored by Claude Opus 4.5
parent 38386afea4
commit 7beba57f63
13 changed files with 616 additions and 389 deletions
+11 -17
View File
@@ -1,22 +1,16 @@
# Database Configuration - SQLite (production ready)
# Paths use sensible defaults if not specified
# SQLITE_DB_PATH=$HOME/Library/Application Support/RA-H/db/rah.sqlite
# RA-H OS Configuration
# Copy to .env.local: cp .env.example .env.local
# OpenAI API Key (optional)
# Enables: auto-descriptions, smart tagging, semantic search
# Get one at: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# Database path (defaults work for most users)
# SQLITE_DB_PATH=~/Library/Application Support/RA-H/db/rah.sqlite
SQLITE_VEC_EXTENSION_PATH=./vendor/sqlite-extensions/vec0.dylib
# AI API Keys (main orchestrator + mini agents)
ANTHROPIC_API_KEY=your-anthropic-api-key-here
OPENAI_API_KEY=your-openai-api-key-here
# Optional overrides specifically for ra-h orchestration/delegation
RAH_ORCHESTRATOR_ANTHROPIC_API_KEY=
RAH_DELEGATE_OPENAI_API_KEY=
# Voice TTS defaults
RAH_TTS_MODEL=gpt-4o-mini-tts
RAH_TTS_VOICE=ash
RAH_TTS_COST_PER_1K_CHAR_USD=0.015
# Application Configuration
# App config (no changes needed)
NODE_ENV=development
PORT=3000
NEXT_PUBLIC_APP_URL=http://localhost:3000