Generate TypeDoc API documentation using `xy gen-docs`. Output is written to the docs directory.

Detect the package manager from the repo root (`yarn.lock` → yarn, `pnpm-lock.yaml` → pnpm) and prefix accordingly.

```bash
xy gen-docs
```
