MCPcopy Create free account

hub / github.com/NachoSEO/claudegram / functions

Functions472 in github.com/NachoSEO/claudegram

↓ 1 callersFunctionimportExtract
()
src/claude/mcp-tools.ts:27
↓ 1 callersFunctionimportMedium
()
src/claude/mcp-tools.ts:23
↓ 1 callersFunctionimportReddit
()
src/claude/mcp-tools.ts:19
↓ 1 callersFunctionimportTelegraph
()
src/claude/mcp-tools.ts:31
↓ 1 callersFunctionipToBytes
(ip: string)
src/utils/url-guard.ts:14
↓ 1 callersFunctionisBMP
* Additional BMP validation: reserved bytes at offset 6-9 should be zero.
src/utils/file-type.ts:69
↓ 1 callersFunctionisClaudeCommand
(message: string)
src/claude/command-parser.ts:33
↓ 1 callersMethodisDangerousMode
()
src/providers/types.ts:62
↓ 1 callersFunctionisIpv4InRange
(ip: string, range: { start: number[]; end: number[] })
src/utils/url-guard.ts:22
↓ 1 callersFunctionisTTSEnabled
(sessionKey: string)
src/tts/tts-settings.ts:136
↓ 1 callersFunctionisTelegraphEnabled
(sessionKey: string)
src/telegram/telegraph-settings.ts:127
↓ 1 callersFunctionisTerminalUIEnabled
(sessionKey: string)
src/telegram/terminal-settings.ts:97
↓ 1 callersFunctionisValidCurlUrl
* Validate URL for safe curl download. * Rejects URLs that could cause injection in curl commands.
src/utils/download.ts:8
↓ 1 callersFunctionisValidVoiceForProvider
(voice: string)
src/tts/tts-settings.ts:52
↓ 1 callersFunctionisWebP
* Special check for WebP which has RIFF header followed by WEBP at bytes 8-11.
src/utils/file-type.ts:45
↓ 1 callersFunctionlistProjectFiles
(projectPath: string, maxDepth: number = 2)
src/bot/handlers/command.handler.ts:752
↓ 1 callersFunctionlistProjectsTool
(_toolsCtx: McpToolsContext)
src/claude/mcp-tools.ts:88
↓ 1 callersMethodload
()
src/providers/user-preferences.ts:37
↓ 1 callersFunctionloadPersistedProvider
(chatId: number)
src/providers/provider-router.ts:14
↓ 1 callersFunctionloadProxies
()
src/media/extract.ts:115
↓ 1 callersFunctionloadSettings
()
src/telegram/telegraph-settings.ts:68
↓ 1 callersFunctionloadSettings
()
src/telegram/terminal-settings.ts:42
↓ 1 callersFunctionloadSettings
()
src/tts/tts-settings.ts:69
↓ 1 callersFunctionlogDangerousModeOperation
* Log operations when DANGEROUS_MODE is enabled for security auditing.
src/claude/agent.ts:288
↓ 1 callersFunctionlooksLikeError
(text: string)
src/tts/voice-reply.ts:31
↓ 1 callersFunctionmain
()
src/index.ts:7
↓ 1 callersFunctionmain
()
src/utils/debug-agent.ts:37
↓ 1 callersFunctionmarkdownToNodes
* Convert markdown to Telegraph Node format * Supported tags: a, aside, b, blockquote, br, code, em, figcaption, figure, * h3, h4, hr, i, iframe, im
src/telegram/telegraph.ts:138
↓ 1 callersFunctionmergeVideoAudio
(videoPath: string, audioPath: string, outputPath: string)
src/reddit/vreddit.ts:341
↓ 1 callersFunctionnormalizeInput
(input: string)
src/reddit/vreddit.ts:55
↓ 1 callersFunctionnormalizeIpv4FromIpv6
(ip: string)
src/utils/url-guard.ts:32
↓ 1 callersFunctionparseContextOutput
(raw: string)
src/bot/handlers/command.handler.ts:134
↓ 1 callersFunctionparseDashManifest
(dashUrl: string)
src/reddit/vreddit.ts:178
↓ 1 callersFunctionparseRedditArgs
(tokens: string[])
src/bot/handlers/command.handler.ts:1929
↓ 1 callersFunctionpickLargestPhoto
(photoSizes: PhotoSize[])
src/bot/handlers/photo.handler.ts:36
↓ 1 callersFunctionplatformEmoji
(platform: Platform)
src/media/extract.ts:83
↓ 1 callersFunctionpreventSleep
()
src/utils/caffeinate.ts:5
↓ 1 callersFunctionprocessQueue
(sessionKey: string)
src/claude/request-queue.ts:79
↓ 1 callersFunctionpublishTelegraphTool
(_toolsCtx: McpToolsContext)
src/claude/mcp-tools.ts:304
↓ 1 callersFunctionrateLimit
()
src/medium/freedium.ts:37
↓ 1 callersFunctionredditFetch
( targets: string[], options: RedditFetchOptions = {} )
src/reddit/redditfetch.ts:643
↓ 1 callersFunctionredditFetchBoth
( targets: string[], options: RedditFetchOptions = {} )
src/reddit/redditfetch.ts:656
↓ 1 callersFunctionrenderBackgroundTask
( name: string, status: 'running' | 'complete' | 'error', spinnerIndex: number = 0 )
src/telegram/terminal-renderer.ts:206
↓ 1 callersFunctionreplaceThematicBreaksOutsideCode
* Replace thematic breaks (***, ---, ___) only outside fenced code blocks. * Splits on ``` boundaries and only applies the replacement to non-code se
src/telegram/markdown.ts:28
↓ 1 callersFunctionresetRequest
(sessionKey: string)
src/claude/request-queue.ts:140
↓ 1 callersFunctionresolveDashBaseUrl
(dashUrl: string, baseUrl: string)
src/reddit/vreddit.ts:271
↓ 1 callersFunctionresolveFinalUrl
(url: string)
src/reddit/vreddit.ts:128
↓ 1 callersFunctionresolveShareLink
( url: string, userAgent: string )
src/reddit/redditfetch.ts:229
↓ 1 callersFunctionresolveVideoSource
(input: string)
src/reddit/vreddit.ts:489
↓ 1 callersFunctionresolvesToPrivateIp
(hostname: string)
src/utils/url-guard.ts:53
↓ 1 callersMethodresumeLastSession
(sessionKey: string)
src/claude/session-manager.ts:119
↓ 1 callersFunctionrunClaudeContext
(sessionId: string, cwd: string)
src/bot/handlers/command.handler.ts:204
↓ 1 callersFunctionsavePersistedProvider
(chatId: number, provider: ProviderName)
src/providers/provider-router.ts:18
↓ 1 callersMethodsendLoopToAgent
(sessionKey: string, message: string, options?: LoopOptions)
src/providers/types.ts:56
↓ 1 callersFunctionsendProjectManualPrompt
(ctx: Context)
src/bot/handlers/command.handler.ts:599
↓ 1 callersFunctionsetActiveProvider
(chatId: number, provider: ProviderName)
src/providers/provider-router.ts:70
↓ 1 callersFunctionsetActiveQuery
(sessionKey: string, q: Query)
src/claude/request-queue.ts:30
↓ 1 callersMethodsetClaudeSessionId
(sessionKey: string, claudeSessionId: string)
src/claude/session-manager.ts:132
↓ 1 callersFunctionsetPersistedModel
(chatId: number, model: string)
src/providers/opencode-provider.ts:24
↓ 1 callersMethodsetProvider
(chatId: number, provider: 'claude' | 'opencode')
src/providers/user-preferences.ts:71
↓ 1 callersFunctionsetTTSAutoplay
(sessionKey: string, autoplay: boolean)
src/tts/tts-settings.ts:130
↓ 1 callersFunctionsetTTSVoice
(sessionKey: string, voice: string)
src/tts/tts-settings.ts:124
↓ 1 callersFunctionsetTerminalUIEnabled
(sessionKey: string, enabled: boolean)
src/telegram/terminal-settings.ts:91
↓ 1 callersFunctionshouldRetryWithProxy
(errorMsg: string)
src/media/extract.ts:53
↓ 1 callersFunctionspawnOpencodeServer
(port: number)
src/providers/opencode-provider.ts:91
↓ 1 callersFunctionstopCleanup
()
src/telegram/deduplication.ts:33
↓ 1 callersFunctionstripMarkdown
(input: string)
src/tts/voice-reply.ts:7
↓ 1 callersFunctionswitchProjectTool
(toolsCtx: McpToolsContext)
src/claude/mcp-tools.ts:117
↓ 1 callersFunctiontoFreediumUrl
(url: string)
src/medium/freedium.ts:66
↓ 1 callersFunctiontokenizeArgs
* Tokenize a user-provided argument string, preserving quoted substrings. * Returns an array of individual arguments safe for execFile.
src/bot/handlers/command.handler.ts:1917
↓ 1 callersFunctiontranscribeAudioFile
( filePath: string, onProgress?: (message: string) => void )
src/media/extract.ts:395
↓ 1 callersFunctiontruncateCommand
* Truncate a command for display
src/telegram/terminal-renderer.ts:186
↓ 1 callersFunctiontruncatePath
* Truncate a file path for display
src/telegram/terminal-renderer.ts:157
↓ 1 callersFunctiontruncateToMax
(text: string, maxChars: number)
src/tts/voice-reply.ts:35
↓ 1 callersFunctiontruncateUrl
* Truncate a URL for display
src/telegram/terminal-renderer.ts:196
↓ 1 callersFunctionupdateAck
(text: string)
src/bot/handlers/command.handler.ts:2993
↓ 1 callersMethodupdateClaudeSessionId
(sessionKey: string, conversationId: string, claudeSessionId: string)
src/claude/session-history.ts:169
↓ 1 callersMethodupdateLastMessage
(sessionKey: string, conversationId: string, preview: string)
src/claude/session-history.ts:157
↓ 1 callersFunctionvttToPlainText
* Convert VTT subtitle content to plain text (strip timestamps and formatting).
src/media/extract.ts:309
FunctionauthMiddleware
( ctx: Context, next: NextFunction )
src/bot/middleware/auth.middleware.ts:24
Methodclear
()
src/utils/bounded-map.ts:41
FunctionclearConversation
(sessionKey: string)
src/providers/claude-provider.ts:30
FunctionclearConversation
(sessionKey: string)
src/providers/opencode-provider.ts:444
FunctionclearConversation
(sessionKey: string)
src/providers/provider-router.ts:101
MethodclearHistory
(sessionKey: string)
src/claude/session-history.ts:181
FunctionclearModel
(chatId: number)
src/providers/claude-provider.ts:42
FunctionclearModel
(chatId: number)
src/providers/opencode-provider.ts:467
FunctionclearModel
(chatId: number)
src/providers/provider-router.ts:117
MethodclearModel
(chatId: number)
src/providers/user-preferences.ts:93
MethodclearPreferences
(chatId: number)
src/providers/user-preferences.ts:101
FunctionclearTokenCache
()
src/reddit/redditfetch.ts:79
Methodconstructor
(maxSize = 1000)
src/utils/bounded-map.ts:10
Methodconstructor
()
src/providers/user-preferences.ts:26
Methodconstructor
()
src/claude/session-history.ts:36
Methodconstructor
(options: WatchdogOptions)
src/claude/agent-watchdog.ts:31
FunctionescapeMarkdown
(text: string)
src/telegram/markdown.ts:211
FunctionformatCodeBlock
(code: string, language?: string)
src/telegram/markdown.ts:215
FunctionformatTerminalMessage
( content: string, options: { spinnerIndex?: number; currentOperation?: { icon: string; name: stri
src/telegram/terminal-renderer.ts:222
FunctiongetAbortController
(sessionKey: string)
src/claude/request-queue.ts:18
MethodgetAllActiveSessions
()
src/claude/session-history.ts:147
← previousnext →301–400 of 472, ranked by callers