index.ts
885 bytes
| 1 | /** |
|---|---|
| 2 | * Public surface of the framework-agnostic debate engine. |
| 3 | * |
| 4 | * Everything a host (the Next.js route adapter, a CLI, a test) needs is |
| 5 | * re-exported here. Nothing in this module tree imports Next.js, Prisma, React, |
| 6 | * or a network client. |
| 7 | */ |
| 8 | export * from './types'; |
| 9 | export * from './events'; |
| 10 | export * from './llm-client'; |
| 11 | export * from './schemas'; |
| 12 | export * from './config'; |
| 13 | export * from './models'; |
| 14 | export * from './convergence'; |
| 15 | export * from './scoring'; |
| 16 | export * from './anonymize'; |
| 17 | export * from './json-repair'; |
| 18 | export * from './usage'; |
| 19 | export { requestStructured, StructuredParseError } from './structured'; |
| 20 | export { MockLlmClient, type MockScenario } from './mock-client'; |
| 21 | export { runDebate, type OrchestratorDeps, type RunOptions, type Logger } from './orchestrator'; |
| 22 | export { PROMPT_VERSION } from './prompts'; |
| 23 | export { withTimeout, TimeoutError } from './timeout'; |
| 24 | |