openclaw - 💡(How to fix) Fix Feature: Feishu interactive card buttons for exec approval [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#63170Fetched 2026-04-09 07:57:32
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants

Support Feishu interactive card buttons (飞书卡片按钮) for exec command approval, similar to Telegram's inlineButtons feature.

Root Cause

Support Feishu interactive card buttons (飞书卡片按钮) for exec command approval, similar to Telegram's inlineButtons feature.

RAW_BUFFERClick to expand / collapse

Summary

Support Feishu interactive card buttons (飞书卡片按钮) for exec command approval, similar to Telegram's inlineButtons feature.

Current Behavior

  • Telegram supports capabilities.inlineButtons to present approve/deny buttons directly in chat
  • Feishu supports interactive cards with buttons natively, but OpenClaw doesn't use card button callbacks for approval flow
  • Feishu exec approval currently requires typing /approve <id> allow-once manually

Desired Behavior

When an exec command needs approval on Feishu:

  1. Bot sends an interactive card with Approve / Deny buttons
  2. User taps a button to approve or deny (no need to type /approve)
  3. Button callback triggers the approval/denial automatically

Context

  • Source code confirms inlineButtons is Telegram-only (inline-buttons.ts exports only Telegram functions)
  • Feishu already uses interactive cards for streaming output
  • Feishu card button callbacks (card_action) are well-documented in the Feishu Open API
  • The capabilities.inlineButtons schema validation rejects this config for Feishu accounts

Environment

  • OpenClaw version: 2026.4.5
  • Channel: Feishu (飞书)
  • OS: macOS (arm64)

extent analysis

TL;DR

Implement Feishu-specific interactive card button handling to enable approve/deny buttons for exec command approval.

Guidance

  • Review the Feishu Open API documentation for card_action callbacks to understand how to handle button interactions.
  • Investigate modifying the inline-buttons.ts file or creating a new file to support Feishu-specific interactive card buttons.
  • Update the capabilities.inlineButtons schema validation to allow this config for Feishu accounts or create a separate validation for Feishu.
  • Consider adding a new function to handle Feishu card button callbacks and trigger the approval/denial flow automatically.

Example

No code example is provided due to the lack of specific implementation details in the issue.

Notes

The solution may require significant changes to the existing codebase, and careful consideration should be given to ensuring compatibility with other channels, such as Telegram.

Recommendation

Apply a workaround by implementing Feishu-specific interactive card button handling, as upgrading to a fixed version is not mentioned in the issue. This approach allows for a targeted solution to the specific problem without relying on a potentially non-existent fixed version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING