Skip to content

Add cspace watch: live TUI dashboard for running agents and services#50

Open
elliottregan wants to merge 17 commits intomainfrom
feat/cspace-watch
Open

Add cspace watch: live TUI dashboard for running agents and services#50
elliottregan wants to merge 17 commits intomainfrom
feat/cspace-watch

Conversation

@elliottregan
Copy link
Copy Markdown
Owner

Summary

  • Adds cspace watch, a live split-pane terminal dashboard that shows running agents (status, turns, cost, stuck warnings), shared services (Traefik, CoreDNS, Playwright, Chromium CDP), and a mixed activity stream of tool-use and assistant-text events streamed over WebSocket
  • Host mode (cspace watch [name]) exec's into a running container via DcExecInteractive; inside mode (--inside) auto-starts the diagnostics server if needed, then launches a Bubbletea TUI connected to localhost:8384
  • New internal/tui package with 16 files: event parsing, Docker health probes, Lipgloss styles, WebSocket client with auto-reconnect, left/right panel renderers, and root Bubbletea model — 27 unit tests, all passing

Test Plan

  • make test passes (all Go packages + Node.js agent-supervisor)
  • cspace watch --help shows --addr flag; --inside is hidden
  • Start a container with cspace up, run cspace watch — TUI renders with agent status and activity stream
  • Press f to cycle agent filter; press q to quit
  • Kill the diagnostics server inside the container — TUI title bar shows reconnecting status; reconnects automatically within 2s

🤖 Generated with Claude Code

elliottregan and others added 17 commits April 21, 2026 04:49
The golang.org/x/* module packages are sourced from GitHub mirrors in
this network-isolated environment. Hashes reflect the GitHub archive
content; regenerate with proxy.golang.org access for canonical hashes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Result rows should use styleEvTypeResult for content, not styleContent.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 21, 2026

Deploy Preview for cspace-cli ready!

Name Link
🔨 Latest commit 7aa1799
🔍 Latest deploy log https://app.netlify.com/projects/cspace-cli/deploys/69e7026925e3230008315fd9
😎 Deploy Preview https://deploy-preview-50--cspace-cli.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant