tiletopia/src
megaproxy efcdf6a9ce Add M2 splits-tree layout
- src/lib/layout/tree.ts: pure helpers + types (newLeaf, splitLeaf,
  closeLeaf, replaceById, serialize/deserialize with shape-checking).
- SplitNode.svelte: flex container with pointer-captured gutter drag.
- LeafPane.svelte: per-pane toolbar (split-right ⇥, split-down ⇣,
  close ×) over the existing XtermPane.
- Pane.svelte: recursive dispatcher between SplitNode and LeafPane,
  keyed on leaf.id so swaps unmount XtermPane cleanly (kills PTY).
- App.svelte: tree-as-state with split/close handlers, auto-save to
  localStorage on every \$effect tick. Titlebar shows clickable distro
  buttons setting the default for new panes; existing panes keep theirs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 12:44:35 +01:00
..
components Initial scaffold from M1 spike (tiletopia) 2026-05-22 12:31:29 +01:00
lib/layout Add M2 splits-tree layout 2026-05-22 12:44:35 +01:00
App.svelte Add M2 splits-tree layout 2026-05-22 12:44:35 +01:00
ipc.ts Initial scaffold from M1 spike (tiletopia) 2026-05-22 12:31:29 +01:00
main.ts Initial scaffold from M1 spike (tiletopia) 2026-05-22 12:31:29 +01:00
styles.css Initial scaffold from M1 spike (tiletopia) 2026-05-22 12:31:29 +01:00