Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/larksuite/openclaw-lark
/ functions
Functions
1,118 in github.com/larksuite/openclaw-lark
⨍
Functions
1,118
◇
Types & classes
241
↓ 1 callers
Method
shouldSkipForUnavailable
Check if the pipeline should skip further operations for this source.
src/card/streaming-card-controller.ts:328
↓ 1 callers
Function
sleep
(ms: number)
src/tools/oapi/sheets/sheet.ts:45
↓ 1 callers
Function
sleep
(ms: number, signal?: AbortSignal)
src/core/device-flow.ts:169
↓ 1 callers
Function
sortTraceValue
(value: unknown)
src/card/tool-use-trace-store.ts:314
↓ 1 callers
Function
startBatch
(batchIndex: number)
src/tools/onboarding-auth.ts:99
↓ 1 callers
Method
startUpload
(url: string)
src/card/image-resolver.ts:106
↓ 1 callers
Method
startWS
* Start WebSocket event monitoring. * * Flow: probe bot identity → EventDispatcher → WSClient → start. * The returned Promise resolves when `
src/core/lark-client.ts:347
↓ 1 callers
Function
storePendingQuestion
(init: Omit<QuestionContext, 'ttlTimer'>)
src/tools/ask-user-question.ts:125
↓ 1 callers
Function
streamCardContent
(params: { cfg: ClawdbotConfig; cardId: string; elementId: string; content: string; sequence: number
src/card/cardkit.ts:108
↓ 1 callers
Function
stripInvalidImageKeys
* Strip `` 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 callers
Function
stripMarkdown
(line: string)
src/card/tool-use-display.ts:552
↓ 1 callers
Function
stripQueryAndHash
(value: string)
src/messaging/outbound/media-url-utils.ts:31
↓ 1 callers
Function
substituteMediaPaths
(content: string, mediaList: FeishuMediaInfo[])
src/messaging/inbound/enrich.ts:197
↓ 1 callers
Function
subtractFromNow
(now: Date, n: number, unit: string)
src/tools/oapi/im/time-utils.ts:231
↓ 1 callers
Method
sweep
* 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 callers
Function
sweepStale
* 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 callers
Method
terminateIfUnavailable
Attempt to terminate the pipeline due to an unavailable message error.
src/card/streaming-card-controller.ts:333
↓ 1 callers
Method
throttledUpdate
* 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 callers
Function
toBeijingDate
将 UTC Date 转为「北京时间各部分存在 UTC 字段上」的 Date
src/tools/oapi/im/time-utils.ts:215
↓ 1 callers
Function
toInAppWebUrl
(targetUrl: string, brand?: LarkBrand)
src/tools/oauth-cards.ts:263
↓ 1 callers
Function
traceByMessageId
(messageId: string)
src/commands/diagnose.ts:476
↓ 1 callers
Function
truncateRows
( values: unknown[][] | undefined, maxRows: number, )
src/tools/oapi/sheets/sheet.ts:237
↓ 1 callers
Function
tryGetLarkRuntime
()
src/core/runtime-store.ts:23
↓ 1 callers
Function
tryParseJson
(value: string)
src/card/tool-use-display.ts:454
↓ 1 callers
Function
unregisterActiveDispatcher
(key: string)
src/channel/chat-queue.ts:41
↓ 1 callers
Function
unwrapJsonRpcResult
(v: unknown)
src/tools/mcp/shared.ts:78
↓ 1 callers
Function
unwrapLocale
* 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 callers
Function
updateCardToAnswered
(ctx: QuestionContext, answers: Record<string, string>)
src/tools/ask-user-question.ts:903
↓ 1 callers
Function
updateCardToExpired
(ctx: QuestionContext)
src/tools/ask-user-question.ts:915
↓ 1 callers
Function
updateCardToSubmittable
(ctx: QuestionContext)
src/tools/ask-user-question.ts:927
↓ 1 callers
Method
updateToolUseStatus
()
src/card/streaming-card-controller.ts:1088
↓ 1 callers
Function
uploadFileLark
(params: { cfg: OpenClawConfig; file: Buffer | string; fileName: string; fileType: 'opus' | 'mp4' | 'p
src/messaging/outbound/media.ts:389
↓ 1 callers
Function
validateRemoteUrl
* 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 callers
Function
verifyTokenIdentity
* 使用刚获取的 UAT 调用 /authen/v1/user_info, * 验证实际完成 OAuth 授权的用户 open_id 是否与预期的 senderOpenId 一致。 * * 防止群聊中其他用户点击授权链接后,错误的 UAT 被绑定到 owner 的身份。
src/tools/oauth.ts:97
↓ 1 callers
Method
waitForAbort
* 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 callers
Function
walk
(node: unknown)
tests/ask-user-question.test.ts:555
↓ 1 callers
Function
wrapTablesBeyondLimit
(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
Method
accountId
Shorthand for `this.account.accountId`.
src/core/lark-client.ts:174
Function
addChatMembersFeishu
(params: { cfg: OpenClawConfig; chatId: string; memberIds: string[]; accountId?: string; })
src/messaging/outbound/chat-manage.ts:76
Method
botName
Cached bot name (available after `probe()` or `startWS()`).
src/core/lark-client.ts:335
Method
botOpenId
Cached bot open_id (available after `probe()` or `startWS()`).
src/core/lark-client.ts:330
Method
cancelPendingFlush
()
tests/card-review-followup.test.ts:38
Method
cardMessageId
()
src/card/streaming-card-controller.ts:304
Function
cfg
()
src/channel/monitor.ts:85
Function
checkAppScopes
(toolAction: ToolActionKey, appGrantedScopes: Set<string> | string[])
src/core/scope-manager.ts:154
Function
checkUserScopes
(toolAction: ToolActionKey, userGrantedScopes: Set<string> | string[])
src/core/scope-manager.ts:209
Function
child
(name: string)
src/core/lark-logger.ts:167
Method
child
(name: string)
src/core/lark-logger.ts:30
Function
clearSentinelStore
(accountId?: string)
src/messaging/inbound/sentinel-store.ts:102
Method
complete
()
tests/card-review-followup.test.ts:39
Method
constructor
(mode: Mode)
src/messaging/converters/interactive/card-converter.ts:78
Method
constructor
(maxThreads = DEFAULT_MAX_THREADS, ttlMs = DEFAULT_TTL_MS)
src/messaging/inbound/sentinel-store.ts:49
Method
constructor
( maxSize = DEFAULT_MAX_SIZE, ttlMs = DEFAULT_TTL_MS, maxChats = DEFAULT_MAX_CHATS, )
src/messaging/inbound/user-name-cache-store.ts:54
Method
constructor
(opts: MessageDedupOpts = {})
src/messaging/inbound/dedup.ts:61
Method
constructor
(params: { messageId: string; apiCode: TerminalMessageApiCode; operation?: string })
src/core/message-unavailable.ts:104
Method
constructor
(params: { account: ConfiguredLarkAccount; senderOpenId: string | undefined; sdk: Lark.Client;
src/core/tool-client.ts:123
Method
constructor
(maxSize = DEFAULT_MAX_SIZE, ttlMs = DEFAULT_TTL_MS)
src/core/chat-info-cache.ts:65
Method
constructor
(userOpenId: string)
src/core/auth-errors.ts:98
Method
constructor
(appId?: string)
src/core/auth-errors.ts:114
Method
constructor
( info: ScopeErrorInfo, scopeNeedType?: 'one' | 'all', tokenType?: 'user' | 'tenant', allRequi
src/core/auth-errors.ts:138
Method
constructor
(userOpenId: string, info: ScopeErrorInfo)
src/core/auth-errors.ts:176
Method
constructor
(userOpenId: string, info: ScopeErrorInfo)
src/core/auth-errors.ts:198
Method
constructor
(userOpenId: string, appOwnerId: string)
src/core/owner-policy.ts:29
Method
constructor
(account: LarkAccount)
src/core/lark-client.ts:169
Method
constructor
(params: { api: string; code: number; msg: string; context: string })
src/card/card-error.ts:50
Method
constructor
(deps: StreamingCardDeps)
src/card/streaming-card-controller.ts:276
Method
constructor
(opts: ImageResolverOptions)
src/card/image-resolver.ts:40
Method
constructor
(params: UnavailableGuardParams)
src/card/unavailable-guard.ts:44
Method
constructor
(private readonly doFlush: () => Promise<void>)
src/card/flush-controller.ts:26
Method
constructor
()
tests/card-review-followup.test.ts:37
Function
convertAudio
(raw)
src/messaging/converters/audio.ts:11
Function
convertCalendar
(raw)
src/messaging/converters/calendar.ts:49
Function
convertFile
(raw)
src/messaging/converters/file.ts:11
Function
convertGeneralCalendar
(raw)
src/messaging/converters/calendar.ts:59
Function
convertHongbao
(raw)
src/messaging/converters/hongbao.ts:11
Function
convertImage
(raw)
src/messaging/converters/image.ts:11
Function
convertInteractive
(raw)
src/messaging/converters/interactive/index.ts:14
Function
convertLocation
(raw)
src/messaging/converters/location.ts:11
Function
convertMergeForward
(_raw, ctx)
src/messaging/converters/merge-forward.ts:38
Function
convertShareCalendarEvent
(raw)
src/messaging/converters/calendar.ts:39
Function
convertShareChat
(raw)
src/messaging/converters/share.ts:11
Function
convertShareUser
(raw)
src/messaging/converters/share.ts:21
Function
convertSticker
(raw)
src/messaging/converters/sticker.ts:11
Function
convertSystem
(raw)
src/messaging/converters/system.ts:15
Function
convertText
(raw, ctx)
src/messaging/converters/text.ts:12
Function
convertTodo
(raw)
src/messaging/converters/todo.ts:25
Function
convertUnknown
(raw)
src/messaging/converters/unknown.ts:11
Function
convertVideo
(raw)
src/messaging/converters/video.ts:11
Function
convertVideoChat
(raw)
src/messaging/converters/video-chat.ts:11
Function
convertVote
(raw)
src/messaging/converters/vote.ts:11
Function
createAccountScopedConfig
(cfg: ClawdbotConfig, accountId?: string | null)
src/core/accounts.ts:198
Function
createFeishuClientFromConfig
(config: ClawdbotConfig)
src/tools/oapi/helpers.ts:85
Method
currentPhase
@internal — exposed for test assertions only.
src/card/streaming-card-controller.ts:343
Function
dateTimeToMillis
(datetime: string)
src/tools/oapi/im/time-utils.ts:76
Function
debug
(message: string, meta?: Record<string, unknown>)
src/core/lark-logger.ts:155
Method
dispose
Stop the periodic sweep timer and clear all tracked entries.
src/messaging/inbound/dedup.ts:116
Function
editMessageFeishu
(params: { cfg: ClawdbotConfig; messageId: string; text: string; accountId?: string; })
src/messaging/outbound/send.ts:508
Function
execute
(_toolCallId: string, _params: unknown)
src/tools/oauth-batch-auth.ts:53
← previous
next →
901–1,000 of 1,118, ranked by callers