Repository navigation
v0.12.1
Modules ship their class vectors for the platform's default embedding profile, so a module install no
longer embeds its classes. This is a patch release: no API, schema or .env change beyond
PLATFORM_VERSION.
Upgrading: set PLATFORM_VERSION and run ./byodt update; nothing else is needed. The first
start installs the bundled dethernety-general module once more (its files changed) and takes its
shipped vectors: no class is embedded, and the finding re-evaluation that follows the install finds
nothing to redo, since no class policy changed. A fresh deployment still downloads the model on its
first start (the platform embeds queries with it); the bundled module's install completes once the
model is ready. Dethereal, byodt (1.2.0), mitre-frameworks (1.2.0) and @dethernety/dt-module
(0.12.0) are unchanged.
Changed
- Modules ship class vectors for
embeddinggemma-300m-retrieval-v1. Each class carries
embeddings/embeddinggemma-300m-retrieval-v1.jsonwith{profile, revision, contentHash, vector};
the platform readsvectorandcontentHash.dethernety-generalships 81 (75 classes and 6 issue
classes), so its install embeds nothing. In 0.12.0 every class was embedded at install, because the
shipped files were for the old model names. module-manager embedembeds with the platform's own embedder.pnpm embedin a module (or
scripts/module-manager.sh embed <module-path>) embeds in process with the same profile, document
prompt, title, truncation and normalisation as the platform's install. It takes--models-dir
(orEMBEDDING_MODEL_DIR),--profile(default: the platform's default),--download(fetch
missing weights at the profile's pinned revision, verified by sha256) and--batch-size. A class
whose file is already current is left alone. The newmodule-manager.sh embed-all <modules-root>... [--exclude <module-path>]...does every module in one embedder session. Build the embedder package
first:pnpm --filter @dethernety/embedder... build. See the module development guide's
Pre-computed Embeddings.- CI checks the shipped class vectors.
scripts/check-module-embeddings.mjsfails when a class
has no vector file, the file is for another profile or weights revision, the vector is not 768
finite unit-norm values, itscontentHashno longer matches the class text (the class was edited
without runningpnpm embed), or another embeddings file exists.
Removed
- Breaking (module authors):
module-manager embed --model,--urland--api-key. An HTTP
endpoint cannot reproduce the profile's prompt or model, so its vectors would rank wrongly. The
producer no longer reads the retired JSON (metadata.json) class layout. - The
embeddings/embeddinggemma.jsonandembeddings/nomic-embed-text.jsonfiles, from every
module: no supported profile reads them.