chore: rebuild dist/openclaw from source
This commit is contained in:
parent
c133234dc8
commit
e11666c364
2 changed files with 4 additions and 3 deletions
4
dist/openclaw/SKILL.md
vendored
4
dist/openclaw/SKILL.md
vendored
|
|
@ -316,7 +316,7 @@ LLM 自行完成,不需要调用脚本。
|
|||
读取: {baseDir}/references/seo-rules.md
|
||||
```
|
||||
|
||||
**5.1 SEO**:3 个备选标题 + 摘要(≤54 字)+ 5 标签 + 关键词密度优化
|
||||
**5.1 SEO**:3 个备选标题 + 摘要(≤40 字)+ 5 标签 + 关键词密度优化
|
||||
|
||||
**5.2 质量验证**(两个维度,每项逐一检查):
|
||||
|
||||
|
|
@ -403,7 +403,7 @@ Converter 自动处理:CJK 加空格、加粗标点外移、列表转 section
|
|||
|
||||
```bash
|
||||
# 发布
|
||||
python3 {baseDir}/toolkit/cli.py publish {markdown} --cover {cover} --theme {theme} --title "{title}"
|
||||
python3 {baseDir}/toolkit/cli.py publish {markdown} --cover {cover} --theme {theme} --title "{title}" --digest "{digest}"
|
||||
|
||||
# 降级:本地预览
|
||||
python3 {baseDir}/toolkit/cli.py preview {markdown} --theme {theme} --no-open -o {output}.html
|
||||
|
|
|
|||
3
dist/openclaw/toolkit/cli.py
vendored
3
dist/openclaw/toolkit/cli.py
vendored
|
|
@ -121,7 +121,7 @@ def cmd_publish(args):
|
|||
|
||||
# Create draft
|
||||
title = args.title or result.title or Path(args.input).stem
|
||||
digest = result.digest
|
||||
digest = args.digest or result.digest
|
||||
draft = create_draft(
|
||||
access_token=token,
|
||||
title=title,
|
||||
|
|
@ -388,6 +388,7 @@ def main():
|
|||
p_publish.add_argument("--cover", help="Cover image file path")
|
||||
p_publish.add_argument("--title", help="Override article title")
|
||||
p_publish.add_argument("--author", default=None, help="Article author")
|
||||
p_publish.add_argument("--digest", default=None, help="Override article digest (≤120 UTF-8 bytes)")
|
||||
|
||||
# themes
|
||||
sub.add_parser("themes", help="List available themes")
|
||||
|
|
|
|||
Loading…
Reference in a new issue