Workspace Controller

Domain: Gateway & Platforms

Motivation

dsh-api-workspace-controller owns the Host ctx.workspaceController service and the generated Client ctx.remote.workspace namespace. Its Remote methods create, rename, remove, and reorder Workspaces, reorder Sessions within a Workspace, archive and unarchive Sessions from Workspace navigation, and follow the complete Workspace projection. It also owns ctx.directoryPickerController and the ctx.remote.directoryPicker namespace.

Concrete Example

Creating or reordering a Workspace in the web sidebar goes through ctx.remote.workspace, while directory picking routes through the directoryPicker namespace the same package owns.

Analogy

The building manager who creates offices, moves desks, and files rooms under construction.