Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NevaMind-AI/memUBot
/ functions
Functions
1,201 in github.com/NevaMind-AI/memUBot
⨍
Functions
1,201
◇
Types & classes
419
↓ 6 callers
Method
validateBackup
* Validate backup file format without importing
src/main/services/secure-storage.service.ts:329
↓ 5 callers
Method
_today
()
src/main/services/logger.service.ts:267
↓ 5 callers
Function
asRecord
(value: unknown)
src/main/services/agent/context/layered/dense-score-provider.ts:54
↓ 5 callers
Function
assertNoHardlinkedFinalPath
( params: AssertNoHardlinkParams )
src/main/utils/hardlink-guards.ts:22
↓ 5 callers
Function
assertNoPathAliasEscape
( params: AssertNoPathAliasEscapeParams )
src/main/utils/path-alias-guards.ts:29
↓ 5 callers
Function
buildTermFrequency
(tokens: string[])
src/main/services/agent/context/layered/text-utils.ts:43
↓ 5 callers
Method
convertToAppMessage
* Convert stored message to AppMessage
src/main/apps/discord/bot.service.ts:545
↓ 5 callers
Method
convertToAppMessage
* Convert stored message to AppMessage
src/main/apps/slack/bot.service.ts:629
↓ 5 callers
Function
createContext
(overrides: Partial<ToolExecutionContext> = {})
src/main/services/__tests__/bash-tool-access.test.ts:29
↓ 5 callers
Function
createSettings
(overrides: Partial<BashToolSettings> = {})
src/main/services/__tests__/bash-tool-access.test.ts:19
↓ 5 callers
Method
emitDiscordNewMessage
* Emit Discord new message event
src/main/events/index.ts:130
↓ 5 callers
Method
emitSlackNewMessage
* Emit Slack new message event
src/main/events/index.ts:180
↓ 5 callers
Method
ensureInitialized
()
src/main/apps/qq/storage.ts:28
↓ 5 callers
Function
getCurrentChannelId
* Get the current channel ID
src/main/tools/slack.executor.ts:13
↓ 5 callers
Function
getCurrentSourceId
* Get the current source ID (user/group/room)
src/main/tools/line.executor.ts:10
↓ 5 callers
Function
getFolderSize
* Calculate folder size recursively
src/main/ipc/settings.handlers.ts:28
↓ 5 callers
Function
getLocalFileSize
* Get file size from local path * Returns 0 if file doesn't exist or is a URL
src/main/tools/telegram.executor.ts:15
↓ 5 callers
Function
isMacOS
()
src/main/tools/macos/definitions.ts:7
↓ 5 callers
Method
saveData
* Save data to disk
src/main/apps/telegram/storage.ts:71
↓ 5 callers
Method
saveData
* Save data to disk
src/main/apps/feishu/storage.ts:67
↓ 5 callers
Function
shortenPath
(p: string)
src/main/utils/path-guards.ts:59
↓ 5 callers
Function
storeSentMessage
* Store a sent message and emit event to update UI
src/main/tools/discord.executor.ts:13
↓ 5 callers
Function
truncateOutput
(output: string, maxLength: number = MAX_OUTPUT_LENGTH)
src/main/tools/computer/common.ts:154
↓ 5 callers
Method
validateAndBindByStringId
* Validate a security code and bind a user using string ID (for Discord snowflake IDs) * This avoids precision loss when converting large IDs to nu
src/main/services/security.service.ts:226
↓ 4 callers
Method
_log
(level: string, event: string, data?: Record<string, unknown>, traceId?: string)
src/main/services/logger.service.ts:189
↓ 4 callers
Method
addActivity
* Add an activity item and emit event * Returns the activity ID for later updates
src/main/services/agent.service.ts:240
↓ 4 callers
Function
buildBm25Model
( documents: Bm25Document[], options?: { k1?: number b?: number } )
src/main/services/agent/context/layered/text-utils.ts:93
↓ 4 callers
Method
clearTaskState
()
src/main/services/memorization.storage.ts:134
↓ 4 callers
Function
closeAppWindow
* Close the frontmost window of an app (without quitting)
src/main/tools/macos/visual.executor.ts:397
↓ 4 callers
Method
convertToAppMessage
* Convert stored message to AppMessage
src/main/apps/telegram/bot.service.ts:835
↓ 4 callers
Function
convertToolsToGemini
(tools: Anthropic.Tool[])
src/main/services/agent/gemini-adapter.ts:34
↓ 4 callers
Function
decodeOutput
* Decode buffer with proper encoding for the platform
src/main/tools/computer/common.ts:178
↓ 4 callers
Method
deduplicate
(messageId: string)
src/main/apps/qq/bot.service.ts:397
↓ 4 callers
Method
downloadImages
(attachments?: QQMessageAttachment[])
src/main/apps/qq/bot.service.ts:115
↓ 4 callers
Method
emitNewMessage
* Emit new message event
src/main/events/index.ts:86
↓ 4 callers
Method
emitQQStatusChanged
* Emit QQ status changed event
src/main/events/index.ts:264
↓ 4 callers
Function
ensureAppRunning
* Ensure an app is running and responsive before executing scripts * Returns true if app is ready, false if it failed to start
src/main/tools/macos/executor.ts:70
↓ 4 callers
Method
ensureInitialized
()
src/main/apps/local/local.service.ts:32
↓ 4 callers
Function
evaluateBashToolAccess
( settings: BashToolSettings, context: ToolExecutionContext, isAuthorizedUser: boolean | null )
src/main/services/bash-tool-access.ts:38
↓ 4 callers
Function
executeTool
( name: string, input: unknown, currentPlatform: MessagePlatform, executionContext?: ToolExecutionCont
src/main/services/agent/tool-executor.ts:23
↓ 4 callers
Function
expandPath
* Expand ~ to home directory and resolve to absolute path
src/main/tools/feishu.executor.ts:66
↓ 4 callers
Function
extractNumber
(value: unknown)
src/main/services/agent/context/layered/dense-score-provider.ts:59
↓ 4 callers
Function
formatBytes
(bytes: number)
src/renderer/src/components/Settings/shared.tsx:190
↓ 4 callers
Function
getCurrentChatId
* Get the current chat ID
src/main/tools/feishu.executor.ts:59
↓ 4 callers
Function
getCurrentChatId
* Get the current chat ID
src/main/tools/whatsapp.executor.ts:10
↓ 4 callers
Method
getMessageCount
* Get message count
src/main/apps/line/storage.ts:105
↓ 4 callers
Method
getService
Get a specific service by ID
src/main/services/back-service/manager.ts:90
↓ 4 callers
Function
handleOpenMessagesFolder
(platform?: string)
src/renderer/src/components/Settings/DataSettings/memu.impl.tsx:42
↓ 4 callers
Method
isApiKeyConfigured
()
src/main/services/memorization.service.ts:48
↓ 4 callers
Function
loadMcpStatus
()
src/renderer/src/components/Settings/McpSettings.tsx:137
↓ 4 callers
Function
normalizeDenseScore
(rawScore: number, metric: DenseDistanceMetric)
src/main/services/agent/context/layered/text-utils.ts:227
↓ 4 callers
Function
parseMcpEnvKey
(key: string)
src/main/services/secure-storage.service.ts:72
↓ 4 callers
Method
parseSkillMd
* Parse SKILL.md frontmatter
src/main/services/skills.service.ts:115
↓ 4 callers
Method
processWithAgentAndReply
( chatId: string, chatType: string, senderId: string, text: string, msgId: string, ima
src/main/apps/qq/bot.service.ts:290
↓ 4 callers
Method
resetTemporaryTopicState
()
src/main/services/agent.service.ts:641
↓ 4 callers
Function
resolveBoundaryPathSync
( params: ResolveBoundaryPathParams )
src/main/utils/boundary-path.ts:236
↓ 4 callers
Method
saveData
* Save data to disk
src/main/apps/discord/storage.ts:69
↓ 4 callers
Method
saveData
()
src/main/apps/qq/storage.ts:52
↓ 4 callers
Method
saveData
* Save data to disk
src/main/apps/whatsapp/storage.ts:66
↓ 4 callers
Method
saveData
* Save data to disk
src/main/apps/slack/storage.ts:66
↓ 4 callers
Method
saveData
* Save data to disk
src/main/apps/line/storage.ts:66
↓ 4 callers
Method
saveToFile
* Save current settings to file * Only saves non-sensitive fields
src/main/config/settings.config.ts:442
↓ 4 callers
Function
scoreLayerContent
( sparseScore: number, denseScore: number | undefined, recencyRank: number, totalNodes: number )
src/main/services/agent/context/layered/retriever.ts:39
↓ 4 callers
Method
storeIncoming
( messageId: string, chatId: string, chatType: 'c2c' | 'group' | 'guild', fromId: string,
src/main/apps/qq/bot.service.ts:417
↓ 4 callers
Method
storeMessage
* Store a message
src/main/apps/discord/storage.ts:77
↓ 4 callers
Method
storeMessage
* Store a message
src/main/apps/slack/storage.ts:74
↓ 4 callers
Function
storeSentMessage
* Store a sent message and emit event to update UI
src/main/tools/feishu.executor.ts:13
↓ 4 callers
Function
stringifyUnknown
(value: unknown)
src/main/services/agent/context/layered/message-utils.ts:4
↓ 4 callers
Method
stripBotMention
(content: string)
src/main/apps/qq/bot.service.ts:412
↓ 4 callers
Method
subscribe
* Subscribe to an event type * * @param eventType - The type of event to subscribe to * @param listener - The callback function to invoke whe
src/main/services/infra.service.ts:205
↓ 4 callers
Function
transformCoordinates
* Transform coordinates from Claude's scaled image space to actual screen coordinates * @param x X coordinate from Claude * @param y Y coordinate fr
src/main/tools/computer/index.ts:39
↓ 4 callers
Function
trimToTokenTarget
(input: string, targetTokens: number)
src/main/services/agent/context/layered/text-utils.ts:194
↓ 4 callers
Method
verifyAndFixToolPairs
* Verify and fix tool_use/tool_result pairs in conversation history * If a tool_use exists without a corresponding tool_result, remove it
src/main/services/agent.service.ts:536
↓ 3 callers
Method
_trimLogs
()
src/main/services/logger.service.ts:196
↓ 3 callers
Method
abort
* Abort the current processing
src/main/services/agent.service.ts:281
↓ 3 callers
Function
buildFileReference
* Build a file reference message for the LLM. * The LLM knows it can use file_read to access the content.
src/main/services/agent/context/compactor.ts:110
↓ 3 callers
Method
checkAndTrigger
()
src/main/services/memorization.service.ts:122
↓ 3 callers
Function
checkDiscordStatus
()
src/renderer/src/components/Layout/Header.tsx:208
↓ 3 callers
Function
checkFeishuStatus
()
src/renderer/src/components/Layout/Header.tsx:230
↓ 3 callers
Function
checkQQStatus
()
src/renderer/src/components/Layout/Header.tsx:241
↓ 3 callers
Function
checkSlackStatus
()
src/renderer/src/components/Layout/Header.tsx:219
↓ 3 callers
Function
checkTelegramStatus
()
src/renderer/src/components/Layout/Header.tsx:197
↓ 3 callers
Function
clampNumber
(value: number, min: number, max: number)
src/main/services/agent/context/layered/retriever.ts:29
↓ 3 callers
Function
cleanMessageContent
* Clean message content by removing internal file path hints * These are added for Agent processing but shouldn't be shown to users
src/renderer/src/components/Shared/MessageBubble.tsx:156
↓ 3 callers
Method
clearDebounceTimer
()
src/main/services/memorization.service.ts:156
↓ 3 callers
Method
clearHeartbeat
()
src/main/apps/qq/gateway.ts:173
↓ 3 callers
Function
compactToolResults
( messages: Anthropic.MessageParam[] )
src/main/services/agent/context/compactor.ts:131
↓ 3 callers
Function
compressImageForLLM
* Compress an image buffer to fit within the Anthropic API base64 size limit. * Uses Electron's nativeImage to resize large images to JPEG. * Return
src/main/services/agent.service.ts:29
↓ 3 callers
Method
convertToAppMessage
(msg: StoredQQMessage)
src/main/apps/qq/bot.service.ts:446
↓ 3 callers
Method
convertToAppMessage
* Convert stored message to AppMessage
src/main/apps/whatsapp/bot.service.ts:243
↓ 3 callers
Method
convertToAppMessage
* Convert stored message to AppMessage
src/main/apps/line/bot.service.ts:259
↓ 3 callers
Function
convertToolsToOpenAI
(tools: Anthropic.Tool[])
src/main/services/agent/openai-adapter.ts:13
↓ 3 callers
Function
detectCustomProtocol
(baseUrl: string | undefined, model: string)
src/main/services/agent/utils.ts:25
↓ 3 callers
Function
detectImageMediaType
* Detect media type from image buffer magic bytes.
src/main/services/agent.service.ts:71
↓ 3 callers
Method
emitDiscordStatusChanged
* Emit Discord status changed event
src/main/events/index.ts:139
↓ 3 callers
Method
emitFeishuStatusChanged
* Emit Feishu status changed event
src/main/events/index.ts:239
↓ 3 callers
Method
emitLineStatusChanged
* Emit Line status changed event
src/main/events/index.ts:214
↓ 3 callers
Method
emitSlackStatusChanged
* Emit Slack status changed event
src/main/events/index.ts:189
↓ 3 callers
Method
emitTelegramStatusChanged
* Emit Telegram status changed event
src/main/events/index.ts:95
↓ 3 callers
Method
emitWhatsAppStatusChanged
* Emit WhatsApp status changed event
src/main/events/index.ts:164
← previous
next →
101–200 of 1,201, ranked by callers