MCPcopy Create free account

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

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

↓ 4 callersFunctiongetMessageUnavailableState
(messageId: string | undefined)
src/core/message-unavailable.ts:60
↓ 4 callersFunctiongetSelectFieldName
(questionIndex: number)
src/tools/ask-user-question.ts:182
↓ 4 callersFunctiongetUserAgent
()
src/core/version.ts:51
↓ 4 callersFunctionisMessageUnavailableError
(error: unknown)
src/core/message-unavailable.ts:115
↓ 4 callersFunctionlogCardKitResponse
* 记录 CardKit API 响应日志,检测错误码并抛出异常。 * * 默认 fail-fast:body-level 非零 code 视为业务错误,立即抛出, * 由调用方(streaming-card-controller 等)统一走 catch → guard 处理。
src/card/cardkit.ts:43
↓ 4 callersFunctionmatchesQuery
Case-insensitive substring match on id and optional name.
src/channel/directory.ts:25
↓ 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
↓ 4 callersFunctionprobeFeishu
(credentials?: LarkClientCredentials)
src/channel/probe.ts:16
↓ 4 callersFunctionresolveFeishuGroupConfig
(params: { cfg?: FeishuConfig; groupId?: string | null; })
src/messaging/inbound/policy.ts:74
↓ 4 callersFunctionrunFeishuDoctor
( config: OpenClawConfig, currentAccountId?: string, locale: DoctorLocale = 'zh_cn', )
src/commands/doctor.ts:660
↓ 4 callersFunctionsendMediaLark
(params: SendMediaLarkParams)
src/messaging/outbound/deliver.ts:399
↓ 4 callersFunctionsendMediaMessage
* Unified media message sender — handles both reply and create paths for * image / file / audio `msg_type` values. * * Mirrors {@link sendImMessage
src/messaging/outbound/media.ts:367
↓ 4 callersFunctionthreadScopedKey
(base: string, threadId?: string)
src/channel/chat-queue.ts:29
↓ 4 callersFunctiontokenStatus
(token: StoredUAToken)
src/core/token-store.ts:359
↓ 4 callersFunctionupdateCardFeishu
(params: { cfg: ClawdbotConfig; messageId: string; card: Record<string, unknown>; accountId?: string;
src/messaging/outbound/send.ts:296
↓ 4 callersMethodwaitForFlush
Wait for any in-progress flush to finish.
src/card/flush-controller.ts:42
↓ 3 callersMethodabortCard
()
src/card/streaming-card-controller.ts:694
↓ 3 callersFunctionaccountKey
(appId: string, userOpenId: string)
src/core/token-store.ts:61
↓ 3 callersFunctionaddToDeferredUserAuth
* 将用户授权 scope 添加到延迟队列。 * 多个工具调用的 scope 会被合并到同一个 entry。
src/tools/auto-auth.ts:423
↓ 3 callersFunctionassertOwnerAccessStrict
( account: ConfiguredLarkAccount, // eslint-disable-next-line @typescript-eslint/no-explicit-any sdk: an
src/core/owner-policy.ts:49
↓ 3 callersFunctionbatchResolveUserNamesAsUser
(params: { client: ToolClient; openIds: string[]; log: (...args: unknown[]) => void; })
src/tools/oapi/im/user-name-uat.ts:84
↓ 3 callersFunctionbuildConvertContextFromItem
( item: ApiMessageItem, fallbackMessageId: string, accountId?: string, )
src/messaging/converters/content-converter.ts:72
↓ 3 callersMethodclear
Clear all entries.
src/messaging/inbound/user-name-cache.ts:99
↓ 3 callersMethodclear
()
src/messaging/inbound/user-name-cache-store.ts:76
↓ 3 callersFunctioncoerceCode
(value: unknown)
src/core/api-error.ts:44
↓ 3 callersMethodconvertDatePicker
(prop: Obj, _id: string, pickerType: string)
src/messaging/converters/interactive/card-converter.ts:750
↓ 3 callersFunctionconvertMarkdownTablesForFeishu
* Resolve the configured markdown table mode for Feishu and convert tables if * the runtime converter is available. * * @param cfg - Plugin configu
src/messaging/outbound/send.ts:76
↓ 3 callersFunctioncreateAccountScopedConfig
(cfg: ClawdbotConfig, accountId?: string | null)
src/core/accounts.ts:177
↓ 3 callersMethodelapsed
()
src/card/streaming-card-controller.ts:161
↓ 3 callersFunctionenqueueAuthRequest
* 将授权请求入队到防抖缓冲区。 * * 同一 bufferKey 的请求会被合并: * - collecting 阶段:scope 集合取并集,共享同一个 flushFn 执行结果 * - executing 阶段:flushFn 已在运行,后续请求直接复用已有结果(不重复发卡片) *
src/tools/auto-auth.ts:129
↓ 3 callersFunctionescapeRegExp
(s: string)
src/messaging/inbound/enrich.ts:232
↓ 3 callersFunctionextractMentionOpenId
(id: unknown)
src/messaging/converters/content-converter.ts:29
↓ 3 callersMethodflush
* Execute a flush (mutex-guarded, with reflush on conflict). * * If a flush is already in progress, marks needsReflush so a * follow-up flush
src/card/flush-controller.ts:53
↓ 3 callersFunctionformatAuthResult
* Format an AuthResult into a locale-specific message string.
src/commands/auth.ts:81
↓ 3 callersFunctionformatCalendarContent
(parsed: CalendarBody | undefined)
src/messaging/converters/calendar.ts:20
↓ 3 callersFunctionformatPermissionError
* Given a Feishu error code and msg, format a user-friendly permission * error string if the code is LARK_ERROR.APP_SCOPE_MISSING (99991672). Return
src/core/api-error.ts:31
↓ 3 callersFunctiongetFeishuHelp
(locale: FeishuLocale = 'zh_cn')
src/commands/index.ts:144
↓ 3 callersMethodgetFooterSessionMetrics
()
src/card/streaming-card-controller.ts:170
↓ 3 callersFunctiongetUATUserName
(accountId: string, openId: string)
src/tools/oapi/im/user-name-uat.ts:52
↓ 3 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:38
↓ 3 callersFunctionlinuxSafeFileName
Convert account key to a filesystem-safe filename.
src/core/token-store.ts:130
↓ 3 callersFunctionlistFeishuDirectoryGroups
(params: { cfg: ClawdbotConfig; query?: string; limit?: number; accountId?: string; })
src/channel/directory.ts:85
↓ 3 callersFunctionlistFeishuDirectoryPeers
(params: { cfg: ClawdbotConfig; query?: string; limit?: number; accountId?: string; })
src/channel/directory.ts:45
↓ 3 callersFunctionmissingScopes
(appGranted: string[], apiRequired: string[])
src/core/app-scope-checker.ts:227
↓ 3 callersMethodneedsFooterMetrics
()
src/card/streaming-card-controller.ts:165
↓ 3 callersFunctionnormalizeEventTimeFields
(event: Record<string, any> | undefined)
src/tools/oapi/calendar/event.ts:468
↓ 3 callersFunctionprepareTerminalCardContent
( content: TerminalCardContentInput, imageResolver: TerminalCardTextImageResolver, tableLimit: number =
src/card/streaming-card-controller.ts:1051
↓ 3 callersMethodprobe
* Probe bot identity via the `bot/v3/info` API. * Results are cached on the instance for subsequent access via * `botOpenId` / `botName`.
src/core/lark-client.ts:271
↓ 3 callersFunctionregisterMcpTool
( api: OpenClawPluginApi, config: McpToolConfig<T>, )
src/tools/mcp/shared.ts:225
↓ 3 callersMethodremove
(service: string, account: string)
src/core/token-store.ts:78
↓ 3 callersFunctionresolveAgentEntry
(cfg: ClawdbotConfig, agentId: string)
src/core/agent-config.ts:64
↓ 3 callersFunctionresolveBaseNameFromPath
(value: string)
src/messaging/outbound/media-url-utils.ts:113
↓ 3 callersFunctionresolveFeishuAllowlistMatch
(params: { allowFrom: Array<string | number>; senderId: string; senderName?: string | null; })
src/messaging/inbound/policy.ts:33
↓ 3 callersFunctionresolveFeishuSendContext
* Map adapter-level parameters to internal send context. * * Mirrors the pattern used by Telegram (`resolveTelegramSendContext`) and * Slack (`send
src/messaging/outbound/outbound.ts:127
↓ 3 callersMethodresolveImages
(text: string)
src/card/streaming-card-controller.ts:62
↓ 3 callersFunctionresolveOAuthEndpoints
(brand: LarkBrand)
src/core/device-flow.ts:56
↓ 3 callersFunctionresolveRange
* Resolve the target range for read/write/append operations. * * Priority: explicit range > sheet_id param / URL sheet > first sheet via API. * Thr
src/tools/oapi/sheets/sheet.ts:181
↓ 3 callersFunctionresolveUserName
(params: { account: LarkAccount; openId: string; log: (...args: unknown[]) => void; })
src/messaging/inbound/user-name-cache.ts:248
↓ 3 callersFunctionrunFeishuStart
( config: OpenClawConfig, locale: FeishuLocale = 'zh_cn', )
src/commands/index.ts:96
↓ 3 callersFunctionsendCardFeishu
(params: SendFeishuCardParams)
src/messaging/outbound/send.ts:223
↓ 3 callersFunctionsendCardLark
(params: SendCardLarkParams)
src/messaging/outbound/deliver.ts:325
↓ 3 callersFunctionsplitReasoningText
(text?: string)
src/card/builder.ts:87
↓ 3 callersFunctionstreamToBuffer
* Consume a Readable stream into a Buffer.
src/messaging/outbound/media.ts:190
↓ 3 callersFunctionticketElapsed
()
src/core/lark-ticket.ts:53
↓ 3 callersFunctionwin32SafeFileName
Convert account key to a filesystem-safe filename (whitelist approach).
src/core/token-store.ts:236
↓ 2 callersMethod_invokeInternal
* 内部 invoke 实现,只支持 ToolActionKey(严格类型检查)
src/core/tool-client.ts:182
↓ 2 callersFunctionapplyLimitSlice
Filter items and apply optional limit.
src/channel/directory.ts:31
↓ 2 callersFunctionarmTtlTimer
Arm (or re-arm) the TTL expiry timer for a pending question.
src/tools/ask-user-question.ts:101
↓ 2 callersFunctionbaseConfig
Strip the `accounts` key and return the remaining top-level config.
src/core/accounts.ts:38
↓ 2 callersFunctionbatchResolveUserNames
(params: { account: LarkAccount; openIds: string[]; log: (...args: unknown[]) => void; })
src/messaging/inbound/user-name-cache.ts:161
↓ 2 callersFunctionbuildAppScopeMissingCard
* 构建应用权限引导卡片。 * * 橙色 header,列出缺失的 scope,提供权限管理链接和"已完成"按钮。
src/tools/auto-auth.ts:455
↓ 2 callersFunctionbuildAuthFailedCard
(_reason: string)
src/tools/oauth-cards.ts:325
↓ 2 callersFunctionbuildInboundPayload
( dc: DispatchContext, opts: { body: string; bodyForAgent: string; rawBody: string; comman
src/messaging/inbound/dispatch-builders.ts:105
↓ 2 callersFunctionbuildMentionAnnotation
(ctx: MessageContext)
src/messaging/inbound/dispatch-builders.ts:33
↓ 2 callersFunctionbuildMentionedMessage
(targets: MentionInfo[], message: string)
src/messaging/inbound/mention.ts:96
↓ 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:225
↓ 2 callersFunctioncleanConfigReferences
(pluginId)
bin/openclaw-lark.js:271
↓ 2 callersFunctionclearChatInfoCache
(accountId?: string)
src/core/chat-info-cache.ts:117
↓ 2 callersFunctionclearUserNameCache
(accountId?: string)
src/messaging/inbound/user-name-cache-store.ts:99
↓ 2 callersMethodcloseStreamingAndUpdate
* Close streaming mode then update card content (shared by onError and abortCard).
src/card/streaming-card-controller.ts:1009
↓ 2 callersFunctionconsumePendingQuestion
(questionId: string)
src/tools/ask-user-question.ts:133
↓ 2 callersMethodconvertActions
(prop: Obj)
src/messaging/converters/interactive/card-converter.ts:609
↓ 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:323
↓ 2 callersFunctioncreateBatchResolveNames
( account: LarkAccount, log: (...args: unknown[]) => void, )
src/messaging/inbound/user-name-cache.ts:224
↓ 2 callersFunctioncreateClientGetter
(config: ClawdbotConfig, accountIndex = 0)
src/tools/helpers.ts:82
↓ 2 callersFunctioncreateFeishuReplyDispatcher
(params: CreateFeishuReplyDispatcherParams)
src/card/reply-dispatcher.ts:39
↓ 2 callersFunctioncreateLarkLogger
(subsystem: string)
src/core/lark-logger.ts:137
↓ 2 callersFunctiondecryptData
AES-256-GCM decrypt. Returns plaintext or `null` on failure.
src/core/token-store.ts:173
↓ 2 callersFunctiondispatchSystemCommand
( dc: DispatchContext, ctxPayload: ReturnType<typeof LarkClient.runtime.channel.reply.finalizeInboundConte
src/messaging/inbound/dispatch-commands.ts:100
↓ 2 callersFunctiondispatchToAgent
(params: { ctx: MessageContext; permissionError?: PermissionError; mediaPayload: Record<string, unknown>
src/messaging/inbound/dispatch.ts:152
↓ 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:165
← previousnext →101–200 of 864, ranked by callers