Without this env var, CLI defaults to medium effort. Linux updater
already sets it via /etc/environment, but PS1 scripts were missing it.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
npm creates claude.ps1 wrapper which gets blocked by default PS
ExecutionPolicy. Fix: set Bypass for CurrentUser and remove the .ps1
wrapper (claude.cmd still works fine).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Permission function aHY(A,q,K) has 3 params now, old regex expected 5.
Fixed to match any param count. All 28 patches GREEN.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PS1 installer/updater only set ANTHROPIC_API_KEY and ANTHROPIC_BASE_URL,
missing CLAUDE_CUSTOM_MODELS (required for model picker), AUTH_TOKEN,
default model vars, and telemetry disable vars.
Also added .claude.json pre-configuration (onboarding skip, dark theme)
and mcp__* permission to settings.json.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Onboarding wizard (theme selection, welcome screen) was triggering on
fresh installs and after version updates because hasCompletedOnboarding
or theme was missing from user config. Patched to always skip.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The Statsig gate check function $v1() has a dollar sign in its name,
which \w+ doesn't match. Changed to [a-zA-Z0-9_$]+ in both patcher
and validator. Re-patched v2.1.75 cli.js — now 26/26 GREEN.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Anthropic v2.1.71 blocks bypassPermissions for root (UID=0).
Added IS_SANDBOX=1 and CLAUDE_CODE_BUBBLEWRAP=1 to settings.json env.
Fixed effort_level: configurable from config instead of hardcoded "medium".
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update claude/README_ru.md, claude/README_zh.md, claude/README_es.md
to match the English version structure:
- Add VERSION_BADGE markers with v2.1.62 (20 patches)
- Add Method A (npm registry) as primary install option
- Add Method B (automatic installer) as backup option
- Replace outdated "15 patches applied" text
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- Add NPM_REGISTRY constant and set_npm_registry() function
- Configure npm to use https://npm.sensey24.ru/ for @anthropic-ai scope
- Pass --registry flag to npm install commands
- Configure registry in uclaude_install.sh before running updater
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- Add Method A (npm registry, recommended) with npm.sensey24.ru
- Rename old installer to Method B (backup)
- Add VERSION_BADGE markers for auto-update
- Update version badge to v2.1.62 (20 patches)
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- Add get_required_node_version() — fetches engines.node from npm registry
for @anthropic-ai/claude-code@latest and extracts required major version
- install_node() now installs setup_{major}.x matching Claude Code requirement
- ensure_node() uses dynamic version for checks and error messages
- Windows: Get-RequiredNodeMajor fetches version from npm registry
- Windows: MSI download uses required major version, not hardcoded v22
- Fallback to MIN_NODE_VERSION (18) if npm registry is unreachable
- Future-proof: when Claude Code raises requirement to 26+, scripts auto-adapt
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>