mirror of
https://github.com/getpaseo/paseo.git
synced 2026-12-01 12:46:55 +00:00
useWorkspaceLayout gives a plugin a handle on a workspace's panes and tabs: open, focus, move and close tabs, close panes, show the Explorer, and read the layout reactively. A tab is named as a registered panel plus params, so the SDK holds no list of tab kinds. Built-in panels declare their public id and params on the panel manifest, and "paseo" becomes a reserved plugin ID so "paseo/<panel>" cannot be claimed. The app side is a facade over the layout store and workspace-tabs, so a plugin's open, move and close behave as the same action in the UI.