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
↓ 1 callers
Function
processOneMessage
( full: WeixinMessage, deps: ProcessMessageDeps, )
src/messaging/process-message.ts:75
↓ 1 callers
Function
publishOne
(options)
scripts/publish-npm.mjs:348
↓ 1 callers
Function
purgeExpiredLogins
Remove all expired entries from the activeLogins map to prevent memory leaks.
src/auth/login-qr.ts:47
↓ 1 callers
Function
randomWechatUin
X-WECHAT-UIN header: random uint32 -> decimal string -> base64.
src/api/api.ts:63
↓ 1 callers
Function
readChannelVersion
()
src/api/api.ts:33
↓ 1 callers
Function
readFrameworkAllowFromList
(accountId: string)
src/auth/pairing.ts:51
↓ 1 callers
Function
readPackageJson
(dir)
scripts/publish-npm.mjs:43
↓ 1 callers
Function
recordOpenClawInboundSession
(params: { channelRuntime: PluginRuntime["channel"]; storePath: string; route: OpenClawResolvedRoute;
src/backends/openclaw/session.ts:31
↓ 1 callers
Function
registerWeixinCli
(params: { program: CliCommand; config: OpenClawConfig })
src/log-upload.ts:63
↓ 1 callers
Method
resolveArgs
()
src/backends/lightweight/acp-subprocess-client.ts:330
↓ 1 callers
Function
resolveConfigPath
* Resolve the openclaw.json config file path. * Checks OPENCLAW_CONFIG env var, then state dir.
src/auth/accounts.ts:254
↓ 1 callers
Function
resolveCredentialsDir
* Resolve the framework credentials directory (mirrors core resolveOAuthDir). * Path: $OPENCLAW_OAUTH_DIR || $OPENCLAW_STATE_DIR/credentials || ~/.op
src/auth/pairing.ts:14
↓ 1 callers
Function
resolveLatestVersion
(versions)
scripts/publish-npm.mjs:173
↓ 1 callers
Function
resolveLocalPath
Resolve any local path scheme to an absolute filesystem path.
src/channel.ts:56
↓ 1 callers
Function
resolveLocalPluginSpec
(rawPath)
cli.mjs:249
↓ 1 callers
Function
resolveLogFileName
* Parse --file argument: accepts a short 8-digit date (YYYYMMDD) * like "20260316", a full filename like "openclaw-2026-03-16.log", * or a legacy 10
src/log-upload.ts:35
↓ 1 callers
Function
resolveMinLevel
()
src/util/logger.ts:33
↓ 1 callers
Function
resolveOpenClawAgentRoute
(params: { channelRuntime: PluginRuntime["channel"]; config: OpenClawConfig; accountId: string; peerId
src/backends/openclaw/routing.ts:7
↓ 1 callers
Function
resolveOpenClawAuthorization
(params: { config: OpenClawConfig; accountId: string; rawBody: string; senderId: string; channelRunt
src/backends/openclaw/auth.ts:16
↓ 1 callers
Method
resolvePermissionMode
()
src/backends/lightweight/acp-subprocess-client.ts:351
↓ 1 callers
Function
resolvePublishedVersions
(packageName)
scripts/publish-npm.mjs:75
↓ 1 callers
Function
resolveTargetVersion
(pkgVersion, latestPublishedVersion, options)
scripts/publish-npm.mjs:195
↓ 1 callers
Function
resolveWeixinBackend
(params: { accountId: string; peerId: string; })
src/router/backend-router.ts:11
↓ 1 callers
Function
resolveWeixinBackendAdapter
(params: { resolvedBackend: ResolvedWeixinBackend; accountId: string; })
src/router/backend-router.ts:32
↓ 1 callers
Function
restartGateway
()
cli.mjs:299
↓ 1 callers
Function
restoreContextTokens
(accountId: string)
src/messaging/inbound.ts:53
↓ 1 callers
Function
saveGetUpdatesBuf
(filePath: string, getUpdatesBuf: string)
src/storage/sync-buf.ts:78
↓ 1 callers
Function
saveState
(state: DebugModeState)
src/messaging/debug-mode.ts:36
↓ 1 callers
Function
selectPermissionOption
(options: PermissionOption[])
src/backends/lightweight/acp-subprocess-client.ts:152
↓ 1 callers
Function
sendWeixinErrorNotice
(params: { to: string; contextToken: string | undefined; message: string; baseUrl: string; token?: s
src/messaging/error-notice.ts:9
↓ 1 callers
Function
setContextToken
(accountId: string, userId: string, token: string)
src/messaging/inbound.ts:93
↓ 1 callers
Function
setWeixinRuntime
(next: PluginRuntime)
src/runtime.ts:12
↓ 1 callers
Function
silkToWav
(silkBuf: Buffer)
src/media/silk-transcode.ts:57
↓ 1 callers
Function
tempFileName
(prefix: string, ext: string)
src/util/random.ts:15
↓ 1 callers
Method
toOutput
(stopReason?: string)
src/backends/lightweight/acp-subprocess-client.ts:287
↓ 1 callers
Function
toggleDebugMode
(accountId: string)
src/messaging/debug-mode.ts:43
↓ 1 callers
Function
truncate
(s: string | undefined, max: number)
src/util/redact.ts:8
↓ 1 callers
Function
unregisterWeixinAccountId
(accountId: string)
src/auth/accounts.ts:80
↓ 1 callers
Function
uploadBufferToCdn
(params: { buf: Buffer; uploadParam: string; filekey: string; cdnBaseUrl: string; label: string; a
src/cdn/cdn-upload.ts:14
↓ 1 callers
Function
uploadFileAttachmentToWeixin
(params: { filePath: string; fileName: string; toUserId: string; opts: WeixinApiOptions; cdnBaseUrl:
src/cdn/upload.ts:143
↓ 1 callers
Function
uploadFileToWeixin
(params: { filePath: string; toUserId: string; opts: WeixinApiOptions; cdnBaseUrl: string; })
src/cdn/upload.ts:112
↓ 1 callers
Function
uploadVideoToWeixin
(params: { filePath: string; toUserId: string; opts: WeixinApiOptions; cdnBaseUrl: string; })
src/cdn/upload.ts:126
↓ 1 callers
Function
weixinMessageToMsgContext
( msg: WeixinMessage, accountId: string, opts?: WeixinInboundMediaOpts, )
src/messaging/inbound.ts:204
Function
_resetForTest
()
src/messaging/debug-mode.ts:64
Function
_resetForTest
()
src/api/session-guard.ts:56
Function
clearContextTokensForAccount
(accountId: string)
src/messaging/inbound.ts:73
Function
close
()
src/util/logger.ts:140
Method
constructor
()
src/backends/cursor/acp-client.ts:4
Method
constructor
()
src/backends/qoder/acp-client.ts:4
Method
constructor
()
src/backends/copilot/acp-client.ts:4
Method
constructor
()
src/backends/auggie/acp-client.ts:4
Method
constructor
()
src/backends/opencode/acp-client.ts:4
Method
constructor
( private readonly options: AcpSubprocessClientOptions, private readonly emitProgress?: WeixinLightwei
src/backends/lightweight/acp-subprocess-client.ts:219
Method
constructor
(private readonly options: AcpSubprocessClientOptions)
src/backends/lightweight/acp-subprocess-client.ts:323
Method
constructor
()
src/backends/qwen/acp-client.ts:4
Method
constructor
()
src/backends/codex/acp-client.ts:4
Method
constructor
()
src/backends/claude/acp-client.ts:4
Method
constructor
()
src/backends/kimi/acp-client.ts:4
Method
constructor
( private apiOpts: { baseUrl: string; token?: string }, private log: (msg: string) => void, )
src/api/config-cache.ts:26
Function
debug
(message: string)
src/util/logger.ts:125
Function
dispatch
(ctx)
src/backends/openclaw/adapter.ts:43
Method
dispose
()
src/backends/lightweight/acp-subprocess-client.ts:580
Function
error
(message: string)
src/util/logger.ts:131
Function
finish
(finalText)
src/transport/weixin/outbound/lightweight-text-budget.ts:56
Method
frames
(n: number)
src/vendor.d.ts:16
Function
getLogFilePath
()
src/util/logger.ts:137
Function
getWeixinRuntime
()
src/runtime.ts:20
Function
info
(message: string)
src/util/logger.ts:122
Function
inspectCliAvailability
({ label, binName, envVarName, loginHint })
cli.mjs:181
Function
listImplementedWeixinBackendAdapters
()
src/backends/registry.ts:30
Method
output
(path: string)
src/vendor.d.ts:18
Method
outputOptions
(opts: string[])
src/vendor.d.ts:17
Function
pushProgress
(text)
src/transport/weixin/outbound/lightweight-text-budget.ts:39
Function
register
(api: OpenClawPluginApi)
index.ts:19
Function
registerUserInFrameworkStore
(params: { accountId: string; userId: string; })
src/auth/pairing.ts:79
Function
reply
(input)
src/backends/cursor/adapter.ts:9
Function
reply
(input)
src/backends/qoder/adapter.ts:9
Function
reply
(input)
src/backends/copilot/adapter.ts:9
Function
reply
(input)
src/backends/auggie/adapter.ts:9
Function
reply
(input)
src/backends/opencode/adapter.ts:9
Function
reply
(input)
src/backends/qwen/adapter.ts:9
Function
reply
(input)
src/backends/codex/adapter.ts:9
Function
reply
(input)
src/backends/claude/adapter.ts:9
Function
reply
(input)
src/backends/kimi/adapter.ts:9
Function
resolveWeixinChannelRuntime
(params: { channelRuntime?: PluginChannelRuntime; waitTimeoutMs?: number; })
src/runtime.ts:53
Method
run
()
src/vendor.d.ts:21
Method
seekInput
(time: number)
src/vendor.d.ts:15
Function
sendMessage
( params: WeixinApiOptions & { body: SendMessageReq }, )
src/api/api.ts:195
Method
setFfmpegPath
(path: string)
src/vendor.d.ts:14
Function
setLogLevel
(level: string)
src/util/logger.ts:42
Function
warn
(message: string)
src/util/logger.ts:128
Function
withAccount
(id: string)
src/util/logger.ts:134
← previous
201–292 of 292, ranked by callers