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 162 to 163

Compare

+7 −3 in 1 place
Lines 251–272 at 163 (were 251–268 at 162)
251251 host.checkVersion(space, to);
252252 const a = host.at(space, from);
253253 const b = host.at(space, to);
254+ const before = host.viewAt(space, from);
255+ const after = host.viewAt(space, to);
254256 const files = new Set<string>();
255257 for (const [x, y] of [
256258 [a, b],
257259 [b, a],
258260 ] as const) {
259261 for (const file of host.touchedFiles(
260− [...x].filter((id) => !y.has(id)),
261− [host.view(a), host.view(b)],
262+ (function* () {
263+ for (const id of x) if (!y.has(id)) yield id;
264+ })(),
265+ [before, after],
262266 ))
263267 files.add(file);
264268 }
265− return { from, to, files: changesBetween(host.view(a), host.view(b), files) };
269+ return { from, to, files: changesBetween(before, after, files) };
266270}
267271
268272/** A version of shared (or of a named draft) as a ReadView, for reading lines (blame at a version). */
MCP
compare on this site's /mcp
CLI
abso diff 162 163 worker/project/version-log.ts --json
JSON
/christopher/abso-core/compare/162..163?file=worker%2Fproject%2Fversion-log.ts&format=json