Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed

Versions 163 to 164

Compare

+9 −2 in 1 place
Lines 10–22 at 164 (were 10–15 at 163)
1010 // Count UTF-8 after joining so a surrogate pair split across chunks counts once.
1111 if (new TextEncoder().encode(text).byteLength > 4096) throw Error("small canonical frame exceeds bound");
1212 // Preserve depth, key and scalar limits; the fast path must not change acceptance.
13− for (const event of jsonEvents([text])) void event;
14− return JSON.parse(text);
13+ for (const event of jsonEvents([text], { finiteNumbers: true })) void event;
14+ const freeze = (value: unknown): unknown => {
15+ if (value !== null && typeof value === "object") {
16+ for (const child of Object.values(value)) freeze(child);
17+ Object.freeze(value);
18+ }
19+ return value;
20+ };
21+ return freeze(JSON.parse(text));
1522}
MCP
compare on this site's /mcp
CLI
abso diff 163 164 server/src/small-frame-json.ts --json
JSON
/christopher/abso-core/compare/163..164?file=server%2Fsrc%2Fsmall-frame-json.ts&format=json