| Name | Last commit date | |
|---|---|---|
| .. | ||
| runtime | ||
| scripts | ||
| src | ||
| .depcheckrc.json | ||
| .dockerignore | ||
| .jscpd.json | ||
| .lintstagedrc.json | ||
| .prettierrc.json | ||
| bun.lock | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| knip.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Controller
Bun + Hono backend for model lifecycle, chat runtime, orchestration, metrics, and API endpoints.
Entry points
- Main server: src/main.ts
Run
bun install
bun src/main.ts
Dev watch mode:
bun --watch src/main.ts
API
- OpenAPI spec: /api/spec
- Swagger UI: /api/docs
- Health: /health
- Status: /status
Tests
npx tsc --noEmit
bun test
bun run lint
Configuration
- Environment variables: ../docs/environment.md
- Config parsing: src/config/env.ts
- Data directory defaults to ../data when running from ./controller, otherwise ./data.