Commit Graph

20 Commits

Author SHA1 Message Date
delta-cloud-208e
e065db0f16 release: Gemini CLI v0.40.0 (6 patches) 2026-04-29 05:03:47 +00:00
delta-cloud-208e
dc07bce0d6 release: Gemini CLI v0.39.1 (6 patches) 2026-04-27 05:03:52 +00:00
delta-cloud-208e
dd885c1acc fix(gemini): re-sanitize api_key after autopatcher re-write 2026-04-26 06:13:25 +00:00
delta-cloud-208e
8805ae77b4 release: Gemini CLI v0.39.1 (6 patches) 2026-04-26 05:08:12 +00:00
delta-cloud-208e
47e1978bef fix(installer): retry git ops + reject placeholder api_key + sync public configs
User hit two bugs in production:
1. uclaude_install.sh ERROR: Command failed at line 82 — gitea returned
   transient HTTP 502 to `git fetch`, `2>/dev/null` masked stderr but
   ERR trap fired with cryptic message.
2. After install, claude model picker showed only 5 models (built-in
   defaults) instead of 19. Root cause: load_config() fell back to the
   PUBLIC sanitized patcher.config.json (api_key='YOUR_API_KEY') after
   remote fetch failed → claude API auth broken → custom models invisible.

Fixes:

claude/uclaude_install.sh:
- New retry_git() helper: 3 attempts, 5s backoff, loud diagnostic
- Existing-clone branch: retry_git wraps `git fetch` AND `git reset`
- Fallback: if fetch fails 3x on existing clone, nuke and re-clone fresh
  (incremental fetch breaks more often than full clone on flaky gitea)
- Secondary fetch (before updater): tolerates failure with `|| true`
  (we already have a working clone)

claude/uclaude_updater.py:
- _config_is_usable() guard: rejects {"api_key": "YOUR_API_KEY"} etc.
- load_config() retries remote 3x with backoff before falling back
- Removed local-file fallback (was loading public sanitized = bait)
- Cache-only fallback now (from previous successful fetch)

Public configs synced from canonical (api_key sanitized, models list
fully refreshed):
- claude/patcher.config.json: 17 → 19 models (+gpt-5.5, +gemini-3.1-pro etc)
- codex/codex_config.json: 4 → 5 models (+gpt-5.5)
- gemini/gemini_config.json: refreshed
- target_version: 2.1.112 → 2.1.119

Tests: tests/test_installer_robustness.py — 6 new GREEN guards.
Total: 196 → 207 GREEN.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-25 18:25:43 +00:00
delta-cloud-208e
8924b75e91 SECURITY: redact api_key from public repo (Variant B)
CRITICAL: api_key 'ClauderAPI2' was committed to PUBLIC unlimitedcoding
repo (private:False on gitea) in 4 *_config.json + 8 ps1 scripts. Anyone
on the internet could read it via curl with no auth (HTTP 200 raw access).

This commit:
1. Sanitizes 4 *_config.json: api_key → "YOUR_API_KEY" + _note pointing
   users to private config repo for production credentials.
2. Removes 'ClauderAPI2' literal from 8 ps1 installer/updater scripts
   (claude/codex/gemini/qwen × install/update). Each script now has a
   sanitized block at top that fetches api_key from private
   unlimitedcoding-config repo at runtime via Authorization token.
3. Switches 6 sh installer scripts from public REPO_RAW to PRIVATE
   unlimitedcoding-config base URL for *_config.json downloads.
4. Removes stale .patcher.config.cache.json (will regen on next install).

Production configs MOVED to private repo (separate commit e839102 on
unlimitedcoding-config/main).

KNOWN UNCHANGED:
- releases/v2.1.119/sea/cli-wrapper.cjs still has api_key (part of npm
  package distribution; clients need it locally; sensey serves same).
- Read-only gitea token (cadffcb0...) remains in installers — needed
  for token-auth fetch from private repo. Scoped read-only.

RECOMMEND: api_key rotation in proxy auth list because ClauderAPI2 was
publicly exposed for an unknown period. Existing client installs would
need re-install or env override.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-25 16:43:08 +00:00
delta-cloud-208e
4b70384863 release: Gemini CLI v0.39.1 (6 patches) 2026-04-25 05:34:40 +00:00
delta-cloud-208e
933a38cd72 release: Gemini CLI v0.35.3 (6 patches) 2026-03-28 15:09:15 +00:00
delta-cloud-208e
6e3f963d9b release: Gemini CLI v0.35.2 (6 patches) 2026-03-27 03:09:57 +00:00
delta-cloud-208e
e261cdd31f release: Gemini CLI v0.35.1 (6 patches) 2026-03-26 03:09:13 +00:00
delta-cloud-208e
65c2671f9d chore: replace API key ClauderAPI → ClauderAPI2
Updated in all config files, installer/updater scripts across
claude/gemini/codex/qwen.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 06:52:31 +00:00
delta-cloud-208e
688098c7fc release: Gemini CLI v0.35.0 (6 patches) 2026-03-25 03:04:04 +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
fc38e83542 release: Gemini CLI v0.33.2 (6 patches) 2026-03-17 03:00:56 +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
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
3c3bfe6699 release: Gemini CLI v0.32.1 (6 patches) 2026-03-07 08:01:24 +00:00
delta-cloud-208e
fd50097351 release: Gemini CLI v0.32.1 (6 patches) 2026-03-07 07:41:15 +00:00
delta-cloud-208e
61c3ec1042 release: Gemini CLI v0.32.1 (6 patches) 2026-03-07 06:25:05 +00:00
delta-cloud-208e
1513e3a97d feat: add Gemini CLI Patcher to unlimitedcoding
- New gemini/ section with patcher, config, installers
- One-line install: curl | sudo bash
- 6 patch targets (API URLs, auth, telemetry, env vars)
- Supports gemini-2.5-pro/flash, gemini-3-pro/flash-preview
- Updated Products table: Gemini CLI → Active (v0.29.5)
- README in English and Russian

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 17:37:23 +00:00