# AGENTS.md

Official electron build of draw.io

## Setup

```
npm ci
```

## Commands

```
npm run start               # run the app
npm run test                # run the test suite, must pass before any commit
npm run sync
npm run release-win
npm run release-win32
npm run release-win-arm64
npm run release-appx
npm run release-linux
```

## Layout

- `src/`   9 source files
- `build/` 6 source files

## Conventions

- Tests live alongside the code they cover, following `src/test/cli-args.test.js`.
- CI defines what passing means. See `.github/workflows/electron-builder-win.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- Generated output is committed (`build/`). Search will return the compiled copy, so edit the source, not that.

---

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.
