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 237 to 238

Compare

+9 −2 in 1 place
Lines 282–301 at 238 (were 282–294 at 237)
282282 for (const file of g.filesOf(id)) out.add(file);
283283 if (moved.length === 0) continue;
284284 const atom = g.atom(id);
285− const lines: string[] = [...g.deletedLines(id)];
285+ const lines: string[] = [];
286286 for (const run of atom.inserts) if (!run.parent.startsWith("^")) lines.push(run.parent);
287287 for (const m of atom.moves ?? []) {
288288 lines.push(m.line);
289289 if (!m.parent.startsWith("^")) lines.push(m.parent);
290290 }
291− for (const v of moved) for (const line of lines) out.add(v.fileOf(line));
291+ for (const v of moved) {
292+ for (const line of lines) out.add(v.fileOf(line));
293+ // Deleted lines by number where the view can (abso Capacity): a draft deleting a big file has thousands, and
294+ // making each one's id only to look its number up again was most of collisions on website.
295+ const byNumber = (v as { fileOfNumber?: (n: number) => string }).fileOfNumber;
296+ if (byNumber) for (const n of g.deletedNumbers(id)) out.add(byNumber.call(v, n));
297+ else for (const line of g.deletedLines(id)) out.add(v.fileOf(line));
298+ }
292299 }
293300 return out;
294301}
MCP
compare on this site's /mcp
CLI
abso diff 237 238 worker/project/collisions.ts --json
JSON
/christopher/abso-core/compare/237..238?file=worker%2Fproject%2Fcollisions.ts&format=json