feat: add DeepSeek TUI as CLI tool in dashboard (#1088)

Co-authored-by: Ansh7473 <your-github-email@example.com>
This commit is contained in:
YourAnsh
2026-05-13 21:10:42 +05:30
committed by GitHub
parent 9ce5290710
commit eaccb19f59
9 changed files with 596 additions and 11 deletions

View File

@@ -5,10 +5,10 @@
// Map of CLI tool identifiers to provider IDs they are "native" to
const NATIVE_PAIRS = {
"claude": ["claude", "anthropic"],
"gemini-cli": ["gemini-cli"],
"claude": ["claude", "anthropic"],
"gemini-cli": ["gemini-cli"],
"antigravity": ["antigravity"],
"codex": ["codex"],
"codex": ["codex"],
};
/**
@@ -40,6 +40,9 @@ export function detectClientTool(headers = {}, body = {}) {
// Codex CLI
if (ua.includes("codex-cli")) return "codex";
// DeepSeek TUI
if (ua.includes("deepseek-tui")) return "deepseek-tui";
return null;
}