gui

module
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2026 License: EUPL-1.2

README

Core GUI

Core GUI is the Go backend surface for a desktop GUI built around Core services and Wails-style application primitives. It provides service packages for browser control, chat, clipboard, container/TIM lifecycle, context menus, dialogs, display orchestration, dock integration, environment state, events, keybindings, menus, notifications, peer-to-peer messaging, preload injection, screens, system tray integration, webview automation, and window management.

The module is dappco.re/go/gui. It depends on dappco.re/go for Core primitives and wraps Wails through stubs/wails so ordinary Go tests can run without native desktop bindings. The packages expose small registration functions and service objects that can be mounted into a Core runtime.

Typical local verification:

GOWORK=off go mod tidy
GOWORK=off go vet ./...
GOWORK=off go test -count=1 ./...
bash /Users/snider/Code/core/go/tests/cli/v090-upgrade/audit.sh .

Use pkg/display when wiring the full GUI experience. Use individual packages when testing or embedding a narrow capability, such as pkg/window for window state/layout, pkg/preload for trusted preload policy, or pkg/mcp for MCP tool surfaces over the GUI services.

Directories

Path Synopsis
pkg
browser
pkg/browser/messages.go
pkg/browser/messages.go
clipboard
pkg/clipboard/messages.go
pkg/clipboard/messages.go
contextmenu
pkg/contextmenu/platform.go
pkg/contextmenu/platform.go
dialog
pkg/dialog/platform.go
pkg/dialog/platform.go
display
pkg/display/interfaces.go
pkg/display/interfaces.go
dock
pkg/dock/messages.go
pkg/dock/messages.go
environment
pkg/environment/messages.go
pkg/environment/messages.go
events
pkg/events/messages.go
pkg/events/messages.go
keybinding
pkg/keybinding/platform.go
pkg/keybinding/platform.go
lifecycle
pkg/lifecycle/messages.go
pkg/lifecycle/messages.go
mcp
pkg/mcp/subsystem.go
pkg/mcp/subsystem.go
menu
pkg/menu/menu.go
pkg/menu/menu.go
notification
pkg/notification/platform.go
pkg/notification/platform.go
p2p
screen
pkg/screen/messages.go
pkg/screen/messages.go
systray
pkg/systray/menu.go
pkg/systray/menu.go
webview
pkg/webview/diagnostics.go
pkg/webview/diagnostics.go
window
pkg/window/layout.go
pkg/window/layout.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL