diff --git a/src/hooks/bundled/session-memory/transcript.ts b/src/hooks/bundled/session-memory/transcript.ts index abaf32b5450..fb8c80d8122 100644 --- a/src/hooks/bundled/session-memory/transcript.ts +++ b/src/hooks/bundled/session-memory/transcript.ts @@ -88,7 +88,7 @@ export async function getRecentSessionContentWithResetFallback( } } -export function stripResetSuffix(fileName: string): string { +function stripResetSuffix(fileName: string): string { const resetIndex = fileName.indexOf(".reset."); return resetIndex === -1 ? fileName : fileName.slice(0, resetIndex); } diff --git a/src/hooks/gmail-watcher.ts b/src/hooks/gmail-watcher.ts index 5e399d90484..19f44891300 100644 --- a/src/hooks/gmail-watcher.ts +++ b/src/hooks/gmail-watcher.ts @@ -233,10 +233,3 @@ export async function stopGmailWatcher(): Promise { currentConfig = null; log.info("gmail watcher stopped"); } - -/** - * Check if the Gmail watcher is running. - */ -export function isGmailWatcherRunning(): boolean { - return watcherProcess !== null && !shuttingDown; -}