Interface: Workspace
Defined in: packages/sdk/src/domain-types.ts:110
A workspace — the unit Silo switches between, keeping its terminals, editors, and layout alive. Read via WorkspaceService.
Properties
id
id: string;Defined in: packages/sdk/src/domain-types.ts:111
name
name: string;Defined in: packages/sdk/src/domain-types.ts:112
folder
folder: string;Defined in: packages/sdk/src/domain-types.ts:113
extraFolders?
optional extraFolders?: string[];Defined in: packages/sdk/src/domain-types.ts:115
Additional folders beyond the primary one.
createdAt
createdAt: string;Defined in: packages/sdk/src/domain-types.ts:116
lastOpenedAt
lastOpenedAt: string;Defined in: packages/sdk/src/domain-types.ts:117
terminals
terminals: TerminalRecord[];Defined in: packages/sdk/src/domain-types.ts:118
editors
editors: EditorRecord[];Defined in: packages/sdk/src/domain-types.ts:120
Editor tabs — text editors and diffs alike (a diff is a record with mode: "diff").
dockLayout
dockLayout: unknown;Defined in: packages/sdk/src/domain-types.ts:121
editorScrollPositions?
optional editorScrollPositions?: Record<string, {
top: number;
left: number;
}>;Defined in: packages/sdk/src/domain-types.ts:123
Scroll positions keyed by editor record ID: { top, left } in pixels.
closedAt?
optional closedAt?: string | null;Defined in: packages/sdk/src/domain-types.ts:129
ISO timestamp of when the workspace was soft-closed, or null/undefined if the workspace is open. Closed workspaces are hidden from the main list and surfaced in a "reopen" picker.
sidePanelLocations?
optional sidePanelLocations?: Record<string, SidePanelSlot>;Defined in: packages/sdk/src/domain-types.ts:131
Per-workspace side panel state — saved/restored on workspace switch.
sidePanelOrder?
optional sidePanelOrder?: Record<string, number>;Defined in: packages/sdk/src/domain-types.ts:132
activeSidePanelTabs?
optional activeSidePanelTabs?: Record<string, string>;Defined in: packages/sdk/src/domain-types.ts:133
sidePanelScrollPositions?
optional sidePanelScrollPositions?: Record<string, number>;Defined in: packages/sdk/src/domain-types.ts:134
extensionState?
optional extensionState?: Record<string, Record<string, unknown>>;Defined in: packages/sdk/src/domain-types.ts:135
previewEditorId?
optional previewEditorId?: string | null;Defined in: packages/sdk/src/domain-types.ts:137
ID of the current preview (temporary) editor, if any.