docs: add execution happy-path sequence diagram
This commit is contained in:
@@ -206,6 +206,9 @@ file with `--config`.
|
||||
|
||||
## How it works
|
||||
|
||||
For a step-by-step trace of a clean sweep, see the
|
||||
[execution happy-path sequence diagram](docs/execution-happy-path.md).
|
||||
|
||||
The source lives under `src/`, split into an entry point plus logic
|
||||
modules:
|
||||
|
||||
@@ -358,6 +361,7 @@ move --help
|
||||
| `src/device.ts` | `Device` I/O seam over nut.js (`Point`, `createNutDevice`); the only nut.js importer. |
|
||||
| `src/strategies.ts` | Pure movement-pattern generators, the strategy registry, and name validation. |
|
||||
| `src/executor.ts` | `executePath` driver: bounds policy, pacing, interrupt detection, restore. |
|
||||
| `docs/execution-happy-path.md` | Sequence diagram + invariants for a clean sweep. |
|
||||
| `package.json` | Bun project manifest. Single runtime dep: `@nut-tree-fork/nut-js`. |
|
||||
| `tsconfig.json` | Strict TypeScript config tuned for Bun (ESNext, bundler resolution). |
|
||||
| `bun.lock` | Bun's lockfile. Commit this. |
|
||||
|
||||
Reference in New Issue
Block a user