Files
oh-my-opencode/dist/features/tmux-subagent/session-deleted-handler.d.ts
T
2026-03-14 04:56:50 +00:00

16 lines
574 B
TypeScript

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>;