refactor(desktop-tools): consolidate preview + project, diet the desktop_ui suite (3,861 → 2,293 tok/call, −41%) (#97659)

* refactor(desktop-tools): consolidate preview(open/close/read) + project(create/switch/list), diet the desktop_ui suite — 3,861 -> 2,293 tok/call on desktop sessions (-41%)

* rename: preview -> desktop_preview, project -> desktop_project — namespace desktop-app tools against MCP/plugin name collisions

* test: sync remaining old-name pins — per-file registration import, GUI_TOOLS set, post-hook case read_preview -> desktop_preview action=read
This commit is contained in:
Teknium
2026-08-28 23:10:01 -07:00
committed by GitHub
parent 70c6d78cae
commit 217ab2f8df
23 changed files with 383 additions and 274 deletions
+2 -2
View File
@@ -236,7 +236,7 @@ TOOLSETS = {
"project": {
"description": "Desktop Projects — create/switch named workspaces (GUI sessions only)",
"tools": ["project_list", "project_create", "project_switch"],
"tools": ["desktop_project"],
"includes": []
},
@@ -253,7 +253,7 @@ TOOLSETS = {
"description": "Desktop GUI affordances — in-app terminal/browser panes, pane focus, reactions (GUI sessions only)",
"tools": [
"read_terminal", "close_terminal",
"open_preview", "close_preview", "read_preview", "drive_preview", "annotate_preview",
"desktop_preview", "drive_preview", "annotate_preview",
"read_window_below",
"focus_pane", "react_to_message",
"setup_mcp", "tour", "tip",