Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ColinLu50/openclaw-lark-stream
/ functions
Functions
864 in github.com/ColinLu50/openclaw-lark-stream
⨍
Functions
864
◇
Types & classes
193
↓ 4 callers
Function
getMessageUnavailableState
(messageId: string | undefined)
src/core/message-unavailable.ts:60
↓ 4 callers
Function
getSelectFieldName
(questionIndex: number)
src/tools/ask-user-question.ts:182
↓ 4 callers
Function
getUserAgent
()
src/core/version.ts:51
↓ 4 callers
Function
isMessageUnavailableError
(error: unknown)
src/core/message-unavailable.ts:115
↓ 4 callers
Function
logCardKitResponse
* 记录 CardKit API 响应日志,检测错误码并抛出异常。 * * 默认 fail-fast:body-level 非零 code 视为业务错误,立即抛出, * 由调用方(streaming-card-controller 等)统一走 catch → guard 处理。
src/card/cardkit.ts:43
↓ 4 callers
Function
matchesQuery
Case-insensitive substring match on id and optional name.
src/channel/directory.ts:25
↓ 4 callers
Function
millisToDatetime
(ms: string | number)
src/messaging/converters/utils.ts:39
↓ 4 callers
Function
normalizeEventListTimeFields
( events: Array<Record<string, any>> | undefined, )
src/tools/oapi/calendar/event.ts:491
↓ 4 callers
Function
openPlatformDomain
(brand?: LarkBrand)
src/core/domains.ts:18
↓ 4 callers
Function
probeFeishu
(credentials?: LarkClientCredentials)
src/channel/probe.ts:16
↓ 4 callers
Function
resolveFeishuGroupConfig
(params: { cfg?: FeishuConfig; groupId?: string | null; })
src/messaging/inbound/policy.ts:74
↓ 4 callers
Function
runFeishuDoctor
( config: OpenClawConfig, currentAccountId?: string, locale: DoctorLocale = 'zh_cn', )
src/commands/doctor.ts:660
↓ 4 callers
Function
sendMediaLark
(params: SendMediaLarkParams)
src/messaging/outbound/deliver.ts:399
↓ 4 callers
Function
sendMediaMessage
* 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 callers
Function
threadScopedKey
(base: string, threadId?: string)
src/channel/chat-queue.ts:29
↓ 4 callers
Function
tokenStatus
(token: StoredUAToken)
src/core/token-store.ts:359
↓ 4 callers
Function
updateCardFeishu
(params: { cfg: ClawdbotConfig; messageId: string; card: Record<string, unknown>; accountId?: string;
src/messaging/outbound/send.ts:296
↓ 4 callers
Method
waitForFlush
Wait for any in-progress flush to finish.
src/card/flush-controller.ts:42
↓ 3 callers
Method
abortCard
()
src/card/streaming-card-controller.ts:694
↓ 3 callers
Function
accountKey
(appId: string, userOpenId: string)
src/core/token-store.ts:61
↓ 3 callers
Function
addToDeferredUserAuth
* 将用户授权 scope 添加到延迟队列。 * 多个工具调用的 scope 会被合并到同一个 entry。
src/tools/auto-auth.ts:423
↓ 3 callers
Function
assertOwnerAccessStrict
( account: ConfiguredLarkAccount, // eslint-disable-next-line @typescript-eslint/no-explicit-any sdk: an
src/core/owner-policy.ts:49
↓ 3 callers
Function
batchResolveUserNamesAsUser
(params: { client: ToolClient; openIds: string[]; log: (...args: unknown[]) => void; })
src/tools/oapi/im/user-name-uat.ts:84
↓ 3 callers
Function
buildConvertContextFromItem
( item: ApiMessageItem, fallbackMessageId: string, accountId?: string, )
src/messaging/converters/content-converter.ts:72
↓ 3 callers
Method
clear
Clear all entries.
src/messaging/inbound/user-name-cache.ts:99
↓ 3 callers
Method
clear
()
src/messaging/inbound/user-name-cache-store.ts:76
↓ 3 callers
Function
coerceCode
(value: unknown)
src/core/api-error.ts:44
↓ 3 callers
Method
convertDatePicker
(prop: Obj, _id: string, pickerType: string)
src/messaging/converters/interactive/card-converter.ts:750
↓ 3 callers
Function
convertMarkdownTablesForFeishu
* 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 callers
Function
createAccountScopedConfig
(cfg: ClawdbotConfig, accountId?: string | null)
src/core/accounts.ts:177
↓ 3 callers
Method
elapsed
()
src/card/streaming-card-controller.ts:161
↓ 3 callers
Function
enqueueAuthRequest
* 将授权请求入队到防抖缓冲区。 * * 同一 bufferKey 的请求会被合并: * - collecting 阶段:scope 集合取并集,共享同一个 flushFn 执行结果 * - executing 阶段:flushFn 已在运行,后续请求直接复用已有结果(不重复发卡片) *
src/tools/auto-auth.ts:129
↓ 3 callers
Function
escapeRegExp
(s: string)
src/messaging/inbound/enrich.ts:232
↓ 3 callers
Function
extractMentionOpenId
(id: unknown)
src/messaging/converters/content-converter.ts:29
↓ 3 callers
Method
flush
* 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 callers
Function
formatAuthResult
* Format an AuthResult into a locale-specific message string.
src/commands/auth.ts:81
↓ 3 callers
Function
formatCalendarContent
(parsed: CalendarBody | undefined)
src/messaging/converters/calendar.ts:20
↓ 3 callers
Function
formatPermissionError
* 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 callers
Function
getFeishuHelp
(locale: FeishuLocale = 'zh_cn')
src/commands/index.ts:144
↓ 3 callers
Method
getFooterSessionMetrics
()
src/card/streaming-card-controller.ts:170
↓ 3 callers
Function
getUATUserName
(accountId: string, openId: string)
src/tools/oapi/im/user-name-uat.ts:52
↓ 3 callers
Function
isEventOwnershipValid
* 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 callers
Function
linuxSafeFileName
Convert account key to a filesystem-safe filename.
src/core/token-store.ts:130
↓ 3 callers
Function
listFeishuDirectoryGroups
(params: { cfg: ClawdbotConfig; query?: string; limit?: number; accountId?: string; })
src/channel/directory.ts:85
↓ 3 callers
Function
listFeishuDirectoryPeers
(params: { cfg: ClawdbotConfig; query?: string; limit?: number; accountId?: string; })
src/channel/directory.ts:45
↓ 3 callers
Function
missingScopes
(appGranted: string[], apiRequired: string[])
src/core/app-scope-checker.ts:227
↓ 3 callers
Method
needsFooterMetrics
()
src/card/streaming-card-controller.ts:165
↓ 3 callers
Function
normalizeEventTimeFields
(event: Record<string, any> | undefined)
src/tools/oapi/calendar/event.ts:468
↓ 3 callers
Function
prepareTerminalCardContent
( content: TerminalCardContentInput, imageResolver: TerminalCardTextImageResolver, tableLimit: number =
src/card/streaming-card-controller.ts:1051
↓ 3 callers
Method
probe
* 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 callers
Function
registerMcpTool
( api: OpenClawPluginApi, config: McpToolConfig<T>, )
src/tools/mcp/shared.ts:225
↓ 3 callers
Method
remove
(service: string, account: string)
src/core/token-store.ts:78
↓ 3 callers
Function
resolveAgentEntry
(cfg: ClawdbotConfig, agentId: string)
src/core/agent-config.ts:64
↓ 3 callers
Function
resolveBaseNameFromPath
(value: string)
src/messaging/outbound/media-url-utils.ts:113
↓ 3 callers
Function
resolveFeishuAllowlistMatch
(params: { allowFrom: Array<string | number>; senderId: string; senderName?: string | null; })
src/messaging/inbound/policy.ts:33
↓ 3 callers
Function
resolveFeishuSendContext
* 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 callers
Method
resolveImages
(text: string)
src/card/streaming-card-controller.ts:62
↓ 3 callers
Function
resolveOAuthEndpoints
(brand: LarkBrand)
src/core/device-flow.ts:56
↓ 3 callers
Function
resolveRange
* 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 callers
Function
resolveUserName
(params: { account: LarkAccount; openId: string; log: (...args: unknown[]) => void; })
src/messaging/inbound/user-name-cache.ts:248
↓ 3 callers
Function
runFeishuStart
( config: OpenClawConfig, locale: FeishuLocale = 'zh_cn', )
src/commands/index.ts:96
↓ 3 callers
Function
sendCardFeishu
(params: SendFeishuCardParams)
src/messaging/outbound/send.ts:223
↓ 3 callers
Function
sendCardLark
(params: SendCardLarkParams)
src/messaging/outbound/deliver.ts:325
↓ 3 callers
Function
splitReasoningText
(text?: string)
src/card/builder.ts:87
↓ 3 callers
Function
streamToBuffer
* Consume a Readable stream into a Buffer.
src/messaging/outbound/media.ts:190
↓ 3 callers
Function
ticketElapsed
()
src/core/lark-ticket.ts:53
↓ 3 callers
Function
win32SafeFileName
Convert account key to a filesystem-safe filename (whitelist approach).
src/core/token-store.ts:236
↓ 2 callers
Method
_invokeInternal
* 内部 invoke 实现,只支持 ToolActionKey(严格类型检查)
src/core/tool-client.ts:182
↓ 2 callers
Function
applyLimitSlice
Filter items and apply optional limit.
src/channel/directory.ts:31
↓ 2 callers
Function
armTtlTimer
Arm (or re-arm) the TTL expiry timer for a pending question.
src/tools/ask-user-question.ts:101
↓ 2 callers
Function
baseConfig
Strip the `accounts` key and return the remaining top-level config.
src/core/accounts.ts:38
↓ 2 callers
Function
batchResolveUserNames
(params: { account: LarkAccount; openIds: string[]; log: (...args: unknown[]) => void; })
src/messaging/inbound/user-name-cache.ts:161
↓ 2 callers
Function
buildAppScopeMissingCard
* 构建应用权限引导卡片。 * * 橙色 header,列出缺失的 scope,提供权限管理链接和"已完成"按钮。
src/tools/auto-auth.ts:455
↓ 2 callers
Function
buildAuthFailedCard
(_reason: string)
src/tools/oauth-cards.ts:325
↓ 2 callers
Function
buildInboundPayload
( dc: DispatchContext, opts: { body: string; bodyForAgent: string; rawBody: string; comman
src/messaging/inbound/dispatch-builders.ts:105
↓ 2 callers
Function
buildMentionAnnotation
(ctx: MessageContext)
src/messaging/inbound/dispatch-builders.ts:33
↓ 2 callers
Function
buildMentionedMessage
(targets: MentionInfo[], message: string)
src/messaging/inbound/mention.ts:96
↓ 2 callers
Function
callEndpoint
()
src/core/uat-client.ts:85
↓ 2 callers
Method
cancelPendingFlush
Cancel any pending deferred flush timer.
src/card/flush-controller.ts:34
↓ 2 callers
Method
cardMessageReady
()
src/card/flush-controller.ts:127
↓ 2 callers
Function
checkMultiAccountIsolation
(cfg: ClawdbotConfig)
src/core/security-check.ts:38
↓ 2 callers
Function
checkToolRegistration
(api: OpenClawPluginApi, toolName: string)
src/tools/helpers.ts:225
↓ 2 callers
Function
cleanConfigReferences
(pluginId)
bin/openclaw-lark.js:271
↓ 2 callers
Function
clearChatInfoCache
(accountId?: string)
src/core/chat-info-cache.ts:117
↓ 2 callers
Function
clearUserNameCache
(accountId?: string)
src/messaging/inbound/user-name-cache-store.ts:99
↓ 2 callers
Method
closeStreamingAndUpdate
* Close streaming mode then update card content (shared by onError and abortCard).
src/card/streaming-card-controller.ts:1009
↓ 2 callers
Function
consumePendingQuestion
(questionId: string)
src/tools/ask-user-question.ts:133
↓ 2 callers
Method
convertActions
(prop: Obj)
src/messaging/converters/interactive/card-converter.ts:609
↓ 2 callers
Method
convertImage
(prop: Obj, _id: string)
src/messaging/converters/interactive/card-converter.ts:941
↓ 2 callers
Method
convertPlainText
(prop: Obj)
src/messaging/converters/interactive/card-converter.ts:211
↓ 2 callers
Function
convertTimeRange
( timeRange: { start?: string; end?: string } | undefined, unit: 's' | 'ms' = 's', )
src/tools/oapi/helpers.ts:323
↓ 2 callers
Function
createBatchResolveNames
( account: LarkAccount, log: (...args: unknown[]) => void, )
src/messaging/inbound/user-name-cache.ts:224
↓ 2 callers
Function
createClientGetter
(config: ClawdbotConfig, accountIndex = 0)
src/tools/helpers.ts:82
↓ 2 callers
Function
createFeishuReplyDispatcher
(params: CreateFeishuReplyDispatcherParams)
src/card/reply-dispatcher.ts:39
↓ 2 callers
Function
createLarkLogger
(subsystem: string)
src/core/lark-logger.ts:137
↓ 2 callers
Function
decryptData
AES-256-GCM decrypt. Returns plaintext or `null` on failure.
src/core/token-store.ts:173
↓ 2 callers
Function
dispatchSystemCommand
( dc: DispatchContext, ctxPayload: ReturnType<typeof LarkClient.runtime.channel.reply.finalizeInboundConte
src/messaging/inbound/dispatch-commands.ts:100
↓ 2 callers
Function
dispatchToAgent
(params: { ctx: MessageContext; permissionError?: PermissionError; mediaPayload: Record<string, unknown>
src/messaging/inbound/dispatch.ts:152
↓ 2 callers
Function
drainShutdownHooks
(opts?: { deadlineMs?: number; log?: (...args: unknown[]) => void; })
src/core/shutdown-hooks.ts:39
↓ 2 callers
Function
encryptData
AES-256-GCM encrypt. Returns [12-byte IV][16-byte tag][ciphertext].
src/core/token-store.ts:165
← previous
next →
101–200 of 864, ranked by callers