fix: 批量修正 external 字面量

This commit is contained in:
claude-code-best
2026-04-02 17:01:39 +08:00
parent 799dacc407
commit ac1f02958c
31 changed files with 97 additions and 100 deletions

View File

@@ -6,7 +6,7 @@ import { Text, useInterval } from '../ink.js';
// Show DevBar for dev builds or all ants
function shouldShowDevBar(): boolean {
return ("production" as string) === 'development' || ("external" as string) === 'ant';
return ("production" as string) === 'development' || (process.env.USER_TYPE) === 'ant';
}
export function DevBar() {
const $ = _c(5);