Commit Graph

249 Commits

Author SHA1 Message Date
delta-cloud-208e
04b402e287 release: Claude Code v2.1.81 (28 patches) 2026-03-23 00:04:46 +00:00
delta-cloud-208e
2ababa774f release: Claude Code v2.1.81 (28 patches) 2026-03-22 06:02:26 +00:00
delta-cloud-208e
82190e5106 release: Gemini CLI v0.34.0 (6 patches) 2026-03-22 03:10:30 +00:00
delta-cloud-208e
ed4ccd8602 release: Claude Code v2.1.81 (28 patches) 2026-03-22 00:07:48 +00:00
delta-cloud-208e
8f8b931a26 release: Claude Code v2.1.81 (28 patches) 2026-03-22 00:06:55 +00:00
delta-cloud-208e
0fbd24a93b release: Gemini CLI v0.34.0 (6 patches) 2026-03-21 03:05:34 +00:00
delta-cloud-208e
5370a84e9d release: Claude Code v2.1.81 (28 patches) 2026-03-21 00:03:44 +00:00
delta-cloud-208e
8ef60d9f30 release: Gemini CLI v0.34.0 (6 patches) 2026-03-20 03:01:22 +00:00
delta-cloud-208e
de5c9334db feat(codex): auto-update to v0.116.0
Binary: 0.115.0 -> 0.116.0
Config synced from claude_code_patcher.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 02:09:12 +00:00
delta-cloud-208e
9d1e4d86a4 release: Claude Code v2.1.80 (28 patches) 2026-03-20 00:04:03 +00:00
delta-cloud-208e
15ff3b77f9 release: Claude Code v2.1.79 (28 patches) 2026-03-19 06:09:00 +00:00
delta-cloud-208e
38b759befa release: Gemini CLI v0.34.0 (6 patches) 2026-03-19 03:08:45 +00:00
delta-cloud-208e
4a7bfbd231 release: Claude Code v2.1.79 (28 patches) 2026-03-19 00:09:50 +00:00
delta-cloud-208e
77aa5bdcb8 release: Gemini CLI v0.34.0 (6 patches) 2026-03-18 03:00:58 +00:00
delta-cloud-208e
665a414673 release: Claude Code v2.1.78 (28 patches) 2026-03-18 00:01:11 +00:00
delta-cloud-208e
58f7a95cd3 release: Claude Code v2.1.77 (28 patches) 2026-03-17 06:02:45 +00:00
delta-cloud-208e
fc38e83542 release: Gemini CLI v0.33.2 (6 patches) 2026-03-17 03:00:56 +00:00
delta-cloud-208e
72cb50a166 feat(codex): auto-update to v0.115.0
Binary: 0.114.0 -> 0.115.0
Config synced from claude_code_patcher.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 02:02:39 +00:00
delta-cloud-208e
f24f8a0ebd release: Gemini CLI v0.33.1 (6 patches) 2026-03-16 03:04:12 +00:00
delta-cloud-208e
752a2625bb release: Gemini CLI v0.33.1 (6 patches) 2026-03-15 03:02:17 +00:00
delta-cloud-208e
7317595c2f fix: add onboarding_skip + auth_conflict_disable to v2.1.76 (28 targets)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 10:40:10 +00:00
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
c9439a9909 release: Gemini CLI v0.33.1 (6 patches) 2026-03-14 03:04:13 +00:00
delta-cloud-208e
5525f6009a chore: change codex default reasoning effort from high to xhigh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 22:39:55 +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
5ddf29ab12 release: Gemini CLI v0.33.1 (6 patches) 2026-03-13 20:11:43 +00:00
delta-cloud-208e
073cb7b18d feat(codex): auto-update to v0.114.0
Binary: 0.111.0 -> 0.114.0
Config synced from claude_code_patcher.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 20:11:36 +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
df264a42ed fix(codex): remove unused import stat
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 11:57:18 +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
acd21cbcf0 fix(codex): model_catalog_json pointed to /var/root for all users
Root cause: generate_config_toml() used os.path.expanduser("~") which
always returns root's home under sudo. Every user's config.toml had
model_catalog_json = "/var/root/.codex/model_catalog.json" → Permission denied.

