need dist for plugins

Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
2026-04-19 19:15:51 -04:00
parent 25291b2ba4
commit 15be750b5c
55 changed files with 29302 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
import type { TmuxConfig } from "../../config/schema";
import type { applyLayout, closeTmuxPane, enforceMainPaneWidth, replaceTmuxPane, spawnTmuxPane } from "../../shared/tmux";
import type { PaneAction, WindowState } from "./types";
export interface ActionResult {
success: boolean;
paneId?: string;
error?: string;
}
export interface ExecuteContext {
config: TmuxConfig;
serverUrl: string;
windowState: WindowState;
}
export interface ActionExecutorDeps {
spawnTmuxPane: typeof spawnTmuxPane;
closeTmuxPane: typeof closeTmuxPane;
replaceTmuxPane: typeof replaceTmuxPane;
applyLayout: typeof applyLayout;
enforceMainPaneWidth: typeof enforceMainPaneWidth;
}
export declare function executeActionWithDeps(action: PaneAction, ctx: ExecuteContext, deps: ActionExecutorDeps): Promise<ActionResult>;