Skip to content

Fix HTML extraction with newer OpenClaw SDK exports - #21

Merged
duharry0915 merged 1 commit into
agentmail-to:mainfrom
gauravch-code:fix-openclaw-html-sdk-compat
Oct 29, 2026
Merged

duharry0915 merged 1 commit into
agentmail-to:mainfrom
gauravch-code:fix-openclaw-html-sdk-compat

Conversation

@gauravch-code

Copy link
Copy Markdown
Contributor

Fixes #20.
Remove the unsupported markdownToText import and use htmlToMarkdown directly for inbound HTML emails. Add regression tests for both HTML fallback paths and preserve the existing reply-content priority.
Verified the reported loading failure before the fix and successful plugin-entry loading afterward. All 246 tests pass with the repository’s locked dependencies.

@gauravch-code

gauravch-code commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor Author

Hi @duharry0915, could you approve the fork CI run and review this OpenClaw SDK compatibility fix when you have a chance? The run still reports action_required and has not produced test results: https://github.com/agentmail-to/openclaw-plugin/actions/runs/38450694135. This fixes HTML extraction with the newer SDK exports. Thanks!

@duharry0915

Copy link
Copy Markdown
Contributor

Thanks Gauravch.

@duharry0915
duharry0915 merged commit 72f3e54 into agentmail-to:main Oct 29, 2026
2 checks passed
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.

agentmail 0.2.2 cannot load on OpenClaw 2026.10.x: imports markdownToText, removed from openclaw/plugin-sdk/web-content-extractor

2 participants