Files
oh-my-opencode/dist/hooks/interactive-bash-session/interactive-bash-session-tracker.d.ts
T
2026-03-14 04:56:50 +00:00

22 lines
625 B
TypeScript

import type { InteractiveBashSessionState } from "./types";
type AbortSession = (args: {
path: {
id: string;
};
}) => Promise<unknown>;
export declare function createInteractiveBashSessionTracker(options: {
abortSession: AbortSession;
}): {
getOrCreateState: (sessionID: string) => InteractiveBashSessionState;
handleSessionDeleted: (sessionID: string) => Promise<void>;
handleTmuxCommand: (input: {
sessionID: string;
subCommand: string;
sessionName: string | null;
toolOutput: string;
}) => {
reminderToAppend: string | null;
};
};
export {};