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 263 to 318

Compare

+15 −0 in 1 place
Lines 90–110 at 318 (were 90–95 at 263)
9090 return files && [...files].sort();
9191 }
9292
93+ /**
94+ * The files the versions after `from`, up to `to`, changed, from each version's kept row (abso 738): undefined when one
95+ * has none, and the caller works them out from the atoms. Every file whose text differs between the two versions is
96+ * in it, since some version between changed it.
97+ */
98+ keptChangesSince(space: Space, from: number, to: number): ReadonlySet<string> | undefined {
99+ const out = new Set<string>();
100+ for (let v = from + 1; v <= to; v++) {
101+ const files = this.#keptFiles(space, v);
102+ if (!files) return undefined;
103+ for (const f of files) out.add(f);
104+ }
105+ return out;
106+ }
93108 /** keptPaths as a set, kept for the newest version asked: never changed once made, so a view can hold it. */
94109 keptPathSet(space: Space, version: number): ReadonlySet<string> | undefined {
95110 let fold = this.#keptPaths.get(space);
MCP
compare on this site's /mcp
CLI
abso diff 263 318 worker/project/pathindex.ts --json
JSON
/christopher/abso-core/compare/263..318?file=worker%2Fproject%2Fpathindex.ts&format=json