Files
zopu-code/packages/agents/flue.config.ts
2026-08-04 01:38:48 +05:30

18 lines
716 B
TypeScript

import { defineConfig } from "@flue/runtime/config";
// Flue 2.0 project configuration.
// - target: 'node' builds a long-running Node HTTP server.
// - app: the route map (src/app.ts) — health + private internal routes + agent router.
// - db: file-backed SQLite persistence (src/db.ts) for canonical conversation state.
// - agents: scoped to src/agents/ for the 'use agent' scan.
export default defineConfig({
agents: "agents/**/*.ts",
app: "src/app.ts",
db: "src/db.ts",
// Custom providers are registered at runtime via setProvider() in app.ts.
// Empty list = register none from the built-in catalog; the Cheaptricks
// provider is wired programmatically.
providers: [],
target: "node",
});