diff options
Diffstat (limited to 'src/integration/mod.rs')
| -rw-r--r-- | src/integration/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/integration/mod.rs b/src/integration/mod.rs index 234d1b10..d4c7265b 100644 --- a/src/integration/mod.rs +++ b/src/integration/mod.rs @@ -15,7 +15,7 @@ const PI_EXTENSION_ASSET: &str = include_str!("assets/pi/herdr-agent-state.ts"); const PI_INTEGRATION_VERSION: u32 = 2; const OMP_EXTENSION_INSTALL_NAME: &str = "herdr-omp-agent-state.ts"; const OMP_EXTENSION_ASSET: &str = include_str!("assets/omp/herdr-agent-state.ts"); -const OMP_INTEGRATION_VERSION: u32 = 2; +const OMP_INTEGRATION_VERSION: u32 = 3; const PI_CODING_AGENT_DIR_ENV_VAR: &str = "PI_CODING_AGENT_DIR"; const CLAUDE_HOOK_INSTALL_NAME: &str = if cfg!(windows) { "herdr-agent-state.ps1" @@ -5969,6 +5969,9 @@ mod tests { assert!(PI_EXTENSION_ASSET.contains("agent_session_path: currentAgentSessionPath")); assert!(PI_EXTENSION_ASSET.contains("agent_session_id: currentAgentSessionId")); assert!(PI_EXTENSION_ASSET.contains("publishState(true)")); + assert!(OMP_EXTENSION_ASSET.contains("agent_session_path: currentAgentSessionPath")); + assert!(OMP_EXTENSION_ASSET.contains("agent_session_id: currentAgentSessionId")); + assert!(OMP_EXTENSION_ASSET.contains("publishState(true)")); assert!(CLAUDE_HOOK_ASSET.contains("agent_session_id")); assert!(CLAUDE_HOOK_ASSET.contains("agent_session_path")); assert!(CLAUDE_HOOK_ASSET.contains("session_start_source")); |
