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 77 to 78

Compare

+2 −3 in 2 places
Lines 106–112 at 78 (were 106–113 at 77)
106106 : [[box, local] as const];
107107 for (const [path, from] of files) {
108108 const text = readText(from);
109− const data =
110− text !== undefined && text.includes("\r") ? Buffer.from(text.replace(/\r\n?/g, "\n")) : readFileSync(from);
109+ const data = text?.includes("\r") ? Buffer.from(text.replace(/\r\n?/g, "\n")) : readFileSync(from);
111110 const exec = (statSync(from).mode & 0o111) !== 0 || (data[0] === 0x23 && data[1] === 0x21);
112111 out.push({ path, data, ...(exec ? { mode: 0o755 } : {}) });
113112 }
Lines 363–369 at 78 (were 364–370 at 77)
364363 continue;
365364 }
366365 // Text goes as abso records it, with LF line endings: a CRLF script fails in the box's sh (#37).
367− const lf = d.text !== undefined && d.text.includes("\r") ? Buffer.from(d.text.replace(/\r\n?/g, "\n")) : undefined;
366+ const lf = d.text?.includes("\r") ? Buffer.from(d.text.replace(/\r\n?/g, "\n")) : undefined;
368367 if (lf !== undefined) toLf.push(rel);
369368 const data = lf ?? readFileSync(path);
370369 // The bit from the disk, or (on Windows) from the server; a script with "#!" runs either way.
MCP
compare on this site's /mcp
CLI
abso diff 77 78 client/src/box-commands.ts --json
JSON
/christopher/abso-core/compare/77..78?file=client%2Fsrc%2Fbox-commands.ts&format=json