報せNews
2026-09-10 報 release. 10 September 2026
loadPack ships in @kotoshu/wasm 0.5.0
A single language pack now carries the dictionary, the embedding tier, the vocabulary, and the bucket table, and one loadPack call turns one fetch into the complete set of engine handles.
- loadPack(packBytes) parses the KPK1 container, verifies the checksum of every section before constructing anything, and returns dictionary and model handles, with the model already bucket-attached when the pack carries a bucket table. The package published through keyless publishing after the owner cleared a publishing-policy setting on the npm side.
- The playground uses it for English, German, and Portuguese, so three or more round trips collapse into one, and per-artifact loading remains the fallback for languages without a pack.
see also @kotoshu/wasm on npm Playground