MCPcopy Create free account

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

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

↓ 2 callersFunctionisLikelyHumanName
(name: string)
src/memory/user-memory.ts:723
↓ 2 callersFunctionisRowStale
(row: MemoryRow)
src/memory/user-memory.ts:790
↓ 2 callersFunctionisServiceInstalled
()
src/cli/service.ts:13
↓ 2 callersMethodlinkMemoryPerson
(memoryId: string, personId: string, role: string = 'mentioned', confidence: number = 0.7)
src/memory/second-brain-db.ts:498
↓ 2 callersMethodlistPersons
(query?: string, limit: number = 100)
src/memory/user-memory.ts:131
↓ 2 callersMethodload
()
src/capabilities/permissions.ts:217
↓ 2 callersMethodloadFromDisk
(conversationId: string)
src/memory/store.ts:92
↓ 2 callersFunctionlooksLikeToken
(value: string, minLength: number = 20)
src/index.ts:218
↓ 2 callersMethodmarkSuccess
(name: string)
src/providers/registry.ts:77
↓ 2 callersFunctionmemToJson
(r: any)
src/web/api/brain.ts:29
↓ 2 callersFunctionmentionsPerson
(text: string, name: string)
src/memory/user-memory.ts:731
↓ 2 callersMethodnormalizePersonName
(input: string)
src/memory/second-brain-db.ts:689
↓ 2 callersMethodopenCliMemoryMenu
(channel: CLIChannel, channelId: string, select?: (title: string, options: ArrowSelectOption[]) => Promise<str
src/core/agent.ts:1638
↓ 2 callersMethodopenCliTelegramMenu
( channel: CLIChannel, channelId: string, select: (title: string, options: ArrowSelectOption[]) =>
src/core/agent.ts:1723
↓ 2 callersFunctionprintTelegramAccessState
(config: MercuryConfig)
src/index.ts:454
↓ 2 callersMethodprune
(olderThanDays: number = 7)
src/memory/store.ts:180
↓ 2 callersMethodrecordNoActionResult
()
src/core/agent.ts:79
↓ 2 callersFunctionrenderTokens
(tokens: any[])
src/utils/markdown.ts:42
↓ 2 callersFunctionrestartDaemon
()
src/cli/daemon.ts:129
↓ 2 callersMethodrestore
()
src/utils/tokens.ts:135
↓ 2 callersMethodresumePrompt
()
src/channels/cli.ts:344
↓ 2 callersMethodretrieveRelevant
( query: string, options?: { maxRecords?: number; maxChars?: number }, )
src/memory/user-memory.ts:162
↓ 2 callersMethodrowHasNegationMismatch
(existingSummary: string, incomingTerms: string[])
src/memory/second-brain-db.ts:319
↓ 2 callersMethodsanitizeLogEntry
(entry: Omit<TokenLogEntry, 'timestamp'> & { timestamp?: unknown }, timestamp: number)
src/utils/tokens.ts:178
↓ 2 callersMethodsanitizeTimestamp
(value: unknown)
src/utils/tokens.ts:174
↓ 2 callersMethodsaveSkill
(name: string, content: string)
src/skills/loader.ts:113
↓ 2 callersMethodsearchRelevant
(userKey: string, query: string, limit: number = 10)
src/memory/second-brain-db.ts:328
↓ 2 callersFunctionsend
(data: string)
src/web/api/chat.ts:55
↓ 2 callersMethodsendMemoryKeyboard
(chatId: number)
src/channels/telegram.ts:714
↓ 2 callersMethodsendMemoryOverview
(channel: any, channelId: string)
src/core/agent.ts:1613
↓ 2 callersMethodsetBypassPermissions
(enabled: boolean)
src/channels/web.ts:275
↓ 2 callersMethodsetCwd
(dir: string)
src/capabilities/registry.ts:99
↓ 2 callersMethodsetRestrictUser
(enabled: boolean)
src/channels/web.ts:279
↓ 2 callersMethodsetSkillActive
(name: string, active: boolean)
src/skills/loader.ts:154
↓ 2 callersMethodsoftDelete
(id: string)
src/memory/second-brain-db.ts:356
↓ 2 callersMethodstart
()
src/channels/base.ts:7
↓ 2 callersFunctionstartWebServer
()
src/web/server.ts:159
↓ 2 callersMethodstop
()
src/channels/telegram.ts:255
↓ 2 callersMethodstopAll
()
src/core/scheduler.ts:219
↓ 2 callersFunctionstopDaemon
()
src/cli/daemon.ts:98
↓ 2 callersMethodsuspendPrompt
()
src/channels/cli.ts:337
↓ 2 callersFunctiontoCamel
(r: any)
src/web/api/brain-fallback.ts:55
↓ 2 callersMethodtoPersonRecord
(row: PersonListRow)
src/memory/user-memory.ts:519
↓ 2 callersMethodtotalActive
(userKey: string)
src/memory/second-brain-db.ts:723
↓ 2 callersFunctiontruncate
(maxLen: number)
src/utils/tool-label.ts:50
↓ 2 callersFunctiontryAutoDaemonize
()
src/cli/daemon.ts:163
↓ 2 callersFunctiontypeChars
(text, done, customSpeed)
docs/app.js:157
↓ 2 callersFunctiontypeTerminal
(container, lines, speed, callback)
docs/app.js:70
↓ 2 callersMethodupdateStatusMessage
(text: string, targetId?: string)
src/channels/telegram.ts:947
↓ 2 callersFunctionvalidateSession
(token: string)
src/web/auth.ts:131
↓ 1 callersMethodaddPersonAlias
(personId: string, alias: string, source: string = 'memory')
src/memory/second-brain-db.ts:487
↓ 1 callersMethodaddSSEClient
(controller: ReadableStreamDefaultController)
src/channels/web.ts:66
↓ 1 callersMethodaddScope
(path: string, read: boolean, write: boolean)
src/capabilities/permissions.ts:374
↓ 1 callersMethodaddTask
(task: ScheduledTask)
src/core/scheduler.ts:102
↓ 1 callersFunctionappendToEnv
(key: string, value: string)
src/index.ts:423
↓ 1 callersMethodaskPermissionMode
()
src/channels/base.ts:14
↓ 1 callersFunctionattempt
()
src/cli/watchdog.ts:10
↓ 1 callersFunctionbasename
(p: string)
src/utils/tool-label.ts:45
↓ 1 callersMethodbirth
()
src/core/agent.ts:305
↓ 1 callersFunctionbottomIndicator
(hasHiddenBelow: boolean)
src/utils/arrow-select.ts:51
↓ 1 callersFunctionbuildActiveSummary
(records: MemoryRow[])
src/memory/user-memory.ts:895
↓ 1 callersFunctionbuildProfileSummary
(records: MemoryRow[])
src/memory/user-memory.ts:878
↓ 1 callersFunctionbuildReflectionCandidates
(records: MemoryRow[])
src/memory/user-memory.ts:912
↓ 1 callersMethodbuildSystemPrompt
()
src/core/agent.ts:947
↓ 1 callersMethodcanAfford
(estimatedTokens: number)
src/utils/tokens.ts:39
↓ 1 callersFunctionchangePassword
()
src/web/static/app.js:85
↓ 1 callersFunctionchangeUsername
()
src/web/static/app.js:74
↓ 1 callersFunctionchooseDefaultProvider
(config: MercuryConfig)
src/index.ts:174
↓ 1 callersFunctionchooseProvidersToConfigure
(config: MercuryConfig, isReconfig: boolean)
src/index.ts:145
↓ 1 callersFunctionchooseRecommendedModel
( provider: ProviderName, models: string[], currentModel?: string, )
src/utils/provider-models.ts:145
↓ 1 callersMethodclearByType
(userKey: string, type?: string)
src/memory/second-brain-db.ts:362
↓ 1 callersMethodclearElevation
()
src/capabilities/permissions.ts:196
↓ 1 callersMethodclearMemoryPersons
(memoryId: string)
src/memory/second-brain-db.ts:509
↓ 1 callersMethodclearRelationshipsByMemory
(memoryId: string)
src/memory/second-brain-db.ts:514
↓ 1 callersMethodclearUserPersonGraph
(userKey: string)
src/memory/second-brain-db.ts:519
↓ 1 callersFunctioncompleteInitialTelegramPairing
(config: MercuryConfig)
src/index.ts:482
↓ 1 callersMethodcountByType
(userKey: string)
src/memory/second-brain-db.ts:713
↓ 1 callersFunctioncreateApproveCommandTool
(permissions: PermissionManager)
src/capabilities/shell/approve-command.ts:5
↓ 1 callersFunctioncreateApproveScopeTool
(permissions: PermissionManager, getCwd: () => string)
src/capabilities/filesystem/approve-scope.ts:6
↓ 1 callersFunctioncreateBudgetStatusTool
(tokenBudget: TokenBudget)
src/capabilities/system/budget-status.ts:5
↓ 1 callersFunctioncreateCancelTaskTool
(scheduler: Scheduler)
src/capabilities/scheduler/cancel-task.ts:5
↓ 1 callersFunctioncreateCdTool
(getCwd: () => string, setCwd: (dir: string) => void)
src/capabilities/shell/cd.ts:6
↓ 1 callersFunctioncreateCreateFileTool
(permissions: PermissionManager, getCwd: () => string)
src/capabilities/filesystem/create-file.ts:7
↓ 1 callersFunctioncreateCreateIssueTool
()
src/capabilities/github/create-issue.ts:5
↓ 1 callersFunctioncreateCreatePrTool
()
src/capabilities/github/create-pr.ts:5
↓ 1 callersFunctioncreateDeleteFileTool
(permissions: PermissionManager, getCwd: () => string)
src/capabilities/filesystem/delete-file.ts:7
↓ 1 callersFunctioncreateEditFileTool
(permissions: PermissionManager, getCwd: () => string)
src/capabilities/filesystem/edit-file.ts:7
↓ 1 callersFunctioncreateFetchUrlTool
()
src/capabilities/web/fetch-url.ts:44
↓ 1 callersFunctioncreateGitAddTool
(getCwd: () => string)
src/capabilities/git/git-add.ts:5
↓ 1 callersFunctioncreateGitCommitTool
(getCwd: () => string)
src/capabilities/git/git-commit.ts:9
↓ 1 callersFunctioncreateGitDiffTool
(getCwd: () => string)
src/capabilities/git/git-diff.ts:5
↓ 1 callersFunctioncreateGitLogTool
(getCwd: () => string)
src/capabilities/git/git-log.ts:5
↓ 1 callersFunctioncreateGitPushTool
(permissions: PermissionManager, getCwd: () => string)
src/capabilities/git/git-push.ts:6
↓ 1 callersFunctioncreateGitStatusTool
(getCwd: () => string)
src/capabilities/git/git-status.ts:5
↓ 1 callersFunctioncreateGithubApiTool
()
src/capabilities/github/github-api.ts:31
↓ 1 callersFunctioncreateInstallSkillTool
(skillLoader: SkillLoader)
src/capabilities/skills/install-skill.ts:6
↓ 1 callersFunctioncreateListDirTool
(permissions: PermissionManager, getCwd: () => string)
src/capabilities/filesystem/list-dir.ts:7
↓ 1 callersFunctioncreateListIssuesTool
()
src/capabilities/github/list-issues.ts:5
↓ 1 callersFunctioncreateListSkillsTool
(skillLoader: SkillLoader)
src/capabilities/skills/list-skills.ts:5
↓ 1 callersFunctioncreateListTasksTool
(scheduler: Scheduler)
src/capabilities/scheduler/list-tasks.ts:5
← previousnext →201–300 of 707, ranked by callers