- Added workflow job actor to manage job application workflows. - Implemented agent catalog for various workflow agents. - Created service agents for interview, roleplay, and Q-Score functionalities. - Enhanced user authentication to automatically create users if they do not exist. - Updated configuration to support new LLM provider and API keys. - Introduced new routes for agent and workflow management. - Refactored Docker management to improve Gitea admin user creation and token generation. - Removed deprecated Anthropics SDK integration.
13 lines
331 B
TypeScript
13 lines
331 B
TypeScript
import { Hono } from "hono";
|
|
import { agentCatalog } from "../agents/catalog.js";
|
|
import { requireUser, type AuthContext } from "../auth/clerk.js";
|
|
|
|
export function agentRoutes() {
|
|
const app = new Hono<AuthContext>();
|
|
app.use("*", requireUser);
|
|
|
|
app.get("/catalog", (c) => c.json({ agents: agentCatalog }));
|
|
|
|
return app;
|
|
}
|