MCPcopy Create free account

hub / github.com/BytePioneer-AI/weixin-agent-gateway / functions

Functions292 in github.com/BytePioneer-AI/weixin-agent-gateway

↓ 18 callersFunctionsendReply
发送回复消息
src/messaging/slash-commands.ts:49
↓ 14 callersFunctionlog
(msg: string)
src/channel.ts:229
↓ 13 callersFunctionlog
(msg)
cli.mjs:68
↓ 10 callersFunctionsetBackendSelection
( accountId: string, peerId: string, backendId: WeixinBackendId, )
src/router/backend-selection.ts:88
↓ 10 callersFunctionwarn
(msg)
cli.mjs:72
↓ 9 callersFunctionresolveStateDir
()
src/storage/state-dir.ts:5
↓ 9 callersFunctionrun
(cmd, { silent = true, cwd } = {})
cli.mjs:84
↓ 9 callersMethodrunLightweightConversation
( input: WeixinLightweightBackendInput, )
src/backends/lightweight/acp-subprocess-client.ts:556
↓ 8 callersFunctionnormalizeWeixinBackendId
(raw: string)
src/backends/contracts.ts:106
↓ 8 callersFunctionparseOpenClawVersion
(version: string)
src/compat.ts:12
↓ 7 callersFunctionsendMessageWeixin
(params: { to: string; text: string; opts: WeixinApiOptions & { contextToken?: string }; })
src/messaging/send.ts:91
↓ 6 callersFunctionloadWeixinAccount
(accountId: string)
src/auth/accounts.ts:136
↓ 5 callersFunctionapiFetch
* Common fetch wrapper: POST JSON to a Weixin API endpoint with timeout + abort. * Returns the raw response text on success; throws on HTTP error or
src/api/api.ts:92
↓ 5 callersFunctionbuildBaseInfo
()
src/api/api.ts:47
↓ 5 callersFunctioncommandExists
(bin)
cli.mjs:95
↓ 5 callersFunctioncompareVersions
(left, right)
scripts/publish-npm.mjs:157
↓ 5 callersFunctionredactBody
(body: string | undefined, maxLen = DEFAULT_BODY_MAX_LEN)
src/util/redact.ts:28
↓ 5 callersFunctionsleep
(ms: number, signal?: AbortSignal)
src/monitor/monitor.ts:210
↓ 4 callersFunctioncontextTokenKey
(accountId: string, userId: string)
src/messaging/inbound.ts:22
↓ 4 callersFunctioncreateLightweightTextReplyBudgeter
(params: { sendText: (text: string) => Promise<void>; })
src/transport/weixin/outbound/lightweight-text-budget.ts:24
↓ 4 callersFunctiondownloadAndDecryptBuffer
( encryptedQueryParam: string, aesKeyBase64: string, cdnBaseUrl: string, label: string, )
src/cdn/pic-decrypt.ts:58
↓ 4 callersFunctionerror
(msg)
cli.mjs:76
↓ 4 callersFunctionisHostVersionSupported
(hostVersion: string)
src/compat.ts:33
↓ 4 callersFunctionlistIndexedWeixinAccountIds
()
src/auth/accounts.ts:54
↓ 4 callersFunctionnormalizeProgressText
(text: string)
src/backends/lightweight/acp-subprocess-client.ts:60
↓ 4 callersFunctionnormalizeText
(text: string | undefined)
src/transport/weixin/outbound/lightweight-text-budget.ts:6
↓ 4 callersFunctionparseCommandArgs
(raw: string)
src/backends/lightweight/acp-subprocess-client.ts:90
↓ 4 callersFunctionreadFirstEnv
(names: string[])
src/backends/lightweight/acp-subprocess-client.ts:82
↓ 4 callersFunctionredactToken
(token: string | undefined, prefixLen = DEFAULT_TOKEN_PREFIX_LEN)
src/util/redact.ts:18
↓ 4 callersMethodresetState
()
src/backends/lightweight/acp-subprocess-client.ts:412
↓ 4 callersFunctionresolveAccountPath
(accountId: string)
src/auth/accounts.ts:105
↓ 4 callersFunctionresolveAccountsDir
()
src/auth/accounts.ts:101
↓ 4 callersFunctionresolveWeixinAccount
( cfg: OpenClawConfig, accountId?: string | null, )
src/auth/accounts.ts:371
↓ 4 callersFunctionresolveWeixinPreferredTmpDir
()
src/util/openclaw-tmp-dir.ts:25
↓ 4 callersFunctionwriteLog
(level: string, message: string, accountId?: string)
src/util/logger.ts:86
↓ 3 callersFunctionderiveRawAccountId
(normalizedId: string)
src/auth/accounts.ts:31
↓ 3 callersFunctiongetBackendSelection
( accountId: string, peerId: string, )
src/router/backend-selection.ts:74
↓ 3 callersFunctiongetContextToken
(accountId: string, userId: string)
src/messaging/inbound.ts:101
↓ 3 callersFunctiongetMimeFromFilename
(filename: string)
src/media/mime.ts:56
↓ 3 callersFunctionisLoginFresh
(login: ActiveLogin)
src/auth/login-qr.ts:42
↓ 3 callersFunctionisWeixinBackendId
(value: string)
src/backends/contracts.ts:96
↓ 3 callersFunctionisWindows
()
cli.mjs:80
↓ 3 callersFunctionloadConfigRouteTag
(accountId?: string)
src/auth/accounts.ts:265
↓ 3 callersFunctionmakeSelectionKey
(accountId: string, peerId: string)
src/router/backend-selection.ts:37
↓ 3 callersFunctionnormalizeErrorMessage
(err: unknown)
src/backends/lightweight/acp-subprocess-client.ts:161
↓ 3 callersFunctionparseSemver
(version)
scripts/publish-npm.mjs:106
↓ 3 callersFunctionprintManualAcpInstallHelp
({ label, packageName, envVarName, binName })
cli.mjs:104
↓ 3 callersFunctionreadBackendSelectionFile
()
src/router/backend-selection.ts:41
↓ 3 callersFunctionreadSyncBufFile
(filePath: string)
src/storage/sync-buf.ts:37
↓ 3 callersFunctionresolveAccountIndexPath
()
src/auth/accounts.ts:49
↓ 3 callersFunctionresolveContextTokenFilePath
(accountId: string)
src/messaging/inbound.ts:26
↓ 3 callersFunctionresolveDebugModePath
()
src/messaging/debug-mode.ts:21
↓ 3 callersFunctionresolveFrameworkAllowFromPath
(accountId: string)
src/auth/pairing.ts:36
↓ 3 callersFunctionresolveWeixinStateDir
()
src/auth/accounts.ts:45
↓ 3 callersFunctionrunNpm
(args, options = {})
scripts/publish-npm.mjs:53
↓ 3 callersFunctionsendMediaItems
* Send one or more MessageItems (optionally preceded by a text caption) downstream. * Each item is sent as its own request so that item_list always h
src/messaging/send.ts:125
↓ 3 callersFunctionsendText
(text: string | undefined)
src/transport/weixin/outbound/lightweight-text-budget.ts:30
↓ 3 callersFunctionuploadMediaToCdn
* Common upload pipeline: read file → hash → gen aeskey → getUploadUrl → uploadBufferToCdn → return info.
src/cdn/upload.ts:52
↓ 3 callersFunctionwritePackageJson
(dir, pkg)
scripts/publish-npm.mjs:48
↓ 2 callersFunctionassertSessionActive
(accountId: string)
src/api/session-guard.ts:43
↓ 2 callersFunctionbuildCdnDownloadUrl
(encryptedQueryParam: string, cdnBaseUrl: string)
src/cdn/cdn-url.ts:6
↓ 2 callersFunctionclearBackendSelection
(accountId: string, peerId: string)
src/router/backend-selection.ts:103
↓ 2 callersFunctionclearStaleAccountsForUserId
( currentAccountId: string, userId: string, onClearContextTokens?: (accountId: string) => void, )
src/auth/accounts.ts:228
↓ 2 callersFunctioncreateLogger
Creates a logger instance, optionally bound to a specific account.
src/util/logger.ts:120
↓ 2 callersFunctiondownloadRemoteImageToTemp
(url: string, destDir: string)
src/cdn/upload.ts:30
↓ 2 callersFunctionensureAcpWrapperInstalled
({ label, packageName, binName, envVarName })
cli.mjs:121
↓ 2 callersFunctionfetchCdnBytes
* Download raw bytes from the CDN (no decryption).
src/cdn/pic-decrypt.ts:8
↓ 2 callersFunctionfetchQRCode
(apiBaseUrl: string, botType: string)
src/auth/login-qr.ts:55
↓ 2 callersFunctiongenerateClientId
()
src/messaging/send.ts:10
↓ 2 callersFunctiongenerateId
(prefix: string)
src/util/random.ts:7
↓ 2 callersFunctiongetExtensionFromMime
(mimeType: string)
src/media/mime.ts:62
↓ 2 callersFunctiongetRemainingPauseMs
(accountId: string)
src/api/session-guard.ts:31
↓ 2 callersFunctionhelp
()
cli.mjs:405
↓ 2 callersFunctionincrementVersion
(version, bumpType)
scripts/publish-npm.mjs:180
↓ 2 callersFunctioninstall
({ pluginSpec = DEFAULT_PLUGIN_SPEC, localSource = false, } = {})
cli.mjs:389
↓ 2 callersFunctionisImplementedWeixinBackendId
( value: WeixinBackendId, )
src/backends/contracts.ts:100
↓ 2 callersFunctionisLocalFilePath
Returns true when mediaUrl refers to a local filesystem path (absolute or relative).
src/channel.ts:41
↓ 2 callersFunctionisMediaItem
(item: MessageItem)
src/messaging/inbound.ts:147
↓ 2 callersFunctionisWindows
()
src/backends/lightweight/acp-subprocess-client.ts:56
↓ 2 callersFunctionjoinTextParts
(parts: string[])
src/transport/weixin/outbound/lightweight-text-budget.ts:11
↓ 2 callersFunctionlistWeixinAccountIds
(_cfg: OpenClawConfig)
src/auth/accounts.ts:366
↓ 2 callersFunctionloadState
()
src/messaging/debug-mode.ts:25
↓ 2 callersMethodon
(event: "end", cb: () => void)
src/vendor.d.ts:19
↓ 2 callersMethodqueueProgress
(progress: WeixinLightweightBackendProgress)
src/backends/lightweight/acp-subprocess-client.ts:224
↓ 2 callersFunctionreadAccountFile
(filePath: string)
src/auth/accounts.ts:124
↓ 2 callersFunctionredactUrl
(rawUrl: string)
src/util/redact.ts:38
↓ 2 callersFunctionregisterWeixinAccountId
(accountId: string)
src/auth/accounts.ts:68
↓ 2 callersFunctionresolveAccountsDir
()
src/storage/sync-buf.ts:9
↓ 2 callersFunctionresolveBackendSelectionDir
()
src/router/backend-selection.ts:29
↓ 2 callersFunctionresolveBackendSelectionPath
()
src/router/backend-selection.ts:33
↓ 2 callersMethodresolveCommand
()
src/backends/lightweight/acp-subprocess-client.ts:325
↓ 2 callersFunctionresolveCommandPath
(command: string)
src/backends/lightweight/acp-subprocess-client.ts:65
↓ 2 callersMethodresolveCwd
()
src/backends/lightweight/acp-subprocess-client.ts:343
↓ 2 callersFunctionresolveMainLogPath
()
src/util/logger.ts:63
↓ 2 callersFunctionresolveNpmInvocation
(args)
scripts/publish-npm.mjs:11
↓ 2 callersFunctionresolveOutboundAccountId
(cfg: OpenClawConfig, to: string)
src/transport/weixin/outbound/account-selection.ts:8
↓ 2 callersFunctionsafeKey
* Sanitize a channel/account key for safe use in filenames (mirrors core safeChannelKey).
src/auth/pairing.ts:23
↓ 2 callersFunctionsaveWeixinAccount
( accountId: string, update: { token?: string; baseUrl?: string; userId?: string }, )
src/auth/accounts.ts:162
↓ 2 callersFunctionsendFileMessageWeixin
(params: { to: string; text: string; fileName: string; uploaded: UploadedFileInfo; opts: WeixinApiOp
src/messaging/send.ts:247
↓ 2 callersFunctionsendImageMessageWeixin
(params: { to: string; text: string; uploaded: UploadedFileInfo; opts: WeixinApiOptions & { contextTok
src/messaging/send.ts:182
next →1–100 of 292, ranked by callers