Commit Graph

64 Commits

Author SHA1 Message Date
delta-cloud-208e
092f956d5b fix: add onboarding_skip patch to v2.1.76 cli.js (27th target)
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>
2026-03-14 10:29:33 +00:00
delta-cloud-208e
81b4046c2f release: Claude Code v2.1.76 (26 patches) 2026-03-14 06:00:39 +00:00
delta-cloud-208e
d602c99b20 fix: fhq_async_disable patch — $ in function name $v1 broke \w+ regex
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>
2026-03-13 20:51:39 +00:00
delta-cloud-208e
e21b65e515 release: Claude Code v2.1.75 (25 patches) 2026-03-13 20:41:02 +00:00
delta-cloud-208e
4bb4019909 release: Claude Code v2.1.75 (25 patches) 2026-03-13 18:06:19 +00:00
delta-cloud-208e
daaa4e4b54 release: Claude Code v2.1.74 (25 patches) 2026-03-13 00:00:22 +00:00
delta-cloud-208e
a31ccd07f7 release: Claude Code v2.1.74 (25 patches) 2026-03-12 06:01:08 +00:00
delta-cloud-208e
95530b3e8b release: Claude Code v2.1.73 (25 patches) 2026-03-12 00:06:46 +00:00
delta-cloud-208e
3d2c79e1be release: Claude Code v2.1.72 (25 patches) 2026-03-11 00:06:13 +00:00
delta-cloud-208e
c253494ae6 release: Claude Code v2.1.72 (25 patches) 2026-03-10 06:02:20 +00:00
delta-cloud-208e
e4da4bdbb0 fix: TOML dotted key bug + PowerShell fallback for all Windows scripts
- codex: add [notice.model_migrations] with quoted keys to prevent
  Codex from writing unquoted dotted keys (gpt-5.4 → gpt-5 → 4)
  which causes "invalid type: map, expected a string" TOML error
- codex_patcher.py: add toml_key() to quote keys with dots,
  handle broken TOML gracefully in read_toml()
- claude install: remove unnecessary Python requirement
- claude update: rewrite as standalone (no git clone dependency)
- gemini update: add Python check with fallback, auth headers
- qwen install: add PowerShell fallback, auth headers, no exit on no Python
- qwen update: add Python check with fallback, auth headers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 08:26:52 +00:00
delta-cloud-208e
72ac0d75a0 chore: fix file permissions (644 → 755)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 07:46:35 +00:00
delta-cloud-208e
1fa1dbae11 feat(claude): add Windows PowerShell installer
Standalone uclaude_install.ps1: auto-install Node.js, npm registry
config, npm install, env vars, settings.json with permissions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 07:39:49 +00:00
delta-cloud-208e
a4632de6da feat: add uninstaller scripts for all tools + restore yolo mode
Uninstallers (.sh + .ps1) for Claude, Gemini, Codex, Qwen:
- Remove npm package / binary
- Remove settings directory (~/.gemini, ~/.qwen, ~/.codex, ~/.claude)
- Remove env vars from bashrc/zshrc, /etc/environment, /etc/profile.d
- Remove npm registry config

Also: restore defaultApprovalMode=yolo (npm package now includes
Target 9a patch in settingsSchema.js)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 07:38:14 +00:00
delta-cloud-208e
32690c9a53 fix: add IS_SANDBOX + BUBBLEWRAP env vars to bypass root check
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>
2026-03-07 09:44:53 +00:00
delta-cloud-208e
15a181f027 release: Claude Code v2.1.71 (25 patches) 2026-03-07 05:42:11 +00:00
delta-cloud-208e
ce1074ada0 release: Claude Code v2.1.70 (25 patches) 2026-03-06 14:49:16 +00:00
delta-cloud-208e
ca09931197 release: Claude Code v2.1.70 (25 patches) 2026-03-06 14:36:10 +00:00
delta-cloud-208e
ece8a8ddeb release: Claude Code v2.1.70 (20 patches) 2026-03-06 06:08:17 +00:00
delta-cloud-208e
43139cb78f release: Claude Code v2.1.69 (20 patches) 2026-03-06 00:08:24 +00:00
delta-cloud-208e
93ec1a5cae release: Claude Code v2.1.69 (20 patches) 2026-03-05 06:04:26 +00:00
delta-cloud-208e
dc7db3dde6 release: Claude Code v2.1.68 (20 patches) 2026-03-05 00:01:19 +00:00
delta-cloud-208e
12bc69ef93 release: Claude Code v2.1.68 (20 patches) 2026-03-04 12:02:13 +00:00
delta-cloud-208e
bd2d365966 release: Claude Code v2.1.66 (20 patches) 2026-03-04 06:04:02 +00:00
delta-cloud-208e
40be204aff release: Claude Code v2.1.63 (20 patches) 2026-03-01 06:19:56 +00:00
delta-cloud-208e
c57832cec1 release: Claude Code v2.1.63 (20 patches) 2026-03-01 06:01:36 +00:00
delta-cloud-208e
e45a11c97d docs: sync all README files to v2.1.62 with correct instructions
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>
2026-02-27 08:30:05 +00:00
delta-cloud-208e
f435c53408 fix: update target_version to 2.1.62 in patcher.config.json
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-02-27 08:13:30 +00:00
delta-cloud-208e
91529ddc6c feat: use npm.sensey24.ru registry for @anthropic-ai/claude-code
- 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>
2026-02-27 08:13:03 +00:00
delta-cloud-208e
010a86fda1 feat: add npm registry install method, update version to v2.1.62
- 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>
2026-02-27 08:04:41 +00:00
delta-cloud-208e
52a9acbe70 release: Claude Code v2.1.62 (20 patches) 2026-02-27 06:00:31 +00:00
delta-cloud-208e
5a717f8fd9 release: Claude Code v2.1.61 (20 patches) 2026-02-27 00:08:21 +00:00
delta-cloud-208e
2d34473378 feat: dynamic Node.js version detection from npm registry
- 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>
2026-02-26 18:47:08 +00:00
delta-cloud-208e
b50ad05d93 feat: use LTS Node.js version for installation
- Replace hardcoded setup_24.x with setup_lts.x for Linux apt/dnf/yum
- Update Windows installer to use Node.js 22 LTS with dynamic version fetch
- Update install messages to reflect LTS instead of specific version
- Fixes: Node.js 24+ requirement causing installation failures on some systems
- Ensures latest LTS version (20.x, 22.x) is used instead of bleeding edge

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-02-26 18:44:31 +00:00
delta-cloud-208e
62b5af8543 fix: correct which claude resolution in find_all_cli_js()
- Handle case where which claude resolves directly to cli.js (not to .bin/claude)
- When claude binary basename is cli.js, add it directly to candidates
- When claude binary is in .bin/, resolve to parent node_modules/@anthropic-ai/claude-code/cli.js
- Fixes: which claude path not being properly included in multi-install patching

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-02-26 18:41:33 +00:00
delta-cloud-208e
ea8ce4f05d feat: patch ALL installed cli.js locations for multi-install support
- Add find_all_cli_js() — discovers all cli.js paths across npm global dirs,
  which claude symlink resolution, and NVM per-user installs
