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 26 to 27

Compare

+5 −4 in 3 places
Lines 1–6 at 27 (were 1–6 at 26)
11// Issues (#54): abso issues, abso issue, abso ask, abso waiting and avcs
22// answer. The Issues Worker keeps them (avcs-issues beside avcs, or
3−// AVCS_ISSUES_SERVER), and takes the same token. Statuses come from the work: a start note naming
3+// ABSO_ISSUES_SERVER), and takes the same token. Statuses come from the work: a start note naming
44// an issue (abso start --issue N) puts it In progress, an open ask Blocked or
55// In review, and publish --done closes it. Other agents' and people's words
66// are quoted as JSON, so none can print as another line (#30).
Lines 24–30 at 27 (were 24–29 at 26)
2424import { type Env, type Output, open, plural } from "./commands.ts";
2525import { type Config, readMachineServers, trustedServers } from "./config.ts";
2626import { issuesServerFor, tokenGoesTo } from "./core.ts";
27+import { fromEnv } from "./env-names.ts";
2728import { seenText, shortWhen } from "./times.ts";
2829
2930const q = (s: string): string => JSON.stringify(s);
Lines 32–45 at 27 (were 31–44 at 26)
3132/** The folder, with its Api pointed at the Issues Worker: the token goes only where tokenGoesTo allows, as for the avcs server. */
3233function openIssues(env: Env): { config: Config; api: Api } {
3334 const { config, api } = open(env);
34− const server = env.env.AVCS_ISSUES_SERVER || issuesServerFor(config.server, readMachineServers(env.env));
35+ const server = fromEnv(env.env, "ISSUES_SERVER") || issuesServerFor(config.server, readMachineServers(env.env));
3536 if (server === undefined)
3637 throw new UsageError(
37− `${config.server} has no Issues Worker beside it that abso knows; ~/.abso/servers.json or AVCS_ISSUES_SERVER names one`,
38+ `${config.server} has no Issues Worker beside it that abso knows; ~/.abso/servers.json or ABSO_ISSUES_SERVER names one`,
3839 );
3940 if (config.token !== undefined && !tokenGoesTo(server, trustedServers(env.env))) {
4041 throw new UsageError(
41− `the Issues Worker is ${server}, and abso sends your token only to its own servers and this machine. If ${server} is yours, name it in ~/.abso/servers.json or AVCS_TRUSTED_SERVERS.`,
42+ `the Issues Worker is ${server}, and abso sends your token only to its own servers and this machine. If ${server} is yours, name it in ~/.abso/servers.json or ABSO_TRUSTED_SERVERS.`,
4243 );
4344 }
4445 api.issuesServer = server;
MCP
compare on this site's /mcp
CLI
abso diff 26 27 client/src/issues.ts --json
JSON
/christopher/abso-core/compare/26..27?file=client%2Fsrc%2Fissues.ts&format=json