From 02fe3f25094a48fac0214e00ae94a727c87c7850 Mon Sep 17 00:00:00 2001 From: Rohit Ghumare <48523873+rohitg00@users.noreply.github.com> Date: Tue, 7 Apr 2026 11:52:16 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20TUI=20uses=20hardcoded=20AgentType=20?= =?UTF-8?q?=E2=80=94=20import=20from=20@skillkit/core=20instead?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The TUI had a manually-maintained 44-agent AgentType union in translator.service.ts that fell out of sync when openclaw was added to core. Replace with re-export from @skillkit/core so it stays in sync automatically. Fixes CI typecheck failure from #86. --- .../tui/src/services/translator.service.ts | 47 +------------------ 1 file changed, 2 insertions(+), 45 deletions(-) diff --git a/packages/tui/src/services/translator.service.ts b/packages/tui/src/services/translator.service.ts index d99e85c8..cae84585 100644 --- a/packages/tui/src/services/translator.service.ts +++ b/packages/tui/src/services/translator.service.ts @@ -1,48 +1,5 @@ -export type AgentType = - | 'claude-code' - | 'cursor' - | 'windsurf' - | 'github-copilot' - | 'codex' - | 'gemini-cli' - | 'opencode' - | 'universal' - | 'antigravity' - | 'amp' - | 'clawdbot' - | 'droid' - | 'goose' - | 'kilo' - | 'kiro-cli' - | 'roo' - | 'trae' - | 'cline' - | 'codebuddy' - | 'commandcode' - | 'continue' - | 'crush' - | 'factory' - | 'mcpjam' - | 'mux' - | 'neovate' - | 'openhands' - | 'pi' - | 'qoder' - | 'qwen' - | 'vercel' - | 'zencoder' - | 'devin' - | 'aider' - | 'sourcegraph-cody' - | 'amazon-q' - | 'augment-code' - | 'replit-agent' - | 'bolt' - | 'lovable' - | 'tabby' - | 'tabnine' - | 'codegpt' - | 'playcode-agent'; +import type { AgentType } from '@skillkit/core'; +export type { AgentType }; export interface TranslationDisplay { sourceFormat: string;