claw-code/docs
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
..
MODEL_COMPATIBILITY.md
…
anti-slop-triage.md
…
container.md
…
g002-security-verification-map.md
…
g003-boot-session-verification-map.md
…
g004-events-reports-contract.md
…
g004-events-reports-verification-map.md
…
g005-branch-recovery-verification-map.md
…
g006-task-policy-board-verification-map.md
…
g007-mcp-lifecycle-mapping.md
…
g007-plugin-mcp-verification-map.md
…
g009-windows-docs-release-verification-map.md
…
g010-clone-disambiguation-metadata.md
…
g010-session-hygiene-verification-map.md
…
g011-acp-json-rpc-status-contract.md
…
g011-ecosystem-ops-ux-verification-map.md
…
g012-final-release-readiness-report.md
…
g013-roadmap-pinpoints-693-695-verification-map.md
…
local-openai-compatible-providers.md
…
navigation-file-context.md
…
personal-assistant-roadmap.md
…
pr-3211-plan.md feat: add interactive provider wizard with /setup, claw setup, and Ctrl+P 2026-06-10 16:49:01 -05:00
pr-3214-plan.md feat: add interactive provider wizard with /setup, claw setup, and Ctrl+P 2026-06-10 16:49:01 -05:00
pr-3216-plan.md feat: add interactive provider wizard with /setup, claw setup, and Ctrl+P 2026-06-10 16:49:01 -05:00
pr-3217-plan.md feat: add interactive provider wizard with /setup, claw setup, and Ctrl+P 2026-06-10 16:49:01 -05:00
pr-3218-plan.md feat: add interactive provider wizard with /setup, claw setup, and Ctrl+P 2026-06-10 16:49:01 -05:00
pr-3219-plan.md feat: add interactive provider wizard with /setup, claw setup, and Ctrl+P 2026-06-10 16:49:01 -05:00
pr-issue-resolution-gate.md
…
pr-triage-g012-final-gate.json
…
rag-web-ui.md
…
reviewer-feedback-sprint.md feat: add interactive provider wizard with /setup, claw setup, and Ctrl+P 2026-06-10 16:49:01 -05:00
roadmap-pr-goals.md
…
upstream-sprint-plan.md feat: add interactive provider wizard with /setup, claw setup, and Ctrl+P 2026-06-10 16:49:01 -05:00
windows-install-release.md
…