Skip to content

v2.0.0 — Full-Stack Official CLI + AI Avatar Studio Flagship

Choose a tag to compare

@PhilRobinluo PhilRobinluo released this 04 Dec 10:49
· 3 commits to main since this release

Changelog

[2.0.0] - 2026-12-04

Added

  • Combo 0 scripts/doctor.py + references/install-and-auth.md: One-command environment/CLI/auth/scope/update health checker with a 7-workflow readiness matrix and distilled cross-platform installation + Agent non-blocking QR login SOP.
  • Combo 7 scripts/avatar_studio.py: Full cockpit for Douyin's official AI Avatar & Self-Hosted Agent (avatar + high-code-avatar):
    • status: online persona, 3 scenarios (评论 / AI 聊天 / 私聊) internal vs external runtime matrix, voice readiness (strictly redacting internal voice_id), and DEPLOYED status.
    • draft-persona: synthesizes compliant persona drafts from top works.
    • agent-check: validates 20 MiB ZIP hard limit, ZIP integrity, path traversal, and scans inside ZIP packages for leaked .env / private keys / API keys / JWTs before emitting 4-step dry-run deploy commands.
  • Unified Dispatcher scripts/dy.py: Single clean entrypoint (dy.py doctor|radar|autopsy|rescue|guard|mirror|review|publish-prep|avatar|star|issue).
  • Combo 1 upgrades (viral_radar.py): Native --duration filter (0, 1~5, 5~10000), --media-type image-text (图文雷达), stateful --watchlist / --new-only (NEW & SURGING delta detection), and --export-brief creator remake brief export.
  • Combo 5 upgrades (mirror_digest.py): Integrated history search, history live, user mutuals, plus --out export.
  • Combo 6 upgrades (works_review.py): Integrated official user follower-count (calculates own like_fan_ratio), --track longitudinal velocity tracking (Δ赞/Δ藏 + 二次起量预警), --publish-way slides, --download disallow, and --visibility friends.
  • Zero-dependency test suite & multi-OS CI: tests/test_copilot.py + .github/workflows/ci.yml (Ubuntu / macOS / Windows × Python 3.9 & 3.12) + README_EN.md + vector showcase visuals.
  • Installer upgrades: install.sh --with-official-cli and install.ps1 -WithOfficialCli optional one-shot official CLI installation + Antigravity/Claude Code multi-harness linking.

Performance & Security Hardening

  • 3–5x live speedup: Unified parallel_map (3–4 bounded workers) across video_autopsy, favorites_rescue, comment_guard, mirror_digest, works_review, and avatar_studio, plus 15-minute local TTL cache (--no-cache to bypass).
  • 8-category defense-in-depth comment guard: Strips zero-width & Unicode Tag (U+E0000..U+E007F) steganography, scans BOTH commenter nickname & text, enforces Silent Non-Disclosure (QUARANTINE_INJECTION = zero reply on AI probes/injections), wraps external content in randomized-nonce data fences, and supports --shell powershell UTF-8 no-BOM --text-file commands.
  • Hardened dy_common.py: Domain allowlist on short-link resolver (blocks SSRF), standalone _000 open_id / JWT / github_pat_ / PEM redaction, and resilient 24h auto-update stderr handling.

Fixed

  • Fixed works_review.py publish-prep falsely rejecting 301–1000 char video titles and now hard-blocks command generation on compliance failure.
  • Fixed video_autopsy.py and comment_guard.py missing @mention scrubbing in --anonymize mode.
  • Fixed comment_guard.py silently skipping dup-reply verification after 15 comments or when user profile fails.
  • Fixed feedback_loop.py mutating experience/lessons.md inside the git repo (now writes to ~/.local/state/douyin-cli-copilot/local-lessons.md so git pull --ff-only stays clean) and wired action-count threshold doubling.

[1.0.0] - 2026-12-04

  • Initial open-source release with 6 core workflows, offline --demo mode, and transparent Star/Issue loop.