mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-05 18:44:46 +08:00
对应失败草稿 #325(不关闭该草稿,也不将其标为 Ready)。本 PR 由 mashagua 正式提交,基于当前 `main`(`07d45545c31f4f3e2213b118c4cf0db258f2f833`),将 `skills/translate-book` 的已准入快照从 `a663b1b4f1e625b286cd2a81dffd16571e6f2aa2` 更新到未改动的目标 pin `1c531b49c688a7e8e601b176ce489790bcd10284`。 - 根 MIT LICENSE 与旧快照字节相同(git blob `c4af18ae2ff18b550d7fbeec0ccb15981cb97dca`)。 - 唯一超出 1 MiB 审核预算的文件是测试基线 `tests/baselines/standard-alice/standard-alice.epub`(10,635,439 字节,git blob `95f8c2387f2475bab8a56b6fb7e3ffc22bc0c75a`),新旧 pin 为同一 blob,是转换测试夹具而非运行时文件。使用现有政策的精确路径 `budgetExemptPaths`,没有全局抬高 `MAX_FILE_BYTES`,也没有用 `excludePaths` 假装安装排除。该文件仍留在审核树中。 - 安装范围是上游仓库根目录,因此 DesireCore 安装器仍可能拷贝这份测试 EPUB。已在 `compatibility.requirements` 中作中英披露(另含 Python 3 / pandoc / Calibre 运行前提)。 - 同时复核了本 pin 正文与脚本变化(SKILL.md 正文、新增 `scripts/figure_text.py`,以及 `convert.py` / `merge_and_build.py` / templates / tests 更新),不只处理体积豁免。许可、脚本与 SKILL 均保留。无依赖清单变化。 已在本地对固定新旧快照跑通 scoped `audit_snapshots`(observed_at `2026-11-22T14:20:32Z`,fileCount 50,checks 全部为 true)后才写入回执。亦已通过 catalog `--require-complete`、i18n validate、`translate.py --check skills/translate-book`,以及 catalog/audit/collection 单测。本 PR 不改变许可政策,不跑全局 Upstream Health,不合并。
38 lines
1.4 KiB
JSON
38 lines
1.4 KiB
JSON
{
|
|
"id": "translate-book",
|
|
"name": "Translate Book",
|
|
"category": "productivity",
|
|
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M5 4h9a3 3 0 013 3v13H8a3 3 0 01-3-3z\" stroke=\"#2563EB\" stroke-width=\"1.7\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M5 17a3 3 0 013-3h9\" stroke=\"#2563EB\" stroke-width=\"1.7\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>",
|
|
"tags": [
|
|
"translation",
|
|
"ebook",
|
|
"pdf",
|
|
"epub"
|
|
],
|
|
"i18n": {
|
|
"zh-CN": {
|
|
"name": "整书并行翻译",
|
|
"shortDesc": "把 PDF/DOCX/EPUB 整本书翻成目标语言。需 Python 3、pandoc 与 Calibre ebook-convert;消耗 token 较多,需支持子智能体。"
|
|
},
|
|
"en-US": {
|
|
"name": "Translate Book",
|
|
"shortDesc": "Translate whole PDF, DOCX or EPUB books into a target language. Requires Python 3, pandoc and Calibre ebook-convert; uses many tokens and needs sub-agent support."
|
|
}
|
|
},
|
|
"maintainer": {
|
|
"name": "deusyu",
|
|
"verified": false,
|
|
"account": "deusyu",
|
|
"url": "https://github.com/deusyu/translate-book"
|
|
},
|
|
"stewardship": "community",
|
|
"license": "MIT",
|
|
"redistribution": "allowed",
|
|
"source": {
|
|
"kind": "git",
|
|
"repoUrl": "https://github.com/deusyu/translate-book.git",
|
|
"repoBranch": "main",
|
|
"ref": "1c531b49c688a7e8e601b176ce489790bcd10284"
|
|
}
|
|
}
|