Skip to content

feat: 广告焕新尾卡文字改成可选(0.18.1) - #19

Merged
deeplearning-goethe merged 1 commit into
mainfrom
feat/ad-refresh-auto-end-card-w7-20261205
Dec 5, 2026
Merged

deeplearning-goethe merged 1 commit into
mainfrom
feat/ad-refresh-auto-end-card-w7-20261205

Conversation

@deeplearning-goethe

Copy link
Copy Markdown
Collaborator

改了什么

evolink ad-refresh quote 选 --mode hook_and_end_card 时,尾卡文字改成可选。

  • 不给 --end-card-line1:不传 end_card,由服务按原片自动做尾卡。
  • 给了:照原话用,和以前一样。
  • 下面几种照旧报 invalid_end_card:
    • 只给 --end-card-line2。
    • 给了空字符串。
    • 一行超过 160 字,或带表情符号。
    • 「仅换开头」(hook_only)却带了尾卡文字。
  • 帮助文字和随包技能 skills/evolink-cli/SKILL.md 同步改:尾卡文字不强求,客户给了具体的字才传。
  • 版本升到 0.18.1。

验收(测试机)

  • Node 22:
    • npm run check 通过。
    • 全部测试 217/217。
    • 变异 256/256 全部抓到,含新加的 5 条:尾卡文字又变必填、只给第二行被放过、「仅换开头」带尾卡被放过、没文字时仍传 end_card、帮助又写回"必填"。
    • 两份价格变异各 10/10。
  • Node 24:全部测试 217/217,新加的 5 条变异都抓到。
  • npm pack 预演:@evolinkai/cli@0.18.1,80 个文件。

上线

要等托管 MCP 换上支持"不带 end_card"的版本以后,再暂存、批准 npm。不然旧 MCP 会拒掉不带尾卡文字的报价。

🤖 Generated with Claude Code

With --mode hook_and_end_card, --end-card-line1 is now optional. Without
it, the CLI sends no end_card and the service makes the end card from the
ad. --end-card-line2 still needs --end-card-line1, and end card text still
needs hook_and_end_card. Prepare CLI 0.18.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@deeplearning-goethe
deeplearning-goethe merged commit 08472ea into main Dec 5, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant