Skip to content

Interface: WorkspaceStatusProvider

Defined in: packages/sdk/src/workspace-service.ts:116

A status binder that contributes WorkspaceStatusRows to workspace rows in the Workspaces side panel. Prefer WorkspaceService.bindStatus; WorkspaceService.registerStatus remains as a deprecated alias.

Unlike CenterDock tab bindIndicator (single adornment | null), status and badge binders return an array — one projection may emit many rows.

Properties

id

ts
id: string;

Defined in: packages/sdk/src/workspace-service.ts:118

Unique id for this binder — conventionally "<extension-id>.status".

Methods

provide()

ts
provide(workspaceId): WorkspaceStatusRow[];

Defined in: packages/sdk/src/workspace-service.ts:123

Called synchronously for each workspace during render. Return an empty array to contribute nothing for this workspace.

Parameters

workspaceId

string

Returns

WorkspaceStatusRow[]