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 162 to 318

Compare

+7 −2 in 1 place
Lines 3–17 at 318 (were 3–12 at 162)
33import { type JsonEvent, jsonEvents } from "./json-events.ts";
44
55/** Temporary decoded JSON on disk. A root is published only after complete parsing. */
6−export function storeJson(storage: GraphStateStorage, namespace: string, chunks: Iterable<string>): number {
6+export function storeJson(
7+ storage: GraphStateStorage,
8+ namespace: string,
9+ chunks: Iterable<string>,
10+ options: { finiteNumbers?: boolean } = {},
11+): number {
712 return storage.transaction(() => {
813 if (storage.read(namespace, "root") !== undefined) throw Error("decoded JSON already exists");
9− const events = jsonEvents(chunks);
14+ const events = jsonEvents(chunks, options);
1015 let nextId = 0;
1116 const take = (): JsonEvent => {
1217 const event = events.next();
MCP
compare on this site's /mcp
CLI
abso diff 162 318 server/src/stored-json.ts --json
JSON
/christopher/abso-core/compare/162..318?file=server%2Fsrc%2Fstored-json.ts&format=json