mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-17 13:55:50 +00:00
feat: 绕过 Claude Code 内的 claude 的账号需要; 但是浏览器扩展还是要权限
This commit is contained in:
@@ -21,14 +21,7 @@ async function _temp() {
|
||||
if (!shouldEnableClaudeInChrome(chromeFlag)) {
|
||||
return null;
|
||||
}
|
||||
if (true && !isClaudeAISubscriber()) {
|
||||
return {
|
||||
key: "chrome-requires-subscription",
|
||||
jsx: <Text color="error">Claude in Chrome requires a claude.ai subscription</Text>,
|
||||
priority: "immediate",
|
||||
timeoutMs: 5000
|
||||
};
|
||||
}
|
||||
// Subscription check bypassed
|
||||
const installed = await isChromeExtensionInstalled();
|
||||
if (!installed && !isRunningOnHomespace()) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user