MCPcopy Index your code

hub / github.com/BytePioneer-AI/openclaw-china / functions

Functions1,322 in github.com/BytePioneer-AI/openclaw-china

↓ 62 callersFunctionhandleQQBotDispatch
(params: DispatchParams)
extensions/qqbot/src/bot.ts:3863
↓ 58 callersMethodon
(event: string, handler: (...args: unknown[]) => void)
extensions/qqbot/src/monitor.test.ts:18
↓ 57 callersFunctionextractXmlTag
* 从 XML 字符串中提取指定标签的文本内容。 * 支持 CDATA 和普通文本两种形式。
extensions/wecom/src/monitor.ts:144
↓ 40 callersMethodsend
()
extensions/qqbot/src/monitor.test.ts:25
↓ 38 callersFunctionmeasureQQBotUtf8Length
(text: string)
extensions/qqbot/src/bot.ts:2040
↓ 37 callersFunctiontoTrimmedString
(value: unknown)
packages/shared/src/cli/china-setup.ts:255
↓ 36 callersFunctionresolveFileCategory
( contentType: string, fileName?: string )
packages/shared/src/file/file-utils.ts:218
↓ 29 callersFunctionextractFileFromMessage
(data: unknown)
extensions/dingtalk/src/media.ts:835
↓ 29 callersFunctionresolveExtension
( contentType: string, fileName?: string )
packages/shared/src/file/file-utils.ts:264
↓ 24 callersFunctionbuildInboundContext
( ctx: DingtalkMessageContext, sessionKey: string, accountId: string, )
extensions/dingtalk/src/bot-handler.ts:640
↓ 23 callersFunctionmakeResult
(text: string)
extensions/wecom-app/src/bot.ts:204
↓ 23 callersFunctionwriteJson
(p, data)
scripts/release-all.mjs:108
↓ 22 callersFunctionresolveWecomAccount
(params: { cfg: PluginConfig; accountId?: string | null })
extensions/wecom/src/config.ts:174
↓ 21 callersFunctioncreateLogger
()
extensions/qqbot/src/bot.known-targets.test.ts:29
↓ 21 callersFunctionreadJson
(p)
scripts/release-all.mjs:104
↓ 21 callersFunctiontoString
(value: unknown)
extensions/qqbot/src/bot.ts:446
↓ 20 callersFunctionparseRichTextMessage
(data: unknown)
extensions/dingtalk/src/media.ts:1017
↓ 20 callersFunctionupdateAccountState
( accountId: string, patch: Partial<WecomKfAccountState> )
extensions/wecom-kf/src/state.ts:111
↓ 19 callersFunctiongetUtf8ByteLength
(str: string)
extensions/wechat-mp/src/text.ts:20
↓ 19 callersFunctionpickFirstNonEmpty
(...values: Array<string | undefined>)
extensions/wecom/src/monitor.ts:172
↓ 18 callersMethodaskSecret
(params: { label: string; existingValue?: string; required?: boolean; })
packages/shared/src/cli/china-setup.ts:419
↓ 18 callersFunctionshouldSuppressVisibleReplies
()
extensions/qqbot/src/bot.ts:2986
↓ 17 callersFunctionregisterWecomWsMessageContext
(params: { accountId: string; reqId: string; to: string; send: WsSendFrame; streamId?: string; })
extensions/wecom/src/ws-reply-context.ts:251
↓ 16 callersFunctionchunkC2CMarkdownText
(params: { text: string; limit: number; strategy?: QQBotC2CMarkdownChunkStrategy; safeChunkByteLimit?:
extensions/qqbot/src/bot.ts:2846
↓ 16 callersFunctionjoinQQBotMarkdownPieces
(parts: string[])
extensions/qqbot/src/bot.ts:1808
↓ 16 callersFunctionnow
()
extensions/wecom/src/ws-reply-context.ts:75
↓ 15 callersMethodaskText
(params: { label: string; required?: boolean; defaultValue?: string; })
packages/shared/src/cli/china-setup.ts:390
↓ 15 callersMethodclose
()
extensions/qqbot/src/monitor.test.ts:40
↓ 15 callersFunctionhasNonEmptyString
(value: unknown)
packages/shared/src/cli/china-setup.ts:263
↓ 15 callersFunctionisRecord
(value: unknown)
packages/shared/src/cli/china-setup.ts:226
↓ 15 callersFunctionmergeQQBotAccountConfig
(cfg: PluginConfig, accountId: string)
extensions/qqbot/src/config.ts:270
↓ 15 callersFunctionsetupSessionRuntime
(params?: { routeResolver?: (input: { cfg: unknown; channel: string; accountId?: string; pee
extensions/qqbot/src/bot.known-targets.test.ts:38
↓ 15 callersFunctionwaitFor
(condition: () => boolean, timeoutMs: number = 1_000)
extensions/wecom/src/ws-gateway.test.ts:23
↓ 14 callersFunctioncreateMockResponse
()
extensions/wechat-mp/src/webhook.test.ts:47
↓ 14 callersFunctionfinishWecomWsMessageContext
(params: { accountId: string; reqId: string; error?: unknown; })
extensions/wecom/src/ws-reply-context.ts:518
↓ 14 callersFunctionhandleWechatMpWebhookRequest
( req: IncomingMessage, res: ServerResponse )
extensions/wechat-mp/src/webhook.ts:293
↓ 14 callersFunctionregisterWechatMpWebhookTarget
(target: WebhookTarget)
extensions/wechat-mp/src/webhook.ts:278
↓ 14 callersFunctionrun
(cmd, cwd = root)
scripts/release-all.mjs:120
↓ 14 callersFunctionstartWecomWsGateway
(opts: StartWecomWsGatewayOptions)
extensions/wecom/src/ws-gateway.ts:380
↓ 13 callersFunctionbuildFileContextMessage
( msgType: MediaMsgType, fileName?: string )
extensions/dingtalk/src/bot-handler.ts:854
↓ 13 callersFunctioncreateTarget
(params?: { account?: Partial<ResolvedWechatMpAccount>; cfg?: PluginConfig; path?: string; })
extensions/wechat-mp/src/webhook.test.ts:92
↓ 13 callersFunctionflushCurrent
()
extensions/qqbot/src/bot.ts:2197
↓ 13 callersFunctiongetReleaseVersion
(pkgName, localVersion, fixedVersion)
scripts/release-all.mjs:243
↓ 13 callersFunctionpublishPackage
(pkgDir, tag)
scripts/release-all.mjs:124
↓ 12 callersFunctionbuildWechatMpXml
(data: Record<string, string | number>)
extensions/wechat-mp/src/crypto.ts:293
↓ 12 callersFunctiongetAccessToken
(account: ResolvedWecomAppAccount)
extensions/wecom-app/src/api.ts:295
↓ 12 callersFunctionlogEventIdFallback
(params: { phase: "start" | "success" | "failed"; action: "text" | "media" | "typing"; accountId?: strin
extensions/qqbot/src/outbound.ts:74
↓ 12 callersFunctionresolveQQBotChannelConfig
(cfg: PluginConfig | undefined)
extensions/qqbot/src/config.ts:199
↓ 11 callersFunctionbuildWecomApiUrl
(account: ResolvedWecomAppAccount, pathWithQuery: string)
extensions/wecom-app/src/api.ts:193
↓ 11 callersFunctionisHttpUrl
(value: string)
packages/shared/src/media/media-parser.ts:250
↓ 11 callersFunctionmergeDingtalkAccountConfig
( cfg: PluginConfig, accountId: string )
extensions/dingtalk/src/config.ts:284
↓ 11 callersFunctionresolveDingtalkAccountId
( cfg: PluginConfig, rawAccountId?: string | null )
extensions/dingtalk/src/config.ts:208
↓ 11 callersFunctionresolveWechatMpAccount
(params: { cfg: PluginConfig; accountId?: string; })
extensions/wechat-mp/src/config.ts:64
↓ 11 callersFunctionshouldTranscodeWecomVoice
(source: string, mimeType?: string)
extensions/wecom-app/src/voice.ts:58
↓ 11 callersFunctionsplitTextByByteLimit
( text: string, maxBytes: number = WECHAT_TEXT_BYTE_LIMIT )
extensions/wechat-mp/src/text.ts:32
↓ 11 callersFunctionstripTitleFromUrl
(value: string)
packages/shared/src/media/media-parser.ts:329
↓ 11 callersFunctionsummarizeError
(err: unknown)
extensions/qqbot/src/outbound.ts:66
↓ 11 callersFunctionupdateAccountState
( accountId: string, patch: Partial<WechatMpAccountState> )
extensions/wechat-mp/src/state.ts:95
↓ 10 callersFunctionappendCronHiddenPrompt
(text: string)
packages/shared/src/cron/index.ts:106
↓ 10 callersFunctioncheckGroupPolicy
(params: GroupPolicyCheckParams)
packages/shared/src/policy/group-policy.ts:54
↓ 10 callersFunctioncreateBaseMessageContext
* Helper to create a base message context for testing
extensions/dingtalk/src/media-integration.test.ts:99
↓ 10 callersFunctioncreateLogger
(prefix: string, opts?: LoggerOptions)
packages/shared/src/logger/logger.ts:41
↓ 10 callersMethodemit
(event: string, ...args: unknown[])
extensions/qqbot/src/monitor.test.ts:48
↓ 10 callersFunctiongetAccessToken
(account: ResolvedWechatMpAccount)
extensions/wechat-mp/src/token.ts:33
↓ 10 callersFunctionisQQBotFastAbortCommandText
(text: string)
extensions/qqbot/src/bot.ts:428
↓ 10 callersFunctionlooksLikeStructuredMarkdown
(text: string)
extensions/qqbot/src/bot.ts:2807
↓ 10 callersFunctionparseVersion
(version)
scripts/release-all.mjs:136
↓ 10 callersFunctionregisterChinaSetupCli
(api: ApiLike, opts?: RegisterChinaSetupCliOptions)
packages/shared/src/cli/china-setup.ts:975
↓ 10 callersFunctionrouteKey
(accountId: string, value: string)
extensions/wecom/src/ws-reply-context.ts:87
↓ 10 callersFunctionsanitizeQQBotOutboundText
(rawText: string)
extensions/qqbot/src/bot.ts:1469
↓ 10 callersFunctionsetQQBotRuntime
(next: PluginRuntime)
extensions/qqbot/src/runtime.ts:121
↓ 10 callersFunctionsetWechatMpRuntime
(next: PluginRuntime)
extensions/wechat-mp/src/runtime.ts:9
↓ 10 callersFunctiontoTrimmedString
(value: unknown)
extensions/qqbot/src/config.ts:10
↓ 10 callersFunctiontoTrimmedString
(value: unknown)
extensions/dingtalk/src/config.ts:6
↓ 10 callersFunctiontransitionState
(params: { ref: TransitionRef; next: DingtalkGatewayState; logger: Logger; reason?: string; })
extensions/dingtalk/src/bot-gateway.ts:220
↓ 9 callersFunctionappendWecomWsActiveStreamChunk
(params: { accountId: string; to: string; chunk: string; sessionKey?: string; runId?: string; })
extensions/wecom/src/ws-reply-context.ts:372
↓ 9 callersFunctionbuildQQBotScopedConfig
(qqCfg: QQBotAccountConfig)
extensions/qqbot/src/bot.ts:164
↓ 9 callersFunctioncreateLogger
()
extensions/qqbot/src/bot.c2c-markdown-transport.test.ts:34
↓ 9 callersFunctiondispatchWechatMpCandidate
(params: { cfg: PluginConfig; account: ResolvedWechatMpAccount; candidate: WechatMpInboundCandidate; r
extensions/wechat-mp/src/dispatch.ts:255
↓ 9 callersFunctionextractWecomAppContent
(msg: WecomAppInboundMessage)
extensions/wecom-app/src/bot.ts:88
↓ 9 callersFunctiongetChannelConfig
(cfg: ConfigRoot, channelId: ChannelId)
packages/shared/src/cli/china-setup.ts:283
↓ 9 callersFunctioninstallReplyRuntime
( payloads: Array<{ text?: string; mediaUrl?: string; mediaUrls?: string[]; kind?: string }>, textApi?: {
extensions/qqbot/src/bot.c2c-markdown-transport.test.ts:69
↓ 9 callersFunctionisImagePath
(filePath: string)
packages/shared/src/media/media-parser.ts:347
↓ 9 callersFunctionmessageKey
(accountId: string, reqId: string)
extensions/wecom/src/ws-reply-context.ts:79
↓ 9 callersMethodonPartialReply
(text: string)
extensions/qqbot/src/streaming.ts:71
↓ 9 callersFunctionresolveQQBotCredentials
( config: QQBotAccountConfig | undefined )
extensions/qqbot/src/config.ts:295
↓ 9 callersFunctionresolveQQBotTextReplyRefs
(params: { to: string; text: string; markdownSupport: boolean; c2cMarkdownDeliveryMode?: QQBotC2CMarkd
extensions/qqbot/src/bot.ts:1604
↓ 9 callersFunctiontargetKey
(accountId: string, to: string)
extensions/wecom/src/ws-reply-context.ts:83
↓ 9 callersFunctionwithQQBotChannelConfig
( cfg: PluginConfig, qqbotConfig?: QQBotConfig )
extensions/qqbot/src/config.ts:203
↓ 8 callersFunctionassignMediaFieldsToContext
* Helper function to simulate media field assignment logic from handleDingtalkMessage. * * NOTE: This is a simplified version for testing purposes.
extensions/dingtalk/src/media-integration.test.ts:37
↓ 8 callersFunctionassignMediaFieldsToContext
* Helper function to simulate media field assignment logic from handleDingtalkMessage * This mirrors the actual implementation in bot.ts
extensions/dingtalk/src/inbound-context.property.test.ts:19
↓ 8 callersFunctioncheckDmPolicy
(params: DmPolicyCheckParams)
packages/shared/src/policy/dm-policy.ts:57
↓ 8 callersFunctioncleanupSocket
* 清理账户的 WebSocket
extensions/qqbot/src/monitor.ts:119
↓ 8 callersFunctioncreateAccount
(overrides?: Partial<ResolvedWechatMpAccount>)
extensions/wechat-mp/src/dispatch.test.ts:6
↓ 8 callersFunctioncreateMockRequest
(params: { method: "GET" | "POST"; url: string; rawBody?: string; })
extensions/wechat-mp/src/webhook.test.ts:31
↓ 8 callersFunctioncreateRuntime
(replyTexts: string[] = ["reply text"])
extensions/wechat-mp/src/dispatch.test.ts:27
↓ 8 callersFunctiongetAccessToken
( appId: string | number, clientSecret: string | number, options?: HttpRequestOptions )
extensions/qqbot/src/client.ts:130
↓ 8 callersFunctionhasQQBotMarkdownTable
(text: string)
extensions/qqbot/src/bot.ts:1586
↓ 8 callersFunctionisWecomAudioSource
(source: string, mimeType?: string)
extensions/wecom-app/src/voice.ts:53
↓ 8 callersFunctionmarkReplyDelivered
()
extensions/qqbot/src/bot.ts:3023
next →1–100 of 1,322, ranked by callers