MCPcopy Create free account

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

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

↓ 2 callersFunctionsendTyping
( params: WeixinApiOptions & { body: SendTypingReq }, )
src/api/api.ts:229
↓ 2 callersFunctionsendVideoMessageWeixin
(params: { to: string; text: string; uploaded: UploadedFileInfo; opts: WeixinApiOptions & { contextTok
src/messaging/send.ts:216
↓ 2 callersFunctionsendWeixinMediaFile
(params: { filePath: string; to: string; text: string; opts: WeixinApiOptions & { contextToken?: strin
src/messaging/send-media.ts:17
↓ 2 callersFunctionsendWeixinOutbound
(params: { cfg: OpenClawConfig; to: string; text: string; accountId?: string | null; contextToken?:
src/channel.ts:63
↓ 2 callersFunctionstartWeixinLoginWithQr
(opts: { verbose?: boolean; timeoutMs?: number; force?: boolean; accountId?: string; apiBaseUrl: str
src/auth/login-qr.ts:127
↓ 2 callersFunctiontoLocalISO
Shift a Date into local time so toISOString() renders local clock digits.
src/util/logger.ts:51
↓ 2 callersFunctiontriggerWeixinChannelReload
()
src/auth/accounts.ts:297
↓ 2 callersFunctiontryResolveFrom
(specifier: string)
src/util/openclaw-tmp-dir.ts:13
↓ 2 callersFunctionwaitForWeixinLogin
(opts: { timeoutMs?: number; verbose?: boolean; sessionKey: string; apiBaseUrl: string; botType?: st
src/auth/login-qr.ts:192
↓ 2 callersFunctionwaitForWeixinRuntime
( timeoutMs = DEFAULT_TIMEOUT_MS, )
src/runtime.ts:33
↓ 2 callersMethodwrapError
(err: unknown)
src/backends/lightweight/acp-subprocess-client.ts:356
↓ 2 callersFunctionwriteBackendSelectionFile
(data: BackendSelectionFile)
src/router/backend-selection.ts:68
↓ 1 callersFunctionaesEcbPaddedSize
(plaintextSize: number)
src/cdn/aes-ecb.ts:19
↓ 1 callersMethodassertCommandAvailable
(command: string)
src/backends/lightweight/acp-subprocess-client.ts:336
↓ 1 callersFunctionassertHostCompatibility
(hostVersion: string | undefined)
src/compat.ts:45
↓ 1 callersMethodattachConnectionLifecycle
(state: AcpConnectionState)
src/backends/lightweight/acp-subprocess-client.ts:418
↓ 1 callersFunctionbodyFromItemList
(itemList?: MessageItem[])
src/messaging/inbound.ts:156
↓ 1 callersFunctionbuildCdnUploadUrl
(params: { cdnBaseUrl: string; uploadParam: string; filekey: string; })
src/cdn/cdn-url.ts:11
↓ 1 callersFunctionbuildHeaders
(opts: { token?: string; body: string })
src/api/api.ts:68
↓ 1 callersFunctionbuildLoggerName
(accountId?: string)
src/util/logger.ts:82
↓ 1 callersMethodbuildPromptBlocks
(input: WeixinLightweightBackendInput)
src/backends/lightweight/acp-subprocess-client.ts:496
↓ 1 callersFunctionbuildPublishArgs
(options)
scripts/publish-npm.mjs:331
↓ 1 callersFunctionbuildSendMessageReq
Build a SendMessageReq from a reply payload (text only; image send uses sendImageMessageWeixin).
src/messaging/send.ts:71
↓ 1 callersFunctionbuildTextMessageReq
Build a SendMessageReq containing a single text message.
src/messaging/send.ts:47
↓ 1 callersFunctionbuildWeixinLightweightBackendInput
(params: { full: WeixinMessage; ctx: WeixinMsgContext; mediaOpts: WeixinInboundMediaOpts; accountId: s
src/backends/lightweight/input.ts:6
↓ 1 callersFunctioncastDispatchArgs
(ctx: OpenClawBackendDispatchContext)
src/backends/openclaw/adapter.ts:26
↓ 1 callersFunctioncastDispatcher
( dispatcher: unknown, )
src/backends/openclaw/adapter.ts:20
↓ 1 callersFunctioncastOpenClawDispatchContext
(ctx: WeixinBackendDispatchContext)
src/backends/openclaw/adapter.ts:16
↓ 1 callersFunctionclearWeixinAccount
(accountId: string)
src/auth/accounts.ts:200
↓ 1 callersFunctioncompareIdentifiers
(left, right)
scripts/publish-npm.mjs:120
↓ 1 callersFunctioncomparePrerelease
(left, right)
scripts/publish-npm.mjs:132
↓ 1 callersFunctioncompareVersions
(a: OpenClawVersion, b: OpenClawVersion)
src/compat.ts:25
↓ 1 callersFunctioncountCodeFences
(text: string)
src/backends/lightweight/acp-subprocess-client.ts:165
↓ 1 callersMethodcreateClientHandler
()
src/backends/lightweight/acp-subprocess-client.ts:380
↓ 1 callersFunctioncreateOpenClawReplyDispatcher
(params: { channelRuntime: PluginRuntime["channel"]; config: OpenClawConfig; agentId?: string | null;
src/backends/openclaw/reply-dispatch.ts:10
↓ 1 callersFunctioncreateOpenClawTypingCallbacks
( params: Parameters<typeof createTypingCallbacks>[0], )
src/backends/openclaw/reply-dispatch.ts:4
↓ 1 callersMethodcreateProcessLogger
(proc: ChildProcessWithoutNullStreams)
src/backends/lightweight/acp-subprocess-client.ts:370
↓ 1 callersFunctioncreateWeixinReplyDeliverer
(params: { to: string; baseUrl: string; token?: string; contextToken?: string; cdnBaseUrl: string;
src/transport/weixin/outbound/delivery.ts:27
↓ 1 callersFunctioncreateWeixinReplyErrorHandler
(params: { to: string; contextToken?: string; baseUrl: string; token?: string; errLog: (message: str
src/transport/weixin/outbound/delivery.ts:117
↓ 1 callersFunctioncreateWeixinTypingTransportConfig
(params: { baseUrl: string; token?: string; to: string; typingTicket?: string; log: (message: string
src/transport/weixin/outbound/typing.ts:4
↓ 1 callersFunctioncurrentDayLogFileName
()
src/log-upload.ts:23
↓ 1 callersFunctiondecryptAesEcb
(ciphertext: Buffer, key: Buffer)
src/cdn/aes-ecb.ts:13
↓ 1 callersFunctiondisableOfficialPlugin
()
cli.mjs:265
↓ 1 callersFunctiondownloadMediaFromItem
( item: WeixinMessage["item_list"] extends (infer T)[] | undefined ? T : never, deps: { cdnBaseUrl: st
src/media/media-download.ts:27
↓ 1 callersFunctiondownloadPlainCdnBuffer
( encryptedQueryParam: string, cdnBaseUrl: string, label: string, )
src/cdn/pic-decrypt.ts:77
↓ 1 callersFunctionenablePlugin
()
cli.mjs:254
↓ 1 callersFunctionencryptAesEcb
(plaintext: Buffer, key: Buffer)
src/cdn/aes-ecb.ts:7
↓ 1 callersMethodenqueueConversation
(conversationKey: string, task: () => Promise<T>)
src/backends/lightweight/acp-subprocess-client.ts:541
↓ 1 callersFunctionensureClaudeAcpInstalled
()
cli.mjs:163
↓ 1 callersFunctionensureCodexAcpInstalled
()
cli.mjs:172
↓ 1 callersFunctionensureLoggedIn
()
scripts/publish-npm.mjs:98
↓ 1 callersFunctionensureOpenClawInstalled
()
cli.mjs:196
↓ 1 callersMethodensureReady
()
src/backends/lightweight/acp-subprocess-client.ts:434
↓ 1 callersFunctionensureTrailingSlash
(url: string)
src/api/api.ts:58
↓ 1 callersFunctionextractReadyMessageSegments
(buffer: string)
src/backends/lightweight/acp-subprocess-client.ts:169
↓ 1 callersFunctionextractTextBody
Extract text body from item_list (for slash command detection).
src/messaging/process-message.ts:61
↓ 1 callersFunctionfinalizeOpenClawInboundContext
(params: { channelRuntime: PluginRuntime["channel"]; config: OpenClawConfig; route: OpenClawResolvedRout
src/backends/openclaw/session.ts:12
↓ 1 callersFunctionfindAccountIdsByContextToken
(accountIds: string[], userId: string)
src/messaging/inbound.ts:110
↓ 1 callersFunctionformatBackendStatus
(ctx: SlashCommandContext)
src/messaging/slash-commands.ts:80
↓ 1 callersFunctionformatCommandForDisplay
(command: string, args: string[])
src/backends/lightweight/acp-subprocess-client.ts:147
↓ 1 callersFunctionformatPlanProgress
(update: Extract<SessionNotification["update"], { sessionUpdate: "plan" }>)
src/backends/lightweight/acp-subprocess-client.ts:206
↓ 1 callersFunctiongenerateMessageSid
()
src/messaging/inbound.ts:118
↓ 1 callersFunctiongetConfig
( params: WeixinApiOptions & { ilinkUserId: string; contextToken?: string }, )
src/api/api.ts:209
↓ 1 callersFunctiongetConfiguredUploadUrl
(config: OpenClawConfig)
src/log-upload.ts:55
↓ 1 callersFunctiongetContextTokenFromMsgContext
(ctx: WeixinMsgContext)
src/messaging/inbound.ts:244
↓ 1 callersFunctiongetExtensionFromContentTypeOrUrl
(contentType: string | null, url: string)
src/media/mime.ts:68
↓ 1 callersMethodgetForUser
(userId: string, contextToken?: string)
src/api/config-cache.ts:31
↓ 1 callersFunctiongetLegacySyncBufDefaultJsonPath
Legacy single-account syncbuf (pre multi-account): `.openclaw-weixin-sync/default.json`.
src/storage/sync-buf.ts:22
↓ 1 callersMethodgetOrCreateSession
( conversationKey: string, connection: ClientSideConnection, )
src/backends/lightweight/acp-subprocess-client.ts:525
↓ 1 callersFunctiongetSelectedBackendId
(accountId: string, peerId: string)
src/router/backend-selection.ts:84
↓ 1 callersFunctiongetSyncBufFilePath
(accountId: string)
src/storage/sync-buf.ts:17
↓ 1 callersFunctiongetUpdates
( params: GetUpdatesReq & { baseUrl: string; token?: string; timeoutMs?: number; }, )
src/api/api.ts:133
↓ 1 callersFunctiongetUploadUrl
( params: GetUploadUrlReq & WeixinApiOptions, )
src/api/api.ts:166
↓ 1 callersFunctiongetWeixinBackendAdapter
(id: ImplementedWeixinBackendId)
src/backends/registry.ts:26
↓ 1 callersFunctionhandleBackendCommand
(ctx: SlashCommandContext, args: string)
src/messaging/slash-commands.ts:92
↓ 1 callersFunctionhandleEcho
处理 /echo 指令
src/messaging/slash-commands.ts:59
↓ 1 callersMethodhandleSessionUpdate
(notification: SessionNotification)
src/backends/lightweight/acp-subprocess-client.ts:519
↓ 1 callersFunctionhandleSlashCommand
( content: string, ctx: SlashCommandContext, receivedAt: number, eventTimestamp?: number, )
src/messaging/slash-commands.ts:125
↓ 1 callersMethodhandleUpdate
(notification: SessionNotification)
src/backends/lightweight/acp-subprocess-client.ts:244
↓ 1 callersFunctioninstallPlugin
(pluginSpec, { localSource = false } = {})
cli.mjs:206
↓ 1 callersFunctionisDebugMode
(accountId: string)
src/messaging/debug-mode.ts:56
↓ 1 callersFunctionisRemoteUrl
(mediaUrl: string)
src/channel.ts:46
↓ 1 callersFunctionisSessionPaused
(accountId: string)
src/api/session-guard.ts:20
↓ 1 callersFunctionloadGetUpdatesBuf
(filePath: string)
src/storage/sync-buf.ts:57
↓ 1 callersFunctionloadLegacyToken
* Legacy single-file token: `credentials/openclaw-weixin/credentials.json` (pre per-account files).
src/auth/accounts.ts:112
↓ 1 callersFunctionlocalDateKey
(now: Date)
src/util/logger.ts:59
↓ 1 callersFunctionloginWeixin
()
cli.mjs:288
↓ 1 callersFunctionmainLogDir
()
src/log-upload.ts:51
↓ 1 callersFunctionmarkDispatchIdle
()
src/messaging/process-message.ts:213
↓ 1 callersFunctionmarkdownToPlainText
(text: string)
src/messaging/send.ts:18
↓ 1 callersFunctionmonitorWeixinProvider
(opts: MonitorWeixinOpts)
src/monitor/monitor.ts:38
↓ 1 callersFunctionparseAesKey
* Parse CDNMedia.aes_key into a raw 16-byte AES key. * * Two encodings are seen in the wild: * - base64(raw 16 bytes) → images (aes_key
src/cdn/pic-decrypt.ts:40
↓ 1 callersFunctionparseArgs
(argv)
scripts/publish-npm.mjs:233
↓ 1 callersFunctionpauseSession
(accountId: string)
src/api/session-guard.ts:11
↓ 1 callersFunctionpcmBytesToWav
* Wrap raw pcm_s16le bytes in a WAV container. * Mono channel, 16-bit signed little-endian.
src/media/silk-transcode.ts:10
↓ 1 callersFunctionpersistContextTokens
(accountId: string)
src/messaging/inbound.ts:35
↓ 1 callersFunctionpollQRStatus
(apiBaseUrl: string, qrcode: string)
src/auth/login-qr.ts:75
↓ 1 callersFunctionprintCliAvailabilityStatus
(cliStatuses)
cli.mjs:309
↓ 1 callersFunctionprintNextSteps
(codexAcpInfo, claudeAcpInfo, cliStatuses)
cli.mjs:322
↓ 1 callersFunctionprintUsage
()
scripts/publish-npm.mjs:26
← previousnext →101–200 of 292, ranked by callers