# AGENTS.md

AI chat for any model.

## Setup

```
npm ci
```

## Commands

```
npm run dev       # run locally
npm run start     # run the app
npm run build     # produce a build
npm run test      # run the test suite, must pass before any commit
npm run lint      # lint
npm run chat
npm run restart
npm run update
```

## Layout

- `components/` 141 source files
- `lib/`        33 source files
- `app/`        30 source files
- `db/`         25 source files
- `types/`      19 source files
- `__tests__/`  3 source files

## Conventions

- Tests live alongside the code they cover, following `__tests__/lib/openapi-conversion.test.ts`.
- TypeScript runs in strict mode. Type errors are the fastest feedback available, so do not weaken it.
- TODO: add the two or three conventions a newcomer always gets wrong here.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
