Skip to content

v2.0.0 — Multi-Account Control Plane, Direct-Tunnel MCP Server & Monochrome UI

Choose a tag to compare

@hoangnecon hoangnecon released this 11 Nov 04:28
· 2 commits to main since this release

GoLab v2.0.0 — Initial v2 Release

GoLab v2 is a complete Clean Architecture rewrite of GoLab (github.com/hoangnecon/golabv2), combining a Singleton Control-Plane Daemon, a 43-Tool Direct-Tunnel Google Colab MCP Server, and an embedded Pure Neutral Monochrome (R = G = B) Observability Web UI inside a single zero-CGO Go binary.

Highlights

  • Singleton Control-Plane Daemon (127.0.0.1:9120): Hosts SQLite WAL state (~/.golab/state.db), /api/v1/* governance REST endpoints, /api/v1/events typed SSE stream, /mcp Streamable HTTP, golab mcp auto-spawning stdio⇄HTTP bridge, and the embedded React 19 UI.
  • Multi-Account Quota Governance & Per-Project Exclusive Lock: 1 Project = 1 Canonical Notebook, 1 Session = Project × Account. Switching the active account lock automatically flushes SaveNotebook and closes the old account's browser tab while keeping IDE MCP clients connected via glp_<32> Project Tokens.
  • 43 Live-Verified Canonical MCP Tools:
    • Live Compute Units (CCU) balance, hourly burn rate (CU/h), tier, GPU/TPU eligibility, and active VMs.
    • Two-Path Google Drive FUSE Mount (dfs_persistent auto-confirm vs shared dfs_ephemeral OAuth popup detection) + /proc/mounts fuse.drive guardrail (GOLAB_DRIVE_LOCAL_SHADOW_DIR).
    • 20–50ms Out-of-Band File I/O via /api/contents/* while primary training cells are busy.
    • Sidecar Python Kernels (POST /api/kernels) for non-blocking colab_exec_python and detached background jobs (colab_start_background_job, colab_poll_background_job, colab_kill_background_job).
  • 100% Pure Monochrome (R = G = B) Read-Only Observability UI: Zero setInterval polling, live SSE state updates, geometric glyph indicators (●, ◎, ○, △, ▪), and a split-pane JSON Payload Inspector capturing 100% of MCP tool calls.

Verification

  • Passed all 6 Automated Verification Gates (./scripts/verify.sh):
    1. Go AST Clean Architecture import boundaries
    2. go test -race across all internal & CLI packages
    3. Go ↔ TypeScript REST/DTO contract check (27 routes, 11 DTOs)
    4. Strict R = G = B monochrome token & UI module boundary check
    5. Strict TypeScript check, Vite production bundle, and Go embed.FS build
    6. Real binary + 2-Account Mock CDP + Headless Chrome E2E (2,624 live DOM nodes verified R === G === B)

Full Changelog: https://github.com/hoangnecon/golabv2/commits/v2.0.0