MCPcopy Create free account

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

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

↓ 1 callersFunctioncreateReadFileTool
(permissions: PermissionManager, getCwd: () => string)
src/capabilities/filesystem/read-file.ts:7
↓ 1 callersFunctioncreateReviewPrTool
()
src/capabilities/github/review-pr.ts:5
↓ 1 callersFunctioncreateRunCommandTool
(permissions: PermissionManager, getCwd: () => string, setCwd: (dir: string) => void)
src/capabilities/shell/run-command.ts:10
↓ 1 callersFunctioncreateSaveMemoryTool
(userMemory: UserMemoryStore)
src/capabilities/system/save-memory.ts:5
↓ 1 callersFunctioncreateScheduleTaskTool
(scheduler: Scheduler, getContext: () => { channelId: string; channelType: string })
src/capabilities/scheduler/schedule-task.ts:6
↓ 1 callersFunctioncreateSearchMemoryTool
(userMemory: UserMemoryStore)
src/capabilities/system/search-memory.ts:5
↓ 1 callersFunctioncreateSendFileTool
( permissions: PermissionManager, getCwd: () => string, sendFile: (filePath: string) => Promise<void>, )
src/capabilities/filesystem/send-file.ts:7
↓ 1 callersFunctioncreateSendMessageTool
( sendMessage: (content: string) => Promise<void>, )
src/capabilities/messaging/send-message.ts:4
↓ 1 callersFunctioncreateSession
()
src/web/auth.ts:122
↓ 1 callersFunctioncreateSessionToken
()
src/web/auth.ts:111
↓ 1 callersFunctioncreateUseSkillTool
(skillLoader: SkillLoader, permissions: PermissionManager)
src/capabilities/skills/use-skill.ts:6
↓ 1 callersFunctioncreateWriteFileTool
(permissions: PermissionManager, getCwd: () => string)
src/capabilities/filesystem/write-file.ts:8
↓ 1 callersFunctiondeepMerge
(target: T, source: Partial<T>)
src/utils/config.ts:254
↓ 1 callersMethoddeleteOrphanPersons
(userKey: string)
src/memory/second-brain-db.ts:530
↓ 1 callersMethoddeleteSkill
(name: string)
src/skills/loader.ts:167
↓ 1 callersFunctiondestroySession
(token: string)
src/web/auth.ts:141
↓ 1 callersFunctioneffectiveConfidence
(row: MemoryRow)
src/memory/user-memory.ts:771
↓ 1 callersMethodelevateForSkill
(allowedTools: string[])
src/capabilities/permissions.ts:184
↓ 1 callersMethodenforceMaxRecords
()
src/memory/user-memory.ts:462
↓ 1 callersFunctionensureCreatorField
(config: MercuryConfig)
src/utils/config.ts:246
↓ 1 callersFunctionextractHumanNames
(segment: string)
src/memory/user-memory.ts:712
↓ 1 callersMethodextractMemory
(userMessage: string, agentResponse: string)
src/core/agent.ts:1108
↓ 1 callersFunctionextractUserRelationshipMentions
(text: string)
src/memory/user-memory.ts:647
↓ 1 callersFunctionfetchAnthropicModels
(config: ProviderConfig)
src/utils/provider-models.ts:224
↓ 1 callersFunctionfetchGrokModels
(config: ProviderConfig)
src/utils/provider-models.ts:243
↓ 1 callersFunctionfetchOllamaModels
(provider: ProviderName, config: ProviderConfig)
src/utils/provider-models.ts:262
↓ 1 callersFunctionfetchOpenAICompatModels
(provider: ProviderName, config: ProviderConfig)
src/utils/provider-models.ts:201
↓ 1 callersMethodfindConflictCandidate
(userKey: string, type: string, summaryTerms: string[])
src/memory/second-brain-db.ts:308
↓ 1 callersMethodfindMergeCandidate
(userKey: string, type: string, normalizedTerms: string[])
src/memory/second-brain-db.ts:297
↓ 1 callersFunctionfindMergeTarget
(rows: MemoryRow[], candidate: UserMemoryCandidate)
src/memory/user-memory.ts:750
↓ 1 callersFunctionfindTelegramAdmin
(config: MercuryConfig, userId: number)
src/utils/config.ts:312
↓ 1 callersMethodfindTempScope
(resolvedPath: string)
src/capabilities/permissions.ts:429
↓ 1 callersMethodforceAllowNext
()
src/utils/tokens.ts:53
↓ 1 callersFunctionformatSize
(bytes: number)
src/capabilities/filesystem/list-dir.ts:55
↓ 1 callersMethodgeneratePairingCode
()
src/channels/telegram.ts:907
↓ 1 callersMethodgetAllSkills
()
src/skills/loader.ts:128
↓ 1 callersMethodgetApprovedStatusMessage
(user: TelegramAccessUser)
src/channels/telegram.ts:889
↓ 1 callersMethodgetBudget
()
src/utils/tokens.ts:73
↓ 1 callersMethodgetCommandName
(text: string)
src/channels/telegram.ts:870
↓ 1 callersMethodgetCurrentChannelType
()
src/capabilities/permissions.ts:168
↓ 1 callersMethodgetFallbackIterator
()
src/providers/registry.ts:65
↓ 1 callersMethodgetManifest
()
src/capabilities/permissions.ts:240
↓ 1 callersMethodgetMemoriesForPerson
(userKey: string, personId: string, limit: number = 50)
src/memory/second-brain-db.ts:667
↓ 1 callersMethodgetPerson
(personId: string)
src/memory/user-memory.ts:137
↓ 1 callersMethodgetPersonMemories
(personId: string, limit: number = 50)
src/memory/user-memory.ts:144
↓ 1 callersMethodgetPersonWithCount
(userKey: string, personId: string)
src/memory/second-brain-db.ts:633
↓ 1 callersMethodgetRelationshipMemoryRows
(userKey: string)
src/memory/second-brain-db.ts:680
↓ 1 callersMethodgetSameToolThreshold
(toolName: string, failingCount: number)
src/core/agent.ts:58
↓ 1 callersFunctiongetSessionMaxAge
()
src/web/auth.ts:149
↓ 1 callersMethodgetSkillContext
()
src/capabilities/registry.ts:199
↓ 1 callersMethodgetSkillSummariesText
()
src/skills/loader.ts:107
↓ 1 callersFunctiongetStatus
()
src/web/api/status.ts:33
↓ 1 callersMethodgetSystemPrompt
(identity: { name: string; owner: string; creator?: string })
src/soul/identity.ts:140
↓ 1 callersFunctiongetTelegramAdmins
(config: MercuryConfig)
src/utils/config.ts:300
↓ 1 callersFunctiongetWebPort
()
src/web/auth.ts:19
↓ 1 callersMethodhandleAccessCallback
(ctx: Parameters<Bot['on']>[1] extends never ? never : any, data: string)
src/channels/telegram.ts:648
↓ 1 callersMethodhandleAccessRequest
( userId: number, chatId: number, username?: string, firstName?: string, )
src/channels/telegram.ts:571
↓ 1 callersMethodhandleBudgetOverrideCLI
(channel: import('../channels/base.js').Channel, msg: ChannelMessage)
src/core/agent.ts:1198
↓ 1 callersMethodhandleIncomingMessage
(msg: ChannelMessage)
src/channels/registry.ts:69
↓ 1 callersMethodhandleMemoryCallback
(ctx: any, data: string)
src/channels/telegram.ts:750
↓ 1 callersMethodhandleMessage
(msg: ChannelMessage)
src/core/agent.ts:332
↓ 1 callersMethodhandleScheduledTask
(manifest: ScheduledTaskManifest)
src/core/agent.ts:1023
↓ 1 callersMethodhardDeleteDismissed
(userKey: string)
src/memory/second-brain-db.ts:373
↓ 1 callersFunctionhasConflict
(a: string, b: string)
src/memory/user-memory.ts:844
↓ 1 callersMethodhasPathBeyondCwd
(command: string)
src/capabilities/permissions.ts:448
↓ 1 callersMethodhasProviders
()
src/providers/registry.ts:85
↓ 1 callersMethodheartbeat
()
src/core/agent.ts:1052
↓ 1 callersFunctioninferScope
(candidate: UserMemoryCandidate)
src/memory/user-memory.ts:837
↓ 1 callersFunctioninitWebAuth
()
src/web/auth.ts:52
↓ 1 callersFunctioninjectCoAuthor
(body: any)
src/capabilities/github/github-api.ts:13
↓ 1 callersMethodinsertRecord
(candidate: UserMemoryCandidate, source: UserMemoryRecord['source'])
src/memory/user-memory.ts:343
↓ 1 callersMethodinsertReflection
(candidate: UserMemoryCandidate)
src/memory/user-memory.ts:375
↓ 1 callersMethodinstallFromContent
(content: string)
src/skills/loader.ts:185
↓ 1 callersMethodinstallFromUrl
(url: string)
src/skills/loader.ts:176
↓ 1 callersFunctioninstallLinux
()
src/cli/service.ts:201
↓ 1 callersFunctioninstallMac
()
src/cli/service.ts:84
↓ 1 callersFunctioninstallWindows
()
src/cli/service.ts:313
↓ 1 callersMethodis
(newState: AgentState)
src/core/lifecycle.ts:38
↓ 1 callersMethodisAudioFile
(ext: string)
src/channels/telegram.ts:1005
↓ 1 callersFunctionisContentCreatePath
(path: string)
src/capabilities/github/github-api.ts:9
↓ 1 callersFunctionisGitHubConfigured
()
src/utils/github.ts:16
↓ 1 callersMethodisHardAborted
()
src/core/agent.ts:229
↓ 1 callersMethodisImageFile
(ext: string)
src/channels/telegram.ts:1001
↓ 1 callersFunctionisOpenAIChatModel
(id: string)
src/utils/provider-models.ts:125
↓ 1 callersMethodisOverBudget
()
src/utils/tokens.ts:44
↓ 1 callersFunctionisProcessRunning
(pid: number)
src/cli/daemon.ts:31
↓ 1 callersMethodisShellElevated
()
src/capabilities/permissions.ts:205
↓ 1 callersMethodisVideoFile
(ext: string)
src/channels/telegram.ts:1009
↓ 1 callersFunctionisWebAuthInitialized
()
src/web/auth.ts:67
↓ 1 callersFunctionlimitModels
(models: string[])
src/utils/provider-models.ts:121
↓ 1 callersMethodlistAvailable
()
src/providers/registry.ts:81
↓ 1 callersMethodload
()
src/memory/store.ts:143
↓ 1 callersMethodload
()
src/memory/store.ts:191
↓ 1 callersFunctionloadSchedules
()
src/core/scheduler.ts:35
↓ 1 callersFunctionloadSettings
()
src/web/api/chat.ts:16
↓ 1 callersMethodmarkUsed
(ids: string[], query?: string)
src/memory/user-memory.ts:480
↓ 1 callersFunctionmaskApiKey
(key: string)
src/web/api/providers.ts:4
↓ 1 callersMethodmergeDefaults
(parsed: Partial<PermissionsManifest>)
src/capabilities/permissions.ts:468
↓ 1 callersMethodmergeRecord
(existing: MemoryRow, candidate: UserMemoryCandidate)
src/memory/user-memory.ts:403
↓ 1 callersFunctionmigrateLegacyMemory
()
src/memory/store.ts:7
← previousnext →301–400 of 707, ranked by callers