No description
Find a file
Snider 8abfca31e7 feat(gui): 4 smart layout helpers + Good/Bad/Ugly coverage
Added layout primitives to pkg/window/tiling.go:
- BesideEditor — position a window beside an editor, same height,
  on the side with more empty space
- SuggestLayout — layout N windows on screen (golden-ratio split
  for 2, grid for 3+)
- FindEmptySpace — find the largest rectangular empty region that
  fits a minimum size; return (rect, ok)
- ArrangePair — 60/40 or 50/50 split based on aspect ratios

Plus Rect/Size aliases and a WindowPlacement type. Good/Bad/Ugly
test coverage + godoc examples.

pkg/mcp/tools_layout.go left unchanged — this branch already
registers layout_beside_editor / layout_suggest / screen_find_space
/ window_arrange_pair on top of the new helpers.

go vet clean. go test pkg/window/... passes under HOME override
(legacy layout-save tests need writeable ~/Library on non-sandbox).

Closes tasks.lthn.sh/view.php?id=30

Co-authored-by: Codex <noreply@openai.com>
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-24 07:26:22 +01:00
.core feat(gui): gpt-5.4-mini/mature pass 4 2026-04-23 13:12:12 +01:00
.forgejo/workflows ci: add Forgejo Actions test and security scan workflows 2026-02-23 03:28:13 +00:00
docs Add chat vision capability metadata 2026-04-15 21:04:09 +01:00
internal feat(wails): pin Wails v3 source as submodule at alpha 74 2026-03-31 14:42:22 +01:00
pkg feat(gui): 4 smart layout helpers + Good/Bad/Ugly coverage 2026-04-24 07:26:22 +01:00
stubs/wails feat(gui): expand Wails stub App with 11-manager surface 2026-04-24 07:26:22 +01:00
ui Fix GUI image bridge wiring 2026-04-15 23:22:04 +01:00
.gitignore feat(gui): gpt-5.4-mini/mature pass 1 2026-04-17 17:33:28 +01:00
.gitmodules feat(wails): pin Wails v3 source as submodule at alpha 74 2026-03-31 14:42:22 +01:00
CLAUDE.md fix(dx): use coreerr.E() and go-io, update CLAUDE.md, add tests 2026-03-17 09:05:35 +00:00
go.mod Add chat vision capability metadata 2026-04-15 21:04:09 +01:00
go.sum Add chat vision capability metadata 2026-04-15 21:04:09 +01:00
go.work Add repo-local Go workspace 2026-04-17 18:26:55 +01:00
go.work.sum Harden display API return semantics 2026-04-17 19:21:53 +01:00
LICENSE.txt Add European Union Public Licence v. 1.2 2026-01-30 08:47:01 +00:00