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

Compare

+5 −3 in 2 places
Lines 1–5 at 318 (were 1–5 at 73)
1−// Text the engine keeps and prints can't hold characters a reader can't see
2−// (abso issue 276): a version message with an escape sequence would run in
1+// Text the engine keeps and prints can't hold characters a reader can't see:
2+// a version message with an escape sequence would run in
33// every terminal that shows `abso log` or news.
44
55import assert from "node:assert/strict";
Lines 21–31 at 318 (were 21–29 at 73)
2121 assert.equal(unseenIn(`a${CR}b`), "a control character at character 2");
2222 assert.match(unseenIn(`abc${RLO}def`)!, /bidirectional embedding or override/);
2323 assert.equal(unseenIn(`emoji 🎉 counts as one character ${ESC}`), "a control character at character 33");
24+ assert.equal(unseenIn(`😀😀😀\nB${CR}X`), "a control character at character 6", "a lone CR after emoji is found");
25+ assert.equal(unseenIn(`😀😀😀${CR}\nB`), null, "CRLF after emoji passes");
2426});
2527
26−test("publish, amend, land, starting notes and announcements refuse unseen characters before the engine sees them", () => {
28+test("push, amend, land, starting notes and announcements refuse unseen characters before the engine sees them", () => {
2729 // A stand-in for the engine: it records each call that gets through.
2830 const calls: string[] = [];
2931 const project = new Proxy({} as ProjectCalls, {
MCP
compare on this site's /mcp
CLI
abso diff 73 318 worker/project/test/unseen.test.ts --json
JSON
/christopher/abso-core/compare/73..318?file=worker%2Fproject%2Ftest%2Funseen.test.ts&format=json