refactor: simplify workspace panel terminal flow

This commit is contained in:
Federico Jaramillo Martinez
2026-05-21 09:31:33 +02:00
parent fb7903f3cb
commit c740ac3dcb
12 changed files with 65 additions and 129 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ export interface PluginRuntimeContext {
openThemePicker: () => void;
selectMainView: (view: string) => void;
selectWorkspaceTool: (tool: QualifiedContributionId) => void;
openTerminal?: (options?: { terminalId?: string | undefined }) => void;
openTerminal: (options?: { terminalId?: string | undefined }) => void;
refreshFiles: () => void | Promise<void>;
refreshGit: () => void | Promise<void>;
startSession: () => void | Promise<void>;
@@ -79,7 +79,7 @@ export interface Workspace {
export interface WorkspacePanelContext {
workspace: Workspace;
state?: PluginRuntimeState;
openTerminal?: (options?: { terminalId?: string | undefined }) => void;
openTerminal: (options?: { terminalId?: string | undefined }) => void;
}
export interface WorkspacePanelContribution {