fix: sync Cargo.lock when version changes (#302)

Update sync-version.js to also run `cargo update -p agent-browser` after
updating Cargo.toml, keeping Cargo.lock in sync. Also update pre-commit
hook to stage Cargo.lock along with Cargo.toml.

This commit also brings Cargo.lock up to date (was stuck at 0.7.6).
This commit is contained in:
Chris Tate
2026-01-27 09:33:47 -06:00
committed by GitHub
parent 72cbdc7f89
commit 71a79f64e8
3 changed files with 29 additions and 3 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
pnpm lint-staged
node scripts/sync-version.js
git add cli/Cargo.toml
git add cli/Cargo.toml cli/Cargo.lock