Skip to content

Add ty serve HTTP API and ty-web kanban board#510

Merged
bborn merged 1 commit intomainfrom
task/2046-add-ty-serve-command-lightweight-web-kan
Mar 17, 2026
Merged

Add ty serve HTTP API and ty-web kanban board#510
bborn merged 1 commit intomainfrom
task/2046-add-ty-serve-command-lightweight-web-kan

Conversation

@bborn
Copy link
Owner

@bborn bborn commented Mar 17, 2026

Summary

  • Adds ty serve --port 8080 command that runs a lightweight HTTP API server with full CLI parity (30+ endpoints covering tasks CRUD, projects, types, events, dependencies, SSE streaming, and executor terminal access via WebSocket)
  • Adds extensions/ty-web/ sidecar that serves a Linear-inspired kanban board SPA (Alpine.js + Tailwind CSS + xterm.js) with live executor terminal, keyboard navigation, and real-time board updates via SSE
  • Architecture: ty serve is a pure JSON API (no frontend bundled), ty-web is a standalone Go binary following the same sidecar pattern as ty-email and ty-qmd

Test plan

  • go build ./... compiles cleanly
  • go test ./internal/web/... — 29 handler tests pass
  • go test ./... — no regressions
  • Manual: ty serve --port 8080 + ty-web --port 3737 --api http://localhost:8080 + verify board renders, task detail opens, executor terminal streams live, keyboard shortcuts work, project filter works

🤖 Generated with Claude Code

Adds a `ty serve` command that runs a lightweight HTTP API server with
full CLI parity, and a separate `ty-web` extension (under extensions/)
that serves a Linear-inspired kanban board SPA.

Architecture: ty serve is a pure JSON API (no frontend), ty-web is a
standalone sidecar that proxies /api/* and serves an Alpine.js + Tailwind
frontend with xterm.js for live executor terminal access via WebSocket.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bborn bborn merged commit 0430942 into main Mar 17, 2026
3 of 4 checks passed
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