UNPKG

kestrel.markets

Version:

A typed, token-efficient language + runtime for agentic trading: agents author bounded plans, the runtime fires them at the tick. CLI + typed library + MCP server.

18 lines 1.1 kB
/** * # canonical — the one owner of canonical bytes (kestrel-zs2f, ARCH-REVIEW C1) * * Two value-level primitives every content address and canonical serialization in this package is built * on, previously copy-pasted (canonicalize) or hand-rolled (canonicalPlansText) across a handful of call * sites and kept in parity only by comment: * * - {@link canonicalizeJson} / {@link canonicalize} / {@link jsonHash} — canonical JSON byte order * (recursively sorted object keys, arrays kept in order, `undefined` entries dropped) and its sha256. * - {@link canonicalPlansText} — the byte-stable printer projection of an authored document set * (`plans_sha256` input; hosted `source`). * * This barrel is published on the `./engine` entry as `engine.canonical` so the platform imports the SAME * bytes instead of reimplementing them — the seam cross-repo certification rests on (kestrel-markets-5l3). */ export { canonicalize, canonicalizeJson, jsonHash, type Json } from "./json.ts"; export { canonicalPlansText } from "./plans.ts"; //# sourceMappingURL=index.d.ts.map