MCPcopy Create free account

hub / github.com/ColinLu50/openclaw-lark-stream / functions

Functions864 in github.com/ColinLu50/openclaw-lark-stream

↓ 1 callersFunctionregisterFeishuSheetTool
(api: OpenClawPluginApi)
src/tools/oapi/sheets/sheet.ts:475
↓ 1 callersFunctionregisterFeishuSheetsTools
(api: OpenClawPluginApi)
src/tools/oapi/sheets/index.ts:17
↓ 1 callersFunctionregisterFeishuTaskCommentTool
(api: OpenClawPluginApi)
src/tools/oapi/task/comment.ts:81
↓ 1 callersFunctionregisterFeishuTaskSubtaskTool
(api: OpenClawPluginApi)
src/tools/oapi/task/subtask.ts:100
↓ 1 callersFunctionregisterFeishuTaskTaskTool
(api: OpenClawPluginApi)
src/tools/oapi/task/task.ts:287
↓ 1 callersFunctionregisterFeishuTaskTasklistTool
(api: OpenClawPluginApi)
src/tools/oapi/task/tasklist.ts:167
↓ 1 callersFunctionregisterFeishuWikiSpaceNodeTool
(api: OpenClawPluginApi)
src/tools/oapi/wiki/space-node.ts:194
↓ 1 callersFunctionregisterFeishuWikiSpaceTool
(api: OpenClawPluginApi)
src/tools/oapi/wiki/space.ts:97
↓ 1 callersFunctionregisterFeishuWikiTools
(api: OpenClawPluginApi)
src/tools/oapi/wiki/index.ts:18
↓ 1 callersFunctionregisterFetchDocTool
(api: OpenClawPluginApi)
src/tools/mcp/doc/fetch.ts:37
↓ 1 callersFunctionregisterGetMessages
(api: OpenClawPluginApi)
src/tools/oapi/im/message-read.ts:142
↓ 1 callersFunctionregisterGetThreadMessages
(api: OpenClawPluginApi)
src/tools/oapi/im/message-read.ts:247
↓ 1 callersFunctionregisterGetUserTool
(api: OpenClawPluginApi)
src/tools/oapi/common/get-user.ts:42
↓ 1 callersFunctionregisterMessageReadTools
(api: OpenClawPluginApi)
src/tools/oapi/im/message-read.ts:605
↓ 1 callersFunctionregisterOapiTools
(api: OpenClawPluginApi)
src/tools/oapi/index.ts:43
↓ 1 callersFunctionregisterSearchMessages
(api: OpenClawPluginApi)
src/tools/oapi/im/message-read.ts:482
↓ 1 callersFunctionregisterSearchUserTool
(api: OpenClawPluginApi)
src/tools/oapi/common/search-user.ts:52
↓ 1 callersFunctionregisterShutdownHook
(key: string, cleanup: () => Promise<void>)
src/core/shutdown-hooks.ts:25
↓ 1 callersFunctionregisterUpdateDocTool
(api: OpenClawPluginApi)
src/tools/mcp/doc/update.ts:69
↓ 1 callersFunctionremoveReactionFeishu
(params: { cfg: OpenClawConfig; messageId: string; reactionId: string; accountId?: string; })
src/messaging/outbound/reactions.ts:352
↓ 1 callersFunctionrenderElement
(el: PostElement, ctx: ConvertContext, resources: ResourceDescriptor[])
src/messaging/converters/post.ts:91
↓ 1 callersFunctionrequestDeviceAuthorization
(params: { appId: string; appSecret: string; brand: LarkBrand; scope?: string; })
src/core/device-flow.ts:102
↓ 1 callersFunctionresolveCalendarId
(client: ReturnType<typeof toolClient>)
src/tools/oapi/calendar/event.ts:508
↓ 1 callersFunctionresolveDomainUrl
(brand: LarkBrand)
src/core/raw-request.ts:19
↓ 1 callersFunctionresolveFileNameFromMediaUrl
(mediaUrl: string)
src/messaging/outbound/media-url-utils.ts:123
↓ 1 callersFunctionresolveFooterConfig
(cfg?: FeishuFooterConfig)
src/core/footer-config.ts:44
↓ 1 callersFunctionresolveGlobalConfig
* Resolve the global config for cross-account operations. * * Plugin commands receive an account-scoped config where `channels.feishu` * has been r
src/commands/doctor.ts:25
↓ 1 callersFunctionresolveGlobalConfig
* Resolve the global config for cross-account operations. * See doctor.ts for rationale.
src/commands/diagnose.ts:34
↓ 1 callersFunctionresolveGroupSenderPolicyContext
(params: { groupConfig?: FeishuGroupConfig; defaultConfig?: FeishuGroupConfig; accountFeishuCfg?: Feishu
src/messaging/inbound/policy.ts:199
↓ 1 callersMethodresolveImagesAwait
* Resolve all image URLs in text synchronously: trigger uploads for new * URLs, wait for all pending uploads, then return text with image keys.
src/card/image-resolver.ts:84
↓ 1 callersFunctionresolveMedia
(params: { ctx: MessageContext; /** account 级别的 ClawdbotConfig(channels.feishu 已替换为 per-account 合并后的配置) */
src/messaging/inbound/enrich.ts:150
↓ 1 callersFunctionresolveNpmSpec
* Detect the installed OpenClaw version and return the correct npm spec: * - >= 2026.3.22 → latest package (new SDK) * - < 2026.3.22 → pinned legac
bin/openclaw-lark.js:85
↓ 1 callersFunctionresolveP2PChatId
open_id → chat_id (P2P 单聊)
src/tools/oapi/im/message-read.ts:31
↓ 1 callersFunctionresolveP2PTargetNames
( chatMap: Map<string, ChatContext>, client: ToolClient, logFn: (...args: unknown[]) => void, )
src/tools/oapi/im/message-read.ts:440
↓ 1 callersFunctionresolveQuotedContent
(params: { ctx: MessageContext; /** account 级别的 ClawdbotConfig(channels.feishu 已替换为 per-account 合并后的配置) */
src/messaging/inbound/enrich.ts:249
↓ 1 callersFunctionresolveReactionContext
(params: { cfg: ClawdbotConfig; event: FeishuReactionCreatedEvent; botOpenId?: string; runtime?: Runti
src/messaging/inbound/reaction-handler.ts:65
↓ 1 callersFunctionresolveReplyMode
(params: { feishuCfg: FeishuConfig | undefined; chatType?: 'p2p' | 'group'; })
src/card/reply-mode.ts:28
↓ 1 callersFunctionresolveRespondToMentionAll
(params: { groupConfig?: { respondToMentionAll?: boolean }; defaultConfig?: { respondToMentionAll?: boolea
src/messaging/inbound/gate.ts:46
↓ 1 callersFunctionresolveRuntimeLogger
(subsystem: string)
src/core/lark-logger.ts:60
↓ 1 callersFunctionresolveSenderInfo
(params: { ctx: MessageContext; account: LarkAccount; log: (...args: unknown[]) => void; })
src/messaging/inbound/enrich.ts:45
↓ 1 callersFunctionresolveThreadSessionKey
(params: { accountScopedCfg: ClawdbotConfig; account: LarkAccount; chatId: string; threadId: string;
src/messaging/inbound/dispatch-context.ts:160
↓ 1 callersFunctionresolveToolsConfig
(cfg?: FeishuToolsConfig)
src/core/tools-config.ts:48
↓ 1 callersFunctionrevokeUAT
(appId: string, userOpenId: string)
src/core/uat-client.ts:235
↓ 1 callersFunctionrunFeishuAuthI18n
( config: OpenClawConfig, )
src/commands/auth.ts:208
↓ 1 callersFunctionrunFeishuDoctorI18n
( config: OpenClawConfig, currentAccountId?: string, )
src/commands/doctor.ts:765
↓ 1 callersFunctionrunFeishuStartI18n
(config: OpenClawConfig)
src/commands/index.ts:134
↓ 1 callersFunctionrunInstall
()
bin/openclaw-lark.js:40
↓ 1 callersFunctionsaveToTempFile
* 将 buffer 保存到临时文件,返回路径。
src/tools/tat/im/resource.ts:94
↓ 1 callersFunctionsecondsToDateTime
(seconds: number)
src/tools/oapi/im/time-utils.ts:34
↓ 1 callersFunctionsecretRefsEqual
* Compare two SecretRef-shaped objects by their identity fields. * Key-order independent, unlike JSON.stringify.
src/core/lark-client.ts:92
↓ 1 callersFunctionsendAppScopeCard
* 发送应用权限引导卡片,并将 flow 存入 pendingAppAuthFlows。 * 返回工具结果(告知 AI 等待用户操作)。
src/tools/auto-auth.ts:584
↓ 1 callersFunctionsendAudioLark
(params: { cfg: OpenClawConfig; to: string; fileKey: string; replyToMessageId?: string; replyInThrea
src/messaging/outbound/media.ts:522
↓ 1 callersFunctionsendFileLark
(params: { cfg: OpenClawConfig; to: string; fileKey: string; replyToMessageId?: string; replyInThrea
src/messaging/outbound/media.ts:454
↓ 1 callersFunctionsendImageLark
(params: { cfg: OpenClawConfig; to: string; imageKey: string; replyToMessageId?: string; replyInThre
src/messaging/outbound/media.ts:423
↓ 1 callersFunctionsendMarkdownCardFeishu
(params: { cfg: ClawdbotConfig; to: string; text: string; replyToMessageId?: string; mentions?: Ment
src/messaging/outbound/send.ts:412
↓ 1 callersFunctionsendPairingReply
(params: { senderId: string; chatId: string; accountId: string; accountScopedCfg?: ClawdbotConfig; })
src/messaging/inbound/gate-effects.ts:26
↓ 1 callersFunctionsendVideoLark
(params: { cfg: OpenClawConfig; to: string; fileKey: string; replyToMessageId?: string; replyInThrea
src/messaging/outbound/media.ts:488
↓ 1 callersFunctionsetAccountEnabled
(cfg: ClawdbotConfig, accountId: string, enabled: boolean)
src/channel/config-adapter.ts:52
↓ 1 callersFunctionsetFeishuAllowFrom
(cfg: ClawdbotConfig, allowFrom: string[])
src/channel/onboarding-config.ts:38
↓ 1 callersFunctionsetFeishuDmPolicy
(cfg: ClawdbotConfig, dmPolicy: DmPolicy)
src/channel/onboarding-config.ts:19
↓ 1 callersFunctionsetFeishuGroupPolicy
( cfg: ClawdbotConfig, groupPolicy: 'open' | 'allowlist' | 'disabled', )
src/channel/onboarding-config.ts:51
↓ 1 callersFunctionsetFeishuGroups
(cfg: ClawdbotConfig, groups: Record<string, object>)
src/channel/onboarding-config.ts:81
↓ 1 callersMethodsetGlobalConfig
Store the original global config (called during monitor startup).
src/core/lark-client.ts:155
↓ 1 callersFunctionsetLarkRuntime
(nextRuntime: PluginRuntime)
src/core/runtime-store.ts:19
↓ 1 callersFunctionsetMcpEndpointOverride
(endpoint: string | undefined)
src/tools/mcp/shared.ts:111
↓ 1 callersMethodsetRuntime
Persist the runtime instance for later retrieval (activate 阶段调用一次).
src/core/lark-client.ts:136
↓ 1 callersFunctionsetUATUserNames
(accountId: string, entries: Map<string, string>)
src/tools/oapi/im/user-name-uat.ts:68
↓ 1 callersFunctionshouldRegisterTool
(cfg: ClawdbotConfig, toolName: string)
src/core/tools-config.ts:137
↓ 1 callersMethodshouldSkipForUnavailable
Check if the pipeline should skip further operations for this source.
src/card/streaming-card-controller.ts:264
↓ 1 callersFunctionshouldUseCard
(text: string)
src/card/reply-mode.ts:77
↓ 1 callersFunctionsleep
(ms: number)
src/tools/oapi/sheets/sheet.ts:45
↓ 1 callersFunctionsleep
(ms: number, signal?: AbortSignal)
src/core/device-flow.ts:169
↓ 1 callersFunctionstartBatch
(batchIndex: number)
src/tools/onboarding-auth.ts:99
↓ 1 callersMethodstartUpload
(url: string)
src/card/image-resolver.ts:106
↓ 1 callersMethodstartWS
* Start WebSocket event monitoring. * * Flow: probe bot identity → EventDispatcher → WSClient → start. * The returned Promise resolves when `
src/core/lark-client.ts:343
↓ 1 callersFunctionstorePendingQuestion
(init: Omit<QuestionContext, 'ttlTimer'>)
src/tools/ask-user-question.ts:119
↓ 1 callersFunctionstreamCardContent
(params: { cfg: ClawdbotConfig; cardId: string; elementId: string; content: string; sequence: number
src/card/cardkit.ts:98
↓ 1 callersFunctionstripInvalidImageKeys
* Strip `![alt](value)` where value is not a valid Feishu image key * (`img_xxx`). Prevents CardKit error 200570. * * HTTP URLs are stripped as wel
src/card/markdown-style.ts:98
↓ 1 callersFunctionstripQueryAndHash
(value: string)
src/messaging/outbound/media-url-utils.ts:31
↓ 1 callersFunctionsubstituteMediaPaths
(content: string, mediaList: FeishuMediaInfo[])
src/messaging/inbound/enrich.ts:196
↓ 1 callersFunctionsubtractFromNow
(now: Date, n: number, unit: string)
src/tools/oapi/im/time-utils.ts:231
↓ 1 callersMethodsweep
* Sweep expired entries from the front of the map. * Because entries are in insertion order (FIFO), we can stop as soon as * we hit one that has
src/messaging/inbound/dedup.ts:130
↓ 1 callersMethodterminateIfUnavailable
Attempt to terminate the pipeline due to an unavailable message error.
src/card/streaming-card-controller.ts:269
↓ 1 callersMethodthrottledUpdate
* Throttled update entry point. * * @param throttleMs - Minimum interval between flushes (varies by * CardKit vs IM patch mode). Passed in
src/card/flush-controller.ts:91
↓ 1 callersFunctiontoBeijingDate
将 UTC Date 转为「北京时间各部分存在 UTC 字段上」的 Date
src/tools/oapi/im/time-utils.ts:215
↓ 1 callersFunctiontoInAppWebUrl
(targetUrl: string, brand?: LarkBrand)
src/tools/oauth-cards.ts:265
↓ 1 callersFunctiontraceByMessageId
(messageId: string)
src/commands/diagnose.ts:476
↓ 1 callersFunctiontruncateRows
( values: unknown[][] | undefined, maxRows: number, )
src/tools/oapi/sheets/sheet.ts:237
↓ 1 callersFunctionunregisterActiveDispatcher
(key: string)
src/channel/chat-queue.ts:41
↓ 1 callersFunctionunwrapJsonRpcResult
(v: unknown)
src/tools/mcp/shared.ts:78
↓ 1 callersFunctionunwrapLocale
* Unwrap a parsed post object that may be locale-wrapped. * * Feishu post messages come in two shapes: * - Flat: `{ title, content }` * - Lo
src/messaging/converters/post.ts:31
↓ 1 callersFunctionupdateCardToAnswered
(ctx: QuestionContext, answers: Record<string, string>)
src/tools/ask-user-question.ts:750
↓ 1 callersFunctionupdateCardToExpired
(ctx: QuestionContext)
src/tools/ask-user-question.ts:762
↓ 1 callersFunctionuploadFileLark
(params: { cfg: OpenClawConfig; file: Buffer | string; fileName: string; fileType: 'opus' | 'mp4' | 'p
src/messaging/outbound/media.ts:323
↓ 1 callersFunctionvalidateRemoteUrl
* Validate that a remote URL does not target private/reserved IP addresses. * * Resolves the hostname via DNS and checks all returned addresses. *
src/messaging/outbound/media.ts:891
↓ 1 callersFunctionverifyTokenIdentity
* 使用刚获取的 UAT 调用 /authen/v1/user_info, * 验证实际完成 OAuth 授权的用户 open_id 是否与预期的 senderOpenId 一致。 * * 防止群聊中其他用户点击授权链接后,错误的 UAT 被绑定到 owner 的身份。
src/tools/oauth.ts:96
↓ 1 callersMethodwaitForAbort
* Start the WSClient and return a promise that resolves when the * abort signal fires (or immediately if already aborted).
src/core/lark-client.ts:442
↓ 1 callersFunctionwrapTablesBeyondLimit
(text: string, matches: readonly MarkdownTableMatch[], keepCount: number)
src/card/card-error.ts:221
Function_resetChatQueueState
()
src/channel/chat-queue.ts:80
Function_resetShutdownHooks
()
src/core/shutdown-hooks.ts:13
← previousnext →601–700 of 864, ranked by callers