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

Compare

+10 −0 in 1 place
Lines 2430–2445 at 112 (were 2430–2435 at 111)
24302430 return snapshotStatus(this.#snapshot);
24312431 }
24322432
2433+ /** The operation fence needs one actor's heads, not every agent's file projection. */
2434+ actorHead(name: string): { base: number; draftChanges: number; draft: string | null } | undefined {
2435+ const agent = this.#agents.get(name);
2436+ if (!agent) return undefined;
2437+ const published = this.#setOf(this.#spaceOf(agent));
2438+ let draftChanges = 0;
2439+ for (const id of agent.mine) if (!published.has(id)) draftChanges++;
2440+ return { base: agent.base, draftChanges, draft: agent.space === SHARED ? null : agent.space };
2441+ }
24332443 /** A space's contents at one of its versions. */
24342444 #at(space: Space, version: number): ReadonlySet<AtomId> {
24352445 return this.#membership.at(space, version);
MCP
compare on this site's /mcp
CLI
abso diff 111 112 worker/project/project.ts --json
JSON
/christopher/abso-core/compare/111..112?file=worker%2Fproject%2Fproject.ts&format=json