Skip to content

[pull] main from Milkdown:main#199

Merged
pull[bot] merged 1 commit into
code:mainfrom
Milkdown:main
Apr 19, 2026
Merged

[pull] main from Milkdown:main#199
pull[bot] merged 1 commit into
code:mainfrom
Milkdown:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 19, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* feat: expose onError callback for AI feature

* [autofix.ci] apply automated fixes

* refactor: expose exception through kit instead of direct dependency

* [autofix.ci] apply automated fixes

* refactor: use console.error as default onError handler

* docs: add onError to AI feature example

* fix: guard onError calls and preserve error cause

* refactor: extract emitAIError helper, spread prev config, use stringify for cause

* fix: safe stringify in error factories, narrow emitAIError try/catch, add tests

* fix: explicitly assign cause for ES2018 compatibility

* fix: rename flush helper, type code as ErrorCode

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Apr 19, 2026
@pull pull Bot added the ⤵️ pull label Apr 19, 2026
@pull pull Bot merged commit 2cd5c06 into code:main Apr 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant