chore: 清理 18 处未使用导入、变量和函数

移除未使用的导入(getSubscriptionType、isEnvDefinedFalsy、
getClaudeConfigHomeDir 等)、未使用的常量(ACCENT_COLOR、
NAME_MATCH_BONUS、CLIPBOARD_THRESHOLD)和死函数
(getOpus41Option、pasteViaClipboard),
为未使用参数添加 _ 前缀。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
claude-code-best
2026-05-05 20:15:51 +08:00
parent 1ac18aec0d
commit 0ad6349434
18 changed files with 12 additions and 95 deletions

View File

@@ -158,15 +158,6 @@ function getCustomOpusOption(): ModelOption | undefined {
}
}
function getOpus41Option(): ModelOption {
return {
value: 'opus',
label: 'Opus 4.1',
description: `Opus 4.1 · Legacy`,
descriptionForModel: 'Opus 4.1 - legacy version',
}
}
function getOpus47Option(fastMode = false): ModelOption {
const is3P = getAPIProvider() !== 'firstParty'
return {