Repository navigation
Releases
v3.0.1
AutoZCoder 3.0.1
A fix release. A VPN relay that silently carried no traffic, a proxy checker
that rejected every proxy, and several ways a non-streaming chat completion
could come back truncated, wrong, or as a bare 500.
Gateway
- VPN relays send through the tunnel again. A request routed to a Psiphon
or Surfshark exit was built on the tunnel's client but sent through the
default one, so it left from this machine's own address and a dropped exit
was never noticed. It now leaves through the exit, and a dead exit is marked
and rotated. Cloudflare and Netlify relays were never affected. - Non-streaming
/v1/chat/completionsrepairs, all in how the streamed reply
is joined into one response:- A streamed refusal keeps its full text instead of only the last fragment.
- A trailing frame that carries
"id": nullor"created": nullno longer
wipes the completion'sidandcreated. - A tool call with
"index": null, or anargumentsfragment that is not a
string, no longer crashes the response. - A tool-call reply whose stream ends without a
finish_reasonis reported
astool_callsinstead ofstop, so agent loops run the tools. - An error frame that arrives after a refusal or reasoning no longer
replaces it, and a structured error is reported by its message rather than
as a Python repr.
Generator
- The proxy checker accepts the captcha host's 404. That host now answers
404 on every route, which failed every candidate withcaptcha_status. A
404 still proves the host is reachable through the proxy; 403, 429 and 5xx
still fail. - "Proxy pool (N)" shows the real count on Auto Generate, the same number
Manual signup shows, instead of 0 or 1. - A pool-only Auto Generate run that has only used or blacklisted proxies is
refused up front with "No proxy candidates available" instead of starting
and failing on each attempt. - The usable-proxy count is correct for a raw scheme list such as
http,socks5, which previously looked empty. - A refused email domain is remembered and skipped. When z.ai answers
400 EMAIL_DOMAIN_BLOCKEDfor a domain, it is recorded (a refused domain
never succeeds on retry), the worker stops that account loop, Auto Generate
pauses, and the dashboard shows the domain with a "Clear blocked domains"
button. A run whose only routed domains are blocked is refused up front with
the reason instead of burning emails and captchas. Domains are still handed
to workers in the same order, minus refused ones.
Email setup and desktop
- Email setup separates inbox status, saved signup domains, and Cloudflare
credentials. It warns about.irsignup domains without preventing them
from being saved. The rotation switch remains available when rotation is on
and only one domain is left. - Cloudflare setup accepts a Global API key and account email as an alternative
to a scoped API token. The scoped token remains recommended. - On Windows, Settings > Desktop app offers Close to tray and
Minimize to tray. Both are off by default. Click the tray icon to reopen
the window, or choose Quit from its menu to stop the gateway. - Dashboard navigation arrows are visible on mobile Safari.
- Generator dependencies are pinned for reproducible setup.
Upgrading
Replace the executable (Windows) or run the installer (Linux). Saved options,
accounts, VPN keys and Auto profiles are kept.
Found by @retro1878
in issues #8,
#9,
#10 and
#12.
v3.0.0
AutoZCoder 3.0.0
The generator now treats the bundled exit networks as first-class routing, in
manual signup and in Auto Generate alike: pick VPN sources, rotate through
them at random, and see each attempt on its own page. Alongside that are retry,
update and deploy fixes.
Routing
- Multiple IP sources. Tick any combination of proxy pool, My network,
pinned proxy, Psiphon and Surfshark. Choosing a bundled network keeps the
signup inside the networks you ticked. - Random or pinned. "Random" draws a provider first, then a region, and
never reuses the exit just used. "Stay on one" pins a VPN exit and falls back
to another connected exit when the pinned one drops. The mode row appears only
while a VPN is selected. - Live exit list. The exit picker follows connect and disconnect events,
restores a saved pin when it comes back, and is disabled while nothing is
connected. Start is refused with the reason instead of quietly using the
local address. - Sources are validated and round-trip through the options file; the last
source cannot be unticked by mistake.
Auto Generate
- The same IP source, mode and exit settings as manual signup, stored with the
Auto profile. Manual selections no longer leak into an automatic run. - Concurrent browsers is yours to set, 1–100 slots, with the cooldown slots
sized and restored to match. - Captcha solver:
auto(CV + AI vote),ai(AI judge only),classic
(CV solver) ormint(headless token). Each mode has its own prerequisite
check; the AI readiness gate now applies only to AI modes. - Attempt workers moved to the Auto Generate page: live log tails, Open log,
Copy log, Copy password, Kill, Remove and Clear finished. The manual board
lists manual workers only. - Plan badges match manual signup (Starter, Start Plan, 500M, global build,
No plan). "No plan" now appears only when an account was actually created and
checked. - Start Plan qualification accepts a live Start Plan whose quota bucket has
not landed yet, while still rejecting a drained bucket or an expired plan. A
new account that already found the plan active skips the redundant campaign
claim instead of logging "nothing claimable" over it. - A final signup call that gets no response is reported as
finish_signup_failedand written torecovery_accounts.txt. Losing the
selected exit pauses the queue asproxy_unavailablerather than burning the
failure budget.
Manual signup
- Workers gained Open log, Copy log and Copy password.
- Claim-all moved off the pool page (still in the generator).
- Sidebar split into Generator and IP Routes; start renamed to "Start manual
signup" and moved into its card. - Generator start is blocked until a mail domain is routed and its inbox
verified, with a link to Email setup. - Every Settings option is type- and range-checked before it reaches
config.yaml, with a round-trip test over all editable keys.
Gateway
- An upstream stream error that arrives before any content is retried
transparently; the real upstream status is preserved for errors that cannot
be retried. - Surfshark "New address" picks a server no other location uses and refuses
when none is left. - The Linux updater and its rollback probe the health endpoint on the configured
host, scheme and port instead of a hardcoded8788over HTTP. - Worker processes cap their BLAS/OpenMP thread pools at one thread. Several
parallel browsers otherwise exhaust the commit charge and the child dies
during import withOpenBLAS: Memory allocation still failed after 10 retries. An operator-set thread count is kept. - The 3-second generator status no longer carries the whole VPN server
inventory; only/vpn/statusdoes. - Cloudflare deploys run wrangler on a pinned Node 22. Current Node majors
(25/26) crash wrangler at startup, which previously surfaced as nothing but
Node.js vNN. Failures now show the real error line, andZAI_WRANGLER
overrides the pinned pair.
Notes
ip_sourcesaccepts comma- or space-separated lists.- Nothing changes for existing installs until you touch the routing controls;
old single-source profiles keep working.
Upgrading
Replace the executable (Windows) or run the installer (Linux). Saved options,
accounts, VPN keys and Auto profiles are kept.
v2.1.1
AutoZCoder 2.1.1
A patch release for the generator's "After signup" switch. Everything from 2.1.0
is included; this release fixes one claim path that ignored the switch.
Generator
- Turning "After signup" off now also stops the legacy 100M invite claim. A saved
claimchoice (or aclaim: trueconfiguration seed) kept the invite pass
armed, so a signup could still open a second browser window and run the invite
flow while the switch read Off. - The switch now reflects any armed claim pipeline, so a seeded or previously
saved legacy claim shows as On instead of appearing off. - Claiming only ever runs when the switch allows it. The manual "Claim 100M"
action and the referral finisher are unchanged.
Upgrading
Restart the gateway. No configuration or account data changes are required.
v2.1.0
AutoZCoder 2.1.0
AutoZCoder now serves GLM-5.4 and GLM-5.3-Flash. This release also includes the ZCode 4.0.0 request-format update and the reliability fixes made since 2.0.12.
Models and quotas
- Added GLM-5.4 to the OpenAI and Anthropic APIs, with vision and reasoning support. The default request limit stays at 128,000 output tokens. GLM-5.4 requests are clamped at 131,072.
- Removed plain GLM-5.3 from inference, quotas, dashboard controls, relay options, and client setup. Requests that name it return an unknown-model error. Existing defaults and fallback entries that used it migrate to GLM-5.4. Retired aliases and relay selections are dropped.
- Quota parsing recognizes model capabilities, display names, and known legacy entitlement IDs. Retired buckets are excluded from active totals. Pending grants stay protected during purge.
Compatibility and reliability
- Updated the request format for ZCode 4.0.0, including the Anthropic beta header, mid-conversation system messages, and image source labels. The cache option controls the automatic cache marker on the latest user turn.
- Fixed native Anthropic session affinity, account rotation on invalid SSE requests, truncated tool calls, fallback on quota errors, and readiness while the upstream circuit breaker is active.
- Protected newer saved credentials during desktop import and preserved persisted model caps when account inventory cannot be loaded.
- Tied Windows staged updates to the advertised release, allowed a fresh download after a failed checksum check, and blocked Apply during active inference. Graceful shutdown drains queued usage writes.
- Hardened Linux uninstall and preserved configured account and SQLite paths in backups, including committed WAL data. Preserved existing remote-admin settings, and protected worker exports and generator data from destructive cleanup.
- Fixed the dashboard's keyboard confirmation, client configuration snippets, and authentication timers. Settings and startup use the same public-bind checks. Relay health checks require HTTPS and disable redirects. The bundled Netlify relay rejects streaming requests explicitly.
- Saving the account selection strategy in Settings now applies to the live pool instead of reporting a required restart.
- Omitting the client key is limited to verified loopback peers; requests from other addresses must present one.
- Importing a JWT older than the credential already saved for that account returns 409 instead of replacing the newer token.
- The daily claim scheduler starts with the gateway when enabled, and a registration receipt is written only after the account passes its final checks.
- The Windows launcher honours
--configandZCODE_GATEWAY_CONFIGbefore bootstrap, and generator data is stored under the writable data root. - The Accounts tab can copy every working account as a single bundle, excluding dead, exhausted, cooling and expired accounts, and Import account accepts that bundle directly.
Upgrading
Existing Windows configuration, accounts, and usage data can be kept. Fresh configurations default to GLM-5.4 for Anthropic requests and GLM-5.3-Flash for OpenAI requests. Adjust clients that explicitly request the retired GLM-5.3 ID.
Linux installs created before the uninstall ownership marker was introduced may require reinstalling with the current manager before uninstall can remove the installation directory.
v2.0.12
AutoZCoder 2.0.12
Addresses upstream 405/code 3012 "This client is not supported" responses by
aligning the bootstrap system text, headers and version with the installed
client. Regression tests check exact bootstrap text; they do not establish
the server's matching rules.
Upstream
- Bootstrap identity and harness preserve the captured official-client text,
including the leading space on every# Harnessbullet. Live requests returned
200 on GLM-5.3 and GLM-5.3-Flash using a pool with 16 ready accounts and retries;
this was not an independent acceptance test of all 16 accounts. - Caller system text is folded into the client's third system block instead of
appending a fourth block, matching the captured client structure.
The harness and style blocks carry the client'sephemeralmarkers. - Headers follow the current client:
accept-language: *,sec-fetch-mode: cors,x-zcode-query-source: main_turn; the static
anthropic-beta: mid-conversation-system-2026-04-07is gone (the client now
sends it only when it really injects a mid-conversation system message). - Fingerprint default and plan-check version are 3.18.2. Matching legacy
version/User-Agent pairs, including 3.14.4 and 3.18.0, are normalized when
loading the configuration. This does not rewrite the saved YAML file.
Custom User-Agent strings are left alone.
Diagnostics
- The "client is not supported" answer is no longer read as per-account abuse:
it parks the model for 120 s (not 900 s) with reasonCLIENT_NOT_SUPPORTED
and keeps the upstream message. A stale build now says so instead of parking
the whole pool for 15 minutes.
Reliability
- Preserve Unicode line separators inside SSE JSON payloads, and allow the
automatic captcha strategy to fall back when lazy OCR initialization fails. - Keep quota-exhausted accounts retired during transient failures, reset strike
budgets on credential replacement or explicit enable, and preserve account
state during background upserts. Explicit add, import and login revive accounts. - Deduplicate edge-block notifications per episode and repeated notifications
even when older entries have been refreshed; retain unused fresh captcha tickets. - Handle non-ASCII update-probe headers without a health-check exception.
- Shut down the previous generator and scheduler on location changes, move
blocking stop/checker operations off the event loop, and synchronize job-map
snapshots and removals. Disabled capture no longer deep-copies request bodies. - Validate proxy verification intervals, reject ambiguous leading-zero proxy
addresses, and avoid passing portless proxies to Chromium. - Avoid retrying the same failed relay within one request, reread relay settings
after read failures, and accept a single model name in relay options. - Use per-account device IDs and client timezones in generator telemetry and
exports, continue batches after individual account failures, and tolerate
undecodable proxy-pool comments. - Make GUI config replacement atomic and prevent pending restarts or startup
work from overriding Stop. Drain smoke-test usage writes before closing storage.
Upgrade
- Restart the gateway. Legacy fingerprints matching the recognized User-Agent
format are migrated on load. Custom fingerprints require manual review. docs/troubleshooting/UNUSUAL-ACTIVITY.mddocuments the two 3012 variants
and what the harness must match.
Validation notes
- Live checks using a legacy 3.18.0 configuration migrated its fingerprint on
load; they do not demonstrate upstream acceptance of an unchanged 3.18.0 client. - Passing source CI does not establish packaged-build or live-provider
acceptance. The release workflow separately requires Windows and Linux tests,
browser checks, packaged startup smoke checks and asset checksum verification.
Acknowledgments
Thanks to @th3scp for investigating the 405/3012
bootstrap mismatch and providing the fix used as the basis for this release.
Thanks to @mahyartdb for the fixes and regression
tests in PR #2.
v2.0.11
AutoZCoder 2.0.11
Bundles everything since 2.0.1: the claim pass walks both plan inventories,
signup no longer depends on the slider, conversations stick to one account,
claims can be prefetched and scheduled, and the account actions follow the
weekend drop instead of pretending to claim Starter.
Claims
- The billing preview and
/marketing/touchare read as separate inventories.
Start Plan variants only appear in the preview; Global/Weekend Build cards
only appear as marketing deliveries, and theirplan_idrotates per drop, so
they are matched by name (ZCODE GLOBAL BUILD,ZCODE WEEKEND BUILD), never
by a pinned id. - A claim pass claims every offer it finds, not just the first grant, and an
account that already holds a Start Plan is still checked for campaign cards:
the buckets are independent. data: null(or nodataat all) from the preview means "nothing offered",
not a broken envelope. Accounts past the signup quota now report
no claimable planinstead of a route problem.- Marketing deliveries are impression-deduped per account: the first
seq=0
page returns the card and the next call is empty, so discovery and claim must
stay in one pass. - Optional captcha ticket pool:
generator.captcha_ticketskeeps 1-8 freshly
minted Aliyun verify params warm on a background thread, and a claim takes one
at launch instead of minting while the browser idles. Tokens die 90 s after
minting, so the pool only holds a couple and the ttl is capped. - Optional daily claim run:
claims.daily_enabledstarts the claim-all pass
once per local day afterclaims.daily_time. The zone is a fixed UTC offset
(daily_utc_offset_hours, 8 = Beijing) because Windows has no IANA database.
The last run is persisted ingenerator-data/claim_schedule.json, a failed
pass (claim-all already running) is retried, andGET /admin/claims/schedule+POST /admin/claims/schedule/runexpose it. - The per-account claim buttons now say what they do and stay locked outside
the Weekend Build drop (Beijing Saturday 00:00 → Monday 00:00). The Pool card
shows "opens in …" / "closes in …";claims.campaign_gate: falsekeeps the
buttons always live. A fresh signup already grants Starter, so the button's
real job is the campaign card, and probing the impression-deduped marketing
feed before the drop only burns it.
Serving
- Conversation affinity: a chat stays on the account that served its first
turn, so later turns still see the earlier ones and the upstream prompt cache
stays warm. The key is a hash ofmetadata.user_id(Claude Code's
session_id),conversation_id,session_idoruser; bindings expire
afterpool.conversation_affinity_seconds(default 600, 0 disables) and are
dropped when the bound account cools or disappears.poolsnapshots report
the bound-conversation count.
Signup
- New
mintcaptcha mode: the bundledcaptcha-mintsidecar mints the Aliyun
verify param with traceless verification in happy-dom (the same source the
claim uses), and the generator sends the signup POST itself. No slider drag,
no vision judge, no AI key. A failed mint falls back to the in-page solver. - The signup widget runs its own Aliyun scene (
36qgs6xb), separate from the
billing scene claims mint for (11xygtvd). Minting for the wrong scene was
accepted locally but rejected by/auths/signupwith "The captcha
verification failed", so the signup scene is now used (and captured from the
page'sinitAliyunCaptchawhen available). That scene often serves an
INPAINTING slider, which the traceless minter cannot solve — the run then
falls back to the drag solver instead of posting a dead token. - The captured
captcha_verify_paramfrom the app's own POST is preferred over
a rebuilt token, and the rebuilt fallback is signed for the signup scene. - A signup POST that the app already sent is never re-sent (the duplicate
tripped the per-email rate limit and half-created accounts). - Captcha response parsing accepts both
T001/T006and the lowercase
resultenvelope.
Dashboard
- An empty account pool no longer shows "No accounts match that filter"
underneath its own "No accounts yet" panel; the models view had the same bug. - The "After signup" switch controls the claim pass, the captcha selector offers
themintmode, and a note explains when campaign cards are claimable
(Weekend Build = the Beijing weekend, Fri 19:30 - Sun 19:30 Tehran). - The account claim actions name the campaign card and are time-gated; the
Pool card shows the next opening or the closing time. - The dashboard
__version__tracks the shipped binary.
Environment and build
- Client version bumped to 3.18.0 across the plan, claim, and catalog paths;
x-client-timezoneis derived from the exit IP instead of a hardcoded value. - The OAuth
client_id/redirect_uri/stateare parsed from the
authorize URL instead of pinned constants. - A proxy pinned in the generator options is exported to
ZAI_PROXYfor the
child scripts; the API-route proxy no longer leaks into claim transport. - Linux installer:
PLAYWRIGHT_DOWNLOAD_HOSTis forwarded to the tooling user,
so Chromium can be installed from a mirror when Playwright's CDN is
geo-blocked on the VPS.
Upgrade and validation notes
- Back up private account/configuration/database data and stop work before
upgrading. Neither a health check nor the regression suite guarantees
provider signup, CAPTCHA, plan-claim or inference acceptance. - A captcha token is single-use and dies ~90 s after minting; the ticket pool
never prefetches further ahead than that. - The signup scene can serve an image slider, in which case
minthands the run
back to the drag solver. Use theautocaptcha mode for slider signups. - Windows and Linux regression suites and the packaged startup smoke checks
validated this release. Live provider workflows require operator acceptance
tests.
Linux VPS install
Install the latest published release over SSH with:
curl -fsSL https://github.com/B3hnamR/AutoZcoder/releases/latest/download/install-linux.sh | sudo bash -s -- installExisting installations should use sudo autozcoder update after stopping active
work and making a backup. The prebuilt Linux binary requires x86_64, glibc 2.35
or newer, and compatible system libraries (Ubuntu 22.04 build baseline). Older
glibc, musl/Alpine and other architectures require a compatible source build.
Start with 2 reliable vCPUs and 4 GB RAM for comfortable one-browser generation.
Full changelog: v2.0.1...v2.0.11
v2.0.1
AutoZCoder 2.0.1
A reliability and safety update for the 2.0.0 dashboard, gateway, account storage,
Auto Generate, native claim helper, and platform installers. Existing configuration
and packaged runtime-data locations remain unchanged.
Gateway and model routing
- Fixed account concurrency slots remaining reserved when a request is cancelled
while opening an upstream connection. - Fixed quota-aware routing waiting on a saturated high-quota account instead of
using an eligible account with free capacity. - Separated future quota grants from currently usable balances. A pending grant
no longer closes a model with live quota, and an expired bucket is not restored
from its original entitlement. - Fixed fallback after a model has been parked for a geographic restriction.
- Malformed SSE JSON, non-object events, and invalid UTF-8 now fail explicitly
instead of silently dropping content and returning a successful answer. - Fixed empty-object tool calls producing invalid empty-string OpenAI arguments.
- Usage and capture writes are drained before the database closes on shutdown.
- Stale upstream responses cannot apply authentication strikes, caps, cooling, or
success transitions to credentials that have since been replaced.
Accounts, credentials and settings
- Billing results are checked against the credential generation used for the
request. A delayed rejection of an old token cannot kill a newly imported token
or overwrite its fresh quota data. - Unified snapshot ownership, filename allocation and atomic writes across
generator registration, JWT import, device login and desktop credential import. - Reimporting the same identity reuses its snapshot when the email label changes;
duplicate selection uses credential freshness rather than expiry alone. - Replaced shared pool-file temporary names and serialized API persistence/import
transactions to avoid lost updates. - Credential adoption preserves device, identity and refresh-token metadata;
a newer token with no declared expiry is not automatically rejected as older. - Re-login probes the canonical pooled account, and parallel login starts reuse
the initializing flow. - Settings are validated with the full startup schema before writing. Invalid
values no longer save successfully and break the next startup. - Relative TLS paths resolve against the configuration file's directory.
Auto Generate and claim recovery
- Fixed workers launching after they were stopped or finalized, including the
publication-to-process-start race. - Completion waits for result handling and callbacks, not just process exit.
- Failed Resume preflight leaves progress recoverable after prerequisites are
repaired. - Cooldowns survive restart, duplicate counts are accurate, and long fixed-attempt
runs can restore the identity count they are allowed to produce. - Added durable run/attempt registration receipts and restart reconciliation to
avoid losing qualification credit between account saving and progress updates. - Qualification requires a real, currently spendable balance belonging to an
accepted active Start Plan, not quota from another plan or an entitlement estimate. - Automatic strict-proxy claims no longer silently select another proxy inside
nested claim fallback. - Successful recovery claims can register accounts missing from the running pool
without requiring a gateway restart.
Dashboard
- Aborting a Proxy request during navigation no longer overwrites the next page.
- Email configuration errors keep the form mounted and recover on retry without
discarding entered credentials. - Cloudflare credential actions distinguish rejected, saved, and saved-but-not-
verified results instead of always announcing success. - Cancelling or leaving a pending login prevents late windows, polling and reloads.
- Pending manual-generator option changes are flushed in order when leaving the
page, with visible save errors rather than silently lost edits. - Logs Clear hides existing records while allowing newer records to arrive.
Native claim helper and proxy checks
- Fixed Happy DOM cookie insertion, expiry handling and outgoing cookie names
against the locked dependency's actual cookie API. - Applied an explicit route consistently to configuration, asynchronous and
synchronous helper requests. SOCKS routes use a bounded, loopback-only CONNECT
bridge; there is no silent direct fallback or new public listener. - Added exclusive ownership for in-process solves and reusable windows.
- Added incremental response byte limits, deadlines and cancellation. Child stdout
and stderr have independent byte ceilings and bounded owned-process cleanup. - Invalid HTTP/JSON/business envelopes return structured failures instead of
escaping as unrelated exceptions. - Mixed claim outcomes no longer become a false report that every offer is
unavailable. - Proxy verification rejects failed captcha-host responses, unexpected redirects,
oversized bodies and indefinitely trickling responses.
Windows and Linux maintenance
- Windows terminal server-startup failures exit instead of leaving an unusable
fallback process alive. - The Windows updater now requires a per-launch nonce health acknowledgement from
the replacement within 60 seconds. Process survival alone is not accepted.
The check supports explicit interface binds and pins configured TLS certificates. - Linux dependency/browser/npm maintenance runs as the tooling user, not through
a service-writable interpreter executing as root. Private Node binaries remain
root-owned. - Certificate changes stage and validate the replacement, retain the working pair
on failure, and restore configuration/renewal policy if activation fails. - TLS mode survives reinstall, including domain, self-signed and loopback-only
modes. Renewal targets the active certificate. - Install, update, certificate changes and uninstall share a mutation lock.
- ARM64 source installs can reach the supported source-build path; release binaries
still enforce their architecture and libc requirements. - Non-root manager use reports a clear sudo requirement; help remains accessible.
Upgrade and validation notes
- Back up private account/configuration/database data and stop work before upgrading.
Neither a health check nor the regression suite guarantees provider signup,
CAPTCHA, plan-claim or inference acceptance. - The JavaScript in-process fallback cannot forcibly preempt synchronous guest CPU.
The external claim subprocess has bounded runtime and process cleanup. - Windows and Linux regression suites, offline sidecar tests, local process/network
fixtures and the packaged Windows startup smoke check are used to validate this
release candidate. Live ACME issuance and production-provider workflows require
separate operator acceptance tests.
Linux VPS install
Install the latest published release over SSH with:
curl -fsSL https://github.com/B3hnamR/AutoZcoder/releases/latest/download/install-linux.sh | sudo bash -s -- installThis URL follows future published releases automatically. Existing installations
should use sudo autozcoder update after stopping active work and making a backup.
Review the installer first if your policy requires it. The prebuilt Linux
binary requires x86_64, glibc 2.35 or newer, and compatible system libraries
(Ubuntu 22.04 build baseline). Older glibc, musl/Alpine and other architectures
require a compatible source build. Start with 2 reliable vCPUs and 4 GB RAM for
comfortable one-browser generation.
Full changelog: v2.0.0...v2.0.1
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
v1.2.2
v1.2.2 — signup fingerprints, registration resilience
Fixes
-
Fingerprint timezone now follows the real exit IP. The old code only knew the
two-letter country and mapped it through a ~40-entry table with a US default, so a
Finnish exit IP presentedAmerica/New_York. That continent-away mismatch is a live
fraud signal.exit_ip_geo()now readscountryCode+timezonefrom the exit IP
(through the proxy, with a proxy-host fallback for SOCKS), and the IANA zone is what
the browser reports. The[fp]line in worker logs now shows the real zone. -
Registrations no longer die on a single network flake (thanks @amirshaker000, PR #1).
requestson Windows silently inherits the IE/registry proxy even when the config
saysip_source: direct, so "direct" flows rode a VPN tunnel that drops TLS at
random. Sessions now settrust_env=False, andZAI_PROXYstill wins when set.- Per-request retries on the device-flow chain (init/authorize/callback/poll) and the
billing calls, plus per-attempt exception handling inregister_account— one
ConnectionErrornow costs one attempt instead of dropping the account.
-
Sessions are per-thread.
register_accountruns one thread per account; a shared
requests.Sessionis not thread-safe and cross-pollinated cookies between accounts.
Each thread now gets its own session. -
The claim never retries a spent captcha token.
x-aliyun-captcha-verify-paramis
single-use. Retrying the claim after a transport error returned3007with a dead
token; the claim now fires once and the caller mints a fresh token, which is the retry
that actually works.
Diagnostics
plans*.jsonlrows now carrysignup_ccandsignup_tz, so the split between
Start Plan variants (…-0817vs…-nt-1026) can be correlated with the signup exit
location.- An account that arrived with the Start Plan already granted is logged as
Start Plan already activeinstead of claiming a "best offer" claim that never ran.
Upgrading
Replace ZcodeGateway.exe next to your existing accounts/ and generator-data/.
Nothing to migrate.
SHA-256: f6b94e1199c97822e92fab45e2763d8f8f5564afb2668031111c827d4feb9214 (checksums.sha256)
v1.2.1
v1.2.1 — Start Plan auto-claim, bundled captcha mint, registration fixes
The signup grant is gone: a fresh account is no longer given a plan, it is only offered one. This release claims that offer end to end, with no browser, for every account the generator creates.
Added: Start Plan auto-claim
- New chain per account: device login → app activity →
billing/preview→ captcha →billing/claim→ balance check. - The claim is only counted as success when the balance shows the plan —
1003 target already existsis treated as idempotent success, and a bare502never counts as a refusal (the first attempt can apply while the edge drops the response). claim_start.pyhandles every offer the preview returns, picks the highest-priority Start Plan, and skips the retired-1024giveaway id.- Per-account Claim Start Plan · proxy / direct actions in the Accounts menu, and the generator runs the claim for every created account, not just ones already flagged Starter.
Added: bundled Aliyun captcha mint
tools/captcha-mint— the happy-dom traceless-captcha solver from TriDefender/zcode-api (CC BY-NC-SA, attributed in that folder), compiled to a standalonecaptcha-mint.exewith Bun and shipped inside the gateway exe.- The gateway resolves the extracted sidecar itself and passes it to workers, so a claim that demands a captcha no longer answers
3007(works even though generator scripts run under an external Python where_MEIPASSis unset). - One fresh token per attempt — the verify param is single-use.
Fixed: app version gate
The relay and the pool poller still fingerprinted as 3.14.4, which is below the version that even sees the gift list. Everything now presents 3.16.3 (UA, x-zcode-app-version, app_version query, and the preview's platform=win32-x64, without which the gateway answers 3001).
Fixed: accounts dropped after a successful claim
Registration runs right after the worker finishes and re-does device login. A 502 there used to abort it silently: no snapshot, no registered marker, account never in the pool.
- device login and plan lookup now retry 3× each
- a plan that hasn't propagated is left unmarked instead of being marked done, so the start-up catch-up scan registers it later
- the catch-up scan now reliably picks up anything in
startplan*.txtmissing fromregistered.json
Fixed: claim routing burned proxies on definitive answers
1005 exceed quota limit and 1004 not eligible are final — no other IP changes them. Proxy fallback now only runs for real route problems (3012, 405, failed/garbled requests), and stops on the first clean definitive answer.
Changed: claim UI is Start Plan only
off, 100M (referral) and 500M (giveaway) are gone from the claim-type dropdown and from the account menu; the invite-code field is disabled and labelled legacy. The saved options now always write claim_start=true.
Upstream status (for context)
-nt-1026(ZCODE GLOBAL BUILD): 300MGLM-5.3-Flash, one-time, fixed campaign end (not now+9h). This is what new accounts get.-0817(Start Plan, 3M GLM-5.3 + 5M Flash daily): grandfathered on older accounts only; new accounts answer1004 not eligible.-1024(500M giveaway):1001, gone.
Upgrading
Replace ZcodeGateway.exe; accounts, config and pool data carry over. If your saved claim type was legacy, open Generator → claim type once — it now only offers Start Plan.
Full changelog: v1.2.0...v1.2.1
SHA-256: fb4cc25195305ada8828e014a8eed9564c72e38569173325d57a113964d260b1