import type { TerminalCommandRun, TerminalCommandRunFilter, TerminalCommandRunHandle, Workspace, WorkspaceTerminalCommandInput } from "../plugin-api.js"; export interface UnstableRunTerminalCommandInput extends WorkspaceTerminalCommandInput { workspace: Workspace; } export interface UnstableTerminalCommandRunsRuntime { runCommand(input: UnstableRunTerminalCommandInput): Promise; listCommandRuns(filter?: TerminalCommandRunFilter): Promise; getCommandRun(runId: string): Promise; open(options?: { terminalId?: string | undefined; }): void; } export interface UnstableRuntimeCapabilities { terminalCommandRuns: UnstableTerminalCommandRunsRuntime; openSettings?: (section?: string) => void; } export interface UnstablePluginRuntimeContext { piWebUnstable?: UnstableRuntimeCapabilities; } export interface UnstableWorkspacePanelContext { piWebUnstable?: Pick; }