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
↓ 1 callers
Method
convertTable
(prop: Obj)
src/messaging/converters/interactive/card-converter.ts:1093
↓ 1 callers
Method
convertTextTag
(prop: Obj)
src/messaging/converters/interactive/card-converter.ts:422
↓ 1 callers
Method
convertUnknown
(prop: Obj | undefined, tag: string)
src/messaging/converters/interactive/card-converter.ts:448
↓ 1 callers
Method
convertVideo
(prop: Obj, _id: string)
src/messaging/converters/interactive/card-converter.ts:1084
↓ 1 callers
Function
createBackend
()
src/core/token-store.ts:294
↓ 1 callers
Function
createFetchSubMessages
(larkClient: LarkClientType)
src/messaging/inbound/parse-io.ts:75
↓ 1 callers
Function
createParseResolveNames
(account: LarkAccount)
src/messaging/inbound/parse-io.ts:101
↓ 1 callers
Function
createToolClient
(config: ClawdbotConfig, accountIndex = 0)
src/core/tool-client.ts:474
↓ 1 callers
Function
createToolLogger
(api: OpenClawPluginApi, toolName: string)
src/tools/helpers.ts:366
↓ 1 callers
Function
createUATFetchSubMessages
通过 UAT 获取合并转发子消息
src/tools/oapi/im/format-messages.ts:50
↓ 1 callers
Function
credentialsEqual
* Compare two credential values that may be strings or SecretRef objects. * * - Both strings: direct `===`. * - Both SecretRef objects: compare `so
src/core/lark-client.ts:107
↓ 1 callers
Function
dateTimeToSeconds
(datetime: string)
src/tools/oapi/im/time-utils.ts:62
↓ 1 callers
Function
deleteAccount
(cfg: ClawdbotConfig, accountId: string)
src/channel/config-adapter.ts:66
↓ 1 callers
Function
deliverMedia
* Upload and send a media file with text-link fallback on failure.
src/messaging/outbound/actions.ts:269
↓ 1 callers
Function
deliverMessage
* Unified message delivery — handles text, card, and media payloads with * optional reply-to and thread routing. * * Supports `fileName` for named
src/messaging/outbound/actions.ts:217
↓ 1 callers
Function
detectCardJson
* Detect whether a text string is a complete Feishu card JSON (v1, v2, or template). * * Returns the parsed card object if the text is valid card JS
src/messaging/outbound/deliver.ts:150
↓ 1 callers
Function
detectFileType
(fileName: string)
src/messaging/outbound/media.ts:573
↓ 1 callers
Function
detectIdType
(id: string)
src/core/targets.ts:45
↓ 1 callers
Function
detectRegisteredTools
(config: OpenClawConfig)
src/commands/diagnose.ts:144
↓ 1 callers
Function
diagnoseAccount
(account: LarkAccount)
src/commands/diagnose.ts:170
↓ 1 callers
Function
dispatchNormalMessage
* Dispatch a normal (non-command) message via the streaming card flow. * Cleans up consumed history entries after dispatch completes. * * Note: his
src/messaging/inbound/dispatch.ts:64
↓ 1 callers
Function
dispatchPermissionNotification
( dc: DispatchContext, permissionError: PermissionError, replyToMessageId?: string, )
src/messaging/inbound/dispatch-commands.ts:30
↓ 1 callers
Function
doRefreshToken
(opts: UATCallOptions, stored: StoredUAToken)
src/core/uat-client.ts:69
↓ 1 callers
Method
doUpload
(url: string)
src/card/image-resolver.ts:111
↓ 1 callers
Function
downloadMessageResourceFeishu
(params: { cfg: OpenClawConfig; messageId: string; fileKey: string; type: 'image' | 'file'; accountI
src/messaging/outbound/media.ts:226
↓ 1 callers
Function
downloadResources
(params: { cfg: ClawdbotConfig; messageId: string; resources: ResourceDescriptor[]; maxBytes: number;
src/messaging/inbound/media-resolver.ts:25
↓ 1 callers
Function
emitSecurityWarnings
( _cfg: ClawdbotConfig, _logger: { warn?: (msg: string) => void; info?: (msg: string) => void }, )
src/core/security-check.ts:225
↓ 1 callers
Function
encodeFeishuRouteTarget
(params: { target: string; replyToMessageId?: string; threadId?: string | number | null; })
src/core/targets.ts:110
↓ 1 callers
Function
enrichMessages
( messages: FormattedMessage[], items: any[], chatMap: Map<string, ChatContext>, nameResolver: (openId
src/tools/oapi/im/message-read.ts:451
↓ 1 callers
Function
ensurePluginAllowed
* Ensure the plugin ID is in plugins.allow so openclaw doesn't warn.
bin/openclaw-lark.js:237
↓ 1 callers
Function
ensureRuntime
(runtime: RuntimeEnv | undefined)
src/messaging/inbound/dispatch-context.ts:54
↓ 1 callers
Function
ensureStreamingConfig
* Ensure streaming is enabled on an existing config.
bin/openclaw-lark.js:193
↓ 1 callers
Method
evict
()
src/core/chat-info-cache.ts:93
↓ 1 callers
Function
expand
( accountId: string | undefined, messageId: string, resolveUserName?: (openId: string) => string | undef
src/messaging/converters/merge-forward.ts:53
↓ 1 callers
Function
expandAutoMode
(params: { mode: ReplyModeValue; streaming: boolean | undefined; chatType?: 'p2p' | 'group'; })
src/card/reply-mode.ts:57
↓ 1 callers
Method
extractBody
(card: Obj, _schema: number)
src/messaging/converters/interactive/card-converter.ts:105
↓ 1 callers
Function
extractBuffer
(res: any)
src/tools/tat/im/resource.ts:67
↓ 1 callers
Function
extractBufferFromResponse
* Extract a Buffer from various SDK response formats. * * The Feishu Node SDK can return binary data in several shapes depending * on the runtime e
src/messaging/outbound/media.ts:105
↓ 1 callers
Method
extractChartSummary
(prop: Obj, chartType: string)
src/messaging/converters/interactive/card-converter.ts:1015
↓ 1 callers
Function
extractDocumentId
* 从文档 URL 或纯 ID 中提取 document_id
src/tools/oapi/drive/doc-media.ts:93
↓ 1 callers
Method
extractHeaderTitle
(header: Obj, _schema: number)
src/messaging/converters/interactive/card-converter.ts:112
↓ 1 callers
Function
extractHighestPriorityScope
* Extract the highest-priority permission from a scope list. * Returns the permission with the lowest priority number (read > write > other).
src/core/permission-url.ts:36
↓ 1 callers
Method
extractLineBarSummary
(chartSpec: Obj, values: unknown[])
src/messaging/converters/interactive/card-converter.ts:1037
↓ 1 callers
Function
extractMentionOpenId
(id: unknown)
src/messaging/converters/content-converter-helpers.ts:14
↓ 1 callers
Function
extractPermissionError
(err: unknown)
src/messaging/inbound/permission.ts:28
↓ 1 callers
Function
extractPermissionScopes
(msg: string)
src/core/permission-url.ts:74
↓ 1 callers
Method
extractPieSummary
(chartSpec: Obj, values: unknown[])
src/messaging/converters/interactive/card-converter.ts:1054
↓ 1 callers
Function
extractPlainText
Extract plain text from post-style content blocks.
src/messaging/converters/todo.ts:12
↓ 1 callers
Method
extractProperty
(elem: Obj)
src/messaging/converters/interactive/card-converter.ts:163
↓ 1 callers
Function
extractRawTextFromEvent
(event: FeishuMessageEvent)
src/channel/abort-detect.ts:116
↓ 1 callers
Function
extractRecentErrors
(logPath: string)
src/commands/diagnose.ts:100
↓ 1 callers
Function
extractSubCode
(msg: string)
src/card/card-error.ts:69
↓ 1 callers
Method
extractTableCellValue
(data: unknown)
src/messaging/converters/interactive/card-converter.ts:1135
↓ 1 callers
Method
extractTextStyle
(prop: Obj)
src/messaging/converters/interactive/card-converter.ts:1154
↓ 1 callers
Function
extractTexts
(elements: unknown[], out: string[])
src/messaging/converters/interactive/legacy.ts:29
↓ 1 callers
Function
extractThinkingContent
* Extract content from `<think>`, `<thinking>`, `<thought>` blocks. * Handles both closed and unclosed (streaming) tags.
src/card/builder.ts:116
↓ 1 callers
Function
fetchCardContent
(messageId: string, larkClient: LarkClientType)
src/messaging/inbound/parse-io.ts:43
↓ 1 callers
Function
fetchChatContexts
( client: ToolClient, chatIds: string[], logInfo: (msg: string) => void, logWarn: (msg: string) => voi
src/tools/oapi/im/message-read.ts:393
↓ 1 callers
Function
fetchRemoteImageBuffer
(url: string)
src/messaging/outbound/media.ts:854
↓ 1 callers
Function
findMarkdownTablesOutsideCodeBlocks
(text: string)
src/card/card-error.ts:153
↓ 1 callers
Function
findQuestionByChat
* Targeted chat-scoped fallback: exact accountId:chatId match via secondary index. * Used when operationId cannot be extracted from the card callback
src/tools/ask-user-question.ts:154
↓ 1 callers
Function
flattenValues
(values: unknown[][] | undefined)
src/tools/oapi/sheets/sheet.ts:232
↓ 1 callers
Function
formatDiagReportCli
(report: DiagReport)
src/commands/diagnose.ts:878
↓ 1 callers
Function
formatDiagReportText
(report: DiagReport)
src/commands/diagnose.ts:369
↓ 1 callers
Function
formatDmScopeWarning
User-facing dmScope warning block (markdown).
src/core/security-check.ts:110
↓ 1 callers
Function
formatFooterRuntimeSegments
(params: { footer?: { status?: boolean; elapsed?: boolean; tokens?: boolean; cache?: boolean
src/card/builder.ts:214
↓ 1 callers
Function
formatMessageItem
( item: ApiMessageItem, accountId: string, nameResolver: (openId: string) => string | undefined, ctxOv
src/tools/oapi/im/format-messages.ts:78
↓ 1 callers
Function
formatMillisecondsToISO8601
(milliseconds: string)
src/messaging/converters/interactive/card-utils.ts:12
↓ 1 callers
Function
formatReasoningDuration
(ms: number)
src/card/builder.ts:171
↓ 1 callers
Function
formatSubTree
* Recursively format a sub-tree of messages rooted at `parentId`. * * For `merge_forward` children this recurses into `formatSubTree` * directly (n
src/messaging/converters/merge-forward.ts:173
↓ 1 callers
Function
formatTimestamp
* Convert a millisecond timestamp to RFC 3339 format with +08:00 offset * (Beijing time).
src/messaging/converters/merge-forward.ts:244
↓ 1 callers
Function
formatTimestamp
* 格式化时间戳为 "YYYY-MM-DD HH:mm:ss"
src/commands/doctor.ts:261
↓ 1 callers
Function
formatTraceOutput
(lines: string[], messageId: string)
src/commands/diagnose.ts:506
↓ 1 callers
Method
fromCredentials
* Create an ephemeral `LarkClient` from bare credentials. * The instance is **not** added to the global cache — suitable for * one-off probe / d
src/core/lark-client.ts:210
↓ 1 callers
Function
generatePermissionTable
* 生成权限对照表
src/commands/doctor.ts:457
↓ 1 callers
Method
get
Get a cached name (refreshes LRU position). Returns `undefined` on miss or expiry.
src/messaging/inbound/user-name-cache.ts:53
↓ 1 callers
Method
get
(openId: string)
src/messaging/inbound/user-name-cache-store.ts:36
↓ 1 callers
Function
getActiveDispatcher
(key: string)
src/channel/chat-queue.ts:45
↓ 1 callers
Method
getByDedupKey
通过去重键查询(避免发送重复卡片)
src/tools/auto-auth.ts:368
↓ 1 callers
Method
getByOperationId
通过 operationId 查询(card action 回调用)
src/tools/auto-auth.ts:363
↓ 1 callers
Function
getChatInfoCache
(accountId: string)
src/core/chat-info-cache.ts:107
↓ 1 callers
Function
getChatTypeFeishu
(params: { cfg: ClawdbotConfig; chatId: string; accountId?: string; })
src/core/chat-info-cache.ts:205
↓ 1 callers
Function
getFeishuHelpI18n
()
src/commands/index.ts:159
↓ 1 callers
Method
getImageToken
(imageID: string)
src/messaging/converters/interactive/card-converter.ts:1193
↓ 1 callers
Function
getInboundHandler
()
src/messaging/inbound/handler-registry.ts:33
↓ 1 callers
Function
getLarkRuntime
()
src/core/runtime-store.ts:27
↓ 1 callers
Method
getMany
Bulk read — returns a Map of openId→name for all hits (including empty-string names).
src/messaging/inbound/user-name-cache.ts:88
↓ 1 callers
Function
getMcpEndpoint
(brand?: LarkBrand)
src/tools/mcp/shared.ts:131
↓ 1 callers
Function
getTokenType
* 从 token 中提取类型前缀(如 "sht"、"wik"、"doc" 等)。 * 先检测新版格式(第 5/10/15 位),再回退旧版格式(前 3 位)。
src/tools/oapi/sheets/sheet.ts:105
↓ 1 callers
Function
getTraceMeta
()
src/core/lark-logger.ts:74
↓ 1 callers
Function
getValidAccessToken
(opts: UATCallOptions)
src/core/uat-client.ts:183
↓ 1 callers
Function
handleCardAction
(data: unknown, cfg: ClawdbotConfig, accountId: string)
src/tools/auto-auth.ts:741
↓ 1 callers
Function
handleCardActionEvent
(ctx: MonitorContext, data: unknown)
src/channel/event-handlers.ts:240
↓ 1 callers
Function
handleDelete
(cfg: OpenClawConfig, params: Record<string, unknown>, accountId?: string)
src/messaging/outbound/actions.ts:384
↓ 1 callers
Function
handleDownload
( p: DownloadParams, client: ReturnType<ReturnType<typeof createToolContext>['toolClient']>, log: Return
src/tools/oapi/drive/doc-media.ts:333
↓ 1 callers
Function
handleFeishuReaction
(params: { cfg: ClawdbotConfig; event: FeishuReactionCreatedEvent; botOpenId?: string; runtime?: Runti
src/messaging/inbound/reaction-handler.ts:187
↓ 1 callers
Function
handleInsert
( p: InsertParams, client: ReturnType<ReturnType<typeof createToolContext>['toolClient']>, log: ReturnTy
src/tools/oapi/drive/doc-media.ts:174
↓ 1 callers
Function
handleMessageEvent
(ctx: MonitorContext, data: unknown)
src/channel/event-handlers.ts:60
↓ 1 callers
Function
handleReact
(cfg: OpenClawConfig, params: Record<string, unknown>, accountId?: string)
src/messaging/outbound/actions.ts:320
↓ 1 callers
Function
handleReactionEvent
(ctx: MonitorContext, data: unknown)
src/channel/event-handlers.ts:142
← previous
next →
401–500 of 864, ranked by callers