gui: native WebView host as nested module yetano.dev/yetano/core/gui

Extracted from prototypes/yetano-webview (AP1): packages assets,
document, bridge and window (macOS Cocoa/WKWebView via cgo, Windows
Win32/WebView2 pure Go). No local HTTP listener or port: assets go
through the WebView's resource handler, app routes through the native
message binding. Own go.mod and gui/vX.Y.Z tags keep cgo and the
WebView dependencies out of the main core module. Adds backend-free
tests for the window's dispatch/destroy guards and a yet-gui migration
guide.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
terminarandClaude Opus 5.5 committed 2026-10-23 14:47:26 +02:00
1 parent 90132e2d76
commit 8c63d42a27
27 files changed
+4849 -3

No files matched your search

+6 -2
View File
@@ -33,8 +33,12 @@ speculatively.
docs/program-conventions.md in the meta-repository.
- [x] macOS CLI/Service system-scope `RuntimeDir` is `/var/run/<app>`
(was `/run/<app>`, which macOS does not have) -- v0.5.0.
- [ ] `core/gui`: the native WebView host from
`prototypes/yetano-webview` (yet-gui has a copy in `yet/gui/internal`).
- [x] `core/gui`: the native WebView host from
`prototypes/yetano-webview`, as the nested module
`yetano.dev/yetano/core/gui` (`gui/v0.1.0`). The prototype uses it.
- [ ] Move yet-gui off its copy in `yet/gui/internal` onto `core/gui`
(steps in [gui/README.md](gui/README.md)).
- [ ] `core/gui`: Linux/FreeBSD backend (WebKitGTK) -- see gui/README.md.
## Platform tuning