Files
CodePilot/src/lib
7418andClaude Opus 4.6 9ca9bce788 fix: feishu card action 200340 and bridge session lock cleanup
Feishu card button clicks:
- Add encryptKey/verificationToken to FeishuConfig for EventDispatcher
- Gateway monkey-patch: rewrite type="card" → "event" for WSClient
- Gateway safeCardActionHandler: 2.5s timeout guarantee with fallback toast
- Embed chatId in button value (Feishu card.action.trigger has no open_chat_id)
- Support both callback_data and action/operation_id button value formats
- Domain resolution: 'feishu' → Domain.Feishu, 'lark' → Domain.Lark

Bridge reliability:
- Clear sessionLocks and activeTasks on bridge stop() to prevent
  stuck sessions after restart (processWithSessionLock chains to
  unresolved promises from previous bridge lifecycle)

Settings UI:
- Add encryptKey and verificationToken fields to Feishu settings
- Mask encryptKey in GET, skip masked values in PUT
- Add i18n strings (marked as optional for WSClient mode)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 09:55:03 +08:00
..
2026-03-13 18:29:20 +08:00