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 248 to 249

Compare

+9 −0 in 3 places
Lines 76–82 at 249 (were 76–81 at 248)
7676} from "./history.ts";
7777import { ingest as hostedIngest, type IngestHost } from "./ingest.ts";
7878import { init as hostedInit, type InitHost } from "./init.ts";
79+import { KeptParts } from "./kept-parts.ts";
7980import { label as hostedLabel, type LabelHost } from "./label.ts";
8081import {
8182 land as hostedLand,
Lines 277–284 at 249 (were 276–281 at 248)
276277 readonly #graph: Graph;
277278 /** Views laid out from atom sets, cached under a byte budget (views.ts). */
278279 readonly #views: ViewCache;
280+ /** What draft collisions keep between calls, under its own byte budget (kept-parts.ts). */
281+ #keptParts: KeptParts | undefined;
279282 /** Each agent's draft files, under the key they were worked out for (#draftFiles). */
280283 readonly #draftFilesKept = new Map<string, { key: string; files: Set<string> }>();
281284 /** Each version's files and each path's history (pathindex.ts). */
Lines 1905–1916 at 249 (were 1902–1907 at 248)
19021905 agentView: (agent) => this.#agentView(agent as AgentState),
19031906 draftsView: (agents) => this.#draftsView(agents as readonly AgentState[]),
19041907 touchedFiles: (ids, views) => this.#touchedFiles(ids, views),
1908+ // On a stored writer only, as a reader kept between calls is (abso Capacity).
1909+ keptParts: () => (this.#writerStorage ? (this.#keptParts ??= new KeptParts()) : undefined),
1910+ draftKey: (agent) => {
1911+ const a = agent as AgentState;
1912+ return `${last(this.#shared)} ${a.space}@${a.base} ${this.#draft(a).join(",")}`;
1913+ },
19051914 };
19061915 return this.#draftCollisionHost;
19071916 }
MCP
compare on this site's /mcp
CLI
abso diff 248 249 worker/project/project.ts --json
JSON
/christopher/abso-core/compare/248..249?file=worker%2Fproject%2Fproject.ts&format=json