Merge remote-tracking branch 'origin/master' into feat/acp-snapshot-tests

This commit is contained in:
Tianyi Cui
2026-06-19 10:03:04 +08:00
63 changed files with 1297 additions and 330 deletions

View File

@@ -17,12 +17,12 @@ Install dependencies from the repo root:
pnpm install
```
The install also runs the root `postinstall` script, which installs lefthook from the repo dev dependency.
The install also runs the root `postinstall` script, which installs lefthook from the repo dev dependency through `scripts/install-lefthook.mjs`; the wrapper uses lefthook's reviewed `--force` mode so linked worktrees with an existing `core.hooksPath` do not fail normal `pnpm run …` commands.
If hooks are missing because dependencies were restored from cache or `postinstall` was skipped, install them manually:
```sh
pnpm exec lefthook install
pnpm exec lefthook install --force
```
Run typecheck once after a fresh clone: