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 302 to 303

Compare

+14 −2 in 3 places
Lines 49–66 at 303 (were 49–54 at 302)
4949}
5050
5151/**
52+ * An agent with nothing of its own sees exactly its base version, so its paths are that version's kept file list
53+ * (pathindex.ts), when there is one: no layout of every known file (abso - Performance, abso 711).
54+ */
55+function viewPaths(host: SnapshotHost, agent: AgentState): string[] {
56+ const kept =
57+ agent.mine.length === 0
58+ ? host.keptPaths?.(host.spaceNamed(agent.space === SHARED ? null : agent.space), agent.base)
59+ : undefined;
60+ return kept ?? host.agentView(agent).paths();
61+}
63+/**
5264 * The paths in an agent's view now (#37): what its folder should hold.
5365 * Reading it changes nothing. Binary files are included.
5466 */
Lines 74–80 at 303 (were 62–68 at 302)
6274 return {
6375 version: agent.base,
6476 draft: agent.space === SHARED ? null : agent.space,
65− files: host.agentView(agent).paths(),
77+ files: viewPaths(host, agent),
6678 };
6779}
6880
Lines 106–112 at 303 (were 94–100 at 302)
94106 agent: agent.name,
95107 version: agent.base,
96108 draft: agent.space === SHARED ? null : agent.space,
97− files: host.agentView(agent).paths(),
109+ files: viewPaths(host, agent),
98110 };
99111}
100112
MCP
compare on this site's /mcp
CLI
abso diff 302 303 worker/project/project-status.ts --json
JSON
/christopher/abso-core/compare/302..303?file=worker%2Fproject%2Fproject-status.ts&format=json