Fix: pass home_dir to generate_config_toml() so each user gets their own path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 18:38:00 +00:00
delta-cloud-208e
c8c56b58b7 fix(codex): force chown+chmod on all user .codex dirs after install
Previous chown was unreliable — stat-based owner detection, missing
chmod, SUDO_USER edge cases. Now: simple loop over /Users/* (macOS)
or /home/* (Linux), chown -R + chmod -R u+rwX for each.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 18:34:22 +00:00
delta-cloud-208e
2a585ec758 fix(codex): clean broken config.toml before patching + fix macOS user discovery
- Delete config.toml with double-quoted keys bug before regenerating
- Replace pwd.getpwall() with /Users/* scan on macOS (Directory Services unreliable)
- Proper chown via stat of home directory

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 18:31:13 +00:00
delta-cloud-208e
1f827cc9d8 fix(codex): replace pwd.getpwall() with directory scan for macOS
macOS Directory Services makes pwd.getpwall() unreliable — regular users
may not be returned. Now scans /Users/* directly on macOS, /home/* on Linux.
Also fixes chown to use actual directory ownership.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 18:28:10 +00:00
delta-cloud-208e
b27c0cd65e fix(codex): fix permission denied for non-root users
- chown -R ~/.codex/ to actual user after patching (sudo creates as root)
- Detect SUDO_USER for the invoking user
- Iterate /Users/*/.codex (macOS) and /home/*/.codex (Linux) to fix all

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 18:24:07 +00:00
delta-cloud-208e
495ce916b3 fix(codex): fix TOML parser double-quoting section keys + add macOS trust paths
- Minimal TOML parser (Python < 3.11 fallback) now strips quotes from section
  keys like [projects."/home"] — prevents double-quoting on re-parse
- Add /Users and /var/root to trust_paths on macOS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 17:58:17 +00:00
delta-cloud-208e
ab6be896bd fix(codex): patch all users, not just root — add --all flag and fix macOS UID threshold
- Install script now runs patcher with --all to patch every user's ~/.codex/config.toml
- Fix list_users() UID threshold: macOS starts at 500, Linux at 1000
- Fix file ownership: chown config files to the actual user after patching

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 17:54:43 +00:00
delta-cloud-208e
128ec80ed0 fix(codex): macOS compatibility for install/update/uninstall scripts
- Replace grep -oP (Perl regex) with portable sed — fixes "grep: invalid option -- P" on macOS
- Add sedi() wrapper for cross-platform sed -i (BSD vs GNU)
- Detect macOS via uname and use apple-darwin binary suffix instead of linux-musl
- Add is_native_binary() helper: checks both ELF (Linux) and Mach-O (macOS)
- macOS env vars: use launchctl setenv + /etc/codex-env.sh + ~/.zshrc source line
- Linux env vars: keep /etc/environment + /etc/profile.d/ as before
- Wrapper script uses dynamic ENV_FILE path instead of hardcoded /etc/profile.d/
- Fix SUDO_USER handling for correct ~/.zshrc path when run via sudo
- Uninstaller: also remove .codex-bin, /etc/codex-env.sh, launchctl vars, rc file entries
- Uninstaller: scan /Users/* on macOS instead of /home/*
- Fix CRLF line endings in ucodex_uninstall.sh

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 17:45:41 +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
dda909b4cc fix(gemini,qwen): replace test prompt with version check in verify step
gemini -p / qwen -p crashes with "setRawMode EIO" when stdin is not
a TTY (running from sudo bash script.sh). Verification now uses
--version instead — fast, reliable, no TTY needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 11:05:45 +00:00
delta-cloud-208e
f8d1213440 fix(gemini): macOS compatibility + settings for all users
macOS fixes:
- readlink -f -> portable resolve_path (realpath/manual)
- sed -i -> sed -i '' on BSD
- /etc/environment -> /etc/profile sourcing on macOS
- timeout -> gtimeout fallback
- mkdir -p /etc/profile.d on macOS

General fixes:
- Dynamic GEMINI_BIN detection (not hardcoded /usr/local/bin)
- Settings configured for both root AND sudo caller
- Wrapper path and env_file as parameters (not globals)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 11:03:23 +00:00
delta-cloud-208e
089f6e0be5 fix(codex): create wrapper before patcher runs
Patcher uses `which codex` to find binary. After migrating
codex -> .codex-bin, wrapper must exist before Step 2 (patcher)
or patcher fails with "Codex CLI not found".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 10:59:45 +00:00
delta-cloud-208e
deb1c2cfd2 fix(codex): drop Python 3.11 requirement, auto-install python3
- tomllib fallback: try tomllib (3.11+) -> tomli -> minimal parser
- Works with Python 3.8+ (Ubuntu 20.04, Debian 11, etc.)
- Auto-install python3 if not found (like Gemini/Qwen scripts)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 10:58:16 +00:00
delta-cloud-208e
d37772d67c fix: wrapper scripts for all CLIs — env vars work immediately without source
Problem: `sudo bash install.sh` runs in child process, `export` inside it
never reaches the user's current shell. /etc/environment and /etc/profile.d/
only work for NEW sessions. So `codex`/`gemini`/`qwen` fail with
"Missing environment variable" right after install.

Solution: wrapper scripts that auto-source env file before exec'ing binary.
- codex: /usr/local/bin/codex (wrapper) -> /usr/local/bin/.codex-bin (real)
- gemini: /usr/local/bin/gemini (wrapper) -> node .../dist/index.js
- qwen: /usr/local/bin/qwen (wrapper) -> node .../dist/index.js

Works immediately in ANY shell, no manual `source` needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 10:51:56 +00:00
delta-cloud-208e
be048ee873 fix: audit fixes across all install/update scripts
- codex/ucodex_update.sh: fix ${NC} → ${RESET} (crashed with set -u), fix CRLF
- gemini/ugemini_install.sh: read API_KEY/BASE_URL from config instead of hardcoded, fix "source ~/.bashrc" → "source /etc/profile.d/gemini-cli.sh"
- qwen/uqwen_install.sh: read API_KEY/BASE_URL from config instead of hardcoded

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 10:43:06 +00:00