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

Compare

+28 −1 in 3 places
Lines 65–72 at 318 (were 65–70 at 116)
6565 readonly theirs: { readonly agent: string; readonly version: number };
6666 /** Lines both sides still had that the settled file no longer has (#37). */
6767 readonly lost?: readonly string[];
68+ /** The message of the settler's push that was held for this collision. */
69+ readonly held?: string;
6870}
6971export interface RecordAnswer {
7072 readonly ok: boolean;
Lines 85–117 at 318 (were 83–92 at 116)
8385 settled?: readonly Settled[];
8486 /** Others' versions this publish went on top of that the folder hasn't synced yet (#37): nothing of theirs was overwritten. */
8587 mergedWith?: readonly { readonly version: number; readonly agent: string; readonly message: string }[];
88+ /** Where the project's CI runs, when the server says: off, the project's own Cloudflare account, or the server's own compute. */
89+ ciWhere?: string;
8690 }
8791 /** With the merge queue on (#39): queued, not landed yet; `ahead` publishes wait in front of it. */
8892 | { ok: true; queued: number; position: number; ahead: number; changes: number; settled?: readonly Settled[] }
89− | { ok: false; collisions: readonly Collision[]; reason?: string };
93+ | {
94+ ok: false;
95+ collisions: readonly Collision[];
96+ reason?: string;
97+ advice?: readonly (Advice | null)[];
98+ /** The server runs AUTOSETTLE=act: settle the collisions it advised a side of, and push again (#19). */
99+ settle?: boolean;
100+ };
101+/**
102+ * A server's first opinion on one collision of a held push (#19), when it runs AUTOSETTLE: which settle fits,
103+ * how sure, and why. `by`: rule (code decided), model (Workers AI), turned down (the model's pick would break
104+ * the file, so an agent settles), or unsure (the model leaned to a side under the server's threshold).
105+ */
106+export interface Advice {
107+ readonly pick: "yours" | "theirs" | "both" | "agent";
108+ readonly confidence: number;
109+ readonly reason: string;
110+ readonly by: "rule" | "model" | "turned down" | "unsure";
111+ readonly modelPick?: string;
112+ readonly model?: string;
113+ readonly ms: number;
114+}
90115/** A note on lines (#44): where its lines are now, or null when they're all gone. */
91116export interface NoteAnswer {
92117 readonly id: number;
Lines 149–156 at 318 (were 124–129 at 116)
124149 readonly time: number;
125150 readonly kinds: readonly string[];
126151 readonly files: readonly string[];
152+ /** A held push's message. */
153+ readonly message?: string;
127154 }[];
128155 readonly notes?: readonly NoteAnswer[];
129156 readonly reviewers?: readonly { readonly agent: string; readonly files: readonly string[]; readonly read: boolean }[];
MCP
compare on this site's /mcp
CLI
abso diff 116 318 client/src/api-answers.ts --json
JSON
/christopher/abso-core/compare/116..318?file=client%2Fsrc%2Fapi-answers.ts&format=json