| Name | Last commit date | |
|---|---|---|
| .. | ||
| scripts | 6 months ago | |
| src | 5 months ago | |
| .depcheckrc.json | 9 months ago | |
| .dockerignore | 8 months ago | |
| .jscpd.json | 9 months ago | |
| .lintstagedrc.json | 9 months ago | |
| .prettierrc.json | 9 months ago | |
| bun.lock | 6 months ago | |
| Dockerfile | 8 months ago | |
| eslint.config.mjs | 6 months ago | |
| knip.ts | 6 months ago | |
| package.json | 6 months ago | |
| README.md | 8 months ago | |
| tsconfig.json | 9 months ago | |
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.