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

+3 −3 in 3 places
Lines 32–38 at 318 (were 32–38 at 73)
3232 (e): e is Extract<Entry, { type: "publish" }> => e.type === "publish" && e.version === version && !e.space,
3333 )!;
3434
35−test("a start note's publishes are one change, with its versions, files and title", () => {
35+test("a start note's pushes are one change, with its versions, files and title", () => {
3636 const { project, store, at } = setup();
3737 at(1);
3838 project.starting("ann", "Bigger numbers", ["a.ts", "b.ts"], 1);
Lines 141–147 at 318 (were 141–147 at 73)
141141 assert.equal(project.changes(0).changes.length, 3);
142142});
143143
144−test("changes come back the same from the log, and old publishes without a change still group and end the note", () => {
144+test("changes come back the same from the log, and old pushes without a change still group and end the note", () => {
145145 const { project, store } = setup();
146146 project.starting("ann", "Note", undefined, 1);
147147 edit(project, "ann", { file: "a.ts", old: "1", new: "2" }, 2);
Lines 151–157 at 318 (were 151–157 at 73)
151151 // The same log as written before changes: no `change` on the publish.
152152 const old = store.entries.map((e) => (e.type === "publish" ? (({ change: _, ...rest }) => rest)(e) : e)) as Entry[];
153153 const replayed = Project.load(old, new MemoryStore(), { now: () => 3 });
154− assert.equal(replayed.startingNotes().length, 0, "an old publish ended the note");
154+ assert.equal(replayed.startingNotes().length, 0, "an old push ended the note");
155155 const noteAt = store.entries.findIndex((e) => e.type === "starting");
156156 assert.deepEqual(
157157 replayed.change(noteAt).versions.map((v) => v.message),
MCP
compare on this site's /mcp
CLI
abso diff 73 318 worker/project/test/changes.test.ts --json
JSON
/christopher/abso-core/compare/73..318?file=worker%2Fproject%2Ftest%2Fchanges.test.ts&format=json