need dist for plugins
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
15
dist/features/tmux-subagent/session-deleted-handler.d.ts
vendored
Normal file
15
dist/features/tmux-subagent/session-deleted-handler.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { TmuxConfig } from "../../config/schema";
|
||||
import type { TrackedSession } from "./types";
|
||||
import { type SessionMapping } from "./decision-engine";
|
||||
export interface SessionDeletedHandlerDeps {
|
||||
tmuxConfig: TmuxConfig;
|
||||
serverUrl: string;
|
||||
sourcePaneId: string | undefined;
|
||||
sessions: Map<string, TrackedSession>;
|
||||
isEnabled: () => boolean;
|
||||
getSessionMappings: () => SessionMapping[];
|
||||
stopPolling: () => void;
|
||||
}
|
||||
export declare function handleSessionDeleted(deps: SessionDeletedHandlerDeps, event: {
|
||||
sessionID: string;
|
||||
}): Promise<void>;
|
||||
Reference in New Issue
Block a user