Files
oh-my-opencode/dist/features/claude-code-session-state/state.d.ts
T
2026-03-14 04:56:50 +00:00

11 lines
639 B
TypeScript

export declare const subagentSessions: Set<string>;
export declare const syncSubagentSessions: Set<string>;
export declare function setMainSession(id: string | undefined): void;
export declare function getMainSessionID(): string | undefined;
/** @internal For testing only */
export declare function _resetForTesting(): void;
export declare function setSessionAgent(sessionID: string, agent: string): void;
export declare function updateSessionAgent(sessionID: string, agent: string): void;
export declare function getSessionAgent(sessionID: string): string | undefined;
export declare function clearSessionAgent(sessionID: string): void;