{"id":50731367,"url":"https://github.com/deadronos/agent-pixel-dashboard","last_synced_at":"2026-06-10T09:01:15.713Z","repository":{"id":350342367,"uuid":"1206155608","full_name":"deadronos/agent-pixel-dashboard","owner":"deadronos","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-06T11:53:16.000Z","size":881,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-06T13:42:14.927Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deadronos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-04-09T16:24:15.000Z","updated_at":"2026-05-06T11:53:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/deadronos/agent-pixel-dashboard","commit_stats":null,"previous_names":["deadronos/agent-pixel-dashboard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deadronos/agent-pixel-dashboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Fagent-pixel-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Fagent-pixel-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Fagent-pixel-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Fagent-pixel-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadronos","download_url":"https://codeload.github.com/deadronos/agent-pixel-dashboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Fagent-pixel-dashboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34144680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-10T09:01:14.555Z","updated_at":"2026-06-10T09:01:15.702Z","avatar_url":"https://github.com/deadronos.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Agent Watch Dashboard (Watcher-First MVP)\n\nWatcher-first multi-agent observability stack from `idea.md`:\n\n- `apps/collector`: watches local transcript/session files and emits normalized events\n- `apps/hub`: receives event batches, projects entity state, serves state/detail/search APIs, and streams updates over WebSocket\n- `apps/dashboard`: renders live entity tiles with activity-state decay\n- `plugins/plugin-codex-watch`: codex-oriented JSONL watcher plugin\n- `plugins/plugin-claude-watch`: claude session/transcript watcher plugin\n- `plugins/plugin-gemini-watch`: gemini-cli session/transcript watcher plugin\n- `plugins/plugin-openclaw-watch`: openclaw session/transcript watcher plugin\n- `plugins/plugin-copilot-watch`: copilot-cli session/transcript watcher plugin\n- `plugins/plugin-opencode-watch`: OpenCode watcher plugin, preferring live SQLite state with JSON fallback\n- `plugins/plugin-hermes-watch`: Hermes agent session/transcript watcher plugin\n- `plugins/plugin-pi-watch`: Pi coding agent JSONL watcher plugin\n- `packages/env-loader`: loads repo-root `.env` / `.env.local` for hub and collector\n- `packages/event-schema`: canonical runtime schema for normalized events\n- `packages/plugin-sdk`: collector/plugin contracts and session-file matching helpers\n- optional CASS-backed session search at `GET /api/search/sessions`\n\n## Quick start\n\n```bash\nnpm install\nHUB_AUTH_TOKEN=dev-secret npm run dev:hub\n```\n\nIn another shell:\n\n```bash\nHUB_AUTH_TOKEN=dev-secret npm run dev:collector\n```\n\nIn another shell:\n\n```bash\nnpm run dev:dashboard\n```\n\nOpen `http://localhost:5173`.\n\nThe dashboard dev server binds to `0.0.0.0`, so you can also open it from another device on the same LAN\nusing the machine's hostname or IP address.\n\nLocal overrides live in the repo-root `.env.local`, which is loaded by the hub, collector, and dashboard.\n\nIf you run the dashboard on a different host or port than the hub, set `HUB_CORS_ORIGINS` on the hub\nto the dashboard origin(s). The dashboard derives its websocket URL from `VITE_HUB_HTTP` unless\n`VITE_HUB_WS` is set explicitly.\n\n## Environment variables\n\n### Dashboard\n\n- `VITE_HUB_HTTP` (default: `http://localhost:3030`)\n- `VITE_HUB_WS` (optional; leave blank to derive `ws://` or `wss://` from `VITE_HUB_HTTP`)\n\n### Hub\n\n- `HUB_PORT` (default: `3030`)\n- `HUB_AUTH_TOKEN` (required; must match the collector token)\n- `CASS_BIN` (default: `cass`)\n- `HUB_RATE_LIMIT_WINDOW_MS` (default: `60000`, rate-limit window for `POST /api/events/batch`)\n- `HUB_RATE_LIMIT_MAX` (default: `60`, max batches allowed per window)\n- `HUB_CORS_ORIGINS` (optional comma-separated allowlist of dashboard origins; blank is\n  permissive during development and rejects cross-origin requests in `NODE_ENV=production`)\n\n### Collector\n\n- `COLLECTOR_ID` (default: `collector-\u003chostname\u003e`)\n- `COLLECTOR_HOST` (default: system hostname)\n- `HUB_URL` (default: `http://localhost:3030`)\n- `HUB_AUTH_TOKEN` (must match hub token)\n- `FLUSH_INTERVAL_MS` (default: `500`)\n- `MAX_BATCH_BYTES` (default: `1500000`, keep below hub JSON body limit)\n- `WATCH_SOURCES` (default: `auto`; use `auto|all` or comma-separated sources)\n- `PLUGINS_DIR` (optional; defaults to repo `plugins/` directory for autodiscovery)\n- `SESSION_ROOTS` (optional comma-separated global roots used in addition to source-specific roots)\n- `CODEX_SESSION_ROOTS` (optional comma-separated session roots)\n- `CLAUDE_SESSION_ROOTS` (optional comma-separated session roots)\n- `GEMINI_SESSION_ROOTS` (optional comma-separated session roots)\n- `OPENCLAW_SESSION_ROOTS` (optional comma-separated session roots)\n- `COPILOT_SESSION_ROOTS` (optional comma-separated session roots)\n- `OPENCODE_DATA_DIR` (optional OpenCode data directory; default `~/.local/share/opencode`)\n- `HERMES_DIR` (optional Hermes directory; default `~/.hermes`)\n- `PI_SESSION_ROOTS` (optional comma-separated Pi session roots)\n\n### Optional Watcher Tuning\n\n- `CODEX_ACTIVE_WINDOW_MS` (default: `120000`)\n- `CLAUDE_ACTIVE_WINDOW_MS` (default: `120000`)\n- `GEMINI_ACTIVE_WINDOW_MS` (default: `120000`)\n- `OPENCLAW_ACTIVE_WINDOW_MS` (default: `120000`)\n- `OPENCLAW_SCAN_INTERVAL_MS` (default: `15000`)\n- `OPENCLAW_SCAN_MAX_DEPTH` (default: `8`)\n- `OPENCLAW_SCAN_MAX_FILES` (default: `5000`)\n- `COPILOT_ACTIVE_WINDOW_MS` (default: `120000`)\n- `COPILOT_SCAN_INTERVAL_MS` (default: `2000`)\n- `COPILOT_SCAN_MAX_DEPTH` (default: `2`)\n- `COPILOT_SCAN_MAX_FILES` (default: `5000`)\n- `OPENCODE_ACTIVE_WINDOW_MS` (default: `120000`)\n- `OPENCODE_SCAN_INTERVAL_MS` (default: `2000`)\n- `HERMES_ACTIVE_WINDOW_MS` (default: `120000`)\n- `PI_ACTIVE_WINDOW_MS` (default: `120000`)\n\n## CASS integration\n\nHub endpoint:\n\n- `GET /api/search/sessions?q=\u003cquery\u003e\u0026limit=\u003cn\u003e`\n\nBehavior:\n\n- uses `cass search ... --robot --fields minimal`\n- rejects blank, oversized, or control-character queries before invoking CASS\n- returns `503` if CASS is unavailable (`cass health --json` fails)\n\nThis keeps search pluggable while letting collectors stay watcher-first.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadronos%2Fagent-pixel-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadronos%2Fagent-pixel-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadronos%2Fagent-pixel-dashboard/lists"}