Skip to content

fix(mock): support Lark SDK capture#39

Merged
vincentkoc merged 1 commit into
mainfrom
fix/lark-sdk-mock
Jun 17, 2026
Merged

fix(mock): support Lark SDK capture#39
vincentkoc merged 1 commit into
mainfrom
fix/lark-sdk-mock

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Summary

  • provide the Lark SDK interceptor and HTTP mock surface used by the Feishu bundle during runtime capture
  • preserve dynamically discovered named Lark SDK exports
  • add regression coverage for namespace and named Lark SDK imports

Verification

  • node --test test/inspector.test.js
  • npm test
  • npm run release:contents
  • captured the published @openclaw/feishu@2026.6.8 bundle with the mocked SDK; channel, hook, and tool registrations were recorded
  • autoreview --mode local (Codex, clean)

@vincentkoc vincentkoc requested a review from a team as a code owner June 17, 2026 10:58
@vincentkoc

Copy link
Copy Markdown
Member Author

Land-ready.

  • The mock now models Feishu's Lark HTTP interceptor surface and preserves dynamically discovered named exports.
  • The published @openclaw/feishu@2026.6.8 bundle captured successfully, recording its channel registration, hooks, and tool registration.

Verification:

  • node --test test/inspector.test.js
  • npm test (190 passing)
  • npm run release:contents
  • autoreview --mode local (Codex, clean)

@vincentkoc vincentkoc merged commit 84b6ffc into main Jun 17, 2026
4 checks passed
@vincentkoc vincentkoc deleted the fix/lark-sdk-mock branch June 17, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant