Skip to content
Kotoshu Kotoshu 言修
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.

  1. 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.
  2. 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