Declared WASM_GLOBAL_BASE directly in Makefile, migrated tests/Makefile to ttypt/portable.mk, adopted include ttypt/include.mk via Make search paths, dropped legacy ../mk fallback, adopted CFLAGS-LIB/CFLAGS-BIN, eliminated duplicate $(shell)/!= forks, and ported Makefiles to OpenBSD + GNU Make (1182775, 358f76f, 268b71b, 22f2308, 2aeceb3, 4b71562, cc8d37c, fb13b04).
Cached sepal-embed-cache.bin in memory (g_embed_mem_cache) with stat size/mtime invalidation, eliminating repeated disk reads on embedding cache lookups.
Added fast curl connection and request timeouts (SEPAL_EMBED_CONNECT_TIMEOUT_MS default 500 ms, SEPAL_EMBED_TIMEOUT_MS default 2500 ms, CURLOPT_NOSIGNAL=1) in sepal_embed_fetch.
Properly escaped \n, \r, \t, and control characters (< 0x20) in sepal_embed_body JSON payloads so multiline summaries and code snippets embed cleanly.
Supported plain UTF-8 text (and [SUMMARY]\n header extraction) in :b binary primary stores (SessionStore, CodeStore) inside rec_axis_store_typed.
Gated stderr diagnostics on CORM_QUIET and added standalone prebuild RPATH in npm/package.json.
[1.5.1] - 2026-11-14
Packaging (npm/package.json):
Explicitly included "prebuilds" in npm/package.json"files".
[1.5.0] - 2026-11-14
Complete Node-API Bindings & Zero-Copy Float32Array Support (npm/native/sepal_napi.c, npm/dist/index.js):
Bound close (sepal_close), del (sepal_del), get (sepal_get), count (sepal_n), sketch (sepal_sketch), hamming, fillApprox (sepal_fill), rank (sepal_rank), storeTyped (rec_axis_store_typed), configureEmbeddings, and envConfig with zero-copy Float32Array extraction.
Removed _memVectors and _vectors JS Map fallbacks in VectorIndex and SepalVectorAxis.
Requires @tty-pt/corm >=2.4.0 (^2.4.0) and @tty-pt/stele >=1.7.0 (^1.7.0).
[1.4.2] - 2026-11-13
Packaging:
Requires @tty-pt/corm >=2.3.3 (^2.3.3) and @tty-pt/stele >=1.6.2 (^1.6.2).
The npm tarball is built once by CI, with a self-contained native addon per platform (prebuilds/<os>-<cpu>/) next to sepal.wasm, and published as verified.
First stable release β semantic (meaning) axis vector store for the recall kernel: store float vectors with per-blob dimensions and query by meaning.
Dim-tagged VEC1 blobs: each vector stores its own exact-stage dim (min(full_dim, 256) matryoshka prefix) and a full-dim sign sketch β 1,136 bytes at 768/256 instead of ~7 KB of text. sepal_blob_len/sepal_blob_hdr/sepal_blob_put expose the format; garbage/truncation always decodes to 0, never a misread.
Two-stage ANN search: Hamming popcount prefilter over the sign sketch picks the top-m candidates (m = 10Γk by default, capped at N), then an exact cosine rerank keeps the best-k; min_sim filter at rerank. sepal_search returns hits best-first with ties by ascending ref.
Recall-kernel adapters: sepal_fill_approx streams top-m refs into a sealed rec_set_t marked REC_SET_APPROX with an owed recall bound (m/n, propagated by the kernel extension); sepal_rank (a rec_score_fn) scores one ref exactly. Phase 2A store half lands too β rec_axis_store/rec_axis_unstore/rec_axis_readback (store is keyed by ref, replace-in-place; unstore normalizes absent β 0) and rec_axis_open (file path spec, or empty β memory-only store).
File persistence: optional libcorm sidecar; sepal_close saves (never closes β the file would truncate to 0), the vector count is restored on open. sepal_index_validate checks internal consistency.
Performance: flat sketch index (L2-resident at N=10k, ~3Γ faster prefilter), frozen-norm fused-dot rerank (semantically sepal_cosine within 1e-6), AVX2 fast paths (vmovmskps sign bits, XORβnibble-LUT popcount, FMA cosine) with a scalar fallback. Vs the pre-AVX2 shipped config: total search 2.9Γ/4.3Γ faster at 384/768 dim.
API: sepal_open/sepal_close/sepal_put/sepal_del/sepal_get/sepal_dim/sepal_full_dim/sepal_n, sepal_cosine, sepal_sketch, sepal_search, sepal_configure_embeddings (set the embedding dim at runtime), plus the kernel adapters. Caller-opaque rec_ref_t (u32) refs β the store never maps refs to schemas.
Depends on libcorm for the recall-kernel approximation flag.