Results issues of kr1json

Re-submission of #10 — rebased cleanly on current upstream/main with only the 4 relevant commits. ## Summary - **Per-machine usage tracking**: Collect and display usage data individually per machine instead...

## Summary - **Layout saves always returning 500**: Dev-mode agent (`agent_dev_local`) was never registered in the `agents` table, causing FK constraint violation on every `pane_layouts` INSERT. Added `ensureAgentExists()` to auto-register...

## Summary Ref badges (HEAD, branch, remote) now use the same color as the commit's graph line instead of fixed CSS colors. This makes the visual connection between graph lines...

## Summary - **Connection lines**: SVG bezier curves connect panes that share the same directory path. Lines go edge-to-edge (closest side), color-coded per unique path. Updates on drag, resize, create,...

## Summary - **Terminal scrollback loss on resize**: When `fitAddon.fit()` increases rows, xterm absorbs scrollback lines into the visible area. tmux then repaints and overwrites them, permanently losing scrollback. Fixed...