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

Compare

+4 −2 in 3 places
Lines 3–9 at 318 (were 3–8 at 160)
33// which space) is applied first, in spaces.ts.
44
55import type { AtomId, Graph } from "../../src/engine/index.ts";
6+import { capNews, outlastsSync } from "./news.ts";
67import { ProjectError } from "./project-error.ts";
78import type {
89 AgentState,
Lines 201–207 at 318 (were 200–205 at 160)
200201 host.setAnnounced(Math.max(host.announced(), id));
201202 tellSent(host.tells, id, entry.text[i] ?? entry.text[0] ?? "", agent.name, time);
202203 });
204+ capNews(agent);
203205 break;
204206 }
205207 case "discard": {
Lines 213–223 at 318 (were 211–221 at 160)
211213 }
212214 case "heard": {
213215 const agent = host.agentOf(entry.agent);
214− // A sync's stale heard keeps announcements, so it hears no tell.
216+ // A sync's stale heard keeps announcements and settles' news (outlastsSync), so it hears no tell.
215217 if (entry.stale !== true)
216218 for (const tell of host.tells.values())
217219 if (tell.heard.get(agent.name) === null) tell.heard.set(agent.name, { at: time });
218− const keep = agent.news.map((t) => entry.stale === true && t.startsWith("Announcement from "));
220+ const keep = agent.news.map((t) => entry.stale === true && outlastsSync(t));
219221 agent.news = agent.news.filter((_, i) => keep[i]);
220222 agent.newsAt = agent.newsAt.filter((_, i) => keep[i]);
221223 break;
MCP
compare on this site's /mcp
CLI
abso diff 160 318 worker/project/apply-entry.ts --json
JSON
/christopher/abso-core/compare/160..318?file=worker%2Fproject%2Fapply-entry.ts&format=json