bootspring_dashboard

Get dashboard status, start the dashboard server, or get the URL.

Overview#

The bootspring_dashboard tool manages the Bootspring real-time dashboard. The dashboard provides a visual interface for monitoring project status, viewing todo lists, tracking workflows, and more.

Parameters#

ParameterTypeRequiredDescription
actionstringNoAction to perform (default: status)

Actions#

ActionDescription
statusCheck if dashboard is running
urlGet the dashboard URL
startStart the dashboard server
stopStop the dashboard server

Usage Examples#

Check Status#

Use the bootspring_dashboard tool with: - action: "status"

Response (running):

1{ 2 "status": "running", 3 "port": 3456, 4 "url": "http://localhost:3456", 5 "command": "bootspring dashboard" 6}

Response (stopped):

1{ 2 "status": "stopped", 3 "port": 3456, 4 "url": "http://localhost:3456", 5 "command": "bootspring dashboard" 6}

Get URL#

Use the bootspring_dashboard tool with: - action: "url"

Response:

http://localhost:3456

Start Dashboard#

Use the bootspring_dashboard tool with: - action: "start"

Response (success):

1{ 2 "status": "started", 3 "port": 3456, 4 "url": "http://localhost:3456", 5 "pid": 12345, 6 "message": "Dashboard started successfully" 7}

Response (already running):

1{ 2 "status": "already_running", 3 "port": 3456, 4 "url": "http://localhost:3456", 5 "message": "Dashboard is already running" 6}

Response (failed):

1{ 2 "status": "failed", 3 "port": 3456, 4 "url": "http://localhost:3456", 5 "pid": null, 6 "message": "Failed to start dashboard" 7}

Stop Dashboard#

Use the bootspring_dashboard tool with: - action: "stop"

Response (success):

{ "status": "stop_requested", "message": "Stop signal sent. Dashboard should stop shortly." }

Response (not running):

{ "status": "not_running", "message": "Dashboard is not running" }

Configuration#

Configure the dashboard port in bootspring.config.js:

module.exports = { dashboard: { port: 3456 // Default port } };

Dashboard Features#

The real-time dashboard provides:

Project Overview#

  • Project health status
  • Current development phase
  • Open issues count

Todo Management#

  • View pending and completed todos
  • Mark items complete
  • Add new tasks

Workflow Tracking#

  • Active workflow progress
  • Step-by-step guidance
  • Checkpoint status

Agent Activity#

  • Recent agent invocations
  • Suggested agents
  • Agent response history

Quality Metrics#

  • Lint status
  • Test coverage
  • Type errors

CLI Integration#

The dashboard can also be started via CLI:

# Start dashboard bootspring dashboard # Start on custom port bootspring dashboard --port 4000

Technical Details#

Process Management#

  • Dashboard runs as a detached process
  • Survives terminal closure
  • Uses unref() for independent lifecycle

Port Detection#

  • Checks if port is already in use
  • HTTP health check for status detection
  • 1 second timeout for port checks

Startup Sequence#

  1. Check if already running
  2. Spawn Node.js process
  3. Wait 1 second for startup
  4. Verify server is responding

Error Handling#

Port in Use#

If the port is already in use by another application:

{ "status": "failed", "message": "Failed to start dashboard" }

Solution: Change the port in configuration or stop the conflicting process.

Permission Denied#

If the port requires elevated permissions (ports < 1024):

{ "status": "failed", "message": "Failed to start dashboard" }

Solution: Use a port above 1024 or run with elevated permissions.

Best Practices#

Keep Dashboard Running#

Start the dashboard at the beginning of your development session for real-time monitoring.

Use Status Checks#

Before starting, check status to avoid duplicate processes.

Configure Port#

If port 3456 conflicts with other services, configure a different port.