- Update cmd_update() to iterate all found paths and patch each one
- Update ensure_claude_code() to use find_all_cli_js() for install detection
- Fixes: `claude --version` showing old version when multiple Claude Code
  installs exist (e.g. /usr/lib vs /usr/local/lib vs NVM)

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-02-26 18:39:32 +00:00
delta-cloud-208e
ae06a26974 fix: lower Node.js requirement to v18, update repo before running updater
- Changed MIN_NODE_VERSION from (24, 13, 0) to (18, 0, 0) to match Claude Code requirements
- Updated uclaude_install.sh to fetch latest repo before running updater
- Rewrote uclaude_update.ps1 to require v18+ and update repo first
- Added multiple fallback methods for Node.js installation on Windows

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 18:18:48 +00:00
delta-cloud-208e
daab4f8320 release: Claude Code v2.1.59 (20 patches) 2026-02-26 07:08:01 +00:00
delta-cloud-208e
a6d97cb95c release: Claude Code v2.1.59 (20 patches) 2026-02-26 07:08:01 +00:00
delta-cloud-208e
1f3d67af0c release: Claude Code v2.1.53 (20 patches) 2026-02-26 07:08:01 +00:00
chrome-storm-c442
c466223882 fix: use shell=True on Windows for subprocess calls (npm/claude are .cmd)
Without shell=True, subprocess.run(["npm", ...]) fails on Windows because
npm and claude are .cmd batch files, not .exe. Added run_cmd() wrapper that
sets shell=True only on Windows, keeping Linux/macOS behavior unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 06:24:24 -05:00
delta-cloud-208e
4ca665f26f release: Claude Code v2.1.52 (20 patches) 2026-02-24 09:31:41 +00:00
delta-cloud-208e
cbc6e45a10 docs: update file tables — patcher.config.json → patcher.config.example.json
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 14:40:14 +00:00
delta-cloud-208e
7e6f03c1f7 docs: add patcher.config.example.json with placeholder credentials
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 14:38:45 +00:00
delta-cloud-208e
436ef1e637 feat: load_config() fetches from private repo with token auth
- Primary: download from unlimitedcoding-config private repo via API token
- Cache: saves .patcher.config.cache.json for offline fallback
- Legacy fallback: still reads local patcher.config.json if present

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 14:37:52 +00:00
delta-cloud-208e
944e4f2987 fix: move patcher.config.json to private repo, fetch via token auth
Config is now served from private unlimitedcoding-config repo.
Updater fetches it with installer token, caches locally for offline use.
Public repo no longer exposes API endpoint and key.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 14:37:47 +00:00
delta-cloud-208e
bb708e5650 fix: Windows scripts check Node.js version, use winget OpenJS.NodeJS.V24
BAT and PS1 now detect if installed Node is < v24 and suggest/install
the correct v24 package instead of LTS (v22).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 14:04:36 +00:00
delta-cloud-208e
2c00e0327d fix: read version from cli.js bundle instead of package.json
package.json shows npm-installed version (e.g. 2.1.47) while the actual
patched cli.js contains 2.1.50. Now reads "// Version: x.y.z" from the
bundle first, falls back to claude --version, then package.json.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 14:03:35 +00:00
delta-cloud-208e
e98faa7e34 fix: stop updater when Node.js version is wrong, match npm package to patch version
- install_node() now checks ver >= MIN_NODE_VERSION after install (was missing)
- ensure_claude_code() accepts target_version, upgrades npm package if mismatched
- cmd_update() hard-stops with clear message if Node.js can't be upgraded
- Removes stale nodesource apt list before install to prevent version conflicts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 14:01:27 +00:00
delta-cloud-208e
245710dfea fix: use -H Authorization header instead of ?token= in all install commands
Fixes curl "bad/illegal format" error on some systems when ?token= is in URL.
All 8 READMEs + uclaude_install.sh updated to download-then-run approach.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 13:57:04 +00:00