MCPcopy Create free account

hub / github.com/larksuite/openclaw-lark / functions

Functions1,118 in github.com/larksuite/openclaw-lark

↓ 2 callersFunctionbuildMentionedMessage
(targets: MentionInfo[], message: string)
src/messaging/inbound/mention.ts:96
↓ 2 callersFunctionbuildProcessingCard
(questions: QuestionItem[], answers: Record<string, string>)
src/tools/ask-user-question.ts:799
↓ 2 callersFunctionbuildStreamingPreAnswerCard
(params: { steps?: ToolUseDisplayStep[]; elapsedMs?: number; showToolUse?: boolean; })
src/card/builder.ts:666
↓ 2 callersFunctionbuildStreamingToolUsePendingPanel
()
src/card/builder.ts:776
↓ 2 callersFunctionbuildToolUsePanel
(params: { toolUseSteps?: ToolUseDisplayStep[]; toolUseElapsedMs?: number; titleSuffix?: { zh: string; e
src/card/builder.ts:808
↓ 2 callersFunctionbuildToolUseStepElements
(step: ToolUseDisplayStep)
src/card/builder.ts:858
↓ 2 callersFunctioncallEndpoint
()
src/core/uat-client.ts:85
↓ 2 callersMethodcancelPendingFlush
Cancel any pending deferred flush timer.
src/card/flush-controller.ts:34
↓ 2 callersMethodcardMessageReady
()
src/card/flush-controller.ts:127
↓ 2 callersFunctioncheckMultiAccountIsolation
(cfg: ClawdbotConfig)
src/core/security-check.ts:38
↓ 2 callersFunctioncheckToolRegistration
(api: OpenClawPluginApi, toolName: string)
src/tools/helpers.ts:249
↓ 2 callersFunctioncleanupLine
(line: string)
src/card/tool-use-display.ts:544
↓ 2 callersFunctionclearChatInfoCache
(accountId?: string)
src/core/chat-info-cache.ts:117
↓ 2 callersMethodclearInflight
(key: string)
src/messaging/inbound/user-name-cache-store.ts:184
↓ 2 callersMethodcloseStreamingAndUpdate
* Close streaming mode then update card content (shared by onError and abortCard).
src/card/streaming-card-controller.ts:1121
↓ 2 callersFunctionconfiguredFeishuConfig
()
tests/message-actions-schema.test.ts:6
↓ 2 callersFunctionconsumePendingQuestion
(questionId: string)
src/tools/ask-user-question.ts:139
↓ 2 callersMethodconvertActions
(prop: Obj)
src/messaging/converters/interactive/card-converter.ts:609
↓ 2 callersFunctionconvertElementsToSDKFormat
(elements: ReplyElement[])
src/tools/oapi/drive/doc-comments.ts:113
↓ 2 callersMethodconvertImage
(prop: Obj, _id: string)
src/messaging/converters/interactive/card-converter.ts:941
↓ 2 callersMethodconvertPlainText
(prop: Obj)
src/messaging/converters/interactive/card-converter.ts:211
↓ 2 callersFunctionconvertTimeRange
( timeRange: { start?: string; end?: string } | undefined, unit: 's' | 'ms' = 's', )
src/tools/oapi/helpers.ts:325
↓ 2 callersFunctioncreateBatchResolveNames
( account: LarkAccount, log: (...args: unknown[]) => void, )
src/messaging/inbound/user-name-cache.ts:104
↓ 2 callersFunctioncreateClientGetter
(config: ClawdbotConfig, accountIndex = 0)
src/tools/helpers.ts:100
↓ 2 callersFunctioncreateDispatchContext
(content: string)
tests/dispatch-commands-system-command.test.ts:46
↓ 2 callersFunctioncreateLarkLogger
(subsystem: string)
src/core/lark-logger.ts:139
↓ 2 callersFunctioncurrentBotPeerContext
()
src/messaging/outbound/bot-peer-context.ts:54
↓ 2 callersFunctiondecryptData
AES-256-GCM decrypt. Returns plaintext or `null` on failure.
src/core/token-store.ts:178
↓ 2 callersFunctiondispatchSyntheticTextMessage
(params: { cfg: ClawdbotConfig; accountId: string; chatId: string; senderOpenId: string; text: strin
src/messaging/inbound/synthetic-message.ts:16
↓ 2 callersFunctiondrainShutdownHooks
(opts?: { deadlineMs?: number; log?: (...args: unknown[]) => void; })
src/core/shutdown-hooks.ts:39
↓ 2 callersFunctionencryptData
AES-256-GCM encrypt. Returns [12-byte IV][16-byte tag][ciphertext].
src/core/token-store.ts:170
↓ 2 callersFunctionensureLinuxCredDir
Ensure the credentials directory exists with mode 0700.
src/core/token-store.ts:140
↓ 2 callersFunctionensureWin32CredDir
()
src/core/token-store.ts:245
↓ 2 callersFunctionescapeAttr
(s: string)
src/messaging/converters/interactive/card-utils.ts:8
↓ 2 callersFunctionevict
(cache: Map<string, CacheEntry>)
src/tools/oapi/im/user-name-uat.ts:44
↓ 2 callersMethodevictChats
(map: Map<string, ChatMembersEntry>)
src/messaging/inbound/user-name-cache-store.ts:242
↓ 2 callersFunctionexecuteFeishuAuth
* Execute the auth command logic, including side-effects (triggerOnboarding). * Returns a discriminated result that can be formatted into any locale.
src/commands/auth.ts:115
↓ 2 callersFunctionextractApiDetail
(err: unknown)
src/card/streaming-card-controller.ts:1185
↓ 2 callersFunctionextractMcpUrlFromConfig
(cfg: unknown)
src/tools/mcp/shared.ts:60
↓ 2 callersFunctionextractPermissionGrantUrl
(msg: string)
src/core/permission-url.ts:51
↓ 2 callersMethodextractTextFromProperty
(prop: Obj)
src/messaging/converters/interactive/card-converter.ts:183
↓ 2 callersFunctionfetchMediaBuffer
* Fetch media bytes from a URL or local file path. * * Supports: * - `http://` and `https://` URLs (fetched via the global `fetch` API) * - `file:
src/messaging/outbound/media.ts:1011
↓ 2 callersMethodfilterMissing
(openIds: string[])
src/messaging/inbound/user-name-cache-store.ts:120
↓ 2 callersMethodfinalizeCard
(source: string, reason: TerminalReason)
src/card/streaming-card-controller.ts:1114
↓ 2 callersFunctionfindBox
* Find a box (atom) by its 4-character type within a range of the buffer. * Returns the data start/end offsets (after the 8-byte box header), or * `
src/messaging/outbound/media.ts:740
↓ 2 callersFunctionfingerprintTraceValue
(value: unknown)
src/card/tool-use-trace-store.ts:308
↓ 2 callersFunctionflushStream
()
src/commands/diagnose.ts:661
↓ 2 callersFunctionformatAndReturn
格式化 message.list 结果并返回
src/tools/oapi/im/message-read.ts:74
↓ 2 callersFunctionformatCheck
(c: DiagCheckResult)
src/commands/diagnose.ts:361
↓ 2 callersFunctionformatCheckCli
(c: DiagCheckResult)
src/commands/diagnose.ts:458
↓ 2 callersFunctionformatDuration
(ms: number)
src/messaging/converters/utils.ts:29
↓ 2 callersFunctionformatMessageList
( items: ApiMessageItem[], account: LarkAccount, log: (...args: unknown[]) => void, client: ToolClient
src/tools/oapi/im/format-messages.ts:170
↓ 2 callersFunctionformatScopeDescription
( locale: Locale, params: { scope?: string; isBatchAuth?: boolean; totalAppScopes?: number;
src/tools/oauth-cards.ts:224
↓ 2 callersFunctionformatToolUseCodeBlock
(content: string, language: 'json' | 'text')
src/card/builder.ts:969
↓ 2 callersFunctiongetAccountMap
Return the per-account override map, if present.
src/core/accounts.ts:33
↓ 2 callersFunctiongetAllToolScopes
* 获取所有工具动作需要的唯一 scope 列表(从 diagnose.ts 复制)
src/commands/doctor.ts:278
↓ 2 callersFunctiongetAppInfo
(sdk: Lark.Client, appId: string)
src/core/app-scope-checker.ts:171
↓ 2 callersMethodgetByActiveCardKey
通过活跃卡片键查询(同消息卡片复用)
src/tools/auto-auth.ts:379
↓ 2 callersFunctiongetChatInfo
(params: { cfg: ClawdbotConfig; chatId: string; accountId?: string; })
src/core/chat-info-cache.ts:155
↓ 2 callersFunctiongetCheckerFieldName
(questionIndex: number, optionIndex: number)
src/tools/ask-user-question.ts:192
↓ 2 callersFunctiongetDefaultLarkAccountId
(cfg: ClawdbotConfig)
src/core/accounts.ts:111
↓ 2 callersFunctiongetDmScopeFixCommand
(cfg: ClawdbotConfig)
src/core/security-check.ts:104
↓ 2 callersFunctiongetFirstAccount
(config: ClawdbotConfig)
src/tools/helpers.ts:148
↓ 2 callersFunctiongetInputFieldName
(questionIndex: number)
src/tools/ask-user-question.ts:184
↓ 2 callersFunctiongetLarkConfig
Extract the `channels.feishu` section from the top-level config.
src/core/accounts.ts:28
↓ 2 callersFunctiongetLarkCredentials
(feishuCfg?: FeishuConfig)
src/core/accounts.ts:230
↓ 2 callersFunctiongetMasterKey
* Load or create the 32-byte master key. * * On first run, generates a random key and writes it to disk (mode 0600). * On subsequent runs, reads th
src/core/token-store.ts:150
↓ 2 callersFunctiongetMessageFeishu
(params: { cfg: ClawdbotConfig; messageId: string; accountId?: string; /** When true, merge_forward co
src/messaging/shared/message-lookup.ts:66
↓ 2 callersFunctiongetOrCreateCache
(accountId: string)
src/tools/oapi/im/user-name-uat.ts:35
↓ 2 callersFunctiongetPermissionPriority
* Permission priority for sorting. * Lower number = higher priority. * - read: 1 (highest) * - write: 2 * - other / both read+write: 3 (lowest)
src/core/permission-url.ts:22
↓ 2 callersFunctiongetVisiblePayloadText
(payload: ReplyPayload)
src/card/reply-dispatcher.ts:437
↓ 2 callersFunctiongetWin32MasterKey
()
src/core/token-store.ts:249
↓ 2 callersFunctionhandleBotMembershipEvent
( ctx: MonitorContext, data: unknown, action: 'added' | 'removed', )
src/channel/event-handlers.ts:252
↓ 2 callersFunctionhasActiveAppAuthForMessage
* 检查指定消息上下文是否有未完成的应用权限授权流程。 * 检查两个来源: * 1. authBatches 中的 app auth entry(collecting/executing 阶段) * 2. appAuthFlows 中的活跃流(卡片已发送,等待用户点击"已完成")
src/tools/auto-auth.ts:412
↓ 2 callersFunctioninvalidateAppScopeCache
(appId: string)
src/core/app-scope-checker.ts:54
↓ 2 callersFunctionisCardTableLimitError
(err: unknown)
src/card/card-error.ts:126
↓ 2 callersFunctionisLocalMediaPath
(value: string)
src/messaging/outbound/media-url-utils.ts:39
↓ 2 callersFunctionisPrivateIP
* Check whether an IP address belongs to a private or reserved range. * * Blocks: 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, * 169.254
src/messaging/outbound/media.ts:935
↓ 2 callersFunctionisTerminalMessageApiCode
(code: unknown)
src/core/message-unavailable.ts:38
↓ 2 callersFunctionisWindowsAbsolutePath
(value: string)
src/messaging/outbound/media-url-utils.ts:35
↓ 2 callersFunctionlistReactionsFeishu
(params: { cfg: OpenClawConfig; messageId: string; emojiType?: string; accountId?: string; })
src/messaging/outbound/reactions.ts:387
↓ 2 callersFunctionloopKey
(chatId: string, threadId?: string)
src/messaging/inbound/bot-loop-guard.ts:37
↓ 2 callersFunctionmakeBotEvent
(overrides: { messageId?: string } = {})
tests/handler-bot-sender-history.test.ts:35
↓ 2 callersFunctionmakeCfg
* Minimal cfg that provides a valid account with allowBots=false (or 'mentions'). * The top-level channels.feishu and the per-account entry must both
tests/handler-bot-sender-history.test.ts:58
↓ 2 callersFunctionmakeCtx
(senderIsBot: boolean)
tests/bot-loop-key.test.ts:70
↓ 2 callersFunctionmakeCtx
(botOpenId: string)
tests/event-handlers-self-echo.test.ts:27
↓ 2 callersFunctionmakeDedupKey
计算去重 key(chatId + messageId + 有序 scopes)。
src/tools/auto-auth.ts:270
↓ 2 callersFunctionmakeEvent
(senderOpenId: string)
tests/event-handlers-self-echo.test.ts:46
↓ 2 callersFunctionmakeReplacement
( start: number, end: number, r: ResolvedCandidate, )
src/messaging/outbound/normalize-mentions.ts:153
↓ 2 callersFunctionmarkMessageUnavailable
(params: { messageId: string; apiCode: TerminalMessageApiCode; operation?: string; })
src/core/message-unavailable.ts:42
↓ 2 callersMethodmarkToolUseActivity
()
src/card/streaming-card-controller.ts:427
↓ 2 callersFunctionmaskToken
(token: string)
src/core/token-store.ts:71
↓ 2 callersFunctionmatchesAnyPattern
* Check whether a string matches any of the given patterns. * Supports trailing `*` as a simple wildcard.
src/core/agent-config.ts:165
↓ 2 callersFunctionmergeFeishuAccountConfig
Generic Feishu account config merge.
src/channel/config-adapter.ts:20
↓ 2 callersFunctionmonitorSingleAccount
* Start monitoring a single Feishu account. * * Creates a LarkClient, probes bot identity, registers event handlers, * and starts a WebSocket conne
src/channel/monitor.ts:45
↓ 2 callersFunctionnameResolver
(openId: string)
src/tools/oapi/im/format-messages.ts:177
↓ 2 callersFunctionneedsDmScopeFix
(cfg: ClawdbotConfig)
src/core/security-check.ts:97
↓ 2 callersFunctionnormalizeCalendarTimeValue
(value: unknown)
src/tools/oapi/calendar/event.ts:449
↓ 2 callersFunctionnormalizeFeishuOutboundText
* Runs the outbound text through mention normalization. Returns the * input unchanged on any failure so a parser bug never blocks send. * Sentinels
src/messaging/outbound/send.ts:31
↓ 2 callersMethodonReasoningStream
(payload: ReplyPayload)
src/card/streaming-card-controller.ts:494
← previousnext →301–400 of 1,118, ranked by callers