Repository navigation
Releases
Releases · PhilRobinluo/douyin-cli-copilot
v2.1.0 — Peer Account Benchmark, Zero-Dep Share Cards & Clear Official Boundaries
[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 —OpenUserIdmajority-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-briefanti-plagiarism blueprint. - Zero-Dependency Shareable Card Studio
scripts/card_studio.py(dy.py card): Generates razor-sharp 1080×1440 vector SVG + standalone HTML cards (checkupAlgorithm Check-Up /receiptAttention Receipt /creator4-Quadrant Report) with zero pip / zero Playwright dependencies (optional local Chrome--pngexport). - 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-onlygit ls-remote --tagsstored 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 countshistory searchencrypted_queryciphertext without polluting interest topics; adds--tz-offsetstravel timezone calibration,late_night_nightsdistinct-night counting,watched_not_followedlist, and explicit data-window caveats.dy_common.py&video_autopsy.py: Gracefulerr_no=28001007missing-transcript handling (transcript_status: missing), screenshot-URL stripping for accurate spoken char counts, and automatic single retry for transient read-onlyREQUEST_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
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 internalvoice_id), andDEPLOYEDstatus.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--durationfilter (0,1~5,5~10000),--media-type image-text(图文雷达), stateful--watchlist/--new-only(NEW&SURGINGdelta detection), and--export-briefcreator remake brief export. - Combo 5 upgrades (
mirror_digest.py): Integratedhistory search,history live,user mutuals, plus--outexport. - Combo 6 upgrades (
works_review.py): Integrated officialuser follower-count(calculates ownlike_fan_ratio),--tracklongitudinal 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-cliandinstall.ps1 -WithOfficialClioptional 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) acrossvideo_autopsy,favorites_rescue,comment_guard,mirror_digest,works_review, andavatar_studio, plus 15-minute local TTL cache (--no-cacheto 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 powershellUTF-8 no-BOM--text-filecommands. - Hardened
dy_common.py: Domain allowlist on short-link resolver (blocks SSRF), standalone_000open_id/ JWT /github_pat_/ PEM redaction, and resilient 24h auto-updatestderrhandling.
Fixed
- Fixed
works_review.py publish-prepfalsely rejecting 301–1000 char video titles and now hard-blocks command generation on compliance failure. - Fixed
video_autopsy.pyandcomment_guard.pymissing@mentionscrubbing in--anonymizemode. - Fixed
comment_guard.pysilently skipping dup-reply verification after 15 comments or whenuser profilefails. - Fixed
feedback_loop.pymutatingexperience/lessons.mdinside the git repo (now writes to~/.local/state/douyin-cli-copilot/local-lessons.mdsogit pull --ff-onlystays clean) and wired action-count threshold doubling.
[1.0.0] - 2026-12-04
- Initial open-source release with 6 core workflows, offline
--demomode, and transparent Star/Issue loop.