Expand description
Tab CRUD and reorder operations.
Functions§
- create_
tab - Create a new tab in a workspace.
If
tab_nameis empty, auto-generates “Untitled1”, “Untitled2”, etc. Ifpinnedis true, the tab goes intopinnedtabidsinstead oftabids. - create_
tab_ with_ opts - Create a new tab with explicit name and pinned options.
- delete_
tab - Delete a tab and its blocks/layout.
- delete_
tab_ 🔒inner - Internal: delete a tab’s layout and blocks, then the tab itself. Kills shell processes for all blocks before deleting from the database.
- reorder_
tab - Reorder a tab within a workspace by moving it to a new index.
- set_
active_ tab - Set the active tab in a workspace.