aboutsummaryrefslogtreecommitdiff
path: root/src/config
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/config
parent8b635c918066dd184bacc29b4c06c40a3efea3f5 (diff)
feat: add qwen code detection and restore (#2743)
refs #2730
Diffstat (limited to 'src/config')
-rw-r--r--src/config/model.rs2
-rw-r--r--src/config/sidebar.rs1
-rw-r--r--src/config/sound.rs3
3 files changed, 5 insertions, 1 deletions
diff --git a/src/config/model.rs b/src/config/model.rs
index 9b5904fb..6d6083ad 100644
--- a/src/config/model.rs
+++ b/src/config/model.rs
@@ -989,7 +989,7 @@ pub struct ExperimentalConfig {
/// if the list contains no valid names, the reveal does not apply.
/// Accepted names: pi, claude, codex, gemini, cursor, devin, cline,
/// opencode, copilot, kimi, kiro, droid, amp, grok, hermes, kilo,
- /// qodercli, qoder, maki.
+ /// qodercli, qoder, qwen, qwen-code, maki.
/// Default: empty.
pub cjk_ime_agents: Vec<String>,
/// Cursor shape rendered for the IME anchor when
diff --git a/src/config/sidebar.rs b/src/config/sidebar.rs
index f7201134..c548c839 100644
--- a/src/config/sidebar.rs
+++ b/src/config/sidebar.rs
@@ -621,6 +621,7 @@ rows = [[{ token = "git_status", fg = "#ff00aa" }], [{ token = "$jj", bold = tru
Agent::Hermes,
Agent::Kilo,
Agent::Qodercli,
+ Agent::Qwen,
Agent::Maki,
];
let entries = agents
diff --git a/src/config/sound.rs b/src/config/sound.rs
index 217737d8..c84f0d59 100644
--- a/src/config/sound.rs
+++ b/src/config/sound.rs
@@ -43,6 +43,7 @@ pub struct AgentSoundOverrides {
pub hermes: AgentSoundSetting,
pub kilo: AgentSoundSetting,
pub qodercli: AgentSoundSetting,
+ pub qwen: AgentSoundSetting,
pub maki: AgentSoundSetting,
}
@@ -139,6 +140,7 @@ impl AgentSoundOverrides {
Some(Agent::Hermes) => self.hermes,
Some(Agent::Kilo) => self.kilo,
Some(Agent::Qodercli) => self.qodercli,
+ Some(Agent::Qwen) => self.qwen,
Some(Agent::Maki) => self.maki,
None => AgentSoundSetting::Default,
}
@@ -178,6 +180,7 @@ impl Default for AgentSoundOverrides {
hermes: AgentSoundSetting::Default,
kilo: AgentSoundSetting::Default,
qodercli: AgentSoundSetting::Default,
+ qwen: AgentSoundSetting::Default,
maki: AgentSoundSetting::Default,
}
}