Files
saltbo__agent-kanban/server/http/auth/routes.ts
jarvis a2fa54a729 feat!: rebuild Agent Kanban for Realmroot Toolbox
Replace the v1 Agent/Machine runtime and CLI architecture with the v2 Resource Server, AMA-backed projections, task lifecycle, session observation, BDD specifications, and a single-package layered codebase.

BREAKING CHANGE: remove the v1 CLI, internal Agent/Machine runtime entities, workspace layout, and legacy runtime coordination APIs.
2026-09-02 00:17:52 -04:00

11 lines
502 B
TypeScript

import { beginRealmrootLogin, endRealmrootWebSession, finishRealmrootLogin, readRealmrootWebSession } from "@server/auth/realmroot";
import type { Env } from "@server/env";
import type { Hono } from "hono";
export function registerAuthRoutes(api: Hono<{ Bindings: Env }>): void {
api.get("/api/auth/login", beginRealmrootLogin);
api.get("/api/auth/callback", finishRealmrootLogin);
api.get("/api/auth/session", readRealmrootWebSession);
api.post("/api/auth/logout", endRealmrootWebSession);
}