rapidkit 0.16.5 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/dist/index.js +202 -183
- package/dist/package.json +3 -1
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -313,6 +313,9 @@ npx rapidkit info module <name> # Module details
|
|
|
313
313
|
|
|
314
314
|
# System
|
|
315
315
|
npx rapidkit doctor # Diagnose environment
|
|
316
|
+
npx rapidkit doctor --workspace # Check entire workspace
|
|
317
|
+
npx rapidkit doctor --workspace --json # JSON output (CI/CD)
|
|
318
|
+
npx rapidkit doctor --workspace --fix # Auto-fix issues
|
|
316
319
|
npx rapidkit --version # Show version
|
|
317
320
|
npx rapidkit --tui # Launch interactive TUI
|
|
318
321
|
|
|
@@ -321,6 +324,42 @@ npx rapidkit workspace list # List workspaces
|
|
|
321
324
|
npx rapidkit workspace sync # Sync projects
|
|
322
325
|
```
|
|
323
326
|
|
|
327
|
+
### Doctor Command (Health Check)
|
|
328
|
+
|
|
329
|
+
The enhanced `doctor` command provides comprehensive health monitoring:
|
|
330
|
+
|
|
331
|
+
```bash
|
|
332
|
+
# System check (basic)
|
|
333
|
+
rapidkit doctor
|
|
334
|
+
|
|
335
|
+
# Workspace check (detailed)
|
|
336
|
+
rapidkit doctor --workspace
|
|
337
|
+
# ✅ Health score with visual progress bar
|
|
338
|
+
# ✅ System tools validation (Python, Poetry, pipx, Core)
|
|
339
|
+
# ✅ Project-level checks (venv, dependencies, modules)
|
|
340
|
+
# ✅ Environment file validation (.env)
|
|
341
|
+
# ✅ Module structure integrity
|
|
342
|
+
# ✅ Version compatibility warnings
|
|
343
|
+
# ✅ Actionable fix commands
|
|
344
|
+
|
|
345
|
+
# JSON output for CI/CD pipelines
|
|
346
|
+
rapidkit doctor --workspace --json
|
|
347
|
+
|
|
348
|
+
# Auto-fix common issues
|
|
349
|
+
rapidkit doctor --workspace --fix
|
|
350
|
+
# Interactive confirmation before applying fixes
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
**Features:**
|
|
354
|
+
- **Health Score**: Visual percentage with pass/warn/error breakdown
|
|
355
|
+
- **Fix Commands**: Project-specific commands to resolve issues
|
|
356
|
+
- **JSON Mode**: Machine-readable output for automation
|
|
357
|
+
- **Auto-Fix**: Apply fixes automatically with confirmation
|
|
358
|
+
- **Module Checks**: Validates `__init__.py` files
|
|
359
|
+
- **Environment Checks**: Detects missing `.env` files
|
|
360
|
+
- **Version Compatibility**: Warns about Core/CLI mismatches
|
|
361
|
+
```
|
|
362
|
+
|
|
324
363
|
### Workspace Commands
|
|
325
364
|
|
|
326
365
|
```bash
|