From ebff34063a55446c7390e12ec84acd2dad04ce43 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 16 Jun 2026 17:57:24 +0300 Subject: fix: restore omp sessions after same-pane restart refs #614 --- src/integration/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/integration/mod.rs') 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")); -- cgit v1.2.3