faf-wasm-sdk
The FAF kernel, for the edge. A thin wasm-bindgen shell over
faf-kernel (scoring) +
faf-fafb (binary v2).
No scoring or format logic lives here. The same engine that runs in the
CLI and the MCP server runs in the browser and at the edge — so there is
nothing to drift. (v3 replaced this crate's own mk4.rs/fafb copies with
the workspace kernel.)
7 pure-function exports, JSON / bytes in and out:
import init from 'faf-wasm-sdk';
await ;
const result = ; // JSON — Mk4, always-33 slots
const bytes = ; // Uint8Array — FAFb v2
v3 behavior:
score_fafscores against the always-33 model — one scorer for every project, from a solo script to a full enterprise monorepo. Tiers are canonical (🏆 ★ ◆ ◇ ● ○ ♡ — no medals).compile_fafbemits FAFb v2.
Part of the faf-rust workspace.
License
MIT