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 150 to 151

Compare

+1 −27 in 1 place
Lines 1 at 151 (were 1–27 at 150)
1−// Where the router meets issues, asks and news (server/src/issues/, built alongside this file). Until that folder
2−// lands, this is a stand-in with the same exports, so the Worker builds and its tests run. When it lands, this file
3−// becomes one line:
4−//
5−// export { IssueProject, issuesFetch } from "./issues/index.ts";
6−//
7−// The agreed interface: issuesFetch(request, env, ctx, {project, rest, auth}), where rest is the path after
8−// /issues/p/<project> and auth is {kind: "token"} or {kind: "key", agent, role}. The router has checked auth before it
9−// calls. The issues code reaches the project through env.PROJECT and its RPC methods agents(project) and
10−// news(project, items) on ProjectObject.
11−
12−import { DurableObject } from "cloudflare:workers";
13−import type { Env } from "./env.ts";
14−import type { KeyRole } from "./keys.ts";
15−
16−export type IssuesAuth = { kind: "token" } | { kind: "key"; agent: string; role: KeyRole };
17−
18−export class IssueProject extends DurableObject<Env> {}
19−
20−export async function issuesFetch(
21− _request: Request,
22− _env: Env,
23− _ctx: ExecutionContext,
24− _where: { project: string; rest: string; auth: IssuesAuth },
25−): Promise<Response> {
26− return Response.json({ error: "issues aren't on this server yet" }, { status: 404 });
27−}
1+export { IssueProject, type IssuesAuth, issuesFetch } from "./issues/index.ts";
MCP
compare on this site's /mcp
CLI
abso diff 150 151 server/src/issues-entry.ts --json
JSON
/christopher/abso-core/compare/150..151?file=server%2Fsrc%2Fissues-entry.ts&format=json