summaryrefslogtreecommitdiff
path: root/src/integration/mod.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-16 17:57:24 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-16 17:57:52 +0300
commitebff34063a55446c7390e12ec84acd2dad04ce43 (patch)
tree0ed8f092d418d245fd69ac0d36e21ee1e3ef1a83 /src/integration/mod.rs
parentcc802c8f9c154ca23e6a1db095b8857c1d5f1fe9 (diff)
fix: restore omp sessions after same-pane restart
refs #614
Diffstat (limited to 'src/integration/mod.rs')
-rw-r--r--src/integration/mod.rs5
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"));