MCPcopy Create free account

hub / github.com/cosmicstack-labs/mercury-agent / functions

Functions707 in github.com/cosmicstack-labs/mercury-agent

↓ 4 callersFunctionsaveWebAuth
(auth: WebAuth)
src/web/auth.ts:42
↓ 4 callersFunctionselect
(s)
src/web/static/app.js:297
↓ 4 callersMethodsetAutoApproveAll
(value: boolean)
src/capabilities/permissions.ts:176
↓ 4 callersMethodsetLearningPaused
(paused: boolean)
src/memory/user-memory.ts:257
↓ 4 callersMethodshowPrompt
()
src/channels/cli.ts:276
↓ 4 callersMethodstop
()
src/channels/base.ts:8
↓ 3 callersMethodaddApprovedCommand
(baseCommand: string)
src/capabilities/permissions.ts:244
↓ 3 callersMethodaddDelayedTask
(manifest: ScheduledTaskManifest)
src/core/scheduler.ts:132
↓ 3 callersMethodaddPersistedTask
(manifest: ScheduledTaskManifest)
src/core/scheduler.ts:117
↓ 3 callersMethodaskPermission
(prompt: string, _targetId?: string)
src/channels/web.ts:135
↓ 3 callersFunctionauthenticate
(username: string, password: string)
src/web/auth.ts:81
↓ 3 callersFunctionbanner
()
src/index.ts:69
↓ 3 callersMethodbeginOutput
()
src/channels/cli.ts:326
↓ 3 callersFunctioncleanup
()
src/utils/arrow-select.ts:101
↓ 3 callersMethodcloseActiveMenu
()
src/channels/cli.ts:320
↓ 3 callersMethodcreateInterface
()
src/channels/cli.ts:54
↓ 3 callersFunctiondemoteTelegramAdmin
(config: MercuryConfig, userId: number)
src/utils/config.ts:436
↓ 3 callersMethodensurePersonsBackfilled
()
src/memory/user-memory.ts:512
↓ 3 callersFunctionfetchProviderModelCatalog
( provider: ProviderName, config: ProviderConfig, )
src/utils/provider-models.ts:284
↓ 3 callersMethodformatBlock
(name: string, suffix: string, content: string)
src/channels/cli.ts:283
↓ 3 callersFunctionformatToolResult
(toolName: string, result: unknown)
src/utils/tool-label.ts:69
↓ 3 callersMethodgetActive
(userKey: string)
src/memory/second-brain-db.ts:282
↓ 3 callersMethodgetByType
(type: UserMemoryType)
src/memory/user-memory.ts:126
↓ 3 callersFunctiongetConfiguredProviderNames
(config: MercuryConfig)
src/index.ts:117
↓ 3 callersMethodgetDailyUsed
()
src/utils/tokens.ts:77
↓ 3 callersFunctiongetDb
()
src/web/api/brain-fallback.ts:10
↓ 3 callersFunctiongetDistPath
()
src/cli/service.ts:35
↓ 3 callersMethodgetModelInstance
()
src/providers/ollama.ts:43
↓ 3 callersFunctiongetNodeBinPath
()
src/cli/service.ts:31
↓ 3 callersMethodgetPendingStatusMessage
(request?: TelegramPendingRequest)
src/channels/telegram.ts:874
↓ 3 callersMethodgetRemaining
()
src/utils/tokens.ts:90
↓ 3 callersMethodgetUsagePercentage
()
src/utils/tokens.ts:96
↓ 3 callersMethodindexPersonsForMemory
(memory: UserMemoryRecord)
src/memory/user-memory.ts:535
↓ 3 callersFunctioninstallService
()
src/cli/service.ts:42
↓ 3 callersMethodisAdminUser
(userId: number)
src/channels/telegram.ts:866
↓ 3 callersFunctionisProviderConfigured
(provider: ProviderConfig)
src/utils/config.ts:281
↓ 3 callersMethodisReady
()
src/channels/base.ts:15
↓ 3 callersMethodmatchPattern
(command: string, pattern: string)
src/capabilities/permissions.ts:439
↓ 3 callersFunctionmigrateLegacyTelegramAccess
(config: MercuryConfig)
src/utils/config.ts:463
↓ 3 callersFunctionpromoteTelegramUserToAdmin
(config: MercuryConfig, userId: number)
src/utils/config.ts:427
↓ 3 callersMethodrecord
(toolName: string, params: Record<string, any>, failed: boolean = false)
src/core/agent.ts:69
↓ 3 callersMethodrecordStepText
(text: string)
src/core/agent.ts:84
↓ 3 callersMethodregister
(type: ChannelType, channel: Channel)
src/channels/registry.ts:19
↓ 3 callersFunctionremoveTelegramUser
(config: MercuryConfig, userId: number)
src/utils/config.ts:409
↓ 3 callersFunctionrender
()
src/utils/arrow-select.ts:70
↓ 3 callersFunctionrenderLoginPage
(error?: string)
src/web/pages/login.ts:1
↓ 3 callersFunctionrunAgent
(isDaemon: boolean = false)
src/index.ts:866
↓ 3 callersFunctionselectWithArrowKeys
( title: string, options: ArrowSelectOption[], config: ArrowSelectConfig = {}, )
src/utils/arrow-select.ts:22
↓ 3 callersMethodsendFile
(filePath: string, targetId?: string)
src/channels/base.ts:10
↓ 3 callersFunctionsetWebPassword
(password: string)
src/web/auth.ts:71
↓ 3 callersFunctionstartBackground
()
src/cli/daemon.ts:83
↓ 3 callersMethodstopSpinner
()
src/channels/cli.ts:180
↓ 3 callersMethodstopTypingLoop
()
src/channels/telegram.ts:384
↓ 3 callersMethodstream
(content: AsyncIterable<string>, targetId?: string)
src/channels/base.ts:11
↓ 3 callersFunctiontrimTrailingSlash
(value: string)
src/utils/provider-models.ts:81
↓ 3 callersMethodwithMenu
(runner: (select: (title: string, options: ArrowSelectOption[]) => Promise<string>) => Promise<T>)
src/channels/cli.ts:292
↓ 2 callersMethodaddPendingApproval
(baseCommand: string)
src/capabilities/permissions.ts:209
↓ 2 callersFunctionagentName
(name: string, suffix?: string)
src/channels/cli.ts:19
↓ 2 callersMethodaskPermissionMode
(targetId?: string)
src/channels/telegram.ts:536
↓ 2 callersMethodaskToContinue
(question: string, targetId?: string)
src/channels/base.ts:13
↓ 2 callersMethodcheckShellCommand
(command: string)
src/capabilities/permissions.ts:287
↓ 2 callersFunctionchooseProviderModel
( providerLabel: string, recommendedModel: string, models: string[], )
src/index.ts:274
↓ 2 callersFunctiondecodeHtmlEntities
(text: string)
src/utils/markdown.ts:17
↓ 2 callersMethoddeleteStatusMessage
(targetId?: string)
src/channels/telegram.ts:980
↓ 2 callersMethoddetectAbsoluteLimit
()
src/core/agent.ts:94
↓ 2 callersFunctiondetectCd
(command: string, currentCwd: string, setCwd: (dir: string) => void)
src/capabilities/shell/run-command.ts:64
↓ 2 callersMethoddetectIdentical
()
src/core/agent.ts:101
↓ 2 callersMethoddetectSameTool
()
src/core/agent.ts:192
↓ 2 callersMethoddetectSimilarLoop
()
src/core/agent.ts:127
↓ 2 callersMethoddetectTextRepetition
()
src/core/agent.ts:155
↓ 2 callersMethodemitMessageInThread
(content: string, threadId: string)
src/channels/web.ts:259
↓ 2 callersMethodenqueueMessage
(msg: ChannelMessage)
src/core/agent.ts:280
↓ 2 callersFunctionensureDaemonRunning
()
src/cli/daemon.ts:51
↓ 2 callersMethodfindScope
(resolvedPath: string)
src/capabilities/permissions.ts:391
↓ 2 callersMethodfindSkillEntryByName
(name: string)
src/skills/loader.ts:194
↓ 2 callersFunctionfindTelegramApprovedUser
(config: MercuryConfig, userId: number)
src/utils/config.ts:308
↓ 2 callersFunctionfindTelegramPendingRequestByPairingCode
( config: MercuryConfig, pairingCode: string, )
src/utils/config.ts:320
↓ 2 callersMethodformatRequestLabel
(request: TelegramPendingRequest)
src/channels/telegram.ts:894
↓ 2 callersFunctionformatToolStep
(toolName: string, args: Record<string, any>)
src/utils/tool-label.ts:54
↓ 2 callersFunctiongenerateId
()
src/memory/store.ts:204
↓ 2 callersFunctiongenerateId
(prefix: string)
src/memory/user-memory.ts:833
↓ 2 callersMethodget
(name?: string)
src/providers/registry.ts:45
↓ 2 callersMethodgetActiveChannels
()
src/channels/registry.ts:49
↓ 2 callersMethodgetChannelContext
()
src/capabilities/registry.ts:91
↓ 2 callersMethodgetChannelForMessage
(message: ChannelMessage)
src/channels/registry.ts:29
↓ 2 callersMethodgetDefault
()
src/providers/registry.ts:50
↓ 2 callersMethodgetDiscovered
()
src/skills/loader.ts:103
↓ 2 callersFunctiongetGitHubToken
()
src/utils/github.ts:11
↓ 2 callersFunctiongetManual
()
src/utils/manual.ts:3
↓ 2 callersMethodgetNotificationChannel
()
src/channels/registry.ts:55
↓ 2 callersMethodgetPersonById
(id: string)
src/memory/second-brain-db.ts:482
↓ 2 callersMethodgetProfile
()
src/memory/user-memory.ts:108
↓ 2 callersFunctiongetSchedulesPath
()
src/core/scheduler.ts:31
↓ 2 callersMethodgetSettings
()
src/channels/web.ts:283
↓ 2 callersFunctiongetTelegramApprovedChatIds
(config: MercuryConfig)
src/utils/config.ts:296
↓ 2 callersMethodgetTools
()
src/capabilities/registry.ts:191
↓ 2 callersFunctiongetWebConfigPath
()
src/web/auth.ts:15
↓ 2 callersMethodindexPersonsForMemoryRow
(memory: MemoryRow)
src/memory/user-memory.ts:540
↓ 2 callersMethodinsert
(row: Omit<MemoryRow, 'rowid'> & { rowid?: never })
src/memory/second-brain-db.ts:220
↓ 2 callersMethodisAutoApproveAll
()
src/capabilities/permissions.ts:180
← previousnext →101–200 of 707, ranked by callers