# AGENTS.md

Powerful AI Client

## Setup

```
pnpm install
```

## Commands

```
pnpm dev                       # run locally
pnpm start                     # run the app
pnpm build                     # produce a build
pnpm test                      # run the test suite, must pass before any commit
pnpm lint                      # lint
pnpm format                    # format
pnpm check                     # lint and type check
pnpm generate:model-snapshot
```

## Layout

- `src/`          1099 source files
- `test/`         12 source files
- `scripts/`      5 source files
- `script/`       4 source files
- `assets/`       1 source file
- `team-sharing/` 1 source file

## Conventions

- Tests live alongside the code they cover, following `src/__tests__/App.test.tsx.bk`.
- 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.

## Gotchas

- `src/renderer/routes/-new-user-scenarios/scenarios.ts` is 122KB. It will not fit comfortably in context, so read it in parts.

---

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.
