Files
openagent/dashboard
Thomas Marchand 5c2f898234 feat: Add shared_network option for container workspaces
Add a new `shared_network` option to workspaces and workspace templates
that controls network configuration for container (nspawn) workspaces:

- When true (default): Share host network, bind-mount /etc/resolv.conf
  for DNS resolution
- When false: Use isolated networking (--network-veth) for Tailscale
  or other custom network configurations

This fixes DNS resolution issues in container workspaces that don't use
Tailscale by properly sharing the host's DNS configuration.

Changes:
- Add shared_network field to Workspace and WorkspaceTemplate structs
- Update nspawn command building to use shared_network setting
- Add UI toggles in workspace template editor and workspace settings
- Update API types and endpoints
2026-01-17 15:01:03 +00:00
..
2026-01-16 01:41:11 -08:00
2026-01-16 01:41:11 -08:00
2025-12-15 13:42:34 +00:00
2025-12-15 13:42:34 +00:00
2026-01-16 01:41:11 -08:00
2025-12-15 13:42:34 +00:00
2025-12-15 13:42:34 +00:00

OpenAgent Dashboard

Developer-focused UI for monitoring and controlling the OpenAgent backend.

Prerequisites

  • Bun (required): bun@1.x

Getting started (Bun only)

cd dashboard
bun install

# If the backend is on :3000, run the dashboard on :3001 to avoid port conflicts.
PORT=3001 bun dev

Configure the backend URL via:

  • NEXT_PUBLIC_API_URL (defaults to http://127.0.0.1:3000)

Auth

If the backend reports auth_required=true from GET /api/health, the dashboard will prompt for credentials and store a JWT in sessionStorage. In multi-user mode (auth_mode=multi_user), it asks for username + password.