MCPcopy Create free account

hub / github.com/NachoSEO/claudegram / functions

Functions472 in github.com/NachoSEO/claudegram

↓ 2 callersFunctionallowSleep
()
src/utils/caffeinate.ts:43
↓ 2 callersFunctionbuildSessionKey
(chatId: number, threadId?: number)
src/utils/session-key.ts:11
↓ 2 callersFunctionbuildTTSMenu
(sessionKey: string, mode: TTSMenuMode)
src/bot/handlers/command.handler.ts:230
↓ 2 callersFunctionbuildTelegraphMenu
(sessionKey: string)
src/bot/handlers/command.handler.ts:291
↓ 2 callersFunctioncancelRequest
(sessionKey: string)
src/claude/request-queue.ts:110
↓ 2 callersFunctioncleanupExtractResult
(result: ExtractResult)
src/media/extract.ts:550
↓ 2 callersMethodclearConversation
(sessionKey: string)
src/providers/types.ts:57
↓ 2 callersMethodclearSession
(sessionKey: string)
src/claude/session-manager.ts:92
↓ 2 callersMethodclearToolOperation
* Clear the current tool operation (terminal UI mode)
src/telegram/message-sender.ts:249
↓ 2 callersFunctionconvertToArticle
( $: cheerio.CheerioAPI, contentEl: cheerio.Cheerio<AnyNode>, title: string, author: string, url: st
src/medium/freedium.ts:120
↓ 2 callersFunctioncreateAgentTimer
()
src/utils/agent-timer.ts:15
↓ 2 callersFunctiondashUrlFromId
(id: string)
src/reddit/vreddit.ts:92
↓ 2 callersFunctiondetectImageType
(buffer: Buffer)
src/utils/file-type.ts:80
↓ 2 callersFunctiondownloadAudio
( url: string, outputDir: string, onRetry?: (msg: string) => void )
src/media/extract.ts:219
↓ 2 callersFunctiondownloadFile
(url: string, destPath: string, timeoutSec: number)
src/reddit/vreddit.ts:279
↓ 2 callersFunctiondownloadTelegramFile
(ctx: Context, fileId: string, destPath: string)
src/bot/handlers/photo.handler.ts:44
↓ 2 callersFunctionensureDirectory
()
src/telegram/telegraph-settings.ts:34
↓ 2 callersFunctionensureDirectory
()
src/telegram/terminal-settings.ts:30
↓ 2 callersFunctionensureDirectory
()
src/tts/tts-settings.ts:30
↓ 2 callersFunctionensureRedditOutputDir
(ctx: Context)
src/bot/handlers/command.handler.ts:1961
↓ 2 callersFunctionensureUploadsDir
(projectDir: string)
src/bot/handlers/photo.handler.ts:30
↓ 2 callersFunctionensureUrl
(token: string)
src/reddit/vreddit.ts:61
↓ 2 callersFunctionexecuteExtract
(ctx: Context, url: string, mode: ExtractMode, subtitleFormat?: SubtitleFormat)
src/bot/handlers/command.handler.ts:2982
↓ 2 callersFunctionexecuteMediumFetch
( ctx: Context, args: string )
src/bot/handlers/command.handler.ts:2301
↓ 2 callersFunctionexecuteRedditFetch
( ctx: Context, args: string )
src/bot/handlers/command.handler.ts:2013
↓ 2 callersFunctionextractBaseUrl
(xml: string)
src/reddit/vreddit.ts:266
↓ 2 callersFunctionextractMedia
(opts: ExtractOptions)
src/media/extract.ts:437
↓ 2 callersFunctionfetchMediumArticle
(url: string)
src/medium/freedium.ts:75
↓ 2 callersFunctionfetchModels
()
src/providers/opencode-provider.ts:35
↓ 2 callersFunctiongetActiveTTSVoices
()
src/bot/handlers/command.handler.ts:111
↓ 2 callersFunctiongetAvailableModels
()
src/providers/claude-provider.ts:54
↓ 2 callersMethodgetAvailableModels
(chatId: number)
src/providers/types.ts:63
↓ 2 callersFunctiongetAvailableProviders
()
src/providers/provider-router.ts:78
↓ 2 callersFunctiongetCachedUsage
(sessionKey: string)
src/claude/agent.ts:53
↓ 2 callersFunctiongetCookieArgs
()
src/media/extract.ts:103
↓ 2 callersFunctiongetDefaultVoice
()
src/tts/tts-settings.ts:43
↓ 2 callersFunctiongetPersistedModel
(chatId: number)
src/providers/opencode-provider.ts:20
↓ 2 callersFunctiongetProgressBar
(pct: number)
src/bot/handlers/message.handler.ts:55
↓ 2 callersFunctiongetProjectState
(sessionKey: string)
src/bot/handlers/command.handler.ts:621
↓ 2 callersMethodgetSessionHistory
(sessionKey: string, limit: number = 5)
src/claude/session-manager.ts:128
↓ 2 callersFunctiongetTimingReport
(timer: AgentTimer)
src/utils/agent-timer.ts:64
↓ 2 callersFunctiongetToolIcon
(toolName: string)
src/telegram/terminal-renderer.ts:52
↓ 2 callersFunctiongetUptimeFormatted
()
src/bot/middleware/stale-filter.ts:16
↓ 2 callersFunctiongetUrlExtension
(urlString: string, fallback: string)
src/reddit/vreddit.ts:479
↓ 2 callersFunctionhandleContinue
(ctx: Context)
src/bot/handlers/command.handler.ts:1621
↓ 2 callersFunctionhandleResume
(ctx: Context)
src/bot/handlers/command.handler.ts:1556
↓ 2 callersFunctionhandleSavedImage
( ctx: Context, savedPath: string, caption?: string )
src/bot/handlers/photo.handler.ts:68
↓ 2 callersFunctioninitTelegraph
()
src/telegram/telegraph.ts:27
↓ 2 callersFunctionisCancelled
(sessionKey: string)
src/claude/request-queue.ts:38
↓ 2 callersFunctionisMediumUrl
(url: string)
src/medium/freedium.ts:50
↓ 2 callersFunctionisPrivateIp
(ip: string)
src/utils/url-guard.ts:37
↓ 2 callersFunctionisRedditHost
(hostname: string)
src/reddit/vreddit.ts:82
↓ 2 callersFunctionisValidImageFile
(filePath: string)
src/utils/file-type.ts:127
↓ 2 callersFunctionisValidProtocol
* Validate URL protocol to prevent SSRF attacks. * Only allows http/https protocols.
src/reddit/vreddit.ts:32
↓ 2 callersFunctionisValidUrl
(url: string)
src/media/extract.ts:76
↓ 2 callersFunctionlistDirectories
(dir: string)
src/bot/handlers/command.handler.ts:503
↓ 2 callersMethodload
()
src/claude/session-history.ts:47
↓ 2 callersFunctionmatchesSignature
* Check if a buffer starts with the given signature bytes.
src/utils/file-type.ts:34
↓ 2 callersFunctionnormalizeHtml
(html: string)
src/reddit/vreddit.ts:96
↓ 2 callersFunctionnormalizeSettings
(settings?: Partial<TelegraphSettings>)
src/telegram/telegraph-settings.ts:61
↓ 2 callersFunctionnormalizeSettings
(settings?: Partial<TerminalUISettings>)
src/telegram/terminal-settings.ts:36
↓ 2 callersFunctionnormalizeSettings
(settings?: Partial<TTSSettings>)
src/tts/tts-settings.ts:57
↓ 2 callersFunctionparseRedditUrl
(raw: string)
src/reddit/redditfetch.ts:180
↓ 2 callersFunctionplatformLabel
(platform: Platform)
src/media/extract.ts:92
↓ 2 callersFunctionprocessMessageForTelegram
(text: string, maxLength: number = MAX_MESSAGE_LENGTH)
src/telegram/markdown.ts:202
↓ 2 callersFunctionreadHeaderBytes
(filePath: string, length = 16)
src/utils/file-type.ts:111
↓ 2 callersMethodrecordActivity
* Record activity (message received from SDK).
src/claude/agent-watchdog.ts:58
↓ 2 callersFunctionrecordMessage
(timer: AgentTimer)
src/utils/agent-timer.ts:27
↓ 2 callersFunctionredditFetchRaw
( targets: string[], options: RedditFetchOptions = {} )
src/reddit/redditfetch.ts:566
↓ 2 callersFunctionrenderStatusLine
( spinnerIndex: number, icon: string, operation: string, detail?: string )
src/telegram/terminal-renderer.ts:67
↓ 2 callersFunctionresolveWorkingDirectory
* Resolve a stored working directory to a valid path on this system. * Handles cross-OS portability (e.g. /Users/x saved on macOS, running on Linux).
src/claude/session-manager.ts:9
↓ 2 callersMethodresumeSession
(sessionKey: string, conversationId: string)
src/claude/session-manager.ts:97
↓ 2 callersFunctionrunFfmpeg
(args: string[])
src/tts/tts.ts:226
↓ 2 callersFunctionsanitizeFileName
(name: string)
src/bot/handlers/photo.handler.ts:26
↓ 2 callersFunctionsaveSettings
()
src/telegram/telegraph-settings.ts:91
↓ 2 callersFunctionsaveSettings
()
src/telegram/terminal-settings.ts:65
↓ 2 callersFunctionsendLoopToAgent
( sessionKey: string, message: string, options: LoopOptions = {} )
src/claude/agent.ts:695
↓ 2 callersMethodsendToAgent
(sessionKey: string, message: string, options?: AgentOptions)
src/providers/types.ts:55
↓ 2 callersFunctionsendTranscriptResult
(ctx: Context, transcript: string)
src/bot/handlers/command.handler.ts:2569
↓ 2 callersFunctionsetModel
(chatId: number, model: string)
src/claude/agent.ts:788
↓ 2 callersFunctionshortenName
(name: string, maxLength: number = 24)
src/bot/handlers/command.handler.ts:515
↓ 2 callersFunctionshouldUseTelegraph
(content: string, sessionKey?: string)
src/telegram/telegraph.ts:96
↓ 2 callersFunctionshutdown
()
src/index.ts:29
↓ 2 callersFunctionslugFromUrl
(input: string)
src/bot/handlers/command.handler.ts:1978
↓ 2 callersFunctionsplitMessage
(text: string, maxLength: number = MAX_MESSAGE_LENGTH)
src/telegram/markdown.ts:54
↓ 2 callersMethodstart
* Start the watchdog timer.
src/claude/agent-watchdog.ts:43
↓ 2 callersMethodstartTypingIndicator
(api: Api, chatId: number, threadId?: number)
src/telegram/message-sender.ts:207
↓ 2 callersMethodstopSpinnerAnimation
(state: StreamState)
src/telegram/message-sender.ts:200
↓ 2 callersMethodstopTypingIndicator
(state: StreamState)
src/telegram/message-sender.ts:218
↓ 2 callersMethodstopTypingInterval
(interval: NodeJS.Timeout)
src/telegram/message-sender.ts:225
↓ 2 callersFunctionstripReasoningSummary
* Strip the "Reasoning Summary" section from the end of a response * so it doesn't appear in Telegram chat (it's already in logs).
src/claude/agent.ts:241
↓ 2 callersMethodupdateActivity
(sessionKey: string, messagePreview?: string)
src/claude/session-manager.ts:63
↓ 2 callersMethodupdateToolOperation
* Update the current tool operation (terminal UI mode). * Event-driven: triggers a status message edit on each tool change.
src/telegram/message-sender.ts:233
↓ 2 callersFunctionvalidatePort
(portValue: unknown)
src/providers/opencode-provider.ts:206
↓ 2 callersFunctionvalidateSessionKey
* Validate sessionKey is a non-empty string to prevent injection.
src/telegram/telegraph-settings.ts:28
↓ 2 callersFunctionwalk
(dir: string, depth: number, prefix: string = '')
src/bot/handlers/command.handler.ts:755
↓ 1 callersFunctionauthenticate
()
src/reddit/redditfetch.ts:115
↓ 1 callersFunctionbotctlExists
()
src/bot/handlers/command.handler.ts:128
↓ 1 callersFunctionbuildFeatureDisabledMessage
(feature: string)
src/bot/handlers/command.handler.ts:66
↓ 1 callersFunctionbuildMultimodalPrompt
* Build a multimodal prompt with image content blocks for the Claude SDK. * The SDK accepts `prompt: string | AsyncIterable<SDKUserMessage>`. * When
src/claude/agent.ts:63
← previousnext →101–200 of 472, ranked by callers