Skip to main content

HostScope

type
type HostScope = { readonly kind: 'root'; } | { readonly kind: 'workspace'; readonly workspaceId: string; } | { readonly kind: 'editor'; readonly editorId: string; readonly workspaceId?: string; } | { readonly kind: 'session'; readonly sessionId: string; readonly workspaceId?: string; } | { readonly kind: 'agent-panel'; readonly panelId: string; readonly sessionId?: string; readonly workspaceId?: string; } | { readonly kind: 'view'; readonly modId: ModId; readonly viewId: string; readonly workspaceId?: string; }

Import

import { HostScope } from '@modular/sdk';