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 204 to 205

Compare

+19 −0 in 2 places
Lines 127–145 at 205 (were 127–132 at 204)
127127 }
128128}
129129
130+/**
131+ * Sets known to be closed under dependencies (abso Capacity): every atom's deps are in the set. A view or a project
132+ * given one skips proving it again, which read every atom and every dependency in the history.
133+ */
134+const closedSets = new WeakSet<object>();
135+export function markClosed<S extends ReadonlySet<unknown>>(set: S): S {
136+ closedSets.add(set);
137+ return set;
138+}
139+export function isClosedSet(set: unknown): boolean {
140+ return typeof set === "object" && set !== null && closedSets.has(set);
141+}
130143/** Immutable membership whose implementation does not retain its enumerated keys. */
131144export abstract class StableSet<T> implements ReadonlySet<T> {
132145 abstract has(value: T): boolean;
Lines 180–191 at 205 (were 167–172 at 204)
167180 get retainedBytes(): number {
168181 return 32 + this.#left.retainedBytes + this.#right.retainedBytes;
169182 }
183+ get left(): StableSet<T> {
184+ return this.#left;
185+ }
186+ get right(): StableSet<T> {
187+ return this.#right;
188+ }
170189 has(value: T): boolean {
171190 return this.#left.has(value) || this.#right.has(value);
172191 }
MCP
compare on this site's /mcp
CLI
abso diff 204 205 src/engine/state-source.ts --json
JSON
/christopher/abso-core/compare/204..205?file=src%2Fengine%2Fstate-source.ts&format=json