need dist for plugins
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
21
dist/features/tmux-subagent/action-executor-core.d.ts
vendored
Normal file
21
dist/features/tmux-subagent/action-executor-core.d.ts
vendored
Normal 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>;
|
||||
Reference in New Issue
Block a user