From ced5080019be56b236bf60a50cdabd6f4f8e4e8c Mon Sep 17 00:00:00 2001 From: claude-code-best Date: Mon, 6 Apr 2026 10:11:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BC=80=E5=90=AF=E9=BC=A0=E6=A0=87?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/notifs/useNpmDeprecationNotification.tsx | 2 +- src/utils/fullscreen.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/notifs/useNpmDeprecationNotification.tsx b/src/hooks/notifs/useNpmDeprecationNotification.tsx index ddcb68d82..e6d62bff7 100644 --- a/src/hooks/notifs/useNpmDeprecationNotification.tsx +++ b/src/hooks/notifs/useNpmDeprecationNotification.tsx @@ -4,7 +4,7 @@ import { isEnvTruthy } from 'src/utils/envUtils.js' import { useStartupNotification } from './useStartupNotification.js' const NPM_DEPRECATION_MESSAGE = - 'Claude Code has switched from npm to native installer. Run `claude install` or see https://docs.anthropic.com/en/docs/claude-code/getting-started for more options.' + '' export function useNpmDeprecationNotification(): void { useStartupNotification(async () => { diff --git a/src/utils/fullscreen.ts b/src/utils/fullscreen.ts index 9d344177f..be6c3c0bc 100644 --- a/src/utils/fullscreen.ts +++ b/src/utils/fullscreen.ts @@ -125,7 +125,7 @@ export function isFullscreenEnvEnabled(): boolean { } return false } - return process.env.USER_TYPE === 'ant' + return true } /**