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
↓ 413 callers
Function
t
(key: string, params?: Record<string, string>)
src/main/i18n/index.ts:40
↓ 264 callers
Method
error
(event: string, data?: Record<string, unknown>, traceId?: string)
src/main/services/logger.service.ts:169
↓ 76 callers
Method
get
* Retrieve a sensitive value
src/main/services/secure-storage.service.ts:160
↓ 53 callers
Method
writeFile
* Write content to file
src/main/services/file.service.ts:22
↓ 49 callers
Method
set
* Store a sensitive value
src/main/services/secure-storage.service.ts:137
↓ 45 callers
Method
readFile
* Read file content
src/main/services/file.service.ts:13
↓ 37 callers
Method
get
* Get a specific setting * For sensitive fields, reads from secure storage
src/main/config/settings.config.ts:426
↓ 36 callers
Method
has
* Check if a key exists
src/main/services/secure-storage.service.ts:191
↓ 26 callers
Function
resolve
* Resolve a dot-separated key (e.g. "agent.busySamePlatform") from a locale object.
src/main/i18n/index.ts:23
↓ 24 callers
Method
delete
* Delete a sensitive value
src/main/services/secure-storage.service.ts:178
↓ 24 callers
Method
getMessages
(limit?: number)
src/main/apps/types.ts:50
↓ 23 callers
Method
getStatus
()
src/main/apps/types.ts:49
↓ 21 callers
Method
keys
* Get all stored keys
src/main/services/secure-storage.service.ts:199
↓ 21 callers
Method
publish
* Publish an event to all subscribers * * @param eventType - The type of event to publish * @param payload - The event payload (type-checked
src/main/services/infra.service.ts:140
↓ 21 callers
Method
sendToRenderer
* Send event to all renderer windows
src/main/events/index.ts:74
↓ 19 callers
Function
loadSettings
()
src/main/config/settings.config.ts:635
↓ 18 callers
Method
connect
()
src/main/apps/types.ts:47
↓ 18 callers
Function
createToolUseIdMap
()
src/main/services/agent/gemini-adapter.ts:183
↓ 18 callers
Method
initialize
Initialize the service manager
src/main/services/back-service/manager.ts:40
↓ 18 callers
Function
isPathInside
(root: string, target: string)
src/main/utils/path-guards.ts:22
↓ 17 callers
Method
sendText
* Send a text message (push message)
src/main/apps/line/bot.service.ts:278
↓ 16 callers
Function
normalizeWhitespace
(input: string)
src/main/services/agent/context/layered/text-utils.ts:151
↓ 14 callers
Method
disconnect
()
src/main/apps/types.ts:48
↓ 14 callers
Function
guardFileBoundary
( filePath: string, intent: BoundaryPathIntent )
src/main/utils/file-boundary.ts:16
↓ 14 callers
Method
info
(event: string, data?: Record<string, unknown>, traceId?: string)
src/main/services/logger.service.ts:153
↓ 14 callers
Function
runAppleScript
* Execute multi-line AppleScript
src/main/tools/macos/visual.executor.ts:11
↓ 14 callers
Method
save
* Save to file
src/main/services/secure-storage.service.ts:405
↓ 14 callers
Method
warn
(event: string, data?: Record<string, unknown>, traceId?: string)
src/main/services/logger.service.ts:160
↓ 13 callers
Function
convertMessagesToOpenAI
( systemPrompt: string, history: Anthropic.MessageParam[] )
src/main/services/agent/openai-adapter.ts:24
↓ 13 callers
Method
isAuthorizedByStringId
* Check if a user is authorized by string ID (for Discord)
src/main/services/security.service.ts:300
↓ 13 callers
Function
resolveBoundaryPath
( params: ResolveBoundaryPathParams )
src/main/utils/boundary-path.ts:108
↓ 12 callers
Method
ensureInitialized
* Ensure storage is initialized
src/main/services/security.service.ts:108
↓ 12 callers
Function
estimateTextTokens
(text: string)
src/main/services/agent/context/token-estimator.ts:24
↓ 12 callers
Function
getSetting
(key: K)
src/main/config/settings.config.ts:643
↓ 12 callers
Method
sendMessage
(content: string, sessionId = DEFAULT_SESSION_ID)
src/main/apps/local/local.service.ts:55
↓ 11 callers
Function
convertMessagesToGemini
( history: Anthropic.MessageParam[], toolUseIdToName: Map<string, string> )
src/main/services/agent/gemini-adapter.ts:50
↓ 11 callers
Method
getBoundUsers
* Get all bound users for a specific platform
src/main/services/security.service.ts:309
↓ 11 callers
Function
getCurrentChatId
* Get the current chat ID, or return an error if not available
src/main/tools/telegram.executor.ts:160
↓ 11 callers
Method
initialize
* Initialize the skills service
src/main/services/skills.service.ts:79
↓ 10 callers
Function
clampNumber
(value: number, min: number, max: number)
src/main/services/agent/context/layered/config.ts:4
↓ 10 callers
Method
emitServiceStatusChanged
* Emit service status changed event
src/main/events/index.ts:305
↓ 10 callers
Method
ensureInitialized
* Ensure initialized
src/main/services/secure-storage.service.ts:417
↓ 10 callers
Method
reply
* Reply to a specific message
src/main/apps/discord/bot.service.ts:779
↓ 10 callers
Function
runAppleScriptMultiline
* Execute multi-line AppleScript
src/main/tools/macos/executor.ts:24
↓ 10 callers
Method
send
(msg: QQGatewayMessage)
src/main/apps/qq/gateway.ts:250
↓ 10 callers
Function
storeSentMessage
* Store a sent message and emit event to update UI
src/main/tools/telegram.executor.ts:35
↓ 10 callers
Function
throwEscape
(label: string, kind: string, targetPath: string)
src/main/utils/boundary-path.ts:47
↓ 10 callers
Method
updateUserAvatar
* Update a bound user's avatar URL
src/main/services/security.service.ts:403
↓ 9 callers
Function
clamp01
(value: number)
src/main/services/agent/context/layered/text-utils.ts:38
↓ 9 callers
Method
ensureInitialized
* Ensure storage is initialized before operations
src/main/services/proactive.storage.ts:65
↓ 9 callers
Function
isSensitiveField
(key: string)
src/main/services/secure-storage.service.ts:57
↓ 9 callers
Method
processMessage
* Process a message from polling
src/main/apps/telegram/bot.service.ts:248
↓ 9 callers
Method
setStatus
* Update and emit status
src/main/services/agent.service.ts:223
↓ 9 callers
Method
start
* Start blocking system sleep * @param type 'prevent-app-suspension' keeps system active but allows screen off * 'prevent-display-sl
src/main/services/power.service.ts:19
↓ 8 callers
Method
clearMessages
()
src/main/apps/qq/storage.ts:80
↓ 8 callers
Method
ensureInitialized
()
src/main/services/memorization.storage.ts:48
↓ 8 callers
Method
ensureInitialized
* Ensure initialized
src/main/config/settings.config.ts:394
↓ 8 callers
Function
estimateTokens
(message: Anthropic.MessageParam)
src/main/services/agent/context/token-estimator.ts:68
↓ 8 callers
Method
exportBackup
* Export encrypted backup (password-protected) * This allows users to backup and restore across systems
src/main/services/secure-storage.service.ts:235
↓ 8 callers
Method
getCurrentChatId
* Get current chat ID
src/main/apps/feishu/bot.service.ts:831
↓ 8 callers
Method
initialize
()
src/main/apps/qq/storage.ts:21
↓ 8 callers
Function
isNotFoundPathError
(err: unknown)
src/main/utils/path-guards.ts:46
↓ 8 callers
Method
sendReply
(chatId: string, chatType: string, text: string, msgId: string)
src/main/apps/qq/bot.service.ts:348
↓ 8 callers
Function
sendStartupStatus
(status: StartupStatus)
src/main/index.ts:41
↓ 8 callers
Method
sendText
* Send a text message
src/main/apps/feishu/bot.service.ts:847
↓ 8 callers
Method
tryConsumeUserInput
* Try to consume user input by services that intercept messages before the main agent. * * Currently checks: * - Proactive service: if waitin
src/main/services/infra.service.ts:334
↓ 7 callers
Function
buildPlatformPrompt
(platform: keyof typeof PLATFORM_CONFIGS)
src/main/services/agent/prompts/index.ts:26
↓ 7 callers
Method
clear
* Clear all stored values
src/main/services/secure-storage.service.ts:224
↓ 7 callers
Function
convertGeminiResponseToAnthropic
( result: GenerateContentResult, modelName: string, toolUseIdToName: Map<string, string> )
src/main/services/agent/gemini-adapter.ts:127
↓ 7 callers
Function
convertOpenAIResponseToAnthropic
( completion: OpenAI.Chat.ChatCompletion )
src/main/services/agent/openai-adapter.ts:94
↓ 7 callers
Method
convertToAppMessage
* Convert stored message to AppMessage
src/main/apps/feishu/bot.service.ts:805
↓ 7 callers
Method
emitFeishuNewMessage
* Emit Feishu new message event
src/main/events/index.ts:230
↓ 7 callers
Method
emitMessagesRefresh
* Emit messages refresh event for a platform * Used after deleting chat history to refresh UI
src/main/events/index.ts:324
↓ 7 callers
Function
getCurrentChannelId
* Get the current channel ID, or return null if not available
src/main/tools/discord.executor.ts:61
↓ 7 callers
Function
markdownToTelegramHtml
* Convert Markdown to Telegram HTML format * HTML mode is more stable than Markdown mode - it won't misparse @username, #hashtag, etc. * Only need t
src/main/apps/telegram/bot.service.ts:23
↓ 7 callers
Method
saveBoundUsersToDisk
* Save bound users to disk
src/main/services/security.service.ts:94
↓ 7 callers
Function
saveMcpConfig
(serverList: McpServer[])
src/renderer/src/components/Settings/McpSettings.tsx:170
↓ 7 callers
Method
sendResponse
(res: http.ServerResponse, statusCode: number, body: ApiResponse)
src/main/services/back-service/local-api.ts:170
↓ 7 callers
Method
stop
* Stop blocking system sleep
src/main/services/power.service.ts:32
↓ 7 callers
Function
tokenize
(input: string)
src/main/services/agent/context/layered/text-utils.ts:159
↓ 6 callers
Method
deleteMessagesByTimeRange
* Delete messages within a time range * @param startDate Start date (inclusive) * @param endDate End date (inclusive) * @returns Number of me
src/main/apps/line/storage.ts:135
↓ 6 callers
Method
deleteRecentMessages
(count: number)
src/main/apps/qq/storage.ts:86
↓ 6 callers
Method
downloadFile
* Download a file from Telegram to local storage * Returns the local file path or null if download failed
src/main/apps/telegram/bot.service.ts:698
↓ 6 callers
Method
ensureInitialized
* Ensure storage is initialized before any operation
src/main/apps/telegram/storage.ts:35
↓ 6 callers
Method
ensureInitialized
* Ensure storage is initialized before operations
src/main/apps/discord/storage.ts:35
↓ 6 callers
Method
ensureInitialized
* Ensure storage is initialized before any operation
src/main/apps/feishu/storage.ts:35
↓ 6 callers
Method
ensureInitialized
* Ensure storage is initialized before operations
src/main/apps/whatsapp/storage.ts:35
↓ 6 callers
Method
ensureInitialized
* Ensure storage is initialized before operations
src/main/apps/slack/storage.ts:35
↓ 6 callers
Method
ensureInitialized
* Ensure storage is initialized before operations
src/main/apps/line/storage.ts:35
↓ 6 callers
Function
getBashToolAccessDecision
( context: ToolExecutionContext, settingsOverride?: BashToolSettings )
src/main/services/bash-tool-access.ts:62
↓ 6 callers
Method
getCurrentChannelId
* Get current channel ID
src/main/apps/slack/bot.service.ts:600
↓ 6 callers
Method
getState
()
src/main/services/memorization.storage.ts:123
↓ 6 callers
Method
importBackup
* Import from password-protected backup
src/main/services/secure-storage.service.ts:274
↓ 6 callers
Function
initNutJs
* Initialize nut.js (lazy load)
src/main/tools/computer/windows.ts:18
↓ 6 callers
Function
makeCompletion
(overrides: Partial<OpenAI.Chat.ChatCompletion> = {})
src/main/services/agent/__tests__/openai-adapter.test.ts:247
↓ 6 callers
Function
makeResult
(overrides: Record<string, unknown> = {})
src/main/services/agent/__tests__/gemini-adapter.test.ts:263
↓ 6 callers
Method
request
( method: string, url: string, body?: string, opts?: { skipAuth?: boolean } )
src/main/apps/qq/api.ts:63
↓ 6 callers
Function
resolveFile
* Resolve file path and return file path string (for local files) or URL string * For local files, we pass the path directly to Telegram API so it ca
src/main/tools/telegram.executor.ts:185
↓ 6 callers
Method
storeMessage
* Store a message
src/main/apps/feishu/storage.ts:75
↓ 6 callers
Method
storeMessage
(message: StoredQQMessage)
src/main/apps/qq/storage.ts:57
next →
1–100 of 1,201, ranked by callers