import agents_default from "./routes/agents.js";
import chat_default from "./routes/chat.js";
import chatDataStream_default from "./routes/chatDataStream.js";
import mcp_default from "./routes/mcp.js";
import webhooks_default from "./routes/webhooks.js";
import { OpenAPIHono } from "@hono/zod-openapi";

//#region src/domains/run/index.ts
function createRunRoutes() {
	const app = new OpenAPIHono();
	app.route("/v1/chat", chat_default);
	app.route("/api", chatDataStream_default);
	app.route("/v1/mcp", mcp_default);
	app.route("/agents", agents_default);
	app.route("/", webhooks_default);
	return app;
}
const runRoutes = createRunRoutes();

//#endregion
export { createRunRoutes, runRoutes };