Skip to content

v2.0.11

Choose a tag to compare

@github-actions github-actions released this 12 Nov 13:38
· 41 commits to master since this release

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/touch are read as separate inventories.
    Start Plan variants only appear in the preview; Global/Weekend Build cards
    only appear as marketing deliveries, and their plan_id rotates 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 no data at all) from the preview means "nothing offered",
    not a broken envelope. Accounts past the signup quota now report
    no claimable plan instead 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_tickets keeps 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_enabled starts the claim-all pass
    once per local day after claims.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 in generator-data/claim_schedule.json, a failed
    pass (claim-all already running) is retried, and GET /admin/claims/schedule + POST /admin/claims/schedule/run expose 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: false keeps 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 of metadata.user_id (Claude Code's
    session_id), conversation_id, session_id or user; bindings expire
    after pool.conversation_affinity_seconds (default 600, 0 disables) and are
    dropped when the bound account cools or disappears. pool snapshots report
    the bound-conversation count.

Signup

  • New mint captcha mode: the bundled captcha-mint sidecar 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/signup with "The captcha
    verification failed", so the signup scene is now used (and captured from the
    page's initAliyunCaptcha when 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_param from 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/T006 and the lowercase
    result envelope.

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
    the mint mode, 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-timezone is derived from the exit IP instead of a hardcoded value.
  • The OAuth client_id / redirect_uri / state are parsed from the
    authorize URL instead of pinned constants.
  • A proxy pinned in the generator options is exported to ZAI_PROXY for the
    child scripts; the API-route proxy no longer leaks into claim transport.
  • Linux installer: PLAYWRIGHT_DOWNLOAD_HOST is 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 mint hands the run
    back to the drag solver. Use the auto captcha 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 -- install

Existing 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