From a4d52ab60282b2ad021cb90978a7ed4d3898704b Mon Sep 17 00:00:00 2001 From: Can Celik Date: Thu, 13 Aug 2026 03:00:35 +0300 Subject: feat: add qwen code detection and restore (#2743) refs #2730 --- src/integration/mod.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/integration/mod.rs') diff --git a/src/integration/mod.rs b/src/integration/mod.rs index 597aabc5..c87ccac6 100644 --- a/src/integration/mod.rs +++ b/src/integration/mod.rs @@ -192,6 +192,18 @@ const QODERCLI_HOOK_ASSET: &str = if cfg!(windows) { }; const QODERCLI_INTEGRATION_VERSION: u32 = 3; const QODERCLI_HOOK_EVENTS: [(&str, &str); 1] = [("SessionStart", "session")]; +const QWEN_HOOK_INSTALL_NAME: &str = if cfg!(windows) { + "herdr-agent-session.ps1" +} else { + "herdr-agent-session.sh" +}; +const QWEN_HOOK_ASSET: &str = if cfg!(windows) { + include_str!("assets/qwen/herdr-agent-session.ps1") +} else { + include_str!("assets/qwen/herdr-agent-session.sh") +}; +const QWEN_INTEGRATION_VERSION: u32 = 1; +const QWEN_HOOK_EVENTS: [(&str, &str); 1] = [("SessionStart", "session")]; const QODERCLI_REMOVED_LIFECYCLE_HOOK_EVENTS: [(&str, &str); 12] = [ ("SessionStart", "idle"), ("UserPromptSubmit", "working"), -- cgit v1.2.3