need dist for plugins
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
20
dist/features/tmux-subagent/action-executor.d.ts
vendored
Normal file
20
dist/features/tmux-subagent/action-executor.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { TmuxConfig } from "../../config/schema";
|
||||
import type { PaneAction, WindowState } from "./types";
|
||||
import type { ActionResult } from "./action-executor-core";
|
||||
export type { ActionExecutorDeps, ActionResult } from "./action-executor-core";
|
||||
export interface ExecuteActionsResult {
|
||||
success: boolean;
|
||||
spawnedPaneId?: string;
|
||||
results: Array<{
|
||||
action: PaneAction;
|
||||
result: ActionResult;
|
||||
}>;
|
||||
}
|
||||
export interface ExecuteContext {
|
||||
config: TmuxConfig;
|
||||
serverUrl: string;
|
||||
windowState: WindowState;
|
||||
sourcePaneId?: string;
|
||||
}
|
||||
export declare function executeAction(action: PaneAction, ctx: ExecuteContext): Promise<ActionResult>;
|
||||
export declare function executeActions(actions: PaneAction[], ctx: ExecuteContext): Promise<ExecuteActionsResult>;
|
||||
Reference in New Issue
Block a user