Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BytePioneer-AI/weixin-agent-gateway
/ functions
Functions
292 in github.com/BytePioneer-AI/weixin-agent-gateway
⨍
Functions
292
◇
Types & classes
52
↓ 2 callers
Function
sendTyping
( params: WeixinApiOptions & { body: SendTypingReq }, )
src/api/api.ts:229
↓ 2 callers
Function
sendVideoMessageWeixin
(params: { to: string; text: string; uploaded: UploadedFileInfo; opts: WeixinApiOptions & { contextTok
src/messaging/send.ts:216
↓ 2 callers
Function
sendWeixinMediaFile
(params: { filePath: string; to: string; text: string; opts: WeixinApiOptions & { contextToken?: strin
src/messaging/send-media.ts:17
↓ 2 callers
Function
sendWeixinOutbound
(params: { cfg: OpenClawConfig; to: string; text: string; accountId?: string | null; contextToken?:
src/channel.ts:63
↓ 2 callers
Function
startWeixinLoginWithQr
(opts: { verbose?: boolean; timeoutMs?: number; force?: boolean; accountId?: string; apiBaseUrl: str
src/auth/login-qr.ts:127
↓ 2 callers
Function
toLocalISO
Shift a Date into local time so toISOString() renders local clock digits.
src/util/logger.ts:51
↓ 2 callers
Function
triggerWeixinChannelReload
()
src/auth/accounts.ts:297
↓ 2 callers
Function
tryResolveFrom
(specifier: string)
src/util/openclaw-tmp-dir.ts:13
↓ 2 callers
Function
waitForWeixinLogin
(opts: { timeoutMs?: number; verbose?: boolean; sessionKey: string; apiBaseUrl: string; botType?: st
src/auth/login-qr.ts:192
↓ 2 callers
Function
waitForWeixinRuntime
( timeoutMs = DEFAULT_TIMEOUT_MS, )
src/runtime.ts:33
↓ 2 callers
Method
wrapError
(err: unknown)
src/backends/lightweight/acp-subprocess-client.ts:356
↓ 2 callers
Function
writeBackendSelectionFile
(data: BackendSelectionFile)
src/router/backend-selection.ts:68
↓ 1 callers
Function
aesEcbPaddedSize
(plaintextSize: number)
src/cdn/aes-ecb.ts:19
↓ 1 callers
Method
assertCommandAvailable
(command: string)
src/backends/lightweight/acp-subprocess-client.ts:336
↓ 1 callers
Function
assertHostCompatibility
(hostVersion: string | undefined)
src/compat.ts:45
↓ 1 callers
Method
attachConnectionLifecycle
(state: AcpConnectionState)
src/backends/lightweight/acp-subprocess-client.ts:418
↓ 1 callers
Function
bodyFromItemList
(itemList?: MessageItem[])
src/messaging/inbound.ts:156
↓ 1 callers
Function
buildCdnUploadUrl
(params: { cdnBaseUrl: string; uploadParam: string; filekey: string; })
src/cdn/cdn-url.ts:11
↓ 1 callers
Function
buildHeaders
(opts: { token?: string; body: string })
src/api/api.ts:68
↓ 1 callers
Function
buildLoggerName
(accountId?: string)
src/util/logger.ts:82
↓ 1 callers
Method
buildPromptBlocks
(input: WeixinLightweightBackendInput)
src/backends/lightweight/acp-subprocess-client.ts:496
↓ 1 callers
Function
buildPublishArgs
(options)
scripts/publish-npm.mjs:331
↓ 1 callers
Function
buildSendMessageReq
Build a SendMessageReq from a reply payload (text only; image send uses sendImageMessageWeixin).
src/messaging/send.ts:71
↓ 1 callers
Function
buildTextMessageReq
Build a SendMessageReq containing a single text message.
src/messaging/send.ts:47
↓ 1 callers
Function
buildWeixinLightweightBackendInput
(params: { full: WeixinMessage; ctx: WeixinMsgContext; mediaOpts: WeixinInboundMediaOpts; accountId: s
src/backends/lightweight/input.ts:6
↓ 1 callers
Function
castDispatchArgs
(ctx: OpenClawBackendDispatchContext)
src/backends/openclaw/adapter.ts:26
↓ 1 callers
Function
castDispatcher
( dispatcher: unknown, )
src/backends/openclaw/adapter.ts:20
↓ 1 callers
Function
castOpenClawDispatchContext
(ctx: WeixinBackendDispatchContext)
src/backends/openclaw/adapter.ts:16
↓ 1 callers
Function
clearWeixinAccount
(accountId: string)
src/auth/accounts.ts:200
↓ 1 callers
Function
compareIdentifiers
(left, right)
scripts/publish-npm.mjs:120
↓ 1 callers
Function
comparePrerelease
(left, right)
scripts/publish-npm.mjs:132
↓ 1 callers
Function
compareVersions
(a: OpenClawVersion, b: OpenClawVersion)
src/compat.ts:25
↓ 1 callers
Function
countCodeFences
(text: string)
src/backends/lightweight/acp-subprocess-client.ts:165
↓ 1 callers
Method
createClientHandler
()
src/backends/lightweight/acp-subprocess-client.ts:380
↓ 1 callers
Function
createOpenClawReplyDispatcher
(params: { channelRuntime: PluginRuntime["channel"]; config: OpenClawConfig; agentId?: string | null;
src/backends/openclaw/reply-dispatch.ts:10
↓ 1 callers
Function
createOpenClawTypingCallbacks
( params: Parameters<typeof createTypingCallbacks>[0], )
src/backends/openclaw/reply-dispatch.ts:4
↓ 1 callers
Method
createProcessLogger
(proc: ChildProcessWithoutNullStreams)
src/backends/lightweight/acp-subprocess-client.ts:370
↓ 1 callers
Function
createWeixinReplyDeliverer
(params: { to: string; baseUrl: string; token?: string; contextToken?: string; cdnBaseUrl: string;
src/transport/weixin/outbound/delivery.ts:27
↓ 1 callers
Function
createWeixinReplyErrorHandler
(params: { to: string; contextToken?: string; baseUrl: string; token?: string; errLog: (message: str
src/transport/weixin/outbound/delivery.ts:117
↓ 1 callers
Function
createWeixinTypingTransportConfig
(params: { baseUrl: string; token?: string; to: string; typingTicket?: string; log: (message: string
src/transport/weixin/outbound/typing.ts:4
↓ 1 callers
Function
currentDayLogFileName
()
src/log-upload.ts:23
↓ 1 callers
Function
decryptAesEcb
(ciphertext: Buffer, key: Buffer)
src/cdn/aes-ecb.ts:13
↓ 1 callers
Function
disableOfficialPlugin
()
cli.mjs:265
↓ 1 callers
Function
downloadMediaFromItem
( item: WeixinMessage["item_list"] extends (infer T)[] | undefined ? T : never, deps: { cdnBaseUrl: st
src/media/media-download.ts:27
↓ 1 callers
Function
downloadPlainCdnBuffer
( encryptedQueryParam: string, cdnBaseUrl: string, label: string, )
src/cdn/pic-decrypt.ts:77
↓ 1 callers
Function
enablePlugin
()
cli.mjs:254
↓ 1 callers
Function
encryptAesEcb
(plaintext: Buffer, key: Buffer)
src/cdn/aes-ecb.ts:7
↓ 1 callers
Method
enqueueConversation
(conversationKey: string, task: () => Promise<T>)
src/backends/lightweight/acp-subprocess-client.ts:541
↓ 1 callers
Function
ensureClaudeAcpInstalled
()
cli.mjs:163
↓ 1 callers
Function
ensureCodexAcpInstalled
()
cli.mjs:172
↓ 1 callers
Function
ensureLoggedIn
()
scripts/publish-npm.mjs:98
↓ 1 callers
Function
ensureOpenClawInstalled
()
cli.mjs:196
↓ 1 callers
Method
ensureReady
()
src/backends/lightweight/acp-subprocess-client.ts:434
↓ 1 callers
Function
ensureTrailingSlash
(url: string)
src/api/api.ts:58
↓ 1 callers
Function
extractReadyMessageSegments
(buffer: string)
src/backends/lightweight/acp-subprocess-client.ts:169
↓ 1 callers
Function
extractTextBody
Extract text body from item_list (for slash command detection).
src/messaging/process-message.ts:61
↓ 1 callers
Function
finalizeOpenClawInboundContext
(params: { channelRuntime: PluginRuntime["channel"]; config: OpenClawConfig; route: OpenClawResolvedRout
src/backends/openclaw/session.ts:12
↓ 1 callers
Function
findAccountIdsByContextToken
(accountIds: string[], userId: string)
src/messaging/inbound.ts:110
↓ 1 callers
Function
formatBackendStatus
(ctx: SlashCommandContext)
src/messaging/slash-commands.ts:80
↓ 1 callers
Function
formatCommandForDisplay
(command: string, args: string[])
src/backends/lightweight/acp-subprocess-client.ts:147
↓ 1 callers
Function
formatPlanProgress
(update: Extract<SessionNotification["update"], { sessionUpdate: "plan" }>)
src/backends/lightweight/acp-subprocess-client.ts:206
↓ 1 callers
Function
generateMessageSid
()
src/messaging/inbound.ts:118
↓ 1 callers
Function
getConfig
( params: WeixinApiOptions & { ilinkUserId: string; contextToken?: string }, )
src/api/api.ts:209
↓ 1 callers
Function
getConfiguredUploadUrl
(config: OpenClawConfig)
src/log-upload.ts:55
↓ 1 callers
Function
getContextTokenFromMsgContext
(ctx: WeixinMsgContext)
src/messaging/inbound.ts:244
↓ 1 callers
Function
getExtensionFromContentTypeOrUrl
(contentType: string | null, url: string)
src/media/mime.ts:68
↓ 1 callers
Method
getForUser
(userId: string, contextToken?: string)
src/api/config-cache.ts:31
↓ 1 callers
Function
getLegacySyncBufDefaultJsonPath
Legacy single-account syncbuf (pre multi-account): `.openclaw-weixin-sync/default.json`.
src/storage/sync-buf.ts:22
↓ 1 callers
Method
getOrCreateSession
( conversationKey: string, connection: ClientSideConnection, )
src/backends/lightweight/acp-subprocess-client.ts:525
↓ 1 callers
Function
getSelectedBackendId
(accountId: string, peerId: string)
src/router/backend-selection.ts:84
↓ 1 callers
Function
getSyncBufFilePath
(accountId: string)
src/storage/sync-buf.ts:17
↓ 1 callers
Function
getUpdates
( params: GetUpdatesReq & { baseUrl: string; token?: string; timeoutMs?: number; }, )
src/api/api.ts:133
↓ 1 callers
Function
getUploadUrl
( params: GetUploadUrlReq & WeixinApiOptions, )
src/api/api.ts:166
↓ 1 callers
Function
getWeixinBackendAdapter
(id: ImplementedWeixinBackendId)
src/backends/registry.ts:26
↓ 1 callers
Function
handleBackendCommand
(ctx: SlashCommandContext, args: string)
src/messaging/slash-commands.ts:92
↓ 1 callers
Function
handleEcho
处理 /echo 指令
src/messaging/slash-commands.ts:59
↓ 1 callers
Method
handleSessionUpdate
(notification: SessionNotification)
src/backends/lightweight/acp-subprocess-client.ts:519
↓ 1 callers
Function
handleSlashCommand
( content: string, ctx: SlashCommandContext, receivedAt: number, eventTimestamp?: number, )
src/messaging/slash-commands.ts:125
↓ 1 callers
Method
handleUpdate
(notification: SessionNotification)
src/backends/lightweight/acp-subprocess-client.ts:244
↓ 1 callers
Function
installPlugin
(pluginSpec, { localSource = false } = {})
cli.mjs:206
↓ 1 callers
Function
isDebugMode
(accountId: string)
src/messaging/debug-mode.ts:56
↓ 1 callers
Function
isRemoteUrl
(mediaUrl: string)
src/channel.ts:46
↓ 1 callers
Function
isSessionPaused
(accountId: string)
src/api/session-guard.ts:20
↓ 1 callers
Function
loadGetUpdatesBuf
(filePath: string)
src/storage/sync-buf.ts:57
↓ 1 callers
Function
loadLegacyToken
* Legacy single-file token: `credentials/openclaw-weixin/credentials.json` (pre per-account files).
src/auth/accounts.ts:112
↓ 1 callers
Function
localDateKey
(now: Date)
src/util/logger.ts:59
↓ 1 callers
Function
loginWeixin
()
cli.mjs:288
↓ 1 callers
Function
mainLogDir
()
src/log-upload.ts:51
↓ 1 callers
Function
markDispatchIdle
()
src/messaging/process-message.ts:213
↓ 1 callers
Function
markdownToPlainText
(text: string)
src/messaging/send.ts:18
↓ 1 callers
Function
monitorWeixinProvider
(opts: MonitorWeixinOpts)
src/monitor/monitor.ts:38
↓ 1 callers
Function
parseAesKey
* 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 callers
Function
parseArgs
(argv)
scripts/publish-npm.mjs:233
↓ 1 callers
Function
pauseSession
(accountId: string)
src/api/session-guard.ts:11
↓ 1 callers
Function
pcmBytesToWav
* Wrap raw pcm_s16le bytes in a WAV container. * Mono channel, 16-bit signed little-endian.
src/media/silk-transcode.ts:10
↓ 1 callers
Function
persistContextTokens
(accountId: string)
src/messaging/inbound.ts:35
↓ 1 callers
Function
pollQRStatus
(apiBaseUrl: string, qrcode: string)
src/auth/login-qr.ts:75
↓ 1 callers
Function
printCliAvailabilityStatus
(cliStatuses)
cli.mjs:309
↓ 1 callers
Function
printNextSteps
(codexAcpInfo, claudeAcpInfo, cliStatuses)
cli.mjs:322
↓ 1 callers
Function
printUsage
()
scripts/publish-npm.mjs:26
← previous
next →
101–200 of 292, ranked by callers