MCPcopy Create free account

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

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

↓ 1 callersFunctiondispatchSyntheticMessage
* Dispatch a synthetic-target message via the buffered block dispatcher * while discarding every delivered payload. * * Synthetic contexts (e.g. VC
src/messaging/inbound/dispatch.ts:140
↓ 1 callersFunctiondoRefreshToken
(opts: UATCallOptions, stored: StoredUAToken)
src/core/uat-client.ts:69
↓ 1 callersMethoddoUpload
(url: string)
src/card/image-resolver.ts:111
↓ 1 callersFunctiondownloadMessageResourceFeishu
(params: { cfg: OpenClawConfig; messageId: string; fileKey: string; type: 'image' | 'file'; accountI
src/messaging/outbound/media.ts:288
↓ 1 callersFunctiondownloadResources
(params: { cfg: ClawdbotConfig; messageId: string; resources: ResourceDescriptor[]; maxBytes: number;
src/messaging/inbound/media-resolver.ts:25
↓ 1 callersFunctionemitSecurityWarnings
( _cfg: ClawdbotConfig, _logger: { warn?: (msg: string) => void; info?: (msg: string) => void }, )
src/core/security-check.ts:225
↓ 1 callersFunctionencodeFeishuRouteTarget
(params: { target: string; replyToMessageId?: string; threadId?: string | number | null; })
src/core/targets.ts:110
↓ 1 callersFunctionenrichMessages
( messages: FormattedMessage[], items: any[], chatMap: Map<string, ChatContext>, nameResolver: (openId
src/tools/oapi/im/message-read.ts:451
↓ 1 callersFunctionensureRuntime
(runtime: RuntimeEnv | undefined)
src/messaging/inbound/dispatch-context.ts:55
↓ 1 callersFunctionescapeToolUseMarkdownText
(value: string)
src/card/builder.ts:980
↓ 1 callersMethodevict
()
src/messaging/inbound/sentinel-store.ts:78
↓ 1 callersMethodevict
()
src/core/chat-info-cache.ts:93
↓ 1 callersFunctionexpand
( accountId: string | undefined, messageId: string, resolveUserName?: (openId: string) => string | undef
src/messaging/converters/merge-forward.ts:60
↓ 1 callersFunctionexpandAutoMode
(params: { mode: ReplyModeValue; streaming: boolean | undefined; chatType?: 'p2p' | 'group'; })
src/card/reply-mode.ts:58
↓ 1 callersFunctionextractApiCode
Returns the numeric Feishu API error code from a thrown error, or null.
src/messaging/inbound/user-name-cache.ts:178
↓ 1 callersFunctionextractBasics
(data: unknown)
src/channel/interactive-dispatch.ts:32
↓ 1 callersMethodextractBody
(card: Obj, _schema: number)
src/messaging/converters/interactive/card-converter.ts:105
↓ 1 callersFunctionextractBuffer
(res: any)
src/tools/tat/im/resource.ts:67
↓ 1 callersFunctionextractBufferFromResponse
* 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:167
↓ 1 callersMethodextractChartSummary
(prop: Obj, chartType: string)
src/messaging/converters/interactive/card-converter.ts:1015
↓ 1 callersFunctionextractDetailFromParams
( params: Record<string, unknown> | undefined, descriptor: ToolDescriptor, )
src/card/tool-use-display.ts:254
↓ 1 callersFunctionextractDetailFromSummary
(summaryText: string | undefined, descriptor: ToolDescriptor)
src/card/tool-use-display.ts:270
↓ 1 callersFunctionextractDocumentId
* 从文档 URL 或纯 ID 中提取 document_id
src/tools/oapi/drive/doc-media.ts:93
↓ 1 callersFunctionextractElementText
* Extract plain text from comment element arrays.
src/messaging/inbound/comment-context.ts:57
↓ 1 callersFunctionextractFirstCodeSpan
(value: string)
src/card/tool-use-display.ts:579
↓ 1 callersFunctionextractFirstQuotedText
(value: string)
src/card/tool-use-display.ts:584
↓ 1 callersFunctionextractFirstUrl
(value: string)
src/card/tool-use-display.ts:589
↓ 1 callersMethodextractHeaderTitle
(header: Obj, _schema: number)
src/messaging/converters/interactive/card-converter.ts:112
↓ 1 callersFunctionextractHighestPriorityScope
* 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 callersFunctionextractHttpStatus
* Best-effort extraction of an HTTP status code from an unknown error. * Returns `undefined` when the error does not carry status information.
src/messaging/outbound/media.ts:82
↓ 1 callersFunctionextractInlineVerboseMode
(body?: string)
src/card/tool-use-config.ts:83
↓ 1 callersMethodextractLineBarSummary
(chartSpec: Obj, values: unknown[])
src/messaging/converters/interactive/card-converter.ts:1037
↓ 1 callersFunctionextractPermissionScopes
(msg: string)
src/core/permission-url.ts:74
↓ 1 callersMethodextractPieSummary
(chartSpec: Obj, values: unknown[])
src/messaging/converters/interactive/card-converter.ts:1054
↓ 1 callersFunctionextractPlainText
Extract plain text from post-style content blocks.
src/messaging/converters/todo.ts:12
↓ 1 callersMethodextractProperty
(elem: Obj)
src/messaging/converters/interactive/card-converter.ts:163
↓ 1 callersFunctionextractRawTextFromEvent
(event: FeishuMessageEvent)
src/channel/abort-detect.ts:205
↓ 1 callersFunctionextractRecentErrors
(logPath: string)
src/commands/diagnose.ts:100
↓ 1 callersFunctionextractSubCode
(msg: string)
src/card/card-error.ts:69
↓ 1 callersMethodextractTableCellValue
(data: unknown)
src/messaging/converters/interactive/card-converter.ts:1135
↓ 1 callersMethodextractTextStyle
(prop: Obj)
src/messaging/converters/interactive/card-converter.ts:1154
↓ 1 callersFunctionextractTexts
(elements: unknown[], out: string[])
src/messaging/converters/interactive/legacy.ts:29
↓ 1 callersFunctionextractThinkingContent
* Extract content from `<think>`, `<thinking>`, `<thought>` blocks. * Handles both closed and unclosed (streaming) tags.
src/card/builder.ts:109
↓ 1 callersFunctionfetchCardContent
(messageId: string, larkClient: LarkClientType)
src/messaging/inbound/parse-io.ts:43
↓ 1 callersFunctionfetchChatContexts
( client: ToolClient, chatIds: string[], logInfo: (msg: string) => void, logWarn: (msg: string) => voi
src/tools/oapi/im/message-read.ts:393
↓ 1 callersFunctionfetchComment
* Fetch a single comment with its replies.
src/messaging/inbound/comment-context.ts:129
↓ 1 callersFunctionfetchDocTitle
* Fetch document title via Drive file meta API.
src/messaging/inbound/comment-context.ts:103
↓ 1 callersFunctionfetchRemoteImageBuffer
(url: string)
src/messaging/outbound/media.ts:920
↓ 1 callersFunctionfindPendingStepIndex
( steps: ToolUseTraceStep[], toolName: string, params?: Record<string, unknown>, toolCallId?: string,
src/card/tool-use-trace-store.ts:182
↓ 1 callersFunctionfindQuestionByChat
* 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:160
↓ 1 callersFunctionflattenValues
(values: unknown[][] | undefined)
src/tools/oapi/sheets/sheet.ts:232
↓ 1 callersFunctionformatDiagReportCli
(report: DiagReport)
src/commands/diagnose.ts:878
↓ 1 callersFunctionformatDiagReportText
(report: DiagReport)
src/commands/diagnose.ts:369
↓ 1 callersFunctionformatDmScopeWarning
User-facing dmScope warning block (markdown).
src/core/security-check.ts:110
↓ 1 callersFunctionformatDurationLabel
(durationMs: number)
src/card/tool-use-display.ts:571
↓ 1 callersFunctionformatMentionList
(mentions: ReturnType<typeof nonBotMentions>)
src/messaging/inbound/dispatch-builders.ts:61
↓ 1 callersFunctionformatMessageItem
( item: ApiMessageItem, accountId: string, nameResolver: (openId: string) => string | undefined, ctxOv
src/tools/oapi/im/format-messages.ts:78
↓ 1 callersFunctionformatMillisecondsToISO8601
(milliseconds: string)
src/messaging/converters/interactive/card-utils.ts:12
↓ 1 callersFunctionformatReasoningDuration
(ms: number)
src/card/builder.ts:164
↓ 1 callersFunctionformatSentinelFeedback
(sentinels: SentinelEntry[] | undefined)
src/messaging/inbound/dispatch-builders.ts:70
↓ 1 callersFunctionformatSubTree
* 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:181
↓ 1 callersFunctionformatTimestamp
* Convert a millisecond timestamp to RFC 3339 format with +08:00 offset * (Beijing time).
src/messaging/converters/merge-forward.ts:258
↓ 1 callersFunctionformatTimestamp
* 格式化时间戳为 "YYYY-MM-DD HH:mm:ss"
src/commands/doctor.ts:271
↓ 1 callersFunctionformatToolStep
( source: ToolStepSource, options: { showFullPaths: boolean; showResultDetails: boolean }, )
src/card/tool-use-display.ts:210
↓ 1 callersFunctionformatToolUseDuration
(ms: number)
src/card/builder.ts:172
↓ 1 callersFunctionformatToolUseStepStatus
(status: ToolUseDisplayStep['status'])
src/card/builder.ts:957
↓ 1 callersFunctionformatTraceOutput
(lines: string[], messageId: string)
src/commands/diagnose.ts:506
↓ 1 callersMethodfromCredentials
* 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:213
↓ 1 callersFunctiongeneratePermissionTable
* 生成权限对照表
src/commands/doctor.ts:467
↓ 1 callersMethodget
(openId: string)
src/messaging/inbound/user-name-cache-store.ts:74
↓ 1 callersFunctiongetActiveDispatcher
(key: string)
src/channel/chat-queue.ts:45
↓ 1 callersMethodgetByDedupKey
通过去重键查询(避免发送重复卡片)
src/tools/auto-auth.ts:371
↓ 1 callersMethodgetByOperationId
通过 operationId 查询(card action 回调用)
src/tools/auto-auth.ts:366
↓ 1 callersFunctiongetChatInfoCache
(accountId: string)
src/core/chat-info-cache.ts:107
↓ 1 callersFunctiongetChatMap
(chatId: string)
src/messaging/inbound/mention-registry.ts:39
↓ 1 callersFunctiongetChatTypeFeishu
(params: { cfg: ClawdbotConfig; chatId: string; accountId?: string; })
src/core/chat-info-cache.ts:205
↓ 1 callersFunctiongetFeishuHelpI18n
()
src/commands/index.ts:158
↓ 1 callersMethodgetImageToken
(imageID: string)
src/messaging/converters/interactive/card-converter.ts:1193
↓ 1 callersFunctiongetInboundHandler
()
src/messaging/inbound/handler-registry.ts:33
↓ 1 callersFunctiongetLarkRuntime
()
src/core/runtime-store.ts:27
↓ 1 callersMethodgetMany
(openIds: string[])
src/messaging/inbound/user-name-cache-store.ts:124
↓ 1 callersFunctiongetMcpEndpoint
(brand?: LarkBrand)
src/tools/mcp/shared.ts:134
↓ 1 callersFunctiongetPlatform
()
src/core/version.ts:46
↓ 1 callersFunctiongetTokenType
* 从 token 中提取类型前缀(如 "sht"、"wik"、"doc" 等)。 * 先检测新版格式(第 5/10/15 位),再回退旧版格式(前 3 位)。
src/tools/oapi/sheets/sheet.ts:105
↓ 1 callersFunctiongetTraceMeta
()
src/core/lark-logger.ts:76
↓ 1 callersFunctiongetValidAccessToken
(opts: UATCallOptions)
src/core/uat-client.ts:183
↓ 1 callersFunctionhandleCardAction
(data: unknown, cfg: ClawdbotConfig, accountId: string)
src/tools/auto-auth.ts:746
↓ 1 callersFunctionhandleCardActionEvent
(ctx: MonitorContext, data: unknown)
src/channel/event-handlers.ts:407
↓ 1 callersFunctionhandleCommentEvent
(ctx: MonitorContext, data: unknown)
src/channel/event-handlers.ts:352
↓ 1 callersFunctionhandleDelete
(cfg: OpenClawConfig, params: Record<string, unknown>, accountId?: string)
src/messaging/outbound/actions.ts:402
↓ 1 callersFunctionhandleDownload
( p: DownloadParams, client: ReturnType<ReturnType<typeof createToolContext>['toolClient']>, log: Return
src/tools/oapi/drive/doc-media.ts:333
↓ 1 callersFunctionhandleFeishuCommentEvent
(params: { cfg: ClawdbotConfig; event: FeishuDriveCommentEvent; botOpenId?: string; runtime?: RuntimeE
src/messaging/inbound/comment-handler.ts:44
↓ 1 callersFunctionhandleFeishuReaction
(params: { cfg: ClawdbotConfig; event: FeishuReactionCreatedEvent; botOpenId?: string; runtime?: Runti
src/messaging/inbound/reaction-handler.ts:187
↓ 1 callersFunctionhandleInsert
( p: InsertParams, client: ReturnType<ReturnType<typeof createToolContext>['toolClient']>, log: ReturnTy
src/tools/oapi/drive/doc-media.ts:174
↓ 1 callersFunctionhandleReact
(cfg: OpenClawConfig, params: Record<string, unknown>, accountId?: string)
src/messaging/outbound/actions.ts:338
↓ 1 callersFunctionhandleReactionEvent
(ctx: MonitorContext, data: unknown)
src/channel/event-handlers.ts:173
↓ 1 callersFunctionhandleReactions
(cfg: OpenClawConfig, params: Record<string, unknown>, accountId?: string)
src/messaging/outbound/actions.ts:376
↓ 1 callersFunctionhasActiveTask
(key: string)
src/channel/chat-queue.ts:50
↓ 1 callersFunctionhumanizeToolName
(name: string)
src/card/tool-use-display.ts:565
↓ 1 callersFunctionindentLines
Add a prefix indent to every line of text.
src/messaging/converters/merge-forward.ts:274
← previousnext →601–700 of 1,118, ranked by callers