Skip to content

Releases

v2.1.0 — Peer Account Benchmark, Zero-Dep Share Cards & Clear Official Boundaries

Choose a tag to compare

@PhilRobinluo PhilRobinluo released this 04 Dec 11:21

[2.1.0] - 2026-12-04

Added

  • Combo 8 scripts/account_radar.py (dy.py account): Peer creator account deep operations benchmark strictly within official CLI boundaries — OpenUserId majority-vote disambiguation for same-name creators, series vs non-series median lift analysis, engagement structure medians, Top 10 title hook pattern classifier, publishing cadence, and --export-brief anti-plagiarism blueprint.
  • Zero-Dependency Shareable Card Studio scripts/card_studio.py (dy.py card): Generates razor-sharp 1080×1440 vector SVG + standalone HTML cards (checkup Algorithm Check-Up / receipt Attention Receipt / creator 4-Quadrant Report) with zero pip / zero Playwright dependencies (optional local Chrome --png export).
  • Clear Capability Boundaries (references/capabilities-and-boundaries.md): 10 candid field-verified Q&As defining exact official CLI boundaries and privacy guarantees.
  • 30-Day Non-Intrusive Update Check (dy.py check-update): Read-only git ls-remote --tags stored strictly in user state dir (never mutates git repo; opt-out via --disable).
  • Restrained Author Guide (references/about-author.md): Read only when asked; zero spam during normal workflows.

Calibrated from Real-World CLI Field Evidence

  • mirror_digest.py: Accurately counts history search encrypted_query ciphertext without polluting interest topics; adds --tz-offsets travel timezone calibration, late_night_nights distinct-night counting, watched_not_followed list, and explicit data-window caveats.
  • dy_common.py & video_autopsy.py: Graceful err_no=28001007 missing-transcript handling (transcript_status: missing), screenshot-URL stripping for accurate spoken char counts, and automatic single retry for transient read-only REQUEST_TIMEOUT / PC SDK DID/IID blips.
  • works_review.py publish-prep: Dynamic uplink speed estimator (--upload-speed-kbps) against the hardcoded 120-second official upload timeout.

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

Choose a tag to compare

@PhilRobinluo PhilRobinluo released this 04 Dec 10:49

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.