Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.18 KB

File metadata and controls

45 lines (32 loc) · 1.18 KB

Humanize Viz Dashboard

Manage the local web visualization dashboard for RLCR loop sessions.

Usage

/humanize:viz <subcommand>

Subcommands

  • start — Launch the dashboard server (creates venv on first run, opens browser)
  • stop — Stop the dashboard server
  • restart — Restart the dashboard server
  • status — Check if the dashboard server is running

Implementation

Run the appropriate shell script based on the subcommand:

# Determine paths
VIZ_DIR="${CLAUDE_PLUGIN_ROOT}/viz/scripts"
PROJECT_DIR="$(pwd)"

# Route subcommand
case "$1" in
  start)   bash "$VIZ_DIR/viz-start.sh" "$PROJECT_DIR" ;;
  stop)    bash "$VIZ_DIR/viz-stop.sh" "$PROJECT_DIR" ;;
  restart) bash "$VIZ_DIR/viz-restart.sh" "$PROJECT_DIR" ;;
  status)  bash "$VIZ_DIR/viz-status.sh" "$PROJECT_DIR" ;;
  *)       bash "$VIZ_DIR/viz-status.sh" "$PROJECT_DIR" ;;
esac

If no subcommand is provided, default to status.

Requirements

  • Python 3 (for Flask server)
  • tmux (for background process management)
  • A .humanize/ directory in the project (created by RLCR loop)

The first start will automatically create a Python venv in .humanize/viz-venv/ and install dependencies.