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 308 to 309

Compare

+17 −3 in 3 places
Lines 103–113 at 309 (were 103–112 at 308)
103103import { move as hostedMove, type MoveHost } from "./move.ts";
104104import {
105105 addressedItem,
106− definitionNewsOwed as hostedDefinitionNewsOwed,
107106 newsAboutOwnDraft as hostedNewsAboutOwnDraft,
108107 newsForOthers as hostedNewsForOthers,
108+ newsOwed as hostedNewsOwed,
109109 owedAgents as hostedOwedAgents,
110+ owedNewsNames as hostedOwedNewsNames,
110111 markedItem,
111112 type NewsHost,
112113 type NewsItem,
Lines 1354–1374 at 309 (were 1353–1363 at 308)
13531354 return owed;
13541355 }
13551356
1356− /** What a publish owes, worked out against its version (news.ts definitionNewsOwed), for `only` these agents if given. Reads only. */
1357+ /** What a publish owes, worked out against its version (news.ts newsOwed), for `only` these agents if given. Reads only. */
1358+ newsOwed(owed: OwedDefinitionNews, only?: readonly string[]): { agent: string; items: NewsItem[] }[] {
1359+ return hostedNewsOwed(this.#newsHost, owed, only);
1360+ }
1362+ /** newsOwed, under the name owed definition news had before abso 714. */
13571363 definitionNewsOwed(owed: OwedDefinitionNews, only?: readonly string[]): { agent: string; items: NewsItem[] }[] {
1358− return hostedDefinitionNewsOwed(this.#newsHost, owed, only);
1364+ return this.newsOwed(owed, only);
13591365 }
13601366
1367+ /** The names a publish's definitions changed (news.ts owedNewsNames), worked out once for its owed news. Reads only. */
1368+ owedNewsNames(owed: OwedDefinitionNews): string[] {
1369+ return hostedOwedNewsNames(this.#newsHost, owed);
1370+ }
13611372 /** The agents a publish's owed news may be for (news.ts owedAgents). Reads only. */
13621373 owedAgents(owed: OwedDefinitionNews): string[] {
13631374 return hostedOwedAgents(this.#newsHost, owed);
Lines 2187–2195 at 309 (were 2176–2181 at 308)
21762187 newerAt: (agent, version) => this.#newerFor(agent, version),
21772188 definitionCollisionsAt: (agent, newer, names, version) =>
21782189 this.#definitionCollisions(agent, newer, names, version),
2190+ setAt: (space, version) => this.#at(space, version),
2191+ collisionAt: (agent, pair, version) =>
2192+ this.#describe(pair, this.#agentView(agent), this.#viewAt(this.#spaceOf(agent), version), agent.space),
21792193 };
21802194 return this.#news;
21812195 }
MCP
compare on this site's /mcp
CLI
abso diff 308 309 worker/project/project.ts --json
JSON
/christopher/abso-core/compare/308..309?file=worker%2Fproject%2Fproject.ts&format=json