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 30 to 31

Compare

+21 −1 in 4 places
Lines 4–19 at 31 (were 4–10 at 30)
44import type { AtomId, View } from "../../src/engine/index.ts";
55import { ProjectError } from "./project-error.ts";
66import { countRefusals, type projectFileIn } from "./project-helpers.ts";
7−import type { AgentState, AgentStatus, EditsVia, Refusal, Starting, StatusAnswer } from "./project-types.ts";
7+import type {
8+ AgentState,
9+ AgentStatus,
10+ EditsVia,
11+ Refusal,
12+ Starting,
13+ StatusAnswer,
14+ TellRecord,
15+ TellStatus,
16+} from "./project-types.ts";
817import { last, SHARED, type Space, sharedBaseOf } from "./spaces.ts";
1019/** What the snapshot reads need from a project. */
Lines 23–29 at 31 (were 14–19 at 30)
1423 queue(): readonly { readonly agent: string; readonly id: number }[];
1524 readonly refusals: readonly Refusal[];
1625 readonly labels: ReadonlyMap<string, readonly number[]>;
26+ readonly tells: ReadonlyMap<number, TellRecord>;
1727 needInit(): void;
1828 shared(): Space;
1929 draft(agent: AgentState): AtomId[];
Lines 155–169 at 31 (were 145–150 at 30)
145155 }
146156 }
147157 const announcements = [...waiting].map(([text, names]) => ({ text, waiting: names }));
158+ // Who has heard each of the newest tells, and when (277): the news and heard entries' times.
159+ const tells: TellStatus[] = [...host.tells.values()].toReversed().map((t) => ({
160+ id: t.id,
161+ text: t.text,
162+ at: t.at ?? null,
163+ to: [...t.heard]
164+ .toSorted(([a], [b]) => (a < b ? -1 : 1))
165+ .map(([agent, h]) => ({ agent, heard: h !== null, at: h?.at ?? null })),
166+ }));
148167 // Both project files in shared (224): say which one counts, never quietly.
149168 const file = host.projectFile();
150169 return {
Lines 172–178 at 31 (were 153–158 at 30)
153172 drafts,
154173 refusals: countRefusals(host.refusals),
155174 announcements,
175+ tells,
156176 ...(file?.ignored ? { projectFile: { used: "abso.json" as const, ignored: file.ignored } } : {}),
157177 };
158178}
MCP
compare on this site's /mcp
CLI
abso diff 30 31 worker/project/project-status.ts --json
JSON
/christopher/abso-core/compare/30..31?file=worker%2Fproject%2Fproject-status.ts&format=json