Files
oh-my-opencode/src/features/claude-code-session-state/state.ts
T

12 lines
260 B
TypeScript
Raw Normal View History

export const subagentSessions = new Set<string>()
export let mainSessionID: string | undefined
export function setMainSession(id: string | undefined) {
mainSessionID = id
}
export function getMainSessionID(): string | undefined {
return mainSessionID
}