MCPcopy Create free account

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

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

↓ 1 callersFunctionprocessOneMessage
( full: WeixinMessage, deps: ProcessMessageDeps, )
src/messaging/process-message.ts:75
↓ 1 callersFunctionpublishOne
(options)
scripts/publish-npm.mjs:348
↓ 1 callersFunctionpurgeExpiredLogins
Remove all expired entries from the activeLogins map to prevent memory leaks.
src/auth/login-qr.ts:47
↓ 1 callersFunctionrandomWechatUin
X-WECHAT-UIN header: random uint32 -> decimal string -> base64.
src/api/api.ts:63
↓ 1 callersFunctionreadChannelVersion
()
src/api/api.ts:33
↓ 1 callersFunctionreadFrameworkAllowFromList
(accountId: string)
src/auth/pairing.ts:51
↓ 1 callersFunctionreadPackageJson
(dir)
scripts/publish-npm.mjs:43
↓ 1 callersFunctionrecordOpenClawInboundSession
(params: { channelRuntime: PluginRuntime["channel"]; storePath: string; route: OpenClawResolvedRoute;
src/backends/openclaw/session.ts:31
↓ 1 callersFunctionregisterWeixinCli
(params: { program: CliCommand; config: OpenClawConfig })
src/log-upload.ts:63
↓ 1 callersMethodresolveArgs
()
src/backends/lightweight/acp-subprocess-client.ts:330
↓ 1 callersFunctionresolveConfigPath
* Resolve the openclaw.json config file path. * Checks OPENCLAW_CONFIG env var, then state dir.
src/auth/accounts.ts:254
↓ 1 callersFunctionresolveCredentialsDir
* Resolve the framework credentials directory (mirrors core resolveOAuthDir). * Path: $OPENCLAW_OAUTH_DIR || $OPENCLAW_STATE_DIR/credentials || ~/.op
src/auth/pairing.ts:14
↓ 1 callersFunctionresolveLatestVersion
(versions)
scripts/publish-npm.mjs:173
↓ 1 callersFunctionresolveLocalPath
Resolve any local path scheme to an absolute filesystem path.
src/channel.ts:56
↓ 1 callersFunctionresolveLocalPluginSpec
(rawPath)
cli.mjs:249
↓ 1 callersFunctionresolveLogFileName
* 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 callersFunctionresolveMinLevel
()
src/util/logger.ts:33
↓ 1 callersFunctionresolveOpenClawAgentRoute
(params: { channelRuntime: PluginRuntime["channel"]; config: OpenClawConfig; accountId: string; peerId
src/backends/openclaw/routing.ts:7
↓ 1 callersFunctionresolveOpenClawAuthorization
(params: { config: OpenClawConfig; accountId: string; rawBody: string; senderId: string; channelRunt
src/backends/openclaw/auth.ts:16
↓ 1 callersMethodresolvePermissionMode
()
src/backends/lightweight/acp-subprocess-client.ts:351
↓ 1 callersFunctionresolvePublishedVersions
(packageName)
scripts/publish-npm.mjs:75
↓ 1 callersFunctionresolveTargetVersion
(pkgVersion, latestPublishedVersion, options)
scripts/publish-npm.mjs:195
↓ 1 callersFunctionresolveWeixinBackend
(params: { accountId: string; peerId: string; })
src/router/backend-router.ts:11
↓ 1 callersFunctionresolveWeixinBackendAdapter
(params: { resolvedBackend: ResolvedWeixinBackend; accountId: string; })
src/router/backend-router.ts:32
↓ 1 callersFunctionrestartGateway
()
cli.mjs:299
↓ 1 callersFunctionrestoreContextTokens
(accountId: string)
src/messaging/inbound.ts:53
↓ 1 callersFunctionsaveGetUpdatesBuf
(filePath: string, getUpdatesBuf: string)
src/storage/sync-buf.ts:78
↓ 1 callersFunctionsaveState
(state: DebugModeState)
src/messaging/debug-mode.ts:36
↓ 1 callersFunctionselectPermissionOption
(options: PermissionOption[])
src/backends/lightweight/acp-subprocess-client.ts:152
↓ 1 callersFunctionsendWeixinErrorNotice
(params: { to: string; contextToken: string | undefined; message: string; baseUrl: string; token?: s
src/messaging/error-notice.ts:9
↓ 1 callersFunctionsetContextToken
(accountId: string, userId: string, token: string)
src/messaging/inbound.ts:93
↓ 1 callersFunctionsetWeixinRuntime
(next: PluginRuntime)
src/runtime.ts:12
↓ 1 callersFunctionsilkToWav
(silkBuf: Buffer)
src/media/silk-transcode.ts:57
↓ 1 callersFunctiontempFileName
(prefix: string, ext: string)
src/util/random.ts:15
↓ 1 callersMethodtoOutput
(stopReason?: string)
src/backends/lightweight/acp-subprocess-client.ts:287
↓ 1 callersFunctiontoggleDebugMode
(accountId: string)
src/messaging/debug-mode.ts:43
↓ 1 callersFunctiontruncate
(s: string | undefined, max: number)
src/util/redact.ts:8
↓ 1 callersFunctionunregisterWeixinAccountId
(accountId: string)
src/auth/accounts.ts:80
↓ 1 callersFunctionuploadBufferToCdn
(params: { buf: Buffer; uploadParam: string; filekey: string; cdnBaseUrl: string; label: string; a
src/cdn/cdn-upload.ts:14
↓ 1 callersFunctionuploadFileAttachmentToWeixin
(params: { filePath: string; fileName: string; toUserId: string; opts: WeixinApiOptions; cdnBaseUrl:
src/cdn/upload.ts:143
↓ 1 callersFunctionuploadFileToWeixin
(params: { filePath: string; toUserId: string; opts: WeixinApiOptions; cdnBaseUrl: string; })
src/cdn/upload.ts:112
↓ 1 callersFunctionuploadVideoToWeixin
(params: { filePath: string; toUserId: string; opts: WeixinApiOptions; cdnBaseUrl: string; })
src/cdn/upload.ts:126
↓ 1 callersFunctionweixinMessageToMsgContext
( 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
FunctionclearContextTokensForAccount
(accountId: string)
src/messaging/inbound.ts:73
Functionclose
()
src/util/logger.ts:140
Methodconstructor
()
src/backends/cursor/acp-client.ts:4
Methodconstructor
()
src/backends/qoder/acp-client.ts:4
Methodconstructor
()
src/backends/copilot/acp-client.ts:4
Methodconstructor
()
src/backends/auggie/acp-client.ts:4
Methodconstructor
()
src/backends/opencode/acp-client.ts:4
Methodconstructor
( private readonly options: AcpSubprocessClientOptions, private readonly emitProgress?: WeixinLightwei
src/backends/lightweight/acp-subprocess-client.ts:219
Methodconstructor
(private readonly options: AcpSubprocessClientOptions)
src/backends/lightweight/acp-subprocess-client.ts:323
Methodconstructor
()
src/backends/qwen/acp-client.ts:4
Methodconstructor
()
src/backends/codex/acp-client.ts:4
Methodconstructor
()
src/backends/claude/acp-client.ts:4
Methodconstructor
()
src/backends/kimi/acp-client.ts:4
Methodconstructor
( private apiOpts: { baseUrl: string; token?: string }, private log: (msg: string) => void, )
src/api/config-cache.ts:26
Functiondebug
(message: string)
src/util/logger.ts:125
Functiondispatch
(ctx)
src/backends/openclaw/adapter.ts:43
Methoddispose
()
src/backends/lightweight/acp-subprocess-client.ts:580
Functionerror
(message: string)
src/util/logger.ts:131
Functionfinish
(finalText)
src/transport/weixin/outbound/lightweight-text-budget.ts:56
Methodframes
(n: number)
src/vendor.d.ts:16
FunctiongetLogFilePath
()
src/util/logger.ts:137
FunctiongetWeixinRuntime
()
src/runtime.ts:20
Functioninfo
(message: string)
src/util/logger.ts:122
FunctioninspectCliAvailability
({ label, binName, envVarName, loginHint })
cli.mjs:181
FunctionlistImplementedWeixinBackendAdapters
()
src/backends/registry.ts:30
Methodoutput
(path: string)
src/vendor.d.ts:18
MethodoutputOptions
(opts: string[])
src/vendor.d.ts:17
FunctionpushProgress
(text)
src/transport/weixin/outbound/lightweight-text-budget.ts:39
Functionregister
(api: OpenClawPluginApi)
index.ts:19
FunctionregisterUserInFrameworkStore
(params: { accountId: string; userId: string; })
src/auth/pairing.ts:79
Functionreply
(input)
src/backends/cursor/adapter.ts:9
Functionreply
(input)
src/backends/qoder/adapter.ts:9
Functionreply
(input)
src/backends/copilot/adapter.ts:9
Functionreply
(input)
src/backends/auggie/adapter.ts:9
Functionreply
(input)
src/backends/opencode/adapter.ts:9
Functionreply
(input)
src/backends/qwen/adapter.ts:9
Functionreply
(input)
src/backends/codex/adapter.ts:9
Functionreply
(input)
src/backends/claude/adapter.ts:9
Functionreply
(input)
src/backends/kimi/adapter.ts:9
FunctionresolveWeixinChannelRuntime
(params: { channelRuntime?: PluginChannelRuntime; waitTimeoutMs?: number; })
src/runtime.ts:53
Methodrun
()
src/vendor.d.ts:21
MethodseekInput
(time: number)
src/vendor.d.ts:15
FunctionsendMessage
( params: WeixinApiOptions & { body: SendMessageReq }, )
src/api/api.ts:195
MethodsetFfmpegPath
(path: string)
src/vendor.d.ts:14
FunctionsetLogLevel
(level: string)
src/util/logger.ts:42
Functionwarn
(message: string)
src/util/logger.ts:128
FunctionwithAccount
(id: string)
src/util/logger.ts:134
← previous201–292 of 292, ranked by callers