gui/pkg/mcp
Snider ec492658c2
Some checks failed
Security Scan / security (push) Failing after 9s
Test / test (push) Failing after 1m40s
fix(mcp): add safe type assertions and complete stub handlers
Replace all 32 unchecked type assertions (result.(Type)) with safe
ok-pattern checks that return descriptive errors on type mismatch.

Complete stub handlers in tools_window.go (restore, title, visibility,
fullscreen) and tools_layout.go (save, restore, list, delete, get,
tile, snap) using proper IPC message types instead of workarounds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 16:28:15 +00:00
..
mcp_test.go fix(mcp): add safe type assertions and complete stub handlers 2026-03-13 16:28:15 +00:00
subsystem.go feat(mcp): add display subsystem skeleton 2026-03-13 16:04:13 +00:00
tools_browser.go feat(mcp): add browser, contextmenu, keybinding, dock, lifecycle tools (11) 2026-03-13 16:08:34 +00:00
tools_clipboard.go fix(mcp): add safe type assertions and complete stub handlers 2026-03-13 16:28:15 +00:00
tools_contextmenu.go fix(mcp): add safe type assertions and complete stub handlers 2026-03-13 16:28:15 +00:00
tools_dialog.go fix(mcp): add safe type assertions and complete stub handlers 2026-03-13 16:28:15 +00:00
tools_dock.go feat(mcp): add browser, contextmenu, keybinding, dock, lifecycle tools (11) 2026-03-13 16:08:34 +00:00
tools_environment.go fix(mcp): add safe type assertions and complete stub handlers 2026-03-13 16:28:15 +00:00
tools_keybinding.go feat(mcp): add browser, contextmenu, keybinding, dock, lifecycle tools (11) 2026-03-13 16:08:34 +00:00
tools_layout.go fix(mcp): add safe type assertions and complete stub handlers 2026-03-13 16:28:15 +00:00
tools_lifecycle.go feat(mcp): add browser, contextmenu, keybinding, dock, lifecycle tools (11) 2026-03-13 16:08:34 +00:00
tools_notification.go fix(mcp): add safe type assertions and complete stub handlers 2026-03-13 16:28:15 +00:00
tools_screen.go fix(mcp): add safe type assertions and complete stub handlers 2026-03-13 16:28:15 +00:00
tools_tray.go fix(mcp): add safe type assertions and complete stub handlers 2026-03-13 16:28:15 +00:00
tools_webview.go fix(mcp): add safe type assertions and complete stub handlers 2026-03-13 16:28:15 +00:00
tools_window.go fix(mcp): add safe type assertions and complete stub handlers 2026-03-13 16:28:15 +00:00