Repository navigation
v2.0.0
AutoZCoder 2.0.0 - New dashboard, Auto Generate, Linux VPS support
A major update since 1.2.2: a rebuilt modular dashboard, managed background account generation, first-class Linux VPS installation, account sharing, clearer quota reporting, and safer updates on both platforms.
New Dashboard
- Rebuilt the interface from scratch with a responsive sidebar, reusable components, dark/light themes, and clearer loading, empty, and error states.
- Split the old single-file dashboard into independently loaded JavaScript views and stylesheets.
- Replaced separate Analytics, Usage, and Stats pages with one Analytics workspace: 1h, 6h, 24h, 7d, 30d, and All time.
- Added previous-period comparisons, traffic metric switching, explicit latency percentiles, searchable/sortable model/account/API-key breakdowns, and CSV exports.
- Fixed partial time buckets so chart totals agree with summaries. Analytics counts recorded upstream attempts, including retries, rather than claiming to count unique client requests.
- Added a searchable Guide with setup instructions, platform differences, troubleshooting, security notes, and practical VPS sizing.
Auto Generate
- Configure a profile, Save config, then start an unattended session.
- Choose a goal of new qualified Starter/Start Plan accounts or a fixed signup-attempt budget.
- Goal counting requires a new unique identity, an active qualifying plan with usable quota, saved credentials, and successful gateway registration. Signup-only, no-plan, duplicate, and failed outcomes do not count.
- Run 1-3 concurrent instances, with a customizable cooldown after each slot finishes.
- Select direct or proxy-pool routing, with AI judge only for this workflow.
- Added pause, explicit resume, stop-session controls, attempt deadlines, maximum-attempt budgets, and consecutive-failure limits.
- Added a live session log with worker identifiers, outcome/stage messages, cooldowns, follow-latest, and copy controls.
- Saved configuration and progress survive restart; interrupted sessions do not silently restart generation.
- Windows background mode uses native headless Chromium. Linux background mode uses headed Chromium on a private Xvfb screen. An explicit desktop mode remains available; provider acceptance is not guaranteed in either mode.
Accounts and Models
- Added Copy account for sharing and Import account, including raw CLI JWT import, provider validation, persistent Imported badges, and same-account credential replacement instead of duplicates.
- Transfers contain the current account credential and metadata, not gateway administration keys or mail secrets. Recipients share the original account's quota and limits; exports do not create new entitlement or automatic token renewal.
- Added GLM-5.3 and GLM-5.3-Flash remaining-token totals, with separate quota-eligible estimates and unknown/stale-data indicators.
- Reworked Models into per-model capacity cards with expandable account details and catalogue/quota refresh controls.
- Added quota-check timestamps, safe failure messages, transport retry, retention of last-known values, and Refresh quotas.
- Replaced misleading “Long-lived” wording with No declared expiry: a token without an expiry claim can still be revoked.
- Added direct/proxy choice, progress counts, and Stop batch for pending Start Plan claims. Fixed cancellation, completion tracking, and elapsed times.
Linux VPS Installation
Install over SSH with:
curl -fsSL https://raw.githubusercontent.com/B3hnamR/AutoZcoder/v2.0.0/install-linux.sh | sudo bash -s -- installThis runs the versioned installer as root. Review the script first if required by your security policy.
- Added the
autozcodermanager for status, logs, start/stop/restart, TLS management, updates, and uninstall. - Provisions the generator Python environment, Chromium, Xvfb, native captcha helper, and private Node/Wrangler tooling.
- Serves HTTPS directly without nginx, with bare-IP certificate support and scheduled renewal. Issuance can fall back to a self-signed certificate; read the installer report.
- Runs the gateway as an unprivileged service user and checks the browser runtime before completing installation.
- Warns before first-time generator installation on low-resource hosts. 2 reliable vCPUs and 4 GB RAM is the recommended one-browser starting point, not a capacity guarantee.
- Fresh Linux captcha and judge-strategy defaults are AI-only; existing saved choices and Windows defaults are preserved. AI-only requires usable gateway vision capacity or an external vision endpoint.
- Default installed data directory:
/opt/zcodegateway; default dashboard:https://<server-ip>:8443/dash.
Linux binary requirements: x86_64, glibc 2.35 or newer, and compatible system libraries. The release is built on Ubuntu 22.04. Older glibc, musl/Alpine, and other architectures are not supported by this prebuilt binary.
Email and Proxy Tools
- Added headless Cloudflare API-token setup for the mail worker, KV storage, inbox secret, and Email Routing.
- Added detailed permission guidance and token replacement/removal without requiring redeployment.
- Existing catch-all destinations require explicit confirmation before replacement, including protection against stale approvals.
- Distinguished authenticated inbox checks from real email delivery. Worker health alone is not proof of inbox authentication or routing.
- Added TUN-aware proxy checks: suspicious TCP accepts trigger real CONNECT/SOCKS handshakes and reduced concurrency, with actionable warnings. This does not bypass VPN/TUN routing or make unreachable proxies usable.
- Preserved scan/import/verification workflows while removing the redundant proxy-pool overview.
- Edge relays are off on fresh installations; existing saved choices remain intact.
Reliability and Security Fixes
- Improved browser-form transition handling: signup now verifies that the page actually leaves the sign-in form before filling signup-only fields.
- Added precise captcha, browser, mail-timeout, and final-signup failure diagnostics instead of treating every failure as “no plan.”
- Added private recovery records when final signup fails after verification; infrastructure failures can pause automatic replacements.
- Hardened concurrent registration, atomic snapshot/ledger writes, cancellation, and owned-process cleanup.
- Added credential redaction to worker logs and removed sensitive verification-link/token/password diagnostics. Previously written logs are not retroactively sanitized.
- Strengthened admin/origin/Host checks, private file permissions, TLS/path handling, and cross-platform process behavior.
- Fixed AI endpoint normalization, save-before-start behavior, solver selection consistency, and proxy retry-option wiring.
Safer Updates and Release Builds
- Windows now separates Download update from Restart to apply, blocks applying updates during active work, prevents concurrent update operations, and rejects same-version updates/downgrades.
- Replaced the Windows BAT swapper with a protected PowerShell helper supporting checksum verification, bounded file-lock retries, argument/config preservation, backup, and early-startup rollback. Early process survival is not a full application health check.
- Linux updates stage matching gateway/manager files from one release, verify checksums, and roll back deployment files on restart/health failure.
- Added Windows/Linux release test gates, browser tests, sidecar regressions, packaged startup smoke tests, and complete-asset verification before publication.
- Both build paths package allowlisted sources and a pristine mail-worker configuration, not local credentials, browser profiles, or deployment caches.
- Organized build scripts, packaging tools, requirements, and documentation. Source-checkout runtime/build artifacts now live under ignored
.local/; packaged installation data paths remain unchanged.
Upgrade Notes
- Back up your installation privately before updating. Account snapshots, configuration, mail secrets, and database backups contain sensitive data.
- Stop active jobs and requests before restarting. Preserve your configuration and runtime directories when replacing an executable.
- Existing installations retain saved choices; fresh-install defaults do not overwrite them.
- Use a hard refresh if dashboard assets remain cached after an upgrade.
- Token refresh can adopt newer saved credentials; it is not an implemented provider renewal grant.
- Account, proxy, inbox, relay, and model checks prove different things. A successful health check does not guarantee signup, plan issuance, or inference.
Downloads: ZcodeGateway.exe (Windows), ZcodeGateway (Linux x86_64), install-linux.sh, and their SHA-256 manifests.
Full changelog: v1.2.2...v2.0.0