MCPcopy Create free account

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

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

↓ 1 callersMethodshouldSkipForUnavailable
Check if the pipeline should skip further operations for this source.
src/card/streaming-card-controller.ts:328
↓ 1 callersFunctionsleep
(ms: number)
src/tools/oapi/sheets/sheet.ts:45
↓ 1 callersFunctionsleep
(ms: number, signal?: AbortSignal)
src/core/device-flow.ts:169
↓ 1 callersFunctionsortTraceValue
(value: unknown)
src/card/tool-use-trace-store.ts:314
↓ 1 callersFunctionstartBatch
(batchIndex: number)
src/tools/onboarding-auth.ts:99
↓ 1 callersMethodstartUpload
(url: string)
src/card/image-resolver.ts:106
↓ 1 callersMethodstartWS
* Start WebSocket event monitoring. * * Flow: probe bot identity → EventDispatcher → WSClient → start. * The returned Promise resolves when `
src/core/lark-client.ts:347
↓ 1 callersFunctionstorePendingQuestion
(init: Omit<QuestionContext, 'ttlTimer'>)
src/tools/ask-user-question.ts:125
↓ 1 callersFunctionstreamCardContent
(params: { cfg: ClawdbotConfig; cardId: string; elementId: string; content: string; sequence: number
src/card/cardkit.ts:108
↓ 1 callersFunctionstripInvalidImageKeys
* Strip `![alt](value)` where value is not a valid Feishu image key * (`img_xxx`). Prevents CardKit error 200570. * * HTTP URLs are stripped as wel
src/card/markdown-style.ts:103
↓ 1 callersFunctionstripMarkdown
(line: string)
src/card/tool-use-display.ts:552
↓ 1 callersFunctionstripQueryAndHash
(value: string)
src/messaging/outbound/media-url-utils.ts:31
↓ 1 callersFunctionsubstituteMediaPaths
(content: string, mediaList: FeishuMediaInfo[])
src/messaging/inbound/enrich.ts:197
↓ 1 callersFunctionsubtractFromNow
(now: Date, n: number, unit: string)
src/tools/oapi/im/time-utils.ts:231
↓ 1 callersMethodsweep
* Sweep expired entries from the front of the map. * Because entries are in insertion order (FIFO), we can stop as soon as * we hit one that has
src/messaging/inbound/dedup.ts:130
↓ 1 callersFunctionsweepStale
* Evict entries idle past the decay window. Called opportunistically from * noteBotTurnAndCheck (at most once per idle window) so the Map can't grow
src/messaging/inbound/bot-loop-guard.ts:48
↓ 1 callersMethodterminateIfUnavailable
Attempt to terminate the pipeline due to an unavailable message error.
src/card/streaming-card-controller.ts:333
↓ 1 callersMethodthrottledUpdate
* Throttled update entry point. * * @param throttleMs - Minimum interval between flushes (varies by * CardKit vs IM patch mode). Passed in
src/card/flush-controller.ts:91
↓ 1 callersFunctiontoBeijingDate
将 UTC Date 转为「北京时间各部分存在 UTC 字段上」的 Date
src/tools/oapi/im/time-utils.ts:215
↓ 1 callersFunctiontoInAppWebUrl
(targetUrl: string, brand?: LarkBrand)
src/tools/oauth-cards.ts:263
↓ 1 callersFunctiontraceByMessageId
(messageId: string)
src/commands/diagnose.ts:476
↓ 1 callersFunctiontruncateRows
( values: unknown[][] | undefined, maxRows: number, )
src/tools/oapi/sheets/sheet.ts:237
↓ 1 callersFunctiontryGetLarkRuntime
()
src/core/runtime-store.ts:23
↓ 1 callersFunctiontryParseJson
(value: string)
src/card/tool-use-display.ts:454
↓ 1 callersFunctionunregisterActiveDispatcher
(key: string)
src/channel/chat-queue.ts:41
↓ 1 callersFunctionunwrapJsonRpcResult
(v: unknown)
src/tools/mcp/shared.ts:78
↓ 1 callersFunctionunwrapLocale
* Unwrap a parsed post object that may be locale-wrapped. * * Feishu post messages come in two shapes: * - Flat: `{ title, content }` * - Lo
src/messaging/converters/post.ts:54
↓ 1 callersFunctionupdateCardToAnswered
(ctx: QuestionContext, answers: Record<string, string>)
src/tools/ask-user-question.ts:903
↓ 1 callersFunctionupdateCardToExpired
(ctx: QuestionContext)
src/tools/ask-user-question.ts:915
↓ 1 callersFunctionupdateCardToSubmittable
(ctx: QuestionContext)
src/tools/ask-user-question.ts:927
↓ 1 callersMethodupdateToolUseStatus
()
src/card/streaming-card-controller.ts:1088
↓ 1 callersFunctionuploadFileLark
(params: { cfg: OpenClawConfig; file: Buffer | string; fileName: string; fileType: 'opus' | 'mp4' | 'p
src/messaging/outbound/media.ts:389
↓ 1 callersFunctionvalidateRemoteUrl
* Validate that a remote URL does not target private/reserved IP addresses. * * Resolves the hostname via DNS and checks all returned addresses. *
src/messaging/outbound/media.ts:957
↓ 1 callersFunctionverifyTokenIdentity
* 使用刚获取的 UAT 调用 /authen/v1/user_info, * 验证实际完成 OAuth 授权的用户 open_id 是否与预期的 senderOpenId 一致。 * * 防止群聊中其他用户点击授权链接后,错误的 UAT 被绑定到 owner 的身份。
src/tools/oauth.ts:97
↓ 1 callersMethodwaitForAbort
* Start the WSClient and return a promise that resolves when the * abort signal fires (or immediately if already aborted).
src/core/lark-client.ts:446
↓ 1 callersFunctionwalk
(node: unknown)
tests/ask-user-question.test.ts:555
↓ 1 callersFunctionwrapTablesBeyondLimit
(text: string, matches: readonly MarkdownTableMatch[], keepCount: number)
src/card/card-error.ts:221
Function_resetChatQueueState
()
src/channel/chat-queue.ts:80
Function_resetShutdownHooks
()
src/core/shutdown-hooks.ts:13
MethodaccountId
Shorthand for `this.account.accountId`.
src/core/lark-client.ts:174
FunctionaddChatMembersFeishu
(params: { cfg: OpenClawConfig; chatId: string; memberIds: string[]; accountId?: string; })
src/messaging/outbound/chat-manage.ts:76
MethodbotName
Cached bot name (available after `probe()` or `startWS()`).
src/core/lark-client.ts:335
MethodbotOpenId
Cached bot open_id (available after `probe()` or `startWS()`).
src/core/lark-client.ts:330
MethodcancelPendingFlush
()
tests/card-review-followup.test.ts:38
MethodcardMessageId
()
src/card/streaming-card-controller.ts:304
Functioncfg
()
src/channel/monitor.ts:85
FunctioncheckAppScopes
(toolAction: ToolActionKey, appGrantedScopes: Set<string> | string[])
src/core/scope-manager.ts:154
FunctioncheckUserScopes
(toolAction: ToolActionKey, userGrantedScopes: Set<string> | string[])
src/core/scope-manager.ts:209
Functionchild
(name: string)
src/core/lark-logger.ts:167
Methodchild
(name: string)
src/core/lark-logger.ts:30
FunctionclearSentinelStore
(accountId?: string)
src/messaging/inbound/sentinel-store.ts:102
Methodcomplete
()
tests/card-review-followup.test.ts:39
Methodconstructor
(mode: Mode)
src/messaging/converters/interactive/card-converter.ts:78
Methodconstructor
(maxThreads = DEFAULT_MAX_THREADS, ttlMs = DEFAULT_TTL_MS)
src/messaging/inbound/sentinel-store.ts:49
Methodconstructor
( maxSize = DEFAULT_MAX_SIZE, ttlMs = DEFAULT_TTL_MS, maxChats = DEFAULT_MAX_CHATS, )
src/messaging/inbound/user-name-cache-store.ts:54
Methodconstructor
(opts: MessageDedupOpts = {})
src/messaging/inbound/dedup.ts:61
Methodconstructor
(params: { messageId: string; apiCode: TerminalMessageApiCode; operation?: string })
src/core/message-unavailable.ts:104
Methodconstructor
(params: { account: ConfiguredLarkAccount; senderOpenId: string | undefined; sdk: Lark.Client;
src/core/tool-client.ts:123
Methodconstructor
(maxSize = DEFAULT_MAX_SIZE, ttlMs = DEFAULT_TTL_MS)
src/core/chat-info-cache.ts:65
Methodconstructor
(userOpenId: string)
src/core/auth-errors.ts:98
Methodconstructor
(appId?: string)
src/core/auth-errors.ts:114
Methodconstructor
( info: ScopeErrorInfo, scopeNeedType?: 'one' | 'all', tokenType?: 'user' | 'tenant', allRequi
src/core/auth-errors.ts:138
Methodconstructor
(userOpenId: string, info: ScopeErrorInfo)
src/core/auth-errors.ts:176
Methodconstructor
(userOpenId: string, info: ScopeErrorInfo)
src/core/auth-errors.ts:198
Methodconstructor
(userOpenId: string, appOwnerId: string)
src/core/owner-policy.ts:29
Methodconstructor
(account: LarkAccount)
src/core/lark-client.ts:169
Methodconstructor
(params: { api: string; code: number; msg: string; context: string })
src/card/card-error.ts:50
Methodconstructor
(deps: StreamingCardDeps)
src/card/streaming-card-controller.ts:276
Methodconstructor
(opts: ImageResolverOptions)
src/card/image-resolver.ts:40
Methodconstructor
(params: UnavailableGuardParams)
src/card/unavailable-guard.ts:44
Methodconstructor
(private readonly doFlush: () => Promise<void>)
src/card/flush-controller.ts:26
Methodconstructor
()
tests/card-review-followup.test.ts:37
FunctionconvertAudio
(raw)
src/messaging/converters/audio.ts:11
FunctionconvertCalendar
(raw)
src/messaging/converters/calendar.ts:49
FunctionconvertFile
(raw)
src/messaging/converters/file.ts:11
FunctionconvertGeneralCalendar
(raw)
src/messaging/converters/calendar.ts:59
FunctionconvertHongbao
(raw)
src/messaging/converters/hongbao.ts:11
FunctionconvertImage
(raw)
src/messaging/converters/image.ts:11
FunctionconvertInteractive
(raw)
src/messaging/converters/interactive/index.ts:14
FunctionconvertLocation
(raw)
src/messaging/converters/location.ts:11
FunctionconvertMergeForward
(_raw, ctx)
src/messaging/converters/merge-forward.ts:38
FunctionconvertShareCalendarEvent
(raw)
src/messaging/converters/calendar.ts:39
FunctionconvertShareChat
(raw)
src/messaging/converters/share.ts:11
FunctionconvertShareUser
(raw)
src/messaging/converters/share.ts:21
FunctionconvertSticker
(raw)
src/messaging/converters/sticker.ts:11
FunctionconvertSystem
(raw)
src/messaging/converters/system.ts:15
FunctionconvertText
(raw, ctx)
src/messaging/converters/text.ts:12
FunctionconvertTodo
(raw)
src/messaging/converters/todo.ts:25
FunctionconvertUnknown
(raw)
src/messaging/converters/unknown.ts:11
FunctionconvertVideo
(raw)
src/messaging/converters/video.ts:11
FunctionconvertVideoChat
(raw)
src/messaging/converters/video-chat.ts:11
FunctionconvertVote
(raw)
src/messaging/converters/vote.ts:11
FunctioncreateAccountScopedConfig
(cfg: ClawdbotConfig, accountId?: string | null)
src/core/accounts.ts:198
FunctioncreateFeishuClientFromConfig
(config: ClawdbotConfig)
src/tools/oapi/helpers.ts:85
MethodcurrentPhase
@internal — exposed for test assertions only.
src/card/streaming-card-controller.ts:343
FunctiondateTimeToMillis
(datetime: string)
src/tools/oapi/im/time-utils.ts:76
Functiondebug
(message: string, meta?: Record<string, unknown>)
src/core/lark-logger.ts:155
Methoddispose
Stop the periodic sweep timer and clear all tracked entries.
src/messaging/inbound/dedup.ts:116
FunctioneditMessageFeishu
(params: { cfg: ClawdbotConfig; messageId: string; text: string; accountId?: string; })
src/messaging/outbound/send.ts:508
Functionexecute
(_toolCallId: string, _params: unknown)
src/tools/oauth-batch-auth.ts:53
← previousnext →901–1,000 of 1,118, ranked by callers