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

Compare

+7 −1 in 1 place
Lines 28–47 at 318 (were 28–41 at 178)
2828import { ignoredHere } from "./fetch.ts";
2929import { loadIgnore, relativeTo } from "./folder.ts";
3030import type { AskReply } from "./issues-wire.ts";
31+import { isLocal, LOCAL_BASE } from "./local-store.ts";
3132import { queuedLines, standing } from "./queue.ts";
3233import { seenText, shortWhen } from "./times.ts";
3334
3435const q = (s: string): string => JSON.stringify(s);
3536
3637/** The folder, with its Api pointed at the Issues Worker: the token goes only where tokenGoesTo allows, as for the avcs server. */
37−function openIssues(env: Env): { root: string; config: Config; api: Api } {
38+export function openIssues(env: Env): { root: string; config: Config; api: Api } {
3839 const { root, config, api } = open(env);
40+ // A local project's issues are in its store, where the open server keeps them: at /issues.
41+ if (isLocal(config.server)) {
42+ api.issuesServer = `${LOCAL_BASE}/issues`;
43+ return { root, config, api };
44+ }
3945 // An explicit --server goes to that server's own Issues Worker: ABSO_ISSUES_SERVER doesn't redirect it.
4046 const server =
4147 (env.server === undefined ? fromEnv(env.env, "ISSUES_SERVER") : undefined) ||
MCP
compare on this site's /mcp
CLI
abso diff 178 318 client/src/issues.ts --json
JSON
/christopher/abso-core/compare/178..318?file=client%2Fsrc%2Fissues.ts&format=json