@larksuite/openclaw-lark 2026.3.10 → 2026.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +15 -4
- package/README.md +41 -244
- package/index.d.ts +1 -2
- package/index.js +4 -4
- package/openclaw.plugin.json +1 -1
- package/package.json +5 -5
- package/skills/feishu-bitable/SKILL.md +1 -1
- package/skills/feishu-bitable/references/examples.md +6 -6
- package/skills/feishu-bitable/references/record-values.md +2 -2
- package/skills/feishu-create-doc/SKILL.md +2 -2
- package/src/card/builder.d.ts +1 -2
- package/src/card/builder.js +2 -2
- package/src/card/cardkit.d.ts +1 -2
- package/src/card/cardkit.js +2 -2
- package/src/card/flush-controller.d.ts +0 -1
- package/src/card/flush-controller.js +1 -1
- package/src/card/markdown-style.d.ts +0 -1
- package/src/card/markdown-style.js +1 -1
- package/src/card/reply-dispatcher-types.d.ts +0 -1
- package/src/card/reply-dispatcher-types.js +1 -1
- package/src/card/reply-dispatcher.d.ts +1 -2
- package/src/card/reply-dispatcher.js +2 -2
- package/src/card/reply-mode.d.ts +0 -1
- package/src/card/reply-mode.js +1 -1
- package/src/card/streaming-card-controller.d.ts +1 -2
- package/src/card/streaming-card-controller.js +2 -2
- package/src/card/unavailable-guard.d.ts +0 -1
- package/src/card/unavailable-guard.js +1 -1
- package/src/channel/abort-detect.d.ts +1 -2
- package/src/channel/abort-detect.js +2 -2
- package/src/channel/chat-queue.d.ts +0 -1
- package/src/channel/chat-queue.js +1 -1
- package/src/channel/config-adapter.d.ts +0 -1
- package/src/channel/config-adapter.js +1 -1
- package/src/channel/directory.d.ts +0 -1
- package/src/channel/directory.js +1 -1
- package/src/channel/event-handlers.d.ts +0 -1
- package/src/channel/event-handlers.js +1 -1
- package/src/channel/monitor.d.ts +1 -2
- package/src/channel/monitor.js +6 -4
- package/src/channel/onboarding-config.d.ts +0 -1
- package/src/channel/onboarding-config.js +1 -1
- package/src/channel/onboarding-migrate.d.ts +0 -1
- package/src/channel/onboarding-migrate.js +1 -1
- package/src/channel/onboarding.d.ts +1 -2
- package/src/channel/onboarding.js +2 -2
- package/src/channel/plugin.d.ts +1 -2
- package/src/channel/plugin.js +3 -3
- package/src/channel/probe.d.ts +0 -1
- package/src/channel/probe.js +1 -1
- package/src/channel/types.d.ts +1 -2
- package/src/channel/types.js +2 -2
- package/src/commands/auth.d.ts +0 -1
- package/src/commands/auth.js +1 -1
- package/src/commands/diagnose.d.ts +1 -2
- package/src/commands/diagnose.js +2 -2
- package/src/commands/doctor.d.ts +0 -1
- package/src/commands/doctor.js +1 -1
- package/src/commands/index.d.ts +0 -1
- package/src/commands/index.js +1 -70
- package/src/core/accounts.d.ts +0 -1
- package/src/core/accounts.js +3 -18
- package/src/core/agent-config.d.ts +1 -2
- package/src/core/agent-config.js +2 -2
- package/src/core/api-error.d.ts +0 -1
- package/src/core/api-error.js +1 -1
- package/src/core/app-owner-fallback.d.ts +0 -1
- package/src/core/app-owner-fallback.js +1 -1
- package/src/core/app-scope-checker.d.ts +0 -1
- package/src/core/app-scope-checker.js +1 -1
- package/src/core/auth-errors.d.ts +0 -1
- package/src/core/auth-errors.js +1 -1
- package/src/core/chat-info-cache.d.ts +0 -1
- package/src/core/chat-info-cache.js +1 -1
- package/src/core/config-schema.d.ts +29 -30
- package/src/core/config-schema.js +2 -2
- package/src/core/device-flow.d.ts +1 -2
- package/src/core/device-flow.js +2 -2
- package/src/core/feishu-fetch.d.ts +0 -1
- package/src/core/feishu-fetch.js +1 -1
- package/src/core/footer-config.d.ts +0 -1
- package/src/core/footer-config.js +1 -1
- package/src/core/lark-client.d.ts +0 -1
- package/src/core/lark-client.js +1 -1
- package/src/core/lark-logger.d.ts +0 -1
- package/src/core/lark-logger.js +1 -1
- package/src/core/lark-ticket.d.ts +0 -1
- package/src/core/lark-ticket.js +1 -1
- package/src/core/message-unavailable.d.ts +0 -1
- package/src/core/message-unavailable.js +1 -1
- package/src/core/owner-policy.d.ts +0 -1
- package/src/core/owner-policy.js +1 -1
- package/src/core/permission-url.d.ts +0 -1
- package/src/core/permission-url.js +1 -1
- package/src/core/raw-request.d.ts +0 -1
- package/src/core/raw-request.js +1 -1
- package/src/core/scope-manager.d.ts +0 -1
- package/src/core/scope-manager.js +1 -1
- package/src/core/security-check.d.ts +0 -1
- package/src/core/security-check.js +1 -1
- package/src/core/shutdown-hooks.d.ts +0 -1
- package/src/core/shutdown-hooks.js +1 -1
- package/src/core/targets.d.ts +0 -1
- package/src/core/targets.js +1 -1
- package/src/core/token-store.d.ts +0 -1
- package/src/core/token-store.js +1 -1
- package/src/core/tool-client.d.ts +0 -1
- package/src/core/tool-client.js +1 -1
- package/src/core/tool-scopes.d.ts +0 -1
- package/src/core/tool-scopes.js +1 -1
- package/src/core/tools-config.d.ts +0 -1
- package/src/core/tools-config.js +1 -1
- package/src/core/types.d.ts +1 -2
- package/src/core/types.js +2 -2
- package/src/core/uat-client.d.ts +0 -1
- package/src/core/uat-client.js +1 -1
- package/src/core/version.d.ts +2 -3
- package/src/core/version.js +4 -4
- package/src/messaging/converters/audio.d.ts +0 -1
- package/src/messaging/converters/audio.js +1 -1
- package/src/messaging/converters/calendar.d.ts +0 -1
- package/src/messaging/converters/calendar.js +1 -1
- package/src/messaging/converters/content-converter.d.ts +0 -1
- package/src/messaging/converters/content-converter.js +1 -1
- package/src/messaging/converters/file.d.ts +0 -1
- package/src/messaging/converters/file.js +1 -1
- package/src/messaging/converters/folder.d.ts +0 -1
- package/src/messaging/converters/folder.js +1 -1
- package/src/messaging/converters/hongbao.d.ts +0 -1
- package/src/messaging/converters/hongbao.js +1 -1
- package/src/messaging/converters/image.d.ts +0 -1
- package/src/messaging/converters/image.js +1 -1
- package/src/messaging/converters/index.d.ts +0 -1
- package/src/messaging/converters/index.js +1 -1
- package/src/messaging/converters/interactive/card-converter.d.ts +0 -1
- package/src/messaging/converters/interactive/card-converter.js +1 -1
- package/src/messaging/converters/interactive/card-utils.d.ts +0 -1
- package/src/messaging/converters/interactive/card-utils.js +1 -1
- package/src/messaging/converters/interactive/index.d.ts +0 -1
- package/src/messaging/converters/interactive/index.js +1 -1
- package/src/messaging/converters/interactive/legacy.d.ts +0 -1
- package/src/messaging/converters/interactive/legacy.js +1 -1
- package/src/messaging/converters/interactive/types.d.ts +0 -1
- package/src/messaging/converters/interactive/types.js +1 -1
- package/src/messaging/converters/location.d.ts +0 -1
- package/src/messaging/converters/location.js +1 -1
- package/src/messaging/converters/merge-forward.d.ts +0 -1
- package/src/messaging/converters/merge-forward.js +1 -1
- package/src/messaging/converters/post.d.ts +0 -1
- package/src/messaging/converters/post.js +1 -1
- package/src/messaging/converters/share.d.ts +0 -1
- package/src/messaging/converters/share.js +1 -1
- package/src/messaging/converters/sticker.d.ts +0 -1
- package/src/messaging/converters/sticker.js +1 -1
- package/src/messaging/converters/system.d.ts +0 -1
- package/src/messaging/converters/system.js +1 -1
- package/src/messaging/converters/text.d.ts +0 -1
- package/src/messaging/converters/text.js +1 -1
- package/src/messaging/converters/todo.d.ts +0 -1
- package/src/messaging/converters/todo.js +1 -1
- package/src/messaging/converters/types.d.ts +0 -1
- package/src/messaging/converters/types.js +1 -1
- package/src/messaging/converters/unknown.d.ts +0 -1
- package/src/messaging/converters/unknown.js +1 -1
- package/src/messaging/converters/utils.d.ts +0 -1
- package/src/messaging/converters/utils.js +1 -1
- package/src/messaging/converters/video-chat.d.ts +0 -1
- package/src/messaging/converters/video-chat.js +1 -1
- package/src/messaging/converters/video.d.ts +0 -1
- package/src/messaging/converters/video.js +1 -1
- package/src/messaging/converters/vote.d.ts +0 -1
- package/src/messaging/converters/vote.js +1 -1
- package/src/messaging/inbound/dedup.d.ts +0 -1
- package/src/messaging/inbound/dedup.js +1 -1
- package/src/messaging/inbound/dispatch-builders.d.ts +0 -1
- package/src/messaging/inbound/dispatch-builders.js +1 -1
- package/src/messaging/inbound/dispatch-commands.d.ts +0 -1
- package/src/messaging/inbound/dispatch-commands.js +1 -1
- package/src/messaging/inbound/dispatch-context.d.ts +0 -1
- package/src/messaging/inbound/dispatch-context.js +1 -1
- package/src/messaging/inbound/dispatch.d.ts +0 -1
- package/src/messaging/inbound/dispatch.js +1 -1
- package/src/messaging/inbound/enrich.d.ts +0 -1
- package/src/messaging/inbound/enrich.js +1 -1
- package/src/messaging/inbound/gate-effects.d.ts +0 -1
- package/src/messaging/inbound/gate-effects.js +1 -1
- package/src/messaging/inbound/gate.d.ts +0 -1
- package/src/messaging/inbound/gate.js +1 -1
- package/src/messaging/inbound/handler.d.ts +1 -2
- package/src/messaging/inbound/handler.js +2 -2
- package/src/messaging/inbound/media-resolver.d.ts +0 -1
- package/src/messaging/inbound/media-resolver.js +1 -1
- package/src/messaging/inbound/mention.d.ts +1 -2
- package/src/messaging/inbound/mention.js +2 -2
- package/src/messaging/inbound/parse-io.d.ts +0 -1
- package/src/messaging/inbound/parse-io.js +1 -1
- package/src/messaging/inbound/parse.d.ts +0 -1
- package/src/messaging/inbound/parse.js +1 -1
- package/src/messaging/inbound/permission.d.ts +0 -1
- package/src/messaging/inbound/permission.js +1 -1
- package/src/messaging/inbound/policy.d.ts +1 -2
- package/src/messaging/inbound/policy.js +2 -2
- package/src/messaging/inbound/reaction-handler.d.ts +1 -2
- package/src/messaging/inbound/reaction-handler.js +2 -2
- package/src/messaging/inbound/user-name-cache.d.ts +0 -1
- package/src/messaging/inbound/user-name-cache.js +1 -1
- package/src/messaging/outbound/actions.d.ts +1 -2
- package/src/messaging/outbound/actions.js +2 -2
- package/src/messaging/outbound/chat-manage.d.ts +1 -2
- package/src/messaging/outbound/chat-manage.js +2 -2
- package/src/messaging/outbound/deliver.d.ts +1 -2
- package/src/messaging/outbound/deliver.js +1 -1
- package/src/messaging/outbound/fetch.d.ts +0 -1
- package/src/messaging/outbound/fetch.js +1 -1
- package/src/messaging/outbound/forward.d.ts +1 -2
- package/src/messaging/outbound/forward.js +2 -2
- package/src/messaging/outbound/media-url-utils.d.ts +0 -1
- package/src/messaging/outbound/media-url-utils.js +1 -1
- package/src/messaging/outbound/media.d.ts +1 -2
- package/src/messaging/outbound/media.js +2 -2
- package/src/messaging/outbound/outbound.d.ts +1 -2
- package/src/messaging/outbound/outbound.js +1 -1
- package/src/messaging/outbound/reactions.d.ts +1 -2
- package/src/messaging/outbound/reactions.js +2 -2
- package/src/messaging/outbound/send.d.ts +1 -2
- package/src/messaging/outbound/send.js +2 -2
- package/src/messaging/outbound/typing.d.ts +1 -2
- package/src/messaging/outbound/typing.js +2 -2
- package/src/messaging/shared/message-lookup.d.ts +1 -2
- package/src/messaging/shared/message-lookup.js +2 -2
- package/src/messaging/types.d.ts +1 -2
- package/src/messaging/types.js +2 -2
- package/src/tools/auto-auth.d.ts +1 -2
- package/src/tools/auto-auth.js +1 -1
- package/src/tools/helpers.d.ts +0 -1
- package/src/tools/helpers.js +1 -1
- package/src/tools/mcp/doc/create.d.ts +0 -1
- package/src/tools/mcp/doc/create.js +1 -1
- package/src/tools/mcp/doc/fetch.d.ts +0 -1
- package/src/tools/mcp/doc/fetch.js +1 -1
- package/src/tools/mcp/doc/index.d.ts +0 -1
- package/src/tools/mcp/doc/index.js +1 -1
- package/src/tools/mcp/doc/update.d.ts +0 -1
- package/src/tools/mcp/doc/update.js +1 -1
- package/src/tools/mcp/shared.d.ts +0 -1
- package/src/tools/mcp/shared.js +1 -1
- package/src/tools/oapi/bitable/app-table-field.d.ts +0 -1
- package/src/tools/oapi/bitable/app-table-field.js +1 -1
- package/src/tools/oapi/bitable/app-table-record.d.ts +0 -1
- package/src/tools/oapi/bitable/app-table-record.js +1 -1
- package/src/tools/oapi/bitable/app-table-view.d.ts +0 -1
- package/src/tools/oapi/bitable/app-table-view.js +1 -1
- package/src/tools/oapi/bitable/app-table.d.ts +0 -1
- package/src/tools/oapi/bitable/app-table.js +1 -1
- package/src/tools/oapi/bitable/app.d.ts +0 -1
- package/src/tools/oapi/bitable/app.js +1 -1
- package/src/tools/oapi/bitable/index.d.ts +0 -1
- package/src/tools/oapi/bitable/index.js +1 -1
- package/src/tools/oapi/calendar/calendar.d.ts +0 -1
- package/src/tools/oapi/calendar/calendar.js +1 -1
- package/src/tools/oapi/calendar/event-attendee.d.ts +0 -1
- package/src/tools/oapi/calendar/event-attendee.js +1 -1
- package/src/tools/oapi/calendar/event.d.ts +0 -1
- package/src/tools/oapi/calendar/event.js +1 -1
- package/src/tools/oapi/calendar/freebusy.d.ts +0 -1
- package/src/tools/oapi/calendar/freebusy.js +1 -1
- package/src/tools/oapi/calendar/index.d.ts +0 -1
- package/src/tools/oapi/calendar/index.js +1 -1
- package/src/tools/oapi/chat/chat.d.ts +0 -1
- package/src/tools/oapi/chat/chat.js +1 -1
- package/src/tools/oapi/chat/index.d.ts +0 -1
- package/src/tools/oapi/chat/index.js +1 -1
- package/src/tools/oapi/chat/members.d.ts +0 -1
- package/src/tools/oapi/chat/members.js +1 -1
- package/src/tools/oapi/common/get-user.d.ts +0 -1
- package/src/tools/oapi/common/get-user.js +1 -1
- package/src/tools/oapi/common/index.d.ts +0 -1
- package/src/tools/oapi/common/index.js +1 -1
- package/src/tools/oapi/common/search-user.d.ts +0 -1
- package/src/tools/oapi/common/search-user.js +1 -1
- package/src/tools/oapi/drive/doc-comments.d.ts +0 -1
- package/src/tools/oapi/drive/doc-comments.js +1 -1
- package/src/tools/oapi/drive/doc-media.d.ts +0 -1
- package/src/tools/oapi/drive/doc-media.js +1 -1
- package/src/tools/oapi/drive/file.d.ts +0 -1
- package/src/tools/oapi/drive/file.js +1 -1
- package/src/tools/oapi/drive/index.d.ts +0 -1
- package/src/tools/oapi/drive/index.js +1 -1
- package/src/tools/oapi/helpers.d.ts +1 -2
- package/src/tools/oapi/helpers.js +1 -1
- package/src/tools/oapi/im/format-messages.d.ts +0 -1
- package/src/tools/oapi/im/format-messages.js +1 -1
- package/src/tools/oapi/im/index.d.ts +0 -1
- package/src/tools/oapi/im/index.js +1 -1
- package/src/tools/oapi/im/message-read.d.ts +0 -1
- package/src/tools/oapi/im/message-read.js +1 -1
- package/src/tools/oapi/im/message.d.ts +0 -1
- package/src/tools/oapi/im/message.js +1 -1
- package/src/tools/oapi/im/resource.d.ts +0 -1
- package/src/tools/oapi/im/resource.js +1 -1
- package/src/tools/oapi/im/time-utils.d.ts +0 -1
- package/src/tools/oapi/im/time-utils.js +1 -1
- package/src/tools/oapi/im/user-name-uat.d.ts +0 -1
- package/src/tools/oapi/im/user-name-uat.js +1 -1
- package/src/tools/oapi/index.d.ts +0 -1
- package/src/tools/oapi/index.js +1 -1
- package/src/tools/oapi/sdk-types.d.ts +0 -1
- package/src/tools/oapi/sdk-types.js +1 -1
- package/src/tools/oapi/search/doc-search.d.ts +0 -1
- package/src/tools/oapi/search/doc-search.js +1 -1
- package/src/tools/oapi/search/index.d.ts +0 -1
- package/src/tools/oapi/search/index.js +1 -1
- package/src/tools/oapi/sheets/index.d.ts +0 -1
- package/src/tools/oapi/sheets/index.js +1 -1
- package/src/tools/oapi/sheets/sheet.d.ts +0 -1
- package/src/tools/oapi/sheets/sheet.js +1 -1
- package/src/tools/oapi/task/comment.d.ts +0 -1
- package/src/tools/oapi/task/comment.js +1 -1
- package/src/tools/oapi/task/index.d.ts +0 -1
- package/src/tools/oapi/task/index.js +1 -1
- package/src/tools/oapi/task/subtask.d.ts +0 -1
- package/src/tools/oapi/task/subtask.js +1 -1
- package/src/tools/oapi/task/task.d.ts +0 -1
- package/src/tools/oapi/task/task.js +1 -1
- package/src/tools/oapi/task/tasklist.d.ts +0 -1
- package/src/tools/oapi/task/tasklist.js +1 -1
- package/src/tools/oapi/wiki/index.d.ts +0 -1
- package/src/tools/oapi/wiki/index.js +1 -1
- package/src/tools/oapi/wiki/space-node.d.ts +0 -1
- package/src/tools/oapi/wiki/space-node.js +1 -1
- package/src/tools/oapi/wiki/space.d.ts +0 -1
- package/src/tools/oapi/wiki/space.js +1 -1
- package/src/tools/oauth-batch-auth.d.ts +0 -1
- package/src/tools/oauth-batch-auth.js +1 -1
- package/src/tools/oauth-cards.d.ts +0 -1
- package/src/tools/oauth-cards.js +1 -1
- package/src/tools/oauth.d.ts +0 -1
- package/src/tools/oauth.js +1 -1
- package/src/tools/onboarding-auth.d.ts +0 -1
- package/src/tools/onboarding-auth.js +1 -1
- package/src/tools/tat/im/index.d.ts +0 -1
- package/src/tools/tat/im/index.js +1 -1
- package/src/tools/tat/im/resource.d.ts +0 -1
- package/src/tools/tat/im/resource.js +1 -1
- package/index.d.ts.map +0 -1
- package/index.js.map +0 -1
- package/src/card/builder.d.ts.map +0 -1
- package/src/card/builder.js.map +0 -1
- package/src/card/cardkit.d.ts.map +0 -1
- package/src/card/cardkit.js.map +0 -1
- package/src/card/flush-controller.d.ts.map +0 -1
- package/src/card/flush-controller.js.map +0 -1
- package/src/card/markdown-style.d.ts.map +0 -1
- package/src/card/markdown-style.js.map +0 -1
- package/src/card/reply-dispatcher-types.d.ts.map +0 -1
- package/src/card/reply-dispatcher-types.js.map +0 -1
- package/src/card/reply-dispatcher.d.ts.map +0 -1
- package/src/card/reply-dispatcher.js.map +0 -1
- package/src/card/reply-mode.d.ts.map +0 -1
- package/src/card/reply-mode.js.map +0 -1
- package/src/card/streaming-card-controller.d.ts.map +0 -1
- package/src/card/streaming-card-controller.js.map +0 -1
- package/src/card/unavailable-guard.d.ts.map +0 -1
- package/src/card/unavailable-guard.js.map +0 -1
- package/src/channel/abort-detect.d.ts.map +0 -1
- package/src/channel/abort-detect.js.map +0 -1
- package/src/channel/chat-queue.d.ts.map +0 -1
- package/src/channel/chat-queue.js.map +0 -1
- package/src/channel/config-adapter.d.ts.map +0 -1
- package/src/channel/config-adapter.js.map +0 -1
- package/src/channel/directory.d.ts.map +0 -1
- package/src/channel/directory.js.map +0 -1
- package/src/channel/event-handlers.d.ts.map +0 -1
- package/src/channel/event-handlers.js.map +0 -1
- package/src/channel/monitor.d.ts.map +0 -1
- package/src/channel/monitor.js.map +0 -1
- package/src/channel/onboarding-config.d.ts.map +0 -1
- package/src/channel/onboarding-config.js.map +0 -1
- package/src/channel/onboarding-migrate.d.ts.map +0 -1
- package/src/channel/onboarding-migrate.js.map +0 -1
- package/src/channel/onboarding.d.ts.map +0 -1
- package/src/channel/onboarding.js.map +0 -1
- package/src/channel/plugin.d.ts.map +0 -1
- package/src/channel/plugin.js.map +0 -1
- package/src/channel/probe.d.ts.map +0 -1
- package/src/channel/probe.js.map +0 -1
- package/src/channel/types.d.ts.map +0 -1
- package/src/channel/types.js.map +0 -1
- package/src/commands/auth.d.ts.map +0 -1
- package/src/commands/auth.js.map +0 -1
- package/src/commands/diagnose.d.ts.map +0 -1
- package/src/commands/diagnose.js.map +0 -1
- package/src/commands/doctor.d.ts.map +0 -1
- package/src/commands/doctor.js.map +0 -1
- package/src/commands/index.d.ts.map +0 -1
- package/src/commands/index.js.map +0 -1
- package/src/core/accounts.d.ts.map +0 -1
- package/src/core/accounts.js.map +0 -1
- package/src/core/agent-config.d.ts.map +0 -1
- package/src/core/agent-config.js.map +0 -1
- package/src/core/api-error.d.ts.map +0 -1
- package/src/core/api-error.js.map +0 -1
- package/src/core/app-owner-fallback.d.ts.map +0 -1
- package/src/core/app-owner-fallback.js.map +0 -1
- package/src/core/app-scope-checker.d.ts.map +0 -1
- package/src/core/app-scope-checker.js.map +0 -1
- package/src/core/auth-errors.d.ts.map +0 -1
- package/src/core/auth-errors.js.map +0 -1
- package/src/core/chat-info-cache.d.ts.map +0 -1
- package/src/core/chat-info-cache.js.map +0 -1
- package/src/core/config-schema.d.ts.map +0 -1
- package/src/core/config-schema.js.map +0 -1
- package/src/core/device-flow.d.ts.map +0 -1
- package/src/core/device-flow.js.map +0 -1
- package/src/core/feishu-fetch.d.ts.map +0 -1
- package/src/core/feishu-fetch.js.map +0 -1
- package/src/core/footer-config.d.ts.map +0 -1
- package/src/core/footer-config.js.map +0 -1
- package/src/core/lark-client.d.ts.map +0 -1
- package/src/core/lark-client.js.map +0 -1
- package/src/core/lark-logger.d.ts.map +0 -1
- package/src/core/lark-logger.js.map +0 -1
- package/src/core/lark-ticket.d.ts.map +0 -1
- package/src/core/lark-ticket.js.map +0 -1
- package/src/core/message-unavailable.d.ts.map +0 -1
- package/src/core/message-unavailable.js.map +0 -1
- package/src/core/owner-policy.d.ts.map +0 -1
- package/src/core/owner-policy.js.map +0 -1
- package/src/core/permission-url.d.ts.map +0 -1
- package/src/core/permission-url.js.map +0 -1
- package/src/core/raw-request.d.ts.map +0 -1
- package/src/core/raw-request.js.map +0 -1
- package/src/core/scope-manager.d.ts.map +0 -1
- package/src/core/scope-manager.js.map +0 -1
- package/src/core/security-check.d.ts.map +0 -1
- package/src/core/security-check.js.map +0 -1
- package/src/core/shutdown-hooks.d.ts.map +0 -1
- package/src/core/shutdown-hooks.js.map +0 -1
- package/src/core/targets.d.ts.map +0 -1
- package/src/core/targets.js.map +0 -1
- package/src/core/token-store.d.ts.map +0 -1
- package/src/core/token-store.js.map +0 -1
- package/src/core/tool-client.d.ts.map +0 -1
- package/src/core/tool-client.js.map +0 -1
- package/src/core/tool-scopes.d.ts.map +0 -1
- package/src/core/tool-scopes.js.map +0 -1
- package/src/core/tools-config.d.ts.map +0 -1
- package/src/core/tools-config.js.map +0 -1
- package/src/core/types.d.ts.map +0 -1
- package/src/core/types.js.map +0 -1
- package/src/core/uat-client.d.ts.map +0 -1
- package/src/core/uat-client.js.map +0 -1
- package/src/core/version.d.ts.map +0 -1
- package/src/core/version.js.map +0 -1
- package/src/messaging/converters/audio.d.ts.map +0 -1
- package/src/messaging/converters/audio.js.map +0 -1
- package/src/messaging/converters/calendar.d.ts.map +0 -1
- package/src/messaging/converters/calendar.js.map +0 -1
- package/src/messaging/converters/content-converter.d.ts.map +0 -1
- package/src/messaging/converters/content-converter.js.map +0 -1
- package/src/messaging/converters/file.d.ts.map +0 -1
- package/src/messaging/converters/file.js.map +0 -1
- package/src/messaging/converters/folder.d.ts.map +0 -1
- package/src/messaging/converters/folder.js.map +0 -1
- package/src/messaging/converters/hongbao.d.ts.map +0 -1
- package/src/messaging/converters/hongbao.js.map +0 -1
- package/src/messaging/converters/image.d.ts.map +0 -1
- package/src/messaging/converters/image.js.map +0 -1
- package/src/messaging/converters/index.d.ts.map +0 -1
- package/src/messaging/converters/index.js.map +0 -1
- package/src/messaging/converters/interactive/card-converter.d.ts.map +0 -1
- package/src/messaging/converters/interactive/card-converter.js.map +0 -1
- package/src/messaging/converters/interactive/card-utils.d.ts.map +0 -1
- package/src/messaging/converters/interactive/card-utils.js.map +0 -1
- package/src/messaging/converters/interactive/index.d.ts.map +0 -1
- package/src/messaging/converters/interactive/index.js.map +0 -1
- package/src/messaging/converters/interactive/legacy.d.ts.map +0 -1
- package/src/messaging/converters/interactive/legacy.js.map +0 -1
- package/src/messaging/converters/interactive/types.d.ts.map +0 -1
- package/src/messaging/converters/interactive/types.js.map +0 -1
- package/src/messaging/converters/location.d.ts.map +0 -1
- package/src/messaging/converters/location.js.map +0 -1
- package/src/messaging/converters/merge-forward.d.ts.map +0 -1
- package/src/messaging/converters/merge-forward.js.map +0 -1
- package/src/messaging/converters/post.d.ts.map +0 -1
- package/src/messaging/converters/post.js.map +0 -1
- package/src/messaging/converters/share.d.ts.map +0 -1
- package/src/messaging/converters/share.js.map +0 -1
- package/src/messaging/converters/sticker.d.ts.map +0 -1
- package/src/messaging/converters/sticker.js.map +0 -1
- package/src/messaging/converters/system.d.ts.map +0 -1
- package/src/messaging/converters/system.js.map +0 -1
- package/src/messaging/converters/text.d.ts.map +0 -1
- package/src/messaging/converters/text.js.map +0 -1
- package/src/messaging/converters/todo.d.ts.map +0 -1
- package/src/messaging/converters/todo.js.map +0 -1
- package/src/messaging/converters/types.d.ts.map +0 -1
- package/src/messaging/converters/types.js.map +0 -1
- package/src/messaging/converters/unknown.d.ts.map +0 -1
- package/src/messaging/converters/unknown.js.map +0 -1
- package/src/messaging/converters/utils.d.ts.map +0 -1
- package/src/messaging/converters/utils.js.map +0 -1
- package/src/messaging/converters/video-chat.d.ts.map +0 -1
- package/src/messaging/converters/video-chat.js.map +0 -1
- package/src/messaging/converters/video.d.ts.map +0 -1
- package/src/messaging/converters/video.js.map +0 -1
- package/src/messaging/converters/vote.d.ts.map +0 -1
- package/src/messaging/converters/vote.js.map +0 -1
- package/src/messaging/inbound/dedup.d.ts.map +0 -1
- package/src/messaging/inbound/dedup.js.map +0 -1
- package/src/messaging/inbound/dispatch-builders.d.ts.map +0 -1
- package/src/messaging/inbound/dispatch-builders.js.map +0 -1
- package/src/messaging/inbound/dispatch-commands.d.ts.map +0 -1
- package/src/messaging/inbound/dispatch-commands.js.map +0 -1
- package/src/messaging/inbound/dispatch-context.d.ts.map +0 -1
- package/src/messaging/inbound/dispatch-context.js.map +0 -1
- package/src/messaging/inbound/dispatch.d.ts.map +0 -1
- package/src/messaging/inbound/dispatch.js.map +0 -1
- package/src/messaging/inbound/enrich.d.ts.map +0 -1
- package/src/messaging/inbound/enrich.js.map +0 -1
- package/src/messaging/inbound/gate-effects.d.ts.map +0 -1
- package/src/messaging/inbound/gate-effects.js.map +0 -1
- package/src/messaging/inbound/gate.d.ts.map +0 -1
- package/src/messaging/inbound/gate.js.map +0 -1
- package/src/messaging/inbound/handler.d.ts.map +0 -1
- package/src/messaging/inbound/handler.js.map +0 -1
- package/src/messaging/inbound/media-resolver.d.ts.map +0 -1
- package/src/messaging/inbound/media-resolver.js.map +0 -1
- package/src/messaging/inbound/mention.d.ts.map +0 -1
- package/src/messaging/inbound/mention.js.map +0 -1
- package/src/messaging/inbound/parse-io.d.ts.map +0 -1
- package/src/messaging/inbound/parse-io.js.map +0 -1
- package/src/messaging/inbound/parse.d.ts.map +0 -1
- package/src/messaging/inbound/parse.js.map +0 -1
- package/src/messaging/inbound/permission.d.ts.map +0 -1
- package/src/messaging/inbound/permission.js.map +0 -1
- package/src/messaging/inbound/policy.d.ts.map +0 -1
- package/src/messaging/inbound/policy.js.map +0 -1
- package/src/messaging/inbound/reaction-handler.d.ts.map +0 -1
- package/src/messaging/inbound/reaction-handler.js.map +0 -1
- package/src/messaging/inbound/user-name-cache.d.ts.map +0 -1
- package/src/messaging/inbound/user-name-cache.js.map +0 -1
- package/src/messaging/outbound/actions.d.ts.map +0 -1
- package/src/messaging/outbound/actions.js.map +0 -1
- package/src/messaging/outbound/chat-manage.d.ts.map +0 -1
- package/src/messaging/outbound/chat-manage.js.map +0 -1
- package/src/messaging/outbound/deliver.d.ts.map +0 -1
- package/src/messaging/outbound/deliver.js.map +0 -1
- package/src/messaging/outbound/fetch.d.ts.map +0 -1
- package/src/messaging/outbound/fetch.js.map +0 -1
- package/src/messaging/outbound/forward.d.ts.map +0 -1
- package/src/messaging/outbound/forward.js.map +0 -1
- package/src/messaging/outbound/media-url-utils.d.ts.map +0 -1
- package/src/messaging/outbound/media-url-utils.js.map +0 -1
- package/src/messaging/outbound/media.d.ts.map +0 -1
- package/src/messaging/outbound/media.js.map +0 -1
- package/src/messaging/outbound/outbound.d.ts.map +0 -1
- package/src/messaging/outbound/outbound.js.map +0 -1
- package/src/messaging/outbound/reactions.d.ts.map +0 -1
- package/src/messaging/outbound/reactions.js.map +0 -1
- package/src/messaging/outbound/send.d.ts.map +0 -1
- package/src/messaging/outbound/send.js.map +0 -1
- package/src/messaging/outbound/typing.d.ts.map +0 -1
- package/src/messaging/outbound/typing.js.map +0 -1
- package/src/messaging/shared/message-lookup.d.ts.map +0 -1
- package/src/messaging/shared/message-lookup.js.map +0 -1
- package/src/messaging/types.d.ts.map +0 -1
- package/src/messaging/types.js.map +0 -1
- package/src/tools/auto-auth.d.ts.map +0 -1
- package/src/tools/auto-auth.js.map +0 -1
- package/src/tools/helpers.d.ts.map +0 -1
- package/src/tools/helpers.js.map +0 -1
- package/src/tools/mcp/doc/create.d.ts.map +0 -1
- package/src/tools/mcp/doc/create.js.map +0 -1
- package/src/tools/mcp/doc/fetch.d.ts.map +0 -1
- package/src/tools/mcp/doc/fetch.js.map +0 -1
- package/src/tools/mcp/doc/index.d.ts.map +0 -1
- package/src/tools/mcp/doc/index.js.map +0 -1
- package/src/tools/mcp/doc/update.d.ts.map +0 -1
- package/src/tools/mcp/doc/update.js.map +0 -1
- package/src/tools/mcp/shared.d.ts.map +0 -1
- package/src/tools/mcp/shared.js.map +0 -1
- package/src/tools/oapi/bitable/app-table-field.d.ts.map +0 -1
- package/src/tools/oapi/bitable/app-table-field.js.map +0 -1
- package/src/tools/oapi/bitable/app-table-record.d.ts.map +0 -1
- package/src/tools/oapi/bitable/app-table-record.js.map +0 -1
- package/src/tools/oapi/bitable/app-table-view.d.ts.map +0 -1
- package/src/tools/oapi/bitable/app-table-view.js.map +0 -1
- package/src/tools/oapi/bitable/app-table.d.ts.map +0 -1
- package/src/tools/oapi/bitable/app-table.js.map +0 -1
- package/src/tools/oapi/bitable/app.d.ts.map +0 -1
- package/src/tools/oapi/bitable/app.js.map +0 -1
- package/src/tools/oapi/bitable/index.d.ts.map +0 -1
- package/src/tools/oapi/bitable/index.js.map +0 -1
- package/src/tools/oapi/calendar/calendar.d.ts.map +0 -1
- package/src/tools/oapi/calendar/calendar.js.map +0 -1
- package/src/tools/oapi/calendar/event-attendee.d.ts.map +0 -1
- package/src/tools/oapi/calendar/event-attendee.js.map +0 -1
- package/src/tools/oapi/calendar/event.d.ts.map +0 -1
- package/src/tools/oapi/calendar/event.js.map +0 -1
- package/src/tools/oapi/calendar/freebusy.d.ts.map +0 -1
- package/src/tools/oapi/calendar/freebusy.js.map +0 -1
- package/src/tools/oapi/calendar/index.d.ts.map +0 -1
- package/src/tools/oapi/calendar/index.js.map +0 -1
- package/src/tools/oapi/chat/chat.d.ts.map +0 -1
- package/src/tools/oapi/chat/chat.js.map +0 -1
- package/src/tools/oapi/chat/index.d.ts.map +0 -1
- package/src/tools/oapi/chat/index.js.map +0 -1
- package/src/tools/oapi/chat/members.d.ts.map +0 -1
- package/src/tools/oapi/chat/members.js.map +0 -1
- package/src/tools/oapi/common/get-user.d.ts.map +0 -1
- package/src/tools/oapi/common/get-user.js.map +0 -1
- package/src/tools/oapi/common/index.d.ts.map +0 -1
- package/src/tools/oapi/common/index.js.map +0 -1
- package/src/tools/oapi/common/search-user.d.ts.map +0 -1
- package/src/tools/oapi/common/search-user.js.map +0 -1
- package/src/tools/oapi/drive/doc-comments.d.ts.map +0 -1
- package/src/tools/oapi/drive/doc-comments.js.map +0 -1
- package/src/tools/oapi/drive/doc-media.d.ts.map +0 -1
- package/src/tools/oapi/drive/doc-media.js.map +0 -1
- package/src/tools/oapi/drive/file.d.ts.map +0 -1
- package/src/tools/oapi/drive/file.js.map +0 -1
- package/src/tools/oapi/drive/index.d.ts.map +0 -1
- package/src/tools/oapi/drive/index.js.map +0 -1
- package/src/tools/oapi/helpers.d.ts.map +0 -1
- package/src/tools/oapi/helpers.js.map +0 -1
- package/src/tools/oapi/im/format-messages.d.ts.map +0 -1
- package/src/tools/oapi/im/format-messages.js.map +0 -1
- package/src/tools/oapi/im/index.d.ts.map +0 -1
- package/src/tools/oapi/im/index.js.map +0 -1
- package/src/tools/oapi/im/message-read.d.ts.map +0 -1
- package/src/tools/oapi/im/message-read.js.map +0 -1
- package/src/tools/oapi/im/message.d.ts.map +0 -1
- package/src/tools/oapi/im/message.js.map +0 -1
- package/src/tools/oapi/im/resource.d.ts.map +0 -1
- package/src/tools/oapi/im/resource.js.map +0 -1
- package/src/tools/oapi/im/time-utils.d.ts.map +0 -1
- package/src/tools/oapi/im/time-utils.js.map +0 -1
- package/src/tools/oapi/im/user-name-uat.d.ts.map +0 -1
- package/src/tools/oapi/im/user-name-uat.js.map +0 -1
- package/src/tools/oapi/index.d.ts.map +0 -1
- package/src/tools/oapi/index.js.map +0 -1
- package/src/tools/oapi/sdk-types.d.ts.map +0 -1
- package/src/tools/oapi/sdk-types.js.map +0 -1
- package/src/tools/oapi/search/doc-search.d.ts.map +0 -1
- package/src/tools/oapi/search/doc-search.js.map +0 -1
- package/src/tools/oapi/search/index.d.ts.map +0 -1
- package/src/tools/oapi/search/index.js.map +0 -1
- package/src/tools/oapi/sheets/index.d.ts.map +0 -1
- package/src/tools/oapi/sheets/index.js.map +0 -1
- package/src/tools/oapi/sheets/sheet.d.ts.map +0 -1
- package/src/tools/oapi/sheets/sheet.js.map +0 -1
- package/src/tools/oapi/task/comment.d.ts.map +0 -1
- package/src/tools/oapi/task/comment.js.map +0 -1
- package/src/tools/oapi/task/index.d.ts.map +0 -1
- package/src/tools/oapi/task/index.js.map +0 -1
- package/src/tools/oapi/task/subtask.d.ts.map +0 -1
- package/src/tools/oapi/task/subtask.js.map +0 -1
- package/src/tools/oapi/task/task.d.ts.map +0 -1
- package/src/tools/oapi/task/task.js.map +0 -1
- package/src/tools/oapi/task/tasklist.d.ts.map +0 -1
- package/src/tools/oapi/task/tasklist.js.map +0 -1
- package/src/tools/oapi/wiki/index.d.ts.map +0 -1
- package/src/tools/oapi/wiki/index.js.map +0 -1
- package/src/tools/oapi/wiki/space-node.d.ts.map +0 -1
- package/src/tools/oapi/wiki/space-node.js.map +0 -1
- package/src/tools/oapi/wiki/space.d.ts.map +0 -1
- package/src/tools/oapi/wiki/space.js.map +0 -1
- package/src/tools/oauth-batch-auth.d.ts.map +0 -1
- package/src/tools/oauth-batch-auth.js.map +0 -1
- package/src/tools/oauth-cards.d.ts.map +0 -1
- package/src/tools/oauth-cards.js.map +0 -1
- package/src/tools/oauth.d.ts.map +0 -1
- package/src/tools/oauth.js.map +0 -1
- package/src/tools/onboarding-auth.d.ts.map +0 -1
- package/src/tools/onboarding-auth.js.map +0 -1
- package/src/tools/tat/im/index.d.ts.map +0 -1
- package/src/tools/tat/im/index.js.map +0 -1
- package/src/tools/tat/im/resource.d.ts.map +0 -1
- package/src/tools/tat/im/resource.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -2,9 +2,20 @@ MIT License
|
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2026 Lark Technologies Pte. Ltd.
|
|
4
4
|
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
6
11
|
|
|
7
|
-
The above copyright notice and this permission notice
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
10
14
|
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,283 +1,80 @@
|
|
|
1
|
-
# OpenClaw Feishu
|
|
1
|
+
# OpenClaw Lark/Feishu Plugin
|
|
2
2
|
|
|
3
3
|
[](https://opensource.org/licenses/MIT)
|
|
4
|
-
[](https://www.npmjs.com/package/@larksuite/openclaw-lark)
|
|
5
5
|
[](https://nodejs.org/)
|
|
6
6
|
|
|
7
7
|
[中文版](./README.zh.md) | English
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
The official Feishu/Lark plugin for OpenClaw, developed and maintained by the Lark Open Platform team. It seamlessly connects your OpenClaw Agent to your Feishu/Lark workspace, empowering it to directly read from and write to messages, documents, sheets, calendars, tasks, and more.
|
|
9
|
+
This is the official Lark/Feishu plugin for OpenClaw, developed and maintained by the Lark/Feishu Open Platform team. It seamlessly connects your OpenClaw Agent to your Lark/Feishu workspace, enabling it to directly read from and write to messages, docs, bases, calendars, tasks, and more.
|
|
12
10
|
|
|
13
11
|
## Features
|
|
14
12
|
|
|
15
|
-
This plugin provides comprehensive Feishu
|
|
13
|
+
This plugin provides comprehensive Lark/Feishu integration for OpenClaw, including:
|
|
16
14
|
|
|
17
15
|
| Category | Capabilities |
|
|
18
|
-
|
|
19
|
-
| 💬
|
|
20
|
-
| 📄 Docs | Create
|
|
21
|
-
| 📊
|
|
22
|
-
|
|
|
23
|
-
|
|
|
16
|
+
|------|------|
|
|
17
|
+
| 💬 Messenger | Read messages (group/DM history, thread replies), send messages, reply to messages, search messages, download images/files |
|
|
18
|
+
| 📄 Docs | Create, update, and read documents |
|
|
19
|
+
| 📊 Base | Create/manage bases, tables, fields, records (CRUD, batch operations, advanced filtering), views |
|
|
20
|
+
| 📈 Sheets | Create, edit, and view spreadsheets |
|
|
21
|
+
| 📅 Calendar | Manage calendars and events (create/query/update/delete/search), manage attendees, check free/busy status |
|
|
22
|
+
| ✅ Tasks | Manage tasks (create/query/update/complete), manage task lists, subtasks, and comments |
|
|
24
23
|
|
|
25
24
|
Additionally, the plugin supports:
|
|
26
|
-
- **📱 Interactive Cards**: Real-time status updates (
|
|
27
|
-
- **🌊 Streaming
|
|
25
|
+
- **📱 Interactive Cards**: Real-time status updates (Thinking/Generating/Complete), plus confirmation buttons for sensitive operations
|
|
26
|
+
- **🌊 Streaming Responses**: Live streaming text directly within message cards
|
|
28
27
|
- **🔒 Permission Policies**: Flexible access control policies for DMs and group chats
|
|
29
|
-
- **⚙️ Advanced Group Configuration**: Per-group settings including
|
|
28
|
+
- **⚙️ Advanced Group Configuration**: Per-group settings including allowlists, skill bindings, and custom system prompts
|
|
29
|
+
|
|
30
|
+
## Security & Risk Warnings (Read Before Use)
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
**Core risk:** This plugin connects to your work data via Lark/Feishu APIs—messages, docs, calendars, contacts. Anything the AI can read could theoretically be leaked. While we have implemented security protections, AI systems are not yet mature or stable enough to guarantee absolute safety.
|
|
32
33
|
|
|
33
|
-
|
|
34
|
+
**Strong recommendations:**
|
|
35
|
+
- Use a personal account for evaluation and testing at this stage.
|
|
36
|
+
- Use the related Lark/Feishu apps personally, and avoid deploying to large numbers of users.
|
|
37
|
+
- Avoid using it in group chats to reduce the risk of data exposure.
|
|
38
|
+
- Using this bot for multiple users and/or with a company Feishu account may introduce data security and privacy risks. Make sure you comply with your organization’s internal data security and privacy requirements to avoid data leakage, privilege escalation, privacy violations, or related consequences.
|
|
34
39
|
|
|
35
|
-
**
|
|
40
|
+
**Other operational risks**
|
|
41
|
+
- AI is not perfect and may hallucinate: It may sometimes misunderstand your intent or generate content that appears reasonable but is inaccurate.
|
|
42
|
+
- Some operations are irreversible: For example, messages sent by the AI on your behalf are sent in your name and cannot be undone once sent.
|
|
43
|
+
- **Mitigation advice:** For important operations involving sending, modifying, or writing data, always **preview first, then confirm**. Never allow the AI to operate in a fully autonomous mode without human oversight.
|
|
36
44
|
|
|
37
|
-
**
|
|
45
|
+
**Disclaimer:**
|
|
38
46
|
|
|
39
|
-
|
|
40
|
-
- Avoid using this plugin in group chats. Since it runs under your personal identity, other members may prompt it into accessing or sending your data, increasing the risk of data leakage.
|
|
47
|
+
This software is licensed under the MIT License. When running, it calls Lark/Feishu Open Platform APIs. To use these APIs, you must comply with the following agreements and privacy policies:
|
|
41
48
|
|
|
42
|
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
- **Mitigation Advice:** For important operations involving sending, modifying, or writing data, please always **"preview first, then confirm"**. Never let the AI operate in a fully autonomous "self-driving" mode without human oversight.
|
|
49
|
+
- [Feishu Privacy Policy](https://www.feishu.cn/en/privacy?from=openclaw_plugin_readme)
|
|
50
|
+
- [Feishu User Terms of Service](https://www.feishu.cn/en/terms?from=openclaw_plugin_readme)
|
|
51
|
+
- [Feishu Store App Service Provider Security Management Specifications](https://open.larkoffice.com/document/uAjLw4CM/uMzNwEjLzcDMx4yM3ATM/management-practice/app-service-provider-security-management-specifications)
|
|
46
52
|
|
|
47
|
-
|
|
53
|
+
- [Lark Privacy Policy](https://www.larksuite.com/user-terms-of-service)
|
|
54
|
+
- [Lark User Terms of Service](https://www.larksuite.com/privacy-policy)
|
|
48
55
|
|
|
49
56
|
## Requirements & Installation
|
|
50
57
|
|
|
51
|
-
Before you start,
|
|
58
|
+
Before you start, make sure you have the following:
|
|
52
59
|
|
|
53
60
|
- **Node.js**: `v22` or higher.
|
|
54
|
-
- **OpenClaw**:
|
|
61
|
+
- **OpenClaw**: OpenClaw is installed and works properly. For details, visit the [OpenClaw official website](https://openclaw.ai).
|
|
55
62
|
|
|
56
|
-
> **Note**: OpenClaw version must be **2026.2.26** or higher. Check with `openclaw -v`. If below this version,
|
|
63
|
+
> **Note**: OpenClaw version must be **2026.2.26** or higher. Check with `openclaw -v`. If below this version, you may encounter issues. Upgrade with:
|
|
57
64
|
> ```bash
|
|
58
65
|
> npm install -g openclaw
|
|
59
66
|
> ```
|
|
60
67
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
1. Log in to [Feishu Open Platform](https://open.feishu.cn/app), click "Create Enterprise Self-built App".
|
|
64
|
-
2. Configure app name, description, and icon, then click "Create".
|
|
65
|
-
3. Add Bot capability: In the left navigation, go to "App Capabilities > Add App Capability", select "Add by Capability" tab, click "Add" on the "Bot" capability card.
|
|
66
|
-
4. Import required permissions: In the left navigation, go to "Development Config > Permission Management", click "Batch Import/Export Permissions", and import the complete permission list.
|
|
67
|
-
|
|
68
|
-
> **Note**: Importing the complete permission list is very important for full functionality!
|
|
69
|
-
|
|
70
|
-
5. Publish and approve the app: Click "Create Version", configure version number and update notes, click "Save", then click "Confirm Publish".
|
|
71
|
-
6. Get app credentials: In the left navigation, go to "Basic Info > Credentials and Basic Info", get App ID and App Secret.
|
|
72
|
-
|
|
73
|
-
### Install Feishu Plugin
|
|
74
|
-
|
|
75
|
-
Execute the following commands in your terminal:
|
|
76
|
-
|
|
77
|
-
```bash
|
|
78
|
-
# Set npm registry
|
|
79
|
-
npm config set registry https://registry.npmjs.org
|
|
80
|
-
|
|
81
|
-
# Download plugin installer
|
|
82
|
-
curl -o /tmp/feishu-openclaw-plugin-onboard-cli.tgz https://sf3-cn.feishucdn.com/obj/open-platform-opendoc/4d184b1ba733bae2423a89e196a2ef8f_QATOjKH1WN.tgz
|
|
83
|
-
|
|
84
|
-
# Install plugin
|
|
85
|
-
npm install /tmp/feishu-openclaw-plugin-onboard-cli.tgz -g
|
|
86
|
-
|
|
87
|
-
# Clean up installer
|
|
88
|
-
rm /tmp/feishu-openclaw-plugin-onboard-cli.tgz
|
|
89
|
-
|
|
90
|
-
# Run installation wizard
|
|
91
|
-
feishu-plugin-onboard install
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
During installation:
|
|
95
|
-
- If you previously linked a Feishu app, you can choose to use the existing app or create a new one
|
|
96
|
-
- If no Feishu app is linked, enter the appId and appSecret created in the previous steps
|
|
97
|
-
|
|
98
|
-
Start the plugin:
|
|
99
|
-
```bash
|
|
100
|
-
openclaw gateway run
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
Verify success:
|
|
104
|
-
- After running the above command, if you see "started listening to Feishu events" in the logs, the plugin has started successfully
|
|
105
|
-
- Run `openclaw plugins list`, if **feishu-openclaw-plugin** Status is loaded and **feishu** Status is disabled, the plugin is successfully enabled
|
|
106
|
-
|
|
107
|
-
## Quick Start
|
|
108
|
-
|
|
109
|
-
1. **Configure `openclaw.json`**
|
|
110
|
-
|
|
111
|
-
After installation, edit your OpenClaw configuration file (`~/.openclaw/openclaw.json`) to enable the `feishu` channel and add your app credentials.
|
|
112
|
-
|
|
113
|
-
Here is a minimal configuration example:
|
|
114
|
-
|
|
115
|
-
```json
|
|
116
|
-
{
|
|
117
|
-
"channels": {
|
|
118
|
-
"feishu": {
|
|
119
|
-
"enabled": true,
|
|
120
|
-
"appId": "cli_xxxxxxxxxxxxxx",
|
|
121
|
-
"appSecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
122
|
-
"domain": "feishu",
|
|
123
|
-
"connectionMode": "websocket"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
"plugins": {
|
|
127
|
-
"allow": ["feishu-openclaw-plugin"]
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
```
|
|
131
|
-
*Make sure to replace `appId` and `appSecret` with your own app credentials.*
|
|
132
|
-
|
|
133
|
-
2. **Run the OpenClaw Gateway**
|
|
134
|
-
|
|
135
|
-
Save the configuration and start the OpenClaw gateway:
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
openclaw gateway run
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
3. **Pair the Bot**
|
|
142
|
-
|
|
143
|
-
- Send any message to the bot in Feishu, and the system will generate a pairing code (letters + numbers)
|
|
144
|
-
- The pairing code is valid for 5 minutes; if it expires, trigger again
|
|
145
|
-
- Run the following command on the server to complete the binding:
|
|
146
|
-
```bash
|
|
147
|
-
openclaw pairing approve feishu <pairing_code> --notify
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
4. **Complete Authorization**
|
|
151
|
-
|
|
152
|
-
Follow the prompts in Feishu to complete authorization, so OpenClaw can perform tasks like reading messages, docs, bitables, and calendars on your behalf.
|
|
153
|
-
|
|
154
|
-
> If you don't want to authorize now, you can start the conversation directly and enter `/feishu auth` later to complete batch authorization.
|
|
155
|
-
|
|
156
|
-
5. **Start Chatting**
|
|
157
|
-
|
|
158
|
-
Your bot is now ready. To verify installation, enter `/feishu start` in the dialog; if it returns version info, the installation is successful.
|
|
159
|
-
|
|
160
|
-
To teach the bot new skills, tell it: "Learn about my new Feishu plugin, list what capabilities it has"
|
|
161
|
-
|
|
162
|
-
## Configuration
|
|
163
|
-
|
|
164
|
-
The plugin offers several configuration options to tailor its behavior. All settings are located under the `channels.feishu` key in your `openclaw.json`.
|
|
165
|
-
|
|
166
|
-
- `replyMode` (string | object): Controls how the AI delivers responses.
|
|
167
|
-
- `"auto"` (default): Uses streaming replies for DMs and static replies for group chats.
|
|
168
|
-
- `"streaming"`: Always use streaming card replies.
|
|
169
|
-
- `"static"`: Always send the response after it's fully generated.
|
|
170
|
-
|
|
171
|
-
- `dmPolicy` (string): Access policy for direct messages.
|
|
172
|
-
- `"open"` (default): Responds to all DMs.
|
|
173
|
-
- `"pairing"`: Requires users to pair with a code before they can interact with the bot.
|
|
174
|
-
- `"allowlist"`: Only responds to whitelisted users.
|
|
175
|
-
|
|
176
|
-
- `groupPolicy` (string): Access policy for group chats.
|
|
177
|
-
- `"open"`: Allows interaction in any group chat when the bot is @mentioned.
|
|
178
|
-
- `"allowlist"` (recommended): Only works in whitelisted group chats.
|
|
179
|
-
- `"disabled"`: Disables all group chat interactions.
|
|
180
|
-
|
|
181
|
-
- `requireMention` (boolean): If `true` (default), the bot will only respond in group chats when it is @mentioned.
|
|
182
|
-
|
|
183
|
-
For more detailed configuration options, see [FEATURES.md](./openclaw/feishu/FEATURES.md).
|
|
184
|
-
|
|
185
|
-
## Common Commands
|
|
186
|
-
|
|
187
|
-
```bash
|
|
188
|
-
# View current configuration
|
|
189
|
-
openclaw config get channels.feishu
|
|
190
|
-
|
|
191
|
-
# Set to require @ mention to reply
|
|
192
|
-
openclaw config set channels.feishu.requireMention true --json
|
|
193
|
-
|
|
194
|
-
# Set to reply to all messages
|
|
195
|
-
openclaw config set channels.feishu.requireMention open --json
|
|
196
|
-
|
|
197
|
-
# Set specific group to require @ mention
|
|
198
|
-
openclaw config set channels.feishu.groups.群ID.requireMention true --json
|
|
199
|
-
|
|
200
|
-
# Enable streaming output
|
|
201
|
-
openclaw config set channels.feishu.streaming true
|
|
202
|
-
|
|
203
|
-
# Enable elapsed time display in streaming
|
|
204
|
-
openclaw config set channels.feishu.footer.elapsed true
|
|
205
|
-
|
|
206
|
-
# Enable status display in streaming
|
|
207
|
-
openclaw config set channels.feishu.footer.status true
|
|
208
|
-
|
|
209
|
-
# View channel status
|
|
210
|
-
openclaw channels status
|
|
211
|
-
|
|
212
|
-
# Upgrade plugin
|
|
213
|
-
feishu-plugin-onboard update
|
|
214
|
-
|
|
215
|
-
# Diagnose issues
|
|
216
|
-
feishu-plugin-onboard doctor
|
|
217
|
-
|
|
218
|
-
# Fix issues
|
|
219
|
-
feishu-plugin-onboard doctor --fix
|
|
220
|
-
|
|
221
|
-
# View version info
|
|
222
|
-
feishu-plugin-onboard info
|
|
223
|
-
|
|
224
|
-
# View detailed config info
|
|
225
|
-
feishu-plugin-onboard info --all
|
|
226
|
-
```
|
|
227
|
-
|
|
228
|
-
### Group Chat Reply Modes
|
|
229
|
-
|
|
230
|
-
**Mode 1: Only reply when @ mentioned (default)**
|
|
231
|
-
```bash
|
|
232
|
-
openclaw config set channels.feishu.requireMention true --json
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
**Mode 2: Reply to all messages**
|
|
236
|
-
```bash
|
|
237
|
-
openclaw config set channels.feishu.requireMention false --json
|
|
238
|
-
```
|
|
239
|
-
> Note: This mode can spam in large groups, use with caution!
|
|
240
|
-
|
|
241
|
-
**Mode 3: Only specific groups require @ mention (advanced)**
|
|
242
|
-
```bash
|
|
243
|
-
# First set default to not require @ for all groups
|
|
244
|
-
openclaw config set channels.feishu.requireMention open --json
|
|
245
|
-
# Then set specific group to require @
|
|
246
|
-
openclaw config set channels.feishu.groups.oc_xxxxxxxx.requireMention true --json
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
## FAQ
|
|
250
|
-
|
|
251
|
-
1. **Why isn't Windows supported?**
|
|
252
|
-
* This is a known issue in the OpenClaw core. You can track its progress at [openclaw/openclaw#7631](https://github.com/openclaw/openclaw/issues/7631).
|
|
253
|
-
|
|
254
|
-
2. **I see a `Cannot find module 'xxx'` error on startup.**
|
|
255
|
-
* This usually means the plugin's dependencies were not installed correctly. Navigate to the plugin directory at `~/.openclaw/extensions/feishu-openclaw-plugin` and run `npm install --production` to manually install them.
|
|
256
|
-
|
|
257
|
-
3. **The bot reports "insufficient permissions" when trying to read a doc or send a message.**
|
|
258
|
-
* Log in to the Feishu/Lark Developer Console and ensure your application has been granted the necessary API permissions. For example, reading a document requires the `docx:document:readonly` scope, and sending messages requires `im:message:send_as_bot` permission.
|
|
259
|
-
|
|
260
|
-
4. **How to quickly complete user authorization?**
|
|
261
|
-
* Tell the AI: "I want to grant all user permissions" to complete batch authorization.
|
|
262
|
-
* Or enter `/feishu auth` to complete batch user authorization.
|
|
263
|
-
|
|
264
|
-
5. **How to verify installation success?**
|
|
265
|
-
* Enter `/feishu start` in the dialog; if it returns version info, installation is successful.
|
|
266
|
-
* Enter `/feishu doctor` to check if configuration is normal.
|
|
68
|
+
## Usage Guide
|
|
267
69
|
|
|
268
|
-
|
|
269
|
-
* Run the following command:
|
|
270
|
-
```bash
|
|
271
|
-
feishu-plugin-onboard update
|
|
272
|
-
```
|
|
273
|
-
* If you cannot find this command, you need to install the installer first (see installation steps).
|
|
70
|
+
[How to Use the Official Lark/Feishu Plugin for OpenClaw](https://bytedance.larkoffice.com/docx/MFK7dDFLFoVlOGxWCv5cTXKmnMh)
|
|
274
71
|
|
|
275
72
|
## Contributing
|
|
276
73
|
|
|
277
|
-
|
|
74
|
+
Community contributions are welcome! If you find a bug or have feature suggestions, please submit an [Issue](https://github.com/larksuite/openclaw-larksuite/issues) or a [Pull Request](https://github.com/larksuite/openclaw-larksuite/pulls).
|
|
278
75
|
|
|
279
|
-
For major changes,
|
|
76
|
+
For major changes, we recommend discussing with us first via an Issue.
|
|
280
77
|
|
|
281
78
|
## License
|
|
282
79
|
|
|
283
|
-
This project is licensed under the **MIT License**. See
|
|
80
|
+
This project is licensed under the **MIT License**. See [LICENSE](./LICENSE.md) for details.
|
package/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2026 ByteDance Ltd. and/or its affiliates
|
|
3
3
|
* SPDX-License-Identifier: MIT
|
|
4
4
|
*
|
|
5
|
-
* OpenClaw Feishu
|
|
5
|
+
* OpenClaw Lark/Feishu plugin entry point.
|
|
6
6
|
*
|
|
7
7
|
* Registers the Feishu channel and all tool families:
|
|
8
8
|
* doc, wiki, drive, perm, bitable, task, calendar.
|
|
@@ -34,4 +34,3 @@ declare const plugin: {
|
|
|
34
34
|
register(api: OpenClawPluginApi): void;
|
|
35
35
|
};
|
|
36
36
|
export default plugin;
|
|
37
|
-
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Copyright (c) 2026 ByteDance Ltd. and/or its affiliates
|
|
3
4
|
* SPDX-License-Identifier: MIT
|
|
4
5
|
*
|
|
5
|
-
* OpenClaw Feishu
|
|
6
|
+
* OpenClaw Lark/Feishu plugin entry point.
|
|
6
7
|
*
|
|
7
8
|
* Registers the Feishu channel and all tool families:
|
|
8
9
|
* doc, wiki, drive, perm, bitable, task, calendar.
|
|
@@ -42,9 +43,9 @@ export { isMessageExpired } from './src/messaging/inbound/dedup';
|
|
|
42
43
|
// Plugin definition
|
|
43
44
|
// ---------------------------------------------------------------------------
|
|
44
45
|
const plugin = {
|
|
45
|
-
id: '
|
|
46
|
+
id: 'openclaw-lark',
|
|
46
47
|
name: 'Feishu',
|
|
47
|
-
description: 'Feishu
|
|
48
|
+
description: 'Lark/Feishu channel plugin with im/doc/wiki/drive/task/calendar tools',
|
|
48
49
|
configSchema: emptyPluginConfigSchema(),
|
|
49
50
|
register(api) {
|
|
50
51
|
LarkClient.setRuntime(api.runtime);
|
|
@@ -116,4 +117,3 @@ const plugin = {
|
|
|
116
117
|
},
|
|
117
118
|
};
|
|
118
119
|
export default plugin;
|
|
119
|
-
//# sourceMappingURL=index.js.map
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@larksuite/openclaw-lark",
|
|
3
|
-
"version": "2026.3.
|
|
4
|
-
"description": "OpenClaw Feishu
|
|
3
|
+
"version": "2026.3.12",
|
|
4
|
+
"description": "OpenClaw Lark/Feishu channel plugin",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"**/*"
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"./index.js"
|
|
18
18
|
],
|
|
19
19
|
"channel": {
|
|
20
|
-
"id": "
|
|
20
|
+
"id": "openclaw-lark",
|
|
21
21
|
"label": "Feishu",
|
|
22
|
-
"selectionLabel": "Feishu
|
|
22
|
+
"selectionLabel": "Lark/Feishu (飞书)",
|
|
23
23
|
"docsPath": "/channels/feishu",
|
|
24
24
|
"docsLabel": "feishu",
|
|
25
25
|
"blurb": "飞书/Lark enterprise messaging with doc/wiki/drive/task/calendar tools.",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"quickstartAllowFrom": true
|
|
31
31
|
},
|
|
32
32
|
"install": {
|
|
33
|
-
"npmSpec": "@
|
|
33
|
+
"npmSpec": "@larksuite/openclaw-lark",
|
|
34
34
|
"localPath": "extensions/feishu",
|
|
35
35
|
"defaultChoice": "npm"
|
|
36
36
|
}
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"records": [
|
|
218
218
|
{
|
|
219
219
|
"fields": {
|
|
220
|
-
"客户名称": "
|
|
220
|
+
"客户名称": "Bytedance",
|
|
221
221
|
"负责人": [{"id": "ou_xxx"}],
|
|
222
222
|
"状态": "进行中"
|
|
223
223
|
}
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
| 客户名称 | 负责人 | 状态 |
|
|
392
392
|
|---------|--------|------|
|
|
393
393
|
| | | | ← 空行(原有)
|
|
394
|
-
|
|
|
394
|
+
| Bytedance | 张三 | 进行中 | ← 新插入
|
|
395
395
|
| 飞书 | 李四 | 已完成 | ← 新插入
|
|
396
396
|
```
|
|
397
397
|
|
|
@@ -400,7 +400,7 @@
|
|
|
400
400
|
表格最终状态:
|
|
401
401
|
| 客户名称 | 负责人 | 状态 |
|
|
402
402
|
|---------|--------|------|
|
|
403
|
-
|
|
|
403
|
+
| Bytedance | 张三 | 进行中 |
|
|
404
404
|
| 飞书 | 李四 | 已完成 |
|
|
405
405
|
```
|
|
406
406
|
|
|
@@ -722,10 +722,10 @@
|
|
|
722
722
|
"app_token": "S404b...",
|
|
723
723
|
"table_id": "tblXXXXXXXX",
|
|
724
724
|
"fields": {
|
|
725
|
-
"客户名称": "
|
|
725
|
+
"客户名称": "Bytedance",
|
|
726
726
|
"合同文件": [
|
|
727
|
-
{"file_token": "
|
|
728
|
-
{"file_token": "
|
|
727
|
+
{"file_token": "DRiFxxxxxxxxxxxxxxxxxxCccoe"},
|
|
728
|
+
{"file_token": "BZk3bxxxxxxxxxxxxxxxxeKqcLe"}
|
|
729
729
|
]
|
|
730
730
|
}
|
|
731
731
|
}
|
|
@@ -54,7 +54,7 @@ wiki_node 可以从飞书知识库页面 URL 中获取,格式如:`https://xx
|
|
|
54
54
|
## wiki_space(可选)
|
|
55
55
|
知识空间 ID(可选,传入则在该空间根目录下创建文档。特殊值 `my_library` 表示用户的个人知识库。与 wiki_node 和 folder_token 互斥)
|
|
56
56
|
|
|
57
|
-
wiki_space 可以从知识空间设置页面 URL 中获取,格式如:`https://xxx.feishu.cn/wiki/settings/
|
|
57
|
+
wiki_space 可以从知识空间设置页面 URL 中获取,格式如:`https://xxx.feishu.cn/wiki/settings/7448000000000009300`,其中 `7448000000000009300` 即为 wiki_space ID。
|
|
58
58
|
|
|
59
59
|
**参数优先级**:wiki_node > wiki_space > folder_token
|
|
60
60
|
|
|
@@ -105,7 +105,7 @@ wiki_space 可以从知识空间设置页面 URL 中获取,格式如:`https:
|
|
|
105
105
|
```json
|
|
106
106
|
{
|
|
107
107
|
"title": "项目概览",
|
|
108
|
-
"wiki_space": "
|
|
108
|
+
"wiki_space": "7448000000000009300",
|
|
109
109
|
"markdown": "# 项目概览\n\n这是知识空间根目录下的一级文档。"
|
|
110
110
|
}
|
|
111
111
|
```
|
package/src/card/builder.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2026 ByteDance Ltd. and/or its affiliates
|
|
3
3
|
* SPDX-License-Identifier: MIT
|
|
4
4
|
*
|
|
5
|
-
* Interactive card building for Feishu
|
|
5
|
+
* Interactive card building for Lark/Feishu.
|
|
6
6
|
*
|
|
7
7
|
* Provides utilities to construct Feishu Interactive Message Cards for
|
|
8
8
|
* different agent response states (thinking, streaming, complete, confirm).
|
|
@@ -97,4 +97,3 @@ export declare function buildCardContent(state: CardState, data?: {
|
|
|
97
97
|
* JSON 2.0 uses `body.elements` instead of top-level `elements`.
|
|
98
98
|
*/
|
|
99
99
|
export declare function toCardKit2(card: FeishuCard): Record<string, unknown>;
|
|
100
|
-
//# sourceMappingURL=builder.d.ts.map
|
package/src/card/builder.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Copyright (c) 2026 ByteDance Ltd. and/or its affiliates
|
|
3
4
|
* SPDX-License-Identifier: MIT
|
|
4
5
|
*
|
|
5
|
-
* Interactive card building for Feishu
|
|
6
|
+
* Interactive card building for Lark/Feishu.
|
|
6
7
|
*
|
|
7
8
|
* Provides utilities to construct Feishu Interactive Message Cards for
|
|
8
9
|
* different agent response states (thinking, streaming, complete, confirm).
|
|
@@ -378,4 +379,3 @@ export function toCardKit2(card) {
|
|
|
378
379
|
result.header = card.header;
|
|
379
380
|
return result;
|
|
380
381
|
}
|
|
381
|
-
//# sourceMappingURL=builder.js.map
|
package/src/card/cardkit.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2026 ByteDance Ltd. and/or its affiliates
|
|
3
3
|
* SPDX-License-Identifier: MIT
|
|
4
4
|
*
|
|
5
|
-
* CardKit streaming APIs for Feishu
|
|
5
|
+
* CardKit streaming APIs for Lark/Feishu.
|
|
6
6
|
*/
|
|
7
7
|
import type { ClawdbotConfig } from 'openclaw/plugin-sdk';
|
|
8
8
|
import type { FeishuSendResult } from '../messaging/types';
|
|
@@ -88,4 +88,3 @@ export declare function setCardStreamingMode(params: {
|
|
|
88
88
|
sequence: number;
|
|
89
89
|
accountId?: string;
|
|
90
90
|
}): Promise<void>;
|
|
91
|
-
//# sourceMappingURL=cardkit.d.ts.map
|
package/src/card/cardkit.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Copyright (c) 2026 ByteDance Ltd. and/or its affiliates
|
|
3
4
|
* SPDX-License-Identifier: MIT
|
|
4
5
|
*
|
|
5
|
-
* CardKit streaming APIs for Feishu
|
|
6
|
+
* CardKit streaming APIs for Lark/Feishu.
|
|
6
7
|
*/
|
|
7
8
|
import { LarkClient } from '../core/lark-client';
|
|
8
9
|
import { larkLogger } from '../core/lark-logger';
|
|
@@ -179,4 +180,3 @@ export async function setCardStreamingMode(params) {
|
|
|
179
180
|
context: `seq=${sequence}, streaming_mode=${streamingMode}`,
|
|
180
181
|
});
|
|
181
182
|
}
|
|
182
|
-
//# sourceMappingURL=cardkit.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Copyright (c) 2026 ByteDance Ltd. and/or its affiliates
|
|
3
4
|
* SPDX-License-Identifier: MIT
|
|
@@ -55,4 +56,3 @@ export const THROTTLE_CONSTANTS = {
|
|
|
55
56
|
BATCH_AFTER_GAP_MS: 300,
|
|
56
57
|
};
|
|
57
58
|
export const EMPTY_REPLY_FALLBACK_TEXT = 'Done.';
|
|
58
|
-
//# sourceMappingURL=reply-dispatcher-types.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2026 ByteDance Ltd. and/or its affiliates
|
|
3
3
|
* SPDX-License-Identifier: MIT
|
|
4
4
|
*
|
|
5
|
-
* Reply dispatcher factory for the Feishu
|
|
5
|
+
* Reply dispatcher factory for the Lark/Feishu channel plugin.
|
|
6
6
|
*
|
|
7
7
|
* Thin factory function that:
|
|
8
8
|
* 1. Resolves account, reply mode, and typing indicator config
|
|
@@ -13,4 +13,3 @@
|
|
|
13
13
|
import type { CreateFeishuReplyDispatcherParams, FeishuReplyDispatcherResult } from './reply-dispatcher-types';
|
|
14
14
|
export type { CreateFeishuReplyDispatcherParams } from './reply-dispatcher-types';
|
|
15
15
|
export declare function createFeishuReplyDispatcher(params: CreateFeishuReplyDispatcherParams): FeishuReplyDispatcherResult;
|
|
16
|
-
//# sourceMappingURL=reply-dispatcher.d.ts.map
|