Web dashboard (Bun + xterm.js) that wraps workmux CLI commands and renders tmux windows in embedded browser terminals. Replaces direct tmux navigation with a sidebar-based UI at localhost:5111. - Bun HTTP server with REST API for worktree CRUD (add/rm/open/close/send) - Bun.Terminal PTY API to attach to tmux grouped sessions per worktree - xterm.js frontend with WebSocket bridge for real-time terminal I/O - Scrollback buffer for reconnection, ResizeObserver for dynamic fitting - Add direnv allow to worktree-env post-create hook for nix devshell Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
451 B
JSON
18 lines
451 B
JSON
{
|
|
"name": "windmill-dev-dashboard",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "bun build src/client/app.ts --outdir public/dist --minify",
|
|
"dev": "bun run build && bun --watch src/server.ts",
|
|
"start": "bun src/server.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@xterm/xterm": "^5.5.0",
|
|
"@xterm/addon-fit": "^0.10.0",
|
|
"@xterm/addon-web-links": "^0.11.0",
|
|
"@types/bun": "latest",
|
|
"typescript": "^5.0.0"
|
|
}
|
|
}
|