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 112 to 113

Compare

+2 −16 in 2 places
Lines 15–21 at 113 (were 15–21 at 112)
1515 seqOf,
1616 startNode,
1717} from "./keys.ts";
18−import { type GraphStateStorage, type StateMap, storedArray, storedMap } from "./state-source.ts";
18+import { type GraphStateStorage, type StateMap, storedArray, storedMap, storedNumbers } from "./state-source.ts";
1919import {
2020 ATTR_NAMES,
2121 type Atom,
Lines 286–292 at 113 (were 286–306 at 112)
286286 this.#storage = options.storage;
287287 if (options.storage) {
288288 const storage = options.storage;
289− const numbers = (name: string): NumberIndex => {
290− const values = storedArray<number>(storage, name);
291− return {
292− get length() {
293− return values.length;
294− },
295− push: (value) => {
296− values.push(value);
297− },
298− at: (index) => values[index]!,
299− set: (index, value) => {
300− values[index] = value;
301− },
302− };
303− };
289+ const numbers = (name: string): NumberIndex => storedNumbers(storage, name);
304290 this.#atoms = storedArray<Atom>(storage, "atoms", (atom) =>
305291 freezeAtom(
306292 atom,
MCP
compare on this site's /mcp
CLI
abso diff 112 113 src/engine/graph.ts --json
JSON
/christopher/abso-core/compare/112..113?file=src%2Fengine%2Fgraph.ts&format=json