diff --git a/UPSTREAM_SYNC.md b/UPSTREAM_SYNC.md index 205fc028c7..58bdca2fa9 100644 --- a/UPSTREAM_SYNC.md +++ b/UPSTREAM_SYNC.md @@ -53,6 +53,20 @@ em volta. Use `git grep "VERBOO-BRAND"` para localizar todos os pontos editados. - `src/commands/provider/` — arquivos **NÃO foram deletados** (upstream continua mexendo neles; deletar gera conflitos "deleted file modified upstream"). +#### Nada da Anthropic na inicialização +- `src/utils/plugins/officialMarketplaceStartupCheck.ts` — + `checkAndInstallNativeMarketplaces` não instala `claude-plugins-official` + (sob demanda: instalar um plugin dela ou `/lsp recommend` ainda funcionam). +- `src/utils/plugins/schemas.ts` — `isMarketplaceAutoUpdate`: só a loja da + Verboo se atualiza sozinha por padrão. +- `src/utils/nativeInstaller/installer.ts` — `NATIVE_BUILDS_PUBLISHED = false`: + `installLatest`, `cleanupNpmInstallations` e `manualRemoveNpmPackage` não + baixam, desinstalam nem apagam nada. +- `src/utils/nativeInstaller/download.ts` e `src/utils/autoUpdater.ts` — + `GCS_BUCKET_URL = ''` (o bucket upstream é o do Claude Code). +- `src/utils/doctorDiagnostic.ts` — só procura `MACRO.PACKAGE_URL`; nunca + sugere desinstalar `@anthropic-ai/claude-code`. + #### Mensagens reescritas - `src/utils/providerValidation.ts` (3 ocorrências) - `src/services/api/withRetry.ts` diff --git a/scripts/verify-no-phone-home.ts b/scripts/verify-no-phone-home.ts index 843c5f338b..d901f958bb 100644 --- a/scripts/verify-no-phone-home.ts +++ b/scripts/verify-no-phone-home.ts @@ -13,6 +13,9 @@ const BANNED_PATTERNS = [ 'infra.ant.dev', 'claude-code-feedback', 'C07VBSHV7EV', + // Anthropic's Claude Code release buckets: there are no native @verboo/code builds. + 'claude-code-dist-86c565f3', + 'claude-code-ci-sentinel', ] as const if (!existsSync(DIST)) { diff --git a/src/services/mcp/officialRegistry.test.ts b/src/services/mcp/officialRegistry.test.ts index 75ab4f0493..ac9da903b5 100644 --- a/src/services/mcp/officialRegistry.test.ts +++ b/src/services/mcp/officialRegistry.test.ts @@ -46,7 +46,8 @@ describe('prefetchOfficialMcpUrls', () => { expect(getSpy).not.toHaveBeenCalled() }) - test('fetches registry in first-party mode', async () => { + // VERBOO-BRAND: startup does not call Anthropic, even in first-party mode. + test('never fetches the registry', async () => { delete process.env.CLAUDE_CODE_USE_OPENAI delete process.env.CLAUDE_CODE_USE_GEMINI delete process.env.CLAUDE_CODE_USE_GITHUB @@ -66,7 +67,7 @@ describe('prefetchOfficialMcpUrls', () => { const { prefetchOfficialMcpUrls, isOfficialMcpUrl } = await importFreshModule() await prefetchOfficialMcpUrls() - expect(getSpy).toHaveBeenCalledTimes(1) - expect(isOfficialMcpUrl('https://example.com/mcp')).toBe(true) + expect(getSpy).not.toHaveBeenCalled() + expect(isOfficialMcpUrl('https://example.com/mcp')).toBe(false) }) }) diff --git a/src/services/mcp/officialRegistry.ts b/src/services/mcp/officialRegistry.ts index 114f72b96e..5b62c77581 100644 --- a/src/services/mcp/officialRegistry.ts +++ b/src/services/mcp/officialRegistry.ts @@ -1,4 +1,5 @@ import axios from 'axios' +import { isVerbooMode } from '../../constants/oauth.js' import { logForDebugging } from '../../utils/debug.js' import { errorMessage } from '../../utils/errors.js' import { getAPIProvider } from '../../utils/model/providers.js' @@ -36,6 +37,12 @@ export async function prefetchOfficialMcpUrls(): Promise { return } + // VERBOO-BRAND: nothing calls Anthropic at startup. The only consumer of this + // list is analytics metadata, which Verboo does not send. + if (isVerbooMode()) { + return + } + // The official first-party MCP registry is only relevant for first-party mode. if (getAPIProvider() !== 'firstParty') { return diff --git a/src/services/mcp/officialRegistry.verboo.test.ts b/src/services/mcp/officialRegistry.verboo.test.ts new file mode 100644 index 0000000000..74fcaca370 --- /dev/null +++ b/src/services/mcp/officialRegistry.verboo.test.ts @@ -0,0 +1,20 @@ +import { afterEach, expect, spyOn, test } from 'bun:test' +import axios from 'axios' + +import { isOfficialMcpUrl, prefetchOfficialMcpUrls } from './officialRegistry.js' + +const savedTraffic = process.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC + +afterEach(() => { + if (savedTraffic === undefined) delete process.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC + else process.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC = savedTraffic +}) + +test('startup does not call the Anthropic MCP registry', async () => { + delete process.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC + const get = spyOn(axios, 'get') + await prefetchOfficialMcpUrls() + expect(get).not.toHaveBeenCalled() + expect(isOfficialMcpUrl('https://example.com/mcp')).toBe(false) + get.mockRestore() +}) diff --git a/src/services/plugins/pluginOperations.ts b/src/services/plugins/pluginOperations.ts index d1c1829bd6..d0dee244b9 100644 --- a/src/services/plugins/pluginOperations.ts +++ b/src/services/plugins/pluginOperations.ts @@ -11,6 +11,8 @@ * - Return result objects indicating success/failure with messages * - Can throw errors for unexpected failures */ +import { OFFICIAL_MARKETPLACE_NAME } from '../../utils/plugins/officialMarketplace.js' +import { checkAndInstallOfficialMarketplace } from '../../utils/plugins/officialMarketplaceStartupCheck.js' import { dirname, join } from 'path' import { getOriginalCwd } from '../../bootstrap/state.js' import { isBuiltinPluginId } from '../../plugins/builtinPlugins.js' @@ -345,6 +347,21 @@ export async function installPluginOp( } } + // VERBOO-BRAND: Anthropic's marketplace is on demand, not fetched at startup. + // Installing a plugin from it is the explicit request that brings it in. + if (marketplaceName?.toLowerCase() === OFFICIAL_MARKETPLACE_NAME) { + const result = await checkAndInstallOfficialMarketplace() + if (!result.installed && result.reason !== 'already_installed') { + return { + success: false, + message: + `Could not add the "${OFFICIAL_MARKETPLACE_NAME}" marketplace to install "${pluginName}"` + + (result.reason ? ` (${result.reason})` : '') + + `. Add it with /plugin marketplace add and try again.`, + } + } + } + // ── Search materialized marketplaces for the plugin ── let foundPlugin: PluginMarketplaceEntry | undefined let foundMarketplace: string | undefined diff --git a/src/utils/autoUpdater.ts b/src/utils/autoUpdater.ts index 92f5d52862..919a5afba4 100644 --- a/src/utils/autoUpdater.ts +++ b/src/utils/autoUpdater.ts @@ -29,8 +29,9 @@ import { } from './shellConfig.js' import { jsonParse } from './slowOperations.js' -const GCS_BUCKET_URL = - 'https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases' +// VERBOO-BRAND: o bucket upstream é o do Claude Code; o @verboo/code é +// publicado só no npm, então não há canal GCS para consultar. +const GCS_BUCKET_URL = '' class AutoUpdaterError extends ClaudeError {} @@ -428,6 +429,7 @@ export async function getNpmDistTags(): Promise { export async function getLatestVersionFromGcs( channel: ReleaseChannel, ): Promise { + if (!GCS_BUCKET_URL) return null // VERBOO-BRAND try { const response = await axios.get(`${GCS_BUCKET_URL}/${channel}`, { timeout: 5000, diff --git a/src/utils/doctorDiagnostic.ts b/src/utils/doctorDiagnostic.ts index fe0889889e..b4958073fb 100644 --- a/src/utils/doctorDiagnostic.ts +++ b/src/utils/doctorDiagnostic.ts @@ -258,7 +258,8 @@ export function getInvokedBinary(): string { } } -async function detectMultipleInstallations(): Promise< +// VERBOO-BRAND: exportada para testar que o Claude Code do usuário não vira "órfão". +export async function detectMultipleInstallations(): Promise< Array<{ type: string; path: string }> > { const fs = getFsImplementation() @@ -271,8 +272,10 @@ async function detectMultipleInstallations(): Promise< } // Check for global npm installation - const packagesToCheck = ['@anthropic-ai/claude-code'] - if (MACRO.PACKAGE_URL && MACRO.PACKAGE_URL !== '@anthropic-ai/claude-code') { + // VERBOO-BRAND: só o próprio pacote. Um @anthropic-ai/claude-code instalado é + // outro produto do usuário, não uma instalação da Verboo. + const packagesToCheck: string[] = [] + if (MACRO.PACKAGE_URL) { packagesToCheck.push(MACRO.PACKAGE_URL) } const npmResult = await execFileNoThrow('npm', [ @@ -578,13 +581,8 @@ export async function getDoctorDiagnostic(): Promise { for (const install of npmInstalls) { if (install.type === 'npm-global') { - let uninstallCmd = 'npm -g uninstall @anthropic-ai/claude-code' - if ( - MACRO.PACKAGE_URL && - MACRO.PACKAGE_URL !== '@anthropic-ai/claude-code' - ) { - uninstallCmd += ` && npm -g uninstall ${MACRO.PACKAGE_URL}` - } + // VERBOO-BRAND: nunca sugerir desinstalar o Claude Code do usuário. + const uninstallCmd = `npm -g uninstall ${MACRO.PACKAGE_URL}` warnings.push({ issue: `Leftover npm global installation at ${install.path}`, fix: `Run: ${uninstallCmd}`, @@ -622,7 +620,8 @@ export async function getDoctorDiagnostic(): Promise { if (!hasUpdatePermissions && !getAutoUpdaterDisabledReason()) { warnings.push({ issue: 'Insufficient permissions for auto-updates', - fix: `Do one of: (1) Re-install node without sudo, or (2) Use \`${getCliBinaryName()} install\` for native installation`, + // VERBOO-BRAND: não há instalação nativa; orientar um prefixo npm do usuário. + fix: 'Do one of: (1) Re-install node without sudo, or (2) Point npm to a user-writable prefix (npm config set prefix ~/.local) and reinstall', }) } } diff --git a/src/utils/doctorDiagnostic.verboo.test.ts b/src/utils/doctorDiagnostic.verboo.test.ts new file mode 100644 index 0000000000..9c243c7bf5 --- /dev/null +++ b/src/utils/doctorDiagnostic.verboo.test.ts @@ -0,0 +1,59 @@ +/** + * VERBOO-BRAND: `verboo doctor` must only look for @verboo/code. A globally + * installed @anthropic-ai/claude-code is the user's other product and must + * never be reported as a leftover/orphaned Verboo installation. + */ +import { afterEach, expect, mock, test } from 'bun:test' +import { mkdirSync, mkdtempSync, rmSync } from 'fs' +import { tmpdir } from 'os' +import { join } from 'path' +import * as realLocalInstaller from './localInstaller.js' + +const originalMacro = (globalThis as Record).MACRO +let prefix: string | undefined + +afterEach(() => { + ;(globalThis as Record).MACRO = originalMacro + if (prefix) rmSync(prefix, { recursive: true, force: true }) + prefix = undefined + mock.restore() +}) + +async function detectWithGlobalPackages(packages: string[]) { + prefix = mkdtempSync(join(tmpdir(), 'verboo-doctor-')) + for (const name of packages) { + mkdirSync(join(prefix, 'lib', 'node_modules', name), { recursive: true }) + } + ;(globalThis as Record).MACRO = { PACKAGE_URL: '@verboo/code' } + const npmPrefix = prefix + mock.module('./execFileNoThrow.js', () => ({ + execFileNoThrow: async () => ({ code: 0, stdout: `${npmPrefix}\n`, stderr: '' }), + })) + mock.module('./localInstaller.js', () => ({ + ...realLocalInstaller, + getDetectedLocalInstallDir: async () => null, + })) + const { detectMultipleInstallations } = await import( + `./doctorDiagnostic.ts?ts=${Date.now()}-${Math.random()}` + ) + const installations = (await detectMultipleInstallations()) as Array<{ type: string; path: string }> + // Native/local entries depend on the machine running the test; only the npm + // prefix built above is under test here. + return installations.filter(installation => installation.type.startsWith('npm-global')) +} + +test('an installed Claude Code is not reported as a Verboo installation', async () => { + const installations = await detectWithGlobalPackages(['@anthropic-ai/claude-code']) + expect(installations).toEqual([]) +}) + +test('an orphaned @verboo/code package is still reported', async () => { + const installations = await detectWithGlobalPackages([ + '@anthropic-ai/claude-code', + '@verboo/code', + ]) + expect(installations.map(installation => installation.type)).toEqual([ + 'npm-global-orphan', + ]) + expect(installations[0]?.path).toEndWith(join('node_modules', '@verboo', 'code')) +}) diff --git a/src/utils/nativeInstaller/download.ts b/src/utils/nativeInstaller/download.ts index 71316bcfd4..f1a125dc3a 100644 --- a/src/utils/nativeInstaller/download.ts +++ b/src/utils/nativeInstaller/download.ts @@ -22,8 +22,9 @@ import { sleep } from '../sleep.js' import { jsonStringify, writeFileSync_DEPRECATED } from '../slowOperations.js' import { getBinaryName, getPlatform } from './installer.js' -const GCS_BUCKET_URL = - 'https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases' +// VERBOO-BRAND: o bucket upstream é o do Claude Code. Não há binários do +// @verboo/code publicados, então nenhuma URL de download existe aqui. +const GCS_BUCKET_URL = '' export const ARTIFACTORY_REGISTRY_URL = process.env.CLAUDE_CODE_INTERNAL_ARTIFACTORY_REGISTRY_URL ?? '' @@ -148,6 +149,7 @@ export async function getLatestVersion( } // Use GCS for external users + if (!GCS_BUCKET_URL) return null // VERBOO-BRAND: sem builds nativos publicados return getLatestVersionFromBinaryRepo(channel, GCS_BUCKET_URL) } @@ -506,7 +508,7 @@ export async function downloadVersion( await downloadVersionFromBinaryRepo( version, stagingPath, - 'https://storage.googleapis.com/claude-code-ci-sentinel', + '', // VERBOO-BRAND: sentinel de CI da Anthropic removido { headers: { Authorization: `Bearer ${stdout.trim()}` } }, ) return 'binary' @@ -519,6 +521,10 @@ export async function downloadVersion( } // Use GCS for external users + if (!GCS_BUCKET_URL) { + // VERBOO-BRAND + throw new Error('Native binaries are not published for @verboo/code; install it with npm.') + } await downloadVersionFromBinaryRepo(version, stagingPath, GCS_BUCKET_URL) return 'binary' } diff --git a/src/utils/nativeInstaller/installer.ts b/src/utils/nativeInstaller/installer.ts index 891e2cf282..e2016ffa28 100644 --- a/src/utils/nativeInstaller/installer.ts +++ b/src/utils/nativeInstaller/installer.ts @@ -948,6 +948,9 @@ export async function checkInstall( return messages } +// VERBOO-BRAND: @verboo/code só é publicado no npm; não há binários nativos. +const NATIVE_BUILDS_PUBLISHED = false + type InstallLatestResult = { latestVersion: string | null wasUpdated: boolean @@ -966,6 +969,12 @@ export function installLatest( channelOrVersion: string, forceReinstall: boolean = false, ): Promise { + // VERBOO-BRAND: não existe build nativo do @verboo/code. O caminho upstream + // baixava o binário do Claude Code do bucket da Anthropic; aqui nada é + // baixado nem instalado (a CLI é distribuída pelo npm). + if (!NATIVE_BUILDS_PUBLISHED) { + return Promise.resolve({ latestVersion: null, wasUpdated: false }) + } if (forceReinstall) { return installLatestImpl(channelOrVersion, forceReinstall) } @@ -1559,6 +1568,9 @@ export async function cleanupShellAliases(): Promise { async function manualRemoveNpmPackage( packageName: string, ): Promise<{ success: boolean; error?: string; warning?: string }> { + // VERBOO-BRAND: nunca remove pacotes nem binários (podia apagar + // /bin/claude do Claude Code do usuário). + if (!NATIVE_BUILDS_PUBLISHED) return { success: false } try { // Get npm global prefix const prefixResult = await execFileNoThrowWithCwd('npm', [ @@ -1692,6 +1704,9 @@ export async function cleanupNpmInstallations(): Promise<{ errors: string[] warnings: string[] }> { + // VERBOO-BRAND: a limpeza upstream desinstalava @anthropic-ai/claude-code e o + // próprio @verboo/code. Sem build nativo, não há nada a limpar. + if (!NATIVE_BUILDS_PUBLISHED) return { removed: 0, errors: [], warnings: [] } const errors: string[] = [] const warnings: string[] = [] let removed = 0 diff --git a/src/utils/openclaudeInstallSurfaces.test.ts b/src/utils/openclaudeInstallSurfaces.test.ts index 90fab90e83..c3e9a3e09f 100644 --- a/src/utils/openclaudeInstallSurfaces.test.ts +++ b/src/utils/openclaudeInstallSurfaces.test.ts @@ -43,8 +43,12 @@ test('install command displays verboo-code\\bin\\verboo on Windows', async () => expect(getInstallationPath()).toBe('verboo-code\\bin\\verboo') }) -test('cleanupNpmInstallations removes Verboo local install dir', async () => { +// VERBOO-BRAND: there is no native build of @verboo/code. The upstream cleanup +// uninstalled @anthropic-ai/claude-code and @verboo/code and the installer +// downloaded Claude Code from Anthropic's bucket; both must now do nothing. +test('cleanupNpmInstallations never uninstalls or deletes anything', async () => { const removedPaths: string[] = [] + const commands: string[][] = [] ;(globalThis as Record).MACRO = { PACKAGE_URL: '@verboo/code', } @@ -54,13 +58,20 @@ test('cleanupNpmInstallations removes Verboo local install dir', async () => { rm: async (path: string) => { removedPaths.push(path) }, + unlink: async (path: string) => { + removedPaths.push(path) + }, })) mock.module('./execFileNoThrow.js', () => ({ - execFileNoThrowWithCwd: async () => ({ - code: 1, - stderr: 'npm ERR! code E404', - }), + execFileNoThrowWithCwd: async (file: string, args: string[]) => { + commands.push([file, ...args]) + return { code: 0, stdout: '', stderr: '' } + }, + execFileNoThrow: async (file: string, args: string[]) => { + commands.push([file, ...args]) + return { code: 0, stdout: '', stderr: '' } + }, })) mock.module('./envUtils.js', () => ({ @@ -69,8 +80,38 @@ test('cleanupNpmInstallations removes Verboo local install dir', async () => { })) const { cleanupNpmInstallations } = await importFreshInstaller() - await cleanupNpmInstallations() + expect(await cleanupNpmInstallations()).toEqual({ + removed: 0, + errors: [], + warnings: [], + }) + expect(removedPaths).toEqual([]) + expect(commands).toEqual([]) +}) - expect(removedPaths).toContain(join(homedir(), '.verboo', 'local')) - expect(removedPaths).not.toContain(join(homedir(), '.claude', 'local')) +test('installLatest resolves without downloading anything', async () => { + let requests = 0 + const previousFetch = globalThis.fetch + globalThis.fetch = (async () => { + requests += 1 + return new Response('') + }) as unknown as typeof fetch + mock.module('axios', () => ({ + default: { + get: async () => { + requests += 1 + return { data: '' } + }, + }, + })) + try { + const { installLatest } = await importFreshInstaller() + expect(await installLatest('latest', true)).toEqual({ + latestVersion: null, + wasUpdated: false, + }) + expect(requests).toBe(0) + } finally { + globalThis.fetch = previousFetch + } }) diff --git a/src/utils/plugins/officialMarketplace.test.ts b/src/utils/plugins/officialMarketplace.test.ts index e9fb23ab59..fdf8696049 100644 --- a/src/utils/plugins/officialMarketplace.test.ts +++ b/src/utils/plugins/officialMarketplace.test.ts @@ -55,4 +55,13 @@ describe('native marketplace sources', () => { test('enables automatic updates for the Verboo marketplace by default', () => { expect(isMarketplaceAutoUpdate(VERBOO_MARKETPLACE_NAME, {})).toBe(true) }) + + // VERBOO-BRAND: Anthropic marketplaces are on demand; they only auto-update + // when the user explicitly turned it on. + test('does not auto-update Anthropic marketplaces unless the user opts in', () => { + expect(isMarketplaceAutoUpdate(CLAUDE_MARKETPLACE_NAME, {})).toBe(false) + expect(isMarketplaceAutoUpdate('anthropic-plugins', {})).toBe(false) + expect(isMarketplaceAutoUpdate(CLAUDE_MARKETPLACE_NAME, { autoUpdate: true })).toBe(true) + expect(isMarketplaceAutoUpdate(VERBOO_MARKETPLACE_NAME, { autoUpdate: false })).toBe(false) + }) }) diff --git a/src/utils/plugins/officialMarketplaceStartupCheck.test.ts b/src/utils/plugins/officialMarketplaceStartupCheck.test.ts index 01f2c0ecbf..1740dbcd6e 100644 --- a/src/utils/plugins/officialMarketplaceStartupCheck.test.ts +++ b/src/utils/plugins/officialMarketplaceStartupCheck.test.ts @@ -323,7 +323,9 @@ describe('checkAndInstallVerbooMarketplace', () => { ).toBe(true) }) - test('keeps installing Claude when the Verboo request fails', async () => { + // VERBOO-BRAND: the Anthropic marketplace is on demand only; startup never + // installs or downloads it, whatever happens to the Verboo request. + test('never contacts the Claude marketplace at startup', async () => { addMarketplaceSource.mockImplementationOnce(async () => { throw new Error('Verboo endpoint unavailable') }) @@ -335,7 +337,11 @@ describe('checkAndInstallVerbooMarketplace', () => { skipped: true, reason: 'unknown', }) - expect(result.claude).toEqual({ installed: true, skipped: false }) - expect(fetchOfficialMarketplaceFromGcs).toHaveBeenCalled() + expect(result.claude).toEqual({ + installed: false, + skipped: true, + reason: 'policy_blocked', + }) + expect(fetchOfficialMarketplaceFromGcs).not.toHaveBeenCalled() }) }) diff --git a/src/utils/plugins/officialMarketplaceStartupCheck.ts b/src/utils/plugins/officialMarketplaceStartupCheck.ts index 02d2401aa5..007f372662 100644 --- a/src/utils/plugins/officialMarketplaceStartupCheck.ts +++ b/src/utils/plugins/officialMarketplaceStartupCheck.ts @@ -350,7 +350,14 @@ export type NativeMarketplaceCheckResults = { */ export async function checkAndInstallNativeMarketplaces(): Promise { const verboo = await checkAndInstallVerbooMarketplace() - const claude = await checkAndInstallOfficialMarketplace() + // VERBOO-BRAND: a loja da Anthropic é só sob demanda — nada é baixado na + // inicialização. Ela é instalada quando o usuário instala um plugin dela + // (ou roda /lsp recommend), via checkAndInstallOfficialMarketplace. + const claude: OfficialMarketplaceCheckResult = { + installed: false, + skipped: true, + reason: 'policy_blocked', + } return { verboo, claude } } diff --git a/src/utils/plugins/schemas.ts b/src/utils/plugins/schemas.ts index 1000027507..0c8772d8e5 100644 --- a/src/utils/plugins/schemas.ts +++ b/src/utils/plugins/schemas.ts @@ -55,9 +55,13 @@ export function isMarketplaceAutoUpdate( entry: { autoUpdate?: boolean }, ): boolean { const normalizedName = marketplaceName.toLowerCase() + // VERBOO-BRAND: só a loja da Verboo se atualiza sozinha por padrão. As lojas + // da Anthropic são sob demanda: atualizam quando o usuário pede ou quando + // ele mesmo liga autoUpdate. return ( entry.autoUpdate ?? - (ALLOWED_OFFICIAL_MARKETPLACE_NAMES.has(normalizedName) && + (normalizedName === VERBOO_MARKETPLACE_NAME && + ALLOWED_OFFICIAL_MARKETPLACE_NAMES.has(normalizedName) && !NO_AUTO_UPDATE_OFFICIAL_MARKETPLACES.has(normalizedName)) ) }