16 KiB
16 KiB
Changelog
All notable changes to this project are documented in this file.
Format based on Keep a Changelog, project versioning follows Semantic Versioning.
[Unreleased]
Added
- typesafe.ai / jev console provider (in-process): Stytch magic-link →
/api/auth/callback→/api/api-keys. Hub./register.sh typesafe [count], aliasesjev/typesafe-ai. Default mailbox is tinyhost (full body). Success = this-runsecret_kind=api_key. Does not copy the original 512/256 farm defaults. No CPA inject. pxed smoke 2026-09-22:./register.sh typesafe 1→CONTRACT_EXIT:0this-runapi_key(rsync to/data/grok-register; not GitHub CI — §7 only deploys SPA). - typesafe probe-before-allocate: GET+parse
console.typesafe.ai/loginbefore tinyhost allocate (Clash preflight is skipped foregress=clash). Hub./register.sh smoke typesafeis probe-only;TYPESAFE_SMOKE_LIVE=1for n=1. Control-planeStartRunRequest.productacceptstypesafe.
Changed
- typesafe no longer appends full
api_keytoaccounts.jsonl. Deliverable is this-run0600typesafe-*.jsonunder a0700output dir. Session parse failures attach a short$ACTIONHTML snippet. - typesafe console probe now classifies 5xx as
network/ 4xx assession(same as login GET) and forwards the parsed$ACTIONintoregister_one, so allocate is not followed by a second login GET unless magic-link POST needs a refresh. Mailbox timeout staysmail_miss. Verifierlive=Trueis still shape-only (no spend). Magic-link extract parses query order. - typesafe batch (
./register.sh typesafe Nwith N>1): continue onmail_miss/network(hard kinds still stop), in-process workers default 8 capped at 32, uniquetypesafe-*.jsonnames. Pipeline fan-out is only for typesafe/chatgpt — grok--threadsstill belongs to the child runner. pxed this-run 2026-09-22:./register.sh typesafe 100→CONTRACT_EXIT:0ok=97 fail=3 (mail_miss×3)stopped_reason=""; 97 new0600typesafe-*.json; noaccounts.jsonlappend; no CPA inject. - typesafe mail poll with
sender_hint=typesafereturns the Stytch URL before any OTP-shaped token in the same body. Mail-miss diagnostics come from this attempt'sMailMissError, not the shared EmailSource slot (n=100 workers were overwriting each other's wait stats). Deployment drift is logged once per process. - pxed this-run 2026-09-22 (after the mail-parse fix):
./register.sh typesafe 100→CONTRACT_EXIT:0ok=98 fail=2 (session/ send_magic_link HTTP 500). Then./register.sh typesafe 1000(8 workers,--no-fail-fast,rotate=off) →CONTRACT_EXIT:0ok=976 fail=24 (mail_miss×17,session×5,oauth_callback×2); 976 new0600typesafe-*.json; noaccounts.jsonlappend; no CPA inject. - README acknowledges the LINUX DO community.
[1.6.4] - 2026-07-16
Added
- Register ↔ nodes adaptation: preflight probe gate before batch registration
NodeManager.preflight/mark_result/ quarantine afterREGISTER_NODES_MAX_FAILpreflight_nodes_for_registerseeds healthy-onlyproxy_listfor list/autoreport_attempt_proxy_resultfeeds register outcomes back into catalog + live rotator- Pipeline runs preflight once, then marks/drops dead proxies per attempt
- Heuristic
is_proxy_network_failure— never quarantines mail_miss / captcha / registration_disallowed - Fail-fast when
egress=listhas zero healthy nodes after probe - Tests: preflight, quarantine, pipeline skip-dead, pool drop
Changed
enabled_nodes(healthy_only=True)now meanslast_ok is Trueonly (register path)- Hard-failed nodes excluded from rotation until they pass probe again
[1.6.3] - 2026-07-16
Changed
- Purity pass for egress UX
nodes importmerges by URL intonodes.json(add/update/keep);--replacefor full overwrite- Clash Verge profile scan is opt-in (
--from-clash-verge), not default nodes listprints a sample summary by default (--allfor full dump)nodes clear --yesempties HTTP catalog without touching protocol runtimeautoegress only uses known-healthy (last_ok=true) catalog entries; unprobed bulk no longer blocks core- Docs/CLI primary backends:
list|core|direct(auto/clash advanced) - Canonical script:
scripts/import_nodes.py;import_clash_to_nodes.pydeprecated alias
Added
- Merge plan in import/dry-run JSON (
added/updated/kept/dropped) - Tests for merge/replace and auto healthy-list behavior
[1.6.2] - 2026-07-16
Added
- Light node convert pipeline (
register_core/nodes/convert/): parse → validate → split → pack - Inputs: Clash/mihomo YAML, V2Ray/Xray JSON outbounds, share URI lines (ss/vmess/vless/trojan/http/socks)
- CLI:
python -m register_core nodes import|validate(dry-run, format force, no register-path weight) - Legality report rejects missing type/server/port/uuid/…; dialable →
nodes.json, protocol →runtime.yaml - Compat:
scripts/import_clash_to_nodes.pyis a thin wrapper over the same pipeline - Tests:
test_nodes_convert.py
Notes
- mihomo remains optional runtime for protocol nodes only; HTTP/SOCKS path needs no core
- Conversion is opt-in CLI — register pipeline only consumes artifacts
[1.6.1] - 2026-07-16
Added
- Egress backend switch:
core|clash|list|direct|auto - CLI:
python -m register_core nodes egress show|set|which - CLI/env:
--egress/REGISTER_EGRESS/CHATGPT_EGRESS - Persist preference:
.nodes/config/egress.mode - Tests cover clash vs core isolation and direct no-proxy
[1.6.0] - 2026-07-16
Added
- Embedded mihomo mini-core under
.nodes/bin/mihomo+.nodes/config/runtime.yaml register_core/nodes/core_runtime.py+ CLI:nodes core start|stop|status|select|proxies|urlscripts/import_clash_to_nodes.py— copy Clash Verge YAMLs into project path and pack runtimescripts/bootstrap_nodes_core.sh— download official MetaCubeX mihomo for the host archutil/proxy.pycan auto-start core and usehttp://127.0.0.1:17897when HTTP catalog empty
Notes
- Protocol nodes (vless/ss/vmess/trojan/…) live in project runtime YAML; dialable HTTP/SOCKS still in
nodes.json - No dependency on Clash Verge UI / system TUN /
:7897for ChatGPT path .nodes/is gitignored (binary + credentials)
[1.5.0] - 2026-07-16
Added
- Project-owned node runtime (
register_core/nodes/): catalog (nodes.json/nodes.txt), health probe (curl_cffi→ ipify),NodeManagerrotation, CLIpython -m register_core nodes list|check|add|urls register_core/util/proxy.pyseeds list-mode pool from nodes catalog whenPROXY_LISTempty- Examples:
nodes.example.json,nodes.example.txt; gitignore for credential catalogs - Tests:
test_register_core_nodes.py(catalog, manager, proxy util, pipeline wiring)
Changed
- ChatGPT runner / adapter: no default Clash
127.0.0.1:7897— egress fromnodes.json/PROXY_LIST/ explicitCHATGPT_PROXY - Docs: ARCHITECTURE egress section; ChatGPT README + hub help describe nodes-first path
Notes
- Operators supply HTTP/SOCKS proxy endpoints they control; Clash mode remains optional legacy for Grok browser only
[1.4.1] - 2026-07-15
Added
- Self-controlled egress for layered providers:
register_core/util/proxy.pywires existingproxy_rotatelist mode intoPipeline+register_coreCLI + ChatGPT runner - CLI:
--proxy,--proxy-list,--proxy-rotate {off,list,clash},--proxy-rotate-every,--proxy-rotate-required - Env:
CHATGPT_PROXY_LIST/PROXY_LISTauto-enables list mode (no Clash node selection)
Notes
- Preferred path is list of explicit upstream URLs — register machine owns the node pool; Clash may only be a local forwarder, not a selector dependency
- Clash domain-group mode remains available for Grok browser paths; ChatGPT docs steer operators to list mode
[1.4.0] - 2026-07-15
Added
- ChatGPT / OpenAI platform provider (
providers/chatgpt/): in-process protocol register viacurl_cffi+ Sentinel PoW +EmailSource(defaultgmail_imap); hub./register.sh chatgpt register_core/providers/chatgpt_adapter.py+verify/chatgpt_token.py(offline token shape gate)- Unit tests:
test_chatgpt_provider.py(attribution, redact, verifier, registry) - Gmail OTP extractor: HTML strip + OpenAI “temporary verification code” patterns (was poisoned by CSS hex numbers)
Notes
- ChatGPT path does not auto-inject tebi/CPA; secrets land in
providers/chatgpt/output/(0600, gitignored) - Live path verified through authorize → OTP validate; final
create_accountmay still returnregistration_disallowed(IP/domain risk) — Manual-required
[1.3.0] - 2026-07-15
Added
- Desktop GUI deep polish: thread-safe
ui_queuepump, form lock while running, validation focus/tab jump, log cap, copy log / open results, persistregister_count - Desktop GUI redesign (
grok_register_ttk.py): Notebook tabs (基础 / 邮箱 / 进阶)、邮箱服务商字段动态显隐、右侧进度条与彩色日志 - Multi-provider hub:
./register.sh(grok/mimo/core/smoke) register_core/layered framework: contracts, email sources, provider adapters, verify, sink, pipeline, CLIproviders/mimo/: Xiaomi MiMo API Key registration (Node/Playwrightregister-one.js, Geetest slide, tinyhost OTP)- MiMo → CPA OpenAI-compat helper (optional, local):
providers/mimo/inject_cpa_openai.py(does not touch production by default) - Unit tests:
test_register_core_layers.py,test_mimo_cpa_openai_inject.py - Grok Gmail IMAP: HTTP CONNECT via configured proxy (container/no-public egress)
- Positioning docs vs ThinkerWen/ai-register: higher production usability, richer pipeline, TTK UI (form input + live log/status)
- Monorepo skeleton (inspired by ai-register product dirs + LiteLLM-style ARCHITECTURE/Makefile):
ARCHITECTURE.md,docs/LAYOUT.md,docs/ADDING_PROVIDER.mdproviders/_template/,providers/grok/README.md,providers/README.mdapps/{cli,gui}/,examples/minimal_pipeline.py,tests/unit/,Makefile
Changed
- Project rename path:
grok-register→register-machine→ai-register-machine(GitHub + package metadata) - README highlights desktop UI (
grok_register_ttk.py): count/threads/mail/proxy form, start/stop, status, scrolling logs, tutorial - Fail-fast + this-run result attribution (no historical tail as success); public redact password/secret
- pytest
pythonpath+tests/tree; gitignore allproviders/*/output|node_modules
Fixed
- Align
sk-patterns across adapter / verifier / inject / redaction (hyphen & underscore vendor keys) - Grok adapter no longer reports
ok=Truewith empty SSO (pending); default Grok verifier requires SSO inject_cpa_openai.pyno longer defaults to production CPA path; requires--config/CPA_CONFIGand--i-understand-productionfor prodregister.sh/ MiMo clash starter resolve monorepo root viaGROK_CODE_ROOTand multi-name candidates (not hard-only/personal/grok-register)- README no longer links a non-existent
v1.3.0GitHub Release tag
Security
- Jsonl sink
O_CREAT|0600; black-box providers reject fake external--email-source - Ignore MiMo runtime output / node_modules; never commit keys or mail ledgers
- Production CPA inject is opt-in with explicit ack (no silent default path)
[1.2.3] - 2026-07-13
Added
scripts/doctor_secrets.sh— local secret hygiene (tracked paths, modes, cloud-sync path warn; never prints contents)- CI:
bash -non setup/doctor scripts; py_compile quality scripts; run doctor_secrets in guard step - README education banner + local secret hygiene; CONTRIBUTING ttk refactor caution + chat-gate rule
Changed
- Package description emphasizes OIDC + chat gate (not Hotmail-only / not a quota farm)
[1.2.2] - 2026-07-13
Fixed
- Simple default email channel is duckmail (not hotmail four-segment) for lower onboarding friction
setup_simple.shdoctor: Python/Chrome/proxy port, duckmail key / hotmail placeholder warnings;uv syncfailure no longer aborts bootstrap- README honest 最短路径 timing, 常见卡点 table, production inject key checklist
- Packaging tests:
bash -n, setup smoke in temp dir (no overwrite)
[1.2.1] - 2026-07-13
Added
- Outsider-friendly packaging:
config.simple.example.json+scripts/setup_simple.sh - README quickstart (simple local path; tebi inject off by default)
- Product success table: chat probe required;
entitlement_denied≠ remint
[1.2.0] - 2026-07-13
Added
- One-click CPA chain:
cpa_auth_priorityend-to-end, multi remote auth-dirs (live + inventory) cpa_remote_live_dir/cpa_remote_live_required— live inject is the product success gate- Free Build chat entitlement gate: default-on
/v1/responsesprobe; 403 →entitlement_denied, skip live inject, remint ledger skip - Transient chat probe retries +
chat_retryableauth stamps;entitlement_denied.jsonl - Auth proxy bridge for Chromium
user:passproxies; browser recycle modes; account slot retry scripts/remint_expired_and_sync_authdir.pyfor inventory remint without starting registration- Offline tests for one-click dirs/priority, live-gate, and chat entitlement
Fixed
account_slot_retry=0no longer coerced to 3; no outer worker × slot multiplicative alias burn- Mint browser no longer double-applies
--proxy-server - Proxy bridge failure hard-fails (no silent direct)
- Inventory-only remote inject no longer counts as one-click success when live was targeted
- Models-only 200 no longer counts as usable free Build when chat probe is on
- CI
py_compilecoversproxy_bridge.pyand remint script
Security
- Runtime mail/auth assets remain gitignored (
mail_credentials.txt,mail_assets/)
[1.1.3] - 2026-07-12
Fixed
- Hard resource/config failures (Hotmail alias exhaustion, missing mail credentials, unconfigured providers) now stop the whole batch immediately instead of empty-loop retries
FatalRegisterError+_fatal_stopevent: workers exit without further account retries; process exit code2
Added
classify_email_stage_failurereturnsfatalfor unrecoverable markers- Offline tests for fatal classification and stop wiring
[1.1.2] - 2026-07-12
Added
- Startup cleanup of orphan Drission Chromes reparented to init/launchd (PPID=1)
tab_pool.cleanup_orphan_drission_chromes/TabPool.cleanup_orphanswith protect list- Offline tests for Drission Chrome cmdline matching and dry-run cleanup
Notes
- Success path still reuses the register browser (
clear_session); cleanup only targets crashed leftovers, not the live worker Chrome.
[1.1.1] - 2026-07-12
Fixed
- SSO leading-dash normalize now applies at mint core, protocol extract/set, GUI ledger write, and shared
format_account_line existing_cpa_emails/ skip-existing match Hotmail plus-aliases against sanitized CPA filenames- Official backfill script routes through
cpa_export(remote inject + hooks);--local-only/--no-remoteopt out - Config booleans in
cpa_exportuse_config_boolso string"false"is not truthy - CI syntax-checks
grok_register_ttk.py
Added
format_account_line,email_match_keys,email_in_existinghelpers- Offline tests for cookie extract normalize, plus-alias skip keys,
_config_bool
[1.1.0] - 2026-07-12
Added
- Public project packaging for open-source release
LICENSE(MIT),DISCLAIMER.md,SECURITY.md,CONTRIBUTING.md- GitHub Actions CI (syntax + offline tests)
- Local account backup helpers (
account_backup.py,scripts/backup_registered_accounts.py) - Optional remote CPA auth inject after successful OIDC mint
- Hotmail/Outlook Office REST code fetch with IMAP fallback
- Protocol-first CPA OIDC mint (
cpa_xai/protocol_mint.py) with browser fallback
Changed
- README rebranded as Grok 注册机 with full setup / ops docs
- Live Hotmail REST test gated behind
GROK_REGISTER_LIVE=1 - Project package name aligned to
grok-register
Security
- Runtime secrets remain gitignored (
config.json, accounts, CPA auths, backups, logs)
[1.0.0] - 2026-07-11
Added
- Chromium + DrissionPage registration core
- Hotmail four-field credential pool and plus-alias registration
- CPA export hook and
cpa_xaiOIDC tooling - CLI (
register_cli.py) and GUI (grok_register_ttk.py) entrypoints