From 1079fff412ca978548e42af79b3f1b7ad7912686 Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Wed, 12 Aug 2026 21:13:21 +0200 Subject: fix: use the running binary in agent hooks (#2722) --- src/integration/tests.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/integration/tests.rs') diff --git a/src/integration/tests.rs b/src/integration/tests.rs index 6eaf7a39..324ae6ce 100644 --- a/src/integration/tests.rs +++ b/src/integration/tests.rs @@ -1058,7 +1058,7 @@ fn claude_v1_integration_status_is_outdated() { assert_eq!(claude.path, hook_path); assert_eq!(claude.installed_version, Some(1)); - assert_eq!(claude.expected_version, 7); + assert_eq!(claude.expected_version, 8); assert_eq!(claude.state, IntegrationStatusKind::Outdated); std::env::remove_var("HOME"); @@ -1088,7 +1088,7 @@ fn claude_v2_integration_status_is_outdated() { assert_eq!(claude.path, hook_path); assert_eq!(claude.installed_version, Some(2)); - assert_eq!(claude.expected_version, 7); + assert_eq!(claude.expected_version, 8); assert_eq!(claude.state, IntegrationStatusKind::Outdated); std::env::remove_var("HOME"); @@ -1221,7 +1221,7 @@ fn codex_v2_integration_status_is_outdated() { assert_eq!(codex.path, hook_path); assert_eq!(codex.installed_version, Some(2)); - assert_eq!(codex.expected_version, 7); + assert_eq!(codex.expected_version, 8); assert_eq!(codex.state, IntegrationStatusKind::Outdated); std::env::remove_var("HOME"); @@ -2724,6 +2724,11 @@ fn bundled_integration_asset_versions_match_expected_versions() { QODERCLI_INTEGRATION_VERSION, ), ("cursor", CURSOR_HOOK_ASSET, CURSOR_INTEGRATION_VERSION), + ( + "antigravity_cli", + ANTIGRAVITY_CLI_HOOK_ASSET, + ANTIGRAVITY_CLI_INTEGRATION_VERSION, + ), ( "mastracode", MASTRACODE_HOOK_ASSET, -- cgit v1.2.3