Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.21 KB

File metadata and controls

35 lines (26 loc) · 1.21 KB

hbench

CLI agent benchmark dashboard in your browser. Run local coding-agent CLIs in parallel, stream PTY output live, inspect per-agent diffs. Locally.

Stack

  • Bun - WebSocket, REST API and runtime (do not use Node, npm, npx or Node APIs)
  • Tailwind 4 + shadcn/base-ui
  • ghostty-web terminal renderer with optional xtermjs and restty versions
  • @pierre/diffs for patch rendering
  • AI SDK for diff review feature

Runtime Requirements

  • Bun installed
  • Git installed
  • Agent CLIs on PATH: amp, droid, pi, codex, claude, opencode

UI Guidelines

  • Dark-first, monospace-friendly dashboard
  • Keep terminal output primary; controls compact; everything easy to reach
  • Use lucide-react icons only
  • shadcn/base-ui primitives components must be manually set up by me

Current Layout Notes

  • ui/ = frontend code (moved from old src/)
  • server/ = Bun backend/runtime entrypoints (server/index.ts, server/build.ts)
  • lib/ = shared code between UI and server (currently mostly empty)
  • Root tsconfig.json is a references file (solution style), not a direct compile target
  • Typecheck via scripts: bun run ts:ui and bun run ts:api
  • TS path alias @/* resolves to ui/* first, then lib/*