Skip to content

feat: add prerequisites module and doctor command#1

Merged
UltraInstinct0x merged 2 commits intomainfrom
feature/ultrainstinct0x-prerequisites
Dec 28, 2025
Merged

feat: add prerequisites module and doctor command#1
UltraInstinct0x merged 2 commits intomainfrom
feature/ultrainstinct0x-prerequisites

Conversation

@UltraInstinct0x
Copy link
Copy Markdown
Owner

Summary

  • Adds unified prerequisite checking module
  • Adds clawdis doctor command with --fix, --json, --verbose flags
  • Auto-fixes: missing config, workspace, WhatsApp creds, API key

Test Plan

  • pnpm test passes
  • pnpm lint passes
  • Manual test clawdis doctor
  • Manual test clawdis doctor --fix

🤖 Generated with Claude Code

- Add src/infra/prerequisites.ts with unified prerequisite checking
- Add src/commands/doctor.ts for system health diagnostics
- Register doctor command in CLI with --json and --verbose flags
- Add comprehensive tests for both modules
- Checks: Node.js, pnpm, Git, config, workspace, credentials, API keys, network
- Add fixId to prerequisite results for fixable issues
- Implement auto-fix for: config, workspace, WhatsApp login, API key
- Prompt user before applying each fix
- Re-run checks after fixes to show updated status
- Suggest --fix when issues are detected
@UltraInstinct0x UltraInstinct0x merged commit 44d15bf into main Dec 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant