| name | serve |
| description | Start the interactive Code Genome visualization UI |
| argument-hint | ["port"] |
| allowed-tools | Bash, Read |
Start Scalpel's interactive graph visualization server.
- Ensure coverage data exists:
ls .scalpel/coverage/ 2>/dev/null || echo "No coverage data found. Run /trace first."
- Start the server:
cargo run -p scalpel-cli -- serve --port ${ARGUMENTS:-8484} --coverage-dir .scalpel/coverage
- The UI will open at http://localhost:${ARGUMENTS:-8484}
- API endpoints available:
- GET /api/genome — full genome JSON
- GET /api/packages — package list
- GET /api/search?q=query — search nodes