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 219 to 220

Compare

+11 −0 in 2 places
Lines 19–25 at 220 (were 19–24 at 219)
1919 SyncAnswer,
2020} from "./api-answers.ts";
2121import { ApiError, errorSentence, neverSent } from "./api-error.ts";
22+import type { AutosettleAnswer, AutosettleMode } from "./autosettle-commands.ts";
2223import {
2324 boxQuery,
2425 consumeRun,
Lines 718–733 at 220 (were 717–722 at 219)
717718 return this.json("POST", `/visibility?visibility=${v}`, {});
718719 }
719720
721+ /** The project's auto-settle choice (abso-core 23): off, advise or settle, and how sure before abso settles. */
722+ autosettle(): Promise<AutosettleAnswer> {
723+ return this.json("GET", "/autosettle");
724+ }
726+ /** Change it (abso-core 23): an owner's key, or the shared token on staging. Without `at`, the server keeps its own. */
727+ setAutosettle(mode: AutosettleMode, at?: number): Promise<AutosettleAnswer> {
728+ return this.json("POST", `/autosettle?mode=${mode}${at === undefined ? "" : `&at=${at}`}`, {});
729+ }
720731 /** Take back this agent's queued publishes (#39); refused while one is being checked. */
721732 unqueue(): Promise<{ pulled: readonly number[] }> {
722733 return this.json("POST", this.agentPath("unqueue"), {});
MCP
compare on this site's /mcp
CLI
abso diff 219 220 client/src/api.ts --json
JSON
/christopher/abso-core/compare/219..220?file=client%2Fsrc%2Fapi.ts&format=json