MCPcopy Create free account

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

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

↓ 7 callersFunctionextractHttpStatus
(err: unknown)
tests/media-retry.test.ts:44
↓ 7 callersFunctiongetRequiredScopes
(toolAction: ToolActionKey)
src/core/scope-manager.ts:63
↓ 7 callersFunctioni18nContent
构造 i18n_content 对象(双语)
src/tools/oauth-cards.ts:89
↓ 7 callersFunctionmakeEvent
(content: string)
tests/empty-message-guard.test.ts:108
↓ 7 callersFunctionparseMessageEvent
( event: FeishuMessageEvent, botOpenId?: string, expandCtx?: { /** account 级别的 ClawdbotConfig(channe
src/messaging/inbound/parse.ts:39
↓ 7 callersFunctionprefetchChatBots
( account: LarkAccount, chatId: string, log: (...args: unknown[]) => void, )
src/messaging/inbound/user-name-cache.ts:314
↓ 7 callersFunctionresolveBotPeerForMention
(params: { isGroup: boolean; senderIsBot?: boolean; senderId?: string; senderName?: string; mentions
src/messaging/inbound/bot-content.ts:53
↓ 7 callersFunctionresolveRespondToMentionAll
(params: { groupConfig?: { respondToMentionAll?: boolean }; defaultConfig?: { respondToMentionAll?: boolea
src/messaging/inbound/gate.ts:46
↓ 7 callersFunctionrunWithMessageUnavailableGuard
(params: { messageId: string | undefined; operation: string; fn: () => Promise<T>; })
src/core/message-unavailable.ts:143
↓ 7 callersFunctionthreadScopedKey
(base: string, threadId?: string)
src/channel/chat-queue.ts:29
↓ 7 callersMethodthrottledCardUpdate
()
src/card/streaming-card-controller.ts:1070
↓ 7 callersMethodtransition
(to: CardPhase, source: string, reason?: TerminalReason)
src/card/streaming-card-controller.ts:400
↓ 7 callersFunctiontruncateText
(value: string, maxLength: number)
src/card/reasoning-utils.ts:12
↓ 7 callersFunctionupdateCardFeishu
(params: { cfg: ClawdbotConfig; messageId: string; card: Record<string, unknown>; accountId?: string;
src/messaging/outbound/send.ts:342
↓ 7 callersFunctionupdateCardKitCardForAuth
(params: { cfg: ClawdbotConfig; cardId: string; card: Record<string, unknown>; sequence: number; acc
src/card/cardkit.ts:168
↓ 6 callersFunctionbuildLabeledRow
* Build a left-right row: label on left, control on right.
src/tools/ask-user-question.ts:559
↓ 6 callersFunctionbuildQueueKey
(accountId: string, chatId: string, threadId?: string)
src/channel/chat-queue.ts:33
↓ 6 callersMethodconvertMarkdownElements
(elements: unknown[])
src/messaging/converters/interactive/card-converter.ts:240
↓ 6 callersFunctioncreateDispatcher
(options: { sendMediaImpl?: (payload: unknown) => Promise<void>; terminateReturn?: boolean; } = {})
tests/reply-dispatcher-media.test.ts:118
↓ 6 callersMethodensureCardCreated
()
src/card/streaming-card-controller.ts:844
↓ 6 callersFunctiongetLarkAccountIds
(cfg: ClawdbotConfig)
src/core/accounts.ts:85
↓ 6 callersFunctioninferIsWholeComment
(params: { explicitIsWhole?: boolean; quotedText?: string; })
src/messaging/inbound/comment-context.ts:89
↓ 6 callersFunctionisCommentTarget
(target: string)
src/core/comment-target.ts:124
↓ 6 callersFunctionisRecord
(v: unknown)
src/tools/mcp/shared.ts:53
↓ 6 callersFunctionmakeCtx
(overrides: Partial<MessageContext> = {})
tests/mention-annotation-with-sentinels.test.ts:6
↓ 6 callersFunctionresolveAnyEnabledToolsConfig
(accounts: LarkAccount[])
src/core/tools-config.ts:73
↓ 6 callersFunctionresolveFeishuAllowlistMatch
(params: { allowFrom: Array<string | number>; senderId: string; senderName?: string | null; })
src/messaging/inbound/policy.ts:33
↓ 6 callersFunctionresolveReceiveIdType
(id: string)
src/core/targets.ts:153
↓ 6 callersFunctionresolveToken
* 从参数中解析 spreadsheet_token(支持 url 和直接 token 两种方式)。 * 如果检测到 wiki token,自动通过 wiki API 获取真实的 spreadsheet_token。
src/tools/oapi/sheets/sheet.ts:121
↓ 6 callersFunctionresolveToolUseDisplayConfig
(params: { cfg: ClawdbotConfig; feishuCfg: FeishuConfig | undefined; agentId: string; sessionKey: stri
src/card/tool-use-config.ts:26
↓ 6 callersFunctionsecretRef
(id: string)
tests/secret-contract-api.test.ts:16
↓ 6 callersMethodshouldSkip
* Check whether the reply pipeline should skip further operations. * Returns true if the message is already known to be unavailable.
src/card/unavailable-guard.ts:58
↓ 5 callersMethodcaptureToolUseElapsed
()
src/card/streaming-card-controller.ts:435
↓ 5 callersMethodcomputeToolUseDisplay
()
src/card/streaming-card-controller.ts:351
↓ 5 callersMethodcomputeToolUseTitleSuffix
(display: ToolUseDisplayResult | null)
src/card/streaming-card-controller.ts:368
↓ 5 callersFunctioncreateCardEntity
(params: { cfg: ClawdbotConfig; card: Record<string, unknown>; accountId?: string; })
src/card/cardkit.ts:69
↓ 5 callersFunctioncreateStorePath
(testName: string)
tests/tool-use-config.test.ts:7
↓ 5 callersFunctionexecuteAuthorize
( params: ExecuteAuthorizeParams, )
src/tools/oauth.ts:258
↓ 5 callersMethodextractGenericSummary
(values: unknown[])
src/messaging/converters/interactive/card-converter.ts:1071
↓ 5 callersFunctionfilterSensitiveScopes
(scopes: string[])
src/core/tool-scopes.ts:477
↓ 5 callersFunctionformatToolError
(error: unknown, context?: Record<string, unknown>)
src/tools/helpers.ts:359
↓ 5 callersMethodgetChatMembers
(chatId: string)
src/messaging/inbound/user-name-cache-store.ts:166
↓ 5 callersMethodgetInflight
(key: string)
src/messaging/inbound/user-name-cache-store.ts:176
↓ 5 callersFunctiongetPluginVersion
()
src/core/version.ts:22
↓ 5 callersFunctioni18nPlainText
构造带 i18n_content 的 plain_text(默认语言为英文)
src/tools/oauth-cards.ts:94
↓ 5 callersMethodinvokeByPath
(toolAction: ToolActionKey, path: string, options?: InvokeByPathOptions)
src/core/tool-client.ts:287
↓ 5 callersFunctionisEventOwnershipValid
* Verify that the event's app_id matches the current account. * * Lark SDK EventDispatcher flattens the v2 envelope header (which * contains `app_i
src/channel/event-handlers.ts:49
↓ 5 callersMethodisStaleCreate
(epoch: number)
src/card/streaming-card-controller.ts:396
↓ 5 callersFunctionmakeCtx
(over: { threadId?: string; rootId?: string })
tests/loop-guard-notice-routing.test.ts:80
↓ 5 callersFunctionmakeCtx
(bot: MentionInfo, otherKey: MentionInfo[] = [])
tests/resolve-mentions-leading-strip.test.ts:18
↓ 5 callersFunctionnormalizeMediaUrlInput
(value: string)
src/messaging/outbound/media-url-utils.ts:10
↓ 5 callersFunctionnormalizeName
(name: string)
src/messaging/inbound/user-name-cache-store.ts:40
↓ 5 callersFunctionpad2
(value: number)
src/tools/oapi/helpers.ts:364
↓ 5 callersFunctionredactInlineSecrets
(value: string)
src/card/reasoning-utils.ts:25
↓ 5 callersFunctionremoveStoredToken
(appId: string, userOpenId: string)
src/core/token-store.ts:348
↓ 5 callersFunctionresolveUserName
(params: { account: LarkAccount; openId: string; log: (...args: unknown[]) => void; })
src/messaging/inbound/user-name-cache.ts:341
↓ 5 callersFunctionrunWith
(ctx: ReturnType<typeof makeCtx>)
tests/loop-guard-notice-routing.test.ts:101
↓ 5 callersFunctionrunWithBotPeerContext
( ctx: BotPeerContext, fn: () => Promise<T>, )
src/messaging/outbound/bot-peer-context.ts:42
↓ 5 callersFunctionsanitizeParamsForLog
(params?: Record<string, unknown>)
src/card/reasoning-utils.ts:75
↓ 5 callersFunctionsendCardByCardId
(params: { cfg: ClawdbotConfig; to: string; cardId: string; replyToMessageId?: string; replyInThread
src/card/cardkit.ts:185
↓ 5 callersFunctionshouldSkip
(source: string)
src/card/reply-dispatcher.ts:113
↓ 5 callersFunctionticketElapsed
()
src/core/lark-ticket.ts:53
↓ 4 callersFunctionadaptDirectoryParams
Convert nullable SDK params to optional params for directory functions.
src/channel/plugin.ts:45
↓ 4 callersFunctionassertLarkOk
Assert that a Lark SDK response has code === 0 (or no code field).
src/messaging/outbound/chat-manage.ts:33
↓ 4 callersFunctionbaseEvent
(overrides: Partial<{ sender_type: string }> = {})
tests/parse-sender-is-bot.test.ts:4
↓ 4 callersFunctionbeijingEndOfDay
北京时间当天 23:59:59 对应的真实 UTC Date
src/tools/oapi/im/time-utils.ts:225
↓ 4 callersFunctionbuildFeishuGroupSystemPrompt
( configured: string | undefined, botOpenId?: string, )
src/messaging/inbound/dispatch-builders.ts:240
↓ 4 callersFunctionbuildFeishuIdentityFields
( ctx: MessageContext, botOpenId?: string, )
src/messaging/inbound/dispatch-builders.ts:214
↓ 4 callersMethodconvertSelect
(prop: Obj, _id: string, isMulti: boolean)
src/messaging/converters/interactive/card-converter.ts:622
↓ 4 callersFunctioncreateDispatchContext
()
tests/dispatch-tool-use-init.test.ts:117
↓ 4 callersFunctiondateTimeToSecondsString
(datetime: string)
src/tools/oapi/im/time-utils.ts:71
↓ 4 callersMethoddeleteOpenId
(openId: string)
src/messaging/inbound/user-name-cache-store.ts:226
↓ 4 callersMethoddisconnect
Disconnect WebSocket but keep instance in cache.
src/core/lark-client.ts:407
↓ 4 callersFunctiondispatchSystemCommand
( dc: DispatchContext, ctxPayload: ReturnType<typeof LarkClient.runtime.channel.reply.finalizeInboundConte
src/messaging/inbound/dispatch-commands.ts:104
↓ 4 callersMethoddispose
Disconnect + remove from cache.
src/core/lark-client.ts:425
↓ 4 callersFunctionenqueueFeishuChatTask
(params: { accountId: string; chatId: string; threadId?: string; task: () => Promise<void>; })
src/channel/chat-queue.ts:54
↓ 4 callersFunctionenrichMeta
(meta: Record<string, unknown> | undefined)
src/core/lark-logger.ts:88
↓ 4 callersFunctionescapeRegExp
(str: string)
src/messaging/converters/utils.ts:9
↓ 4 callersMethodevict
()
src/messaging/inbound/user-name-cache-store.ts:250
↓ 4 callersFunctionextractLarkApiCode
(err: unknown)
src/core/api-error.ts:63
↓ 4 callersFunctionextractReplyText
* Extract text from a comment reply object.
src/messaging/inbound/comment-context.ts:74
↓ 4 callersFunctionfeishuFetch
(url: string | URL | Request, init?: RequestInit)
src/core/feishu-fetch.ts:21
↓ 4 callersFunctionformatBeijingISO
将 Date 格式化为北京时间 ISO 8601 字符串
src/tools/oapi/im/time-utils.ts:18
↓ 4 callersFunctionformatElapsed
(ms: number)
src/card/builder.ts:180
↓ 4 callersFunctionformatFooterRuntimeSegments
(params: { footer?: { status?: boolean; elapsed?: boolean; tokens?: boolean; cache?: boolean
src/card/builder.ts:215
↓ 4 callersFunctionformatMessage
* Format message with inline meta for text-based log output. * * RuntimeLogger implementations typically ignore the `meta` parameter in * their tex
src/core/lark-logger.ts:122
↓ 4 callersFunctionformatToolResult
( data: unknown, options: { /** JSON 缩进空格数,默认 2 */ indent?: number; } = {}, )
src/tools/helpers.ts:322
↓ 4 callersFunctiongetAppOwnerFallback
( account: ConfiguredLarkAccount, sdk: Lark.Client, )
src/core/app-owner-fallback.ts:32
↓ 4 callersFunctiongetLogger
()
src/core/lark-logger.ts:145
↓ 4 callersFunctiongetMessageUnavailableState
(messageId: string | undefined)
src/core/message-unavailable.ts:61
↓ 4 callersFunctiongetResolvedConfig
(fallback: ClawdbotConfig)
src/core/lark-client.ts:497
↓ 4 callersFunctiongetSelectFieldName
(questionIndex: number)
src/tools/ask-user-question.ts:188
↓ 4 callersFunctiongetUserAgent
()
src/core/version.ts:67
↓ 4 callersFunctionisSyntheticTarget
(target: string | undefined | null)
src/core/synthetic-target.ts:38
↓ 4 callersFunctionlogCardKitResponse
* 记录 CardKit API 响应日志,检测错误码并抛出异常。 * * 默认 fail-fast:body-level 非零 code 视为业务错误,立即抛出, * 由调用方(streaming-card-controller 等)统一走 catch → guard 处理。
src/card/cardkit.ts:44
↓ 4 callersFunctionmatchesQuery
Case-insensitive substring match on id and optional name.
src/channel/directory.ts:25
↓ 4 callersFunctionmentionedBot
(ctx: MessageContext)
src/messaging/inbound/mention.ts:33
↓ 4 callersFunctionmillisToDatetime
(ms: string | number)
src/messaging/converters/utils.ts:39
↓ 4 callersFunctionnormalizeEventListTimeFields
( events: Array<Record<string, any>> | undefined, )
src/tools/oapi/calendar/event.ts:491
↓ 4 callersFunctionopenPlatformDomain
(brand?: LarkBrand)
src/core/domains.ts:18
← previousnext →101–200 of 1,118, ranked by callers