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 206 to 207

Compare

+7 −0 in 1 place
Lines 133–145 at 207 (were 133–138 at 206)
133133 return membershipEvent(storage, CLOSURE, atom, version);
134134}
135135
136+/** Whether shared's closure changed at this version: its newest closure event is from it. */
137+export function closureChangedAt(storage: GraphStateStorage, version: number): boolean {
138+ const order = storedArray<MembershipEvent>(storage, `${CLOSURE}:events`);
139+ const length = order.length;
140+ return length > 0 && order[length - 1]!.version === version;
141+}
136143/** The newest shared version whose closure is indexed, or undefined when this writer has none. */
137144export function closureIndexed(storage: GraphStateStorage): number | undefined {
138145 return storage.read(`${CLOSURE}:meta`, "indexed") as number | undefined;
MCP
compare on this site's /mcp
CLI
abso diff 206 207 worker/project/spaces.ts --json
JSON
/christopher/abso-core/compare/206..207?file=worker%2Fproject%2Fspaces.ts&format=json