Expand description
Layout, window, workspace and tab queries and actions. Split out of server/mod.rs unchanged (SPEC_LARGE_FILE_MODULE_ANALYSIS_2026_09_30.md Β§4.1).
StructsΒ§
- List
Tabs πQuery
FunctionsΒ§
- handle_
layout π GET /api/v1/layoutβ read-only window β workspace β tab β pane tree.- handle_
list_ πtabs GET /api/v1/tabsβ flat list of tabs, optionally scoped to a workspace (explicitworkspace_id, or the callerβs own viablock_id).- handle_
list_ πwindows GET /api/v1/windowsβ flat list of windows.- handle_
list_ πworkspaces GET /api/v1/workspacesβ flat list of workspaces.- handle_
tab_ πactivate POST /api/v1/tab/activateβ maketab_idthe active tab in its workspace. Routes throughworkspace.SetActiveTab.- handle_
tab_ πnew POST /api/v1/tab/newβ create (and activate) a new tab in the callerβs workspace (or an explicitworkspace_id). Routes throughworkspace.CreateTab.- handle_
window_ πfocus POST /api/v1/window/focusβ bring a window to the foreground. Defaults to the callerβs own window. Routes throughclient.FocusWindow.