claw-code/rust/crates/api
TheArchitectit da19b7c997 feat: add interactive provider wizard with /setup, claw setup, and Ctrl+P
Adds an interactive setup wizard that lets users configure their provider,
API key, base URL, and model without setting environment variables.
Configuration is persisted to ~/.claw/settings.json (with 0600 permissions).

New features:
- `claw setup` CLI subcommand runs the wizard from the terminal
- `/setup` slash command runs the wizard inside the REPL (hot-swaps model)
- Ctrl+P hotkey in the REPL triggers /setup for in-session provider swap
- Stored provider config used as fallback when env vars are absent
- Three-tier auth resolution: env var > .env file > stored config
- RuntimeProviderConfig struct and validation in settings schema

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-10 16:49:01 -05:00
..
benches omx(team): auto-checkpoint worker-1 [1] 2026-05-15 10:30:06 +09:00
src feat: add interactive provider wizard with /setup, claw setup, and Ctrl+P 2026-06-10 16:49:01 -05:00
tests fix(providers): parse Ollama reasoning fields 2026-06-08 10:08:32 +09:00
Cargo.toml US-011: Performance optimization for API request serialization 2026-04-16 11:11:45 +00:00