aboutsummaryrefslogtreecommitdiff
path: root/src/integration/types.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-08-13 03:00:35 +0300
committerGitHub <noreply@github.com>2026-08-13 03:00:35 +0300
commita4d52ab60282b2ad021cb90978a7ed4d3898704b (patch)
treecdd5f55d6d392d54541b86da7f1a00a48c211d03 /src/integration/types.rs
parent8b635c918066dd184bacc29b4c06c40a3efea3f5 (diff)
feat: add qwen code detection and restore (#2743)
refs #2730
Diffstat (limited to 'src/integration/types.rs')
-rw-r--r--src/integration/types.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/integration/types.rs b/src/integration/types.rs
index c5c24267..c7eaf795 100644
--- a/src/integration/types.rs
+++ b/src/integration/types.rs
@@ -70,6 +70,12 @@ pub(crate) struct QodercliInstallPaths {
}
#[derive(Debug)]
+pub(crate) struct QwenInstallPaths {
+ pub hook_path: PathBuf,
+ pub settings_path: PathBuf,
+}
+
+#[derive(Debug)]
pub(crate) struct CursorInstallPaths {
pub hook_path: PathBuf,
pub hooks_path: PathBuf,
@@ -119,6 +125,14 @@ pub(crate) struct QodercliUninstallResult {
pub updated_settings: bool,
}
+#[derive(Debug)]
+pub(crate) struct QwenUninstallResult {
+ pub hook_path: PathBuf,
+ pub settings_path: PathBuf,
+ pub removed_hook_file: bool,
+ pub updated_settings: bool,
+}
+
#[derive(Debug, Clone, PartialEq, Eq)]
pub(crate) struct IntegrationStatus {
pub target: crate::api::schema::IntegrationTarget,