mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 09:29:38 +02:00
Flow Management Service: - FlowManagerService (AsyncProcessor) handling list/get/start/stop flows and list/get blueprints via kebab-case wire format - Default blueprint with all service topic mappings - Pushes flow config to config service on start/stop Config Seeding: - seed-config.ts script pushes prompt templates (extract-relationships, extract-definitions, document-prompt, kg-prompt) and default flow definition via gateway REST API Integration Tests: - Librarian CRUD: add-document, list-documents, get-content, delete - Agent query: verifies routing through gateway to agent service - Skip flags: SKIP_LIBRARIAN=1, SKIP_AGENT=1 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
312 B
TypeScript
14 lines
312 B
TypeScript
/**
|
|
* Start the flow manager service.
|
|
*
|
|
* Usage: pnpm tsx scripts/run-flow-manager.ts
|
|
*
|
|
* Env:
|
|
* NATS_URL (default: nats://localhost:4222)
|
|
*/
|
|
import { run } from "../packages/flow/src/flow-manager/service.js";
|
|
|
|
run().catch((err) => {
|
|
console.error("Flow manager failed:", err);
|
|
process.exit(1);
|
|
});
|