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
@@ -4,7 +4,7 @@ version = 4
[[package]]
name = "agent-browser"
version = "0.7.6"
version = "0.8.4"
dependencies = [
"dirs",
"libc",