File size: 1,159 Bytes
757b5fe
 
 
 
 
 
 
 
 
6425ec7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
license: mit
tags:
  - openclaw
  - dashboard
  - react
  - streamlit
---

# OpenClaw Ops Dashboard

Developer-facing dashboard experiments for OpenClaw operations.

This repo includes two dashboard surfaces:

- `react-dashboard/` — the current Vite/React dashboard for Session Amplifier data.
- `app.py` — the older Streamlit dashboard that reads local agent session JSON files.

## React Dashboard

```bash
cd react-dashboard
npm install
npm run build
npm run dev -- --port 5177
```

The Vite dev server proxies `/session-amplifier/*` to `SESSION_AMPLIFIER_BASE_URL` or `http://localhost:8477`.

## Streamlit Dashboard

The Streamlit app reads agent session JSON files from `~/.openclaw/agents/*/sessions` and displays:

- Agent list with last activity timestamps (best-effort)
- A simple timeline of recent cron runs (files with "cron" in the name under agents)

```bash
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
streamlit run app.py
```

Notes:
- The app is intentionally minimal and tolerant of malformed session files.
- Timestamps are parsed best-effort from common keys (last_activity, updated_at, timestamp).