You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
@chonkiejs/core v0.0.8
Bug Fixes
Fix Tokenizer encode/decode for non-BMP Unicode characters (emoji, etc.) — was using charCodeAt/fromCharCode, now uses codePointAt/fromCodePoint (#33)
Fix RecursiveChunker sentence-level splitting being completely non-functional — multi-char delimiters like ['. ', '! ', '? '] were joined into a string where space became a delimiter, causing all segments to collapse into one (#39)
Fix TokenChunker silent index failure — replaced fragile indexOf-based lookup with deterministic offset tracking (#35)
Fix TableChunker startIndex/endIndex inconsistency between single and multi-chunk cases (#36)
Consolidate duplicate WASM initialization from FastChunker and RecursiveChunker into shared module (#37)