rosettex 1.0.2__tar.gz → 1.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rosettex-1.0.2 → rosettex-1.0.3}/.antigravity-plugin/plugin.json +3 -2
- {rosettex-1.0.2 → rosettex-1.0.3}/.claude-plugin/marketplace.json +1 -1
- rosettex-1.0.3/.claude-plugin/plugin.json +21 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/.github/workflows/release.yml +22 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/.mcp.json +2 -3
- {rosettex-1.0.2 → rosettex-1.0.3}/CHANGELOG.md +6 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/PKG-INFO +10 -10
- {rosettex-1.0.2 → rosettex-1.0.3}/README.md +9 -9
- rosettex-1.0.3/assets/logo.svg +6 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/gemini-extension.json +3 -4
- {rosettex-1.0.2/plugins/hermes → rosettex-1.0.3}/mcp.json +2 -3
- rosettex-1.0.3/mcp_config.json +11 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/plugin.json +1 -1
- rosettex-1.0.3/plugins/antigravity/README.md +6 -0
- rosettex-1.0.3/plugins/antigravity/assets/logo.svg +6 -0
- rosettex-1.0.3/plugins/antigravity/mcp_config.json +11 -0
- {rosettex-1.0.2/.claude-plugin → rosettex-1.0.3/plugins/antigravity}/plugin.json +3 -2
- {rosettex-1.0.2/plugins/hermes → rosettex-1.0.3/plugins/antigravity}/skills/rosettex/SKILL.md +1 -1
- rosettex-1.0.3/plugins/hermes/LICENSE +25 -0
- {rosettex-1.0.2 → rosettex-1.0.3/plugins/hermes}/mcp.json +2 -3
- {rosettex-1.0.2 → rosettex-1.0.3}/plugins/hermes/plugin.json +1 -1
- {rosettex-1.0.2 → rosettex-1.0.3/plugins/hermes}/skills/rosettex/SKILL.md +1 -1
- {rosettex-1.0.2 → rosettex-1.0.3}/pyproject.toml +1 -1
- {rosettex-1.0.2 → rosettex-1.0.3}/server.json +3 -10
- {rosettex-1.0.2/src/rosettex/data/skill → rosettex-1.0.3/skills}/rosettex/SKILL.md +1 -1
- rosettex-1.0.3/src/rosettex/__init__.py +1 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/cli.py +2 -0
- rosettex-1.0.3/src/rosettex/data/skill/rosettex/SKILL.md +43 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/skill.py +28 -8
- {rosettex-1.0.2 → rosettex-1.0.3}/uv.lock +1 -1
- rosettex-1.0.2/mcp_config.json +0 -12
- rosettex-1.0.2/src/rosettex/__init__.py +0 -1
- {rosettex-1.0.2 → rosettex-1.0.3}/.agents/plugins/marketplace.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/.github/workflows/ci.yml +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/.gitignore +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/.python-version +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/LICENSE +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/assets/demo-pdf-vi.png +0 -0
- {rosettex-1.0.2/plugins/hermes → rosettex-1.0.3/plugins/antigravity}/LICENSE +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/plugins/hermes/README.md +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/plugins/mcp.dev.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/scripts/ci_smoke.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/scripts/pseudo_translate.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/scripts/roundtrip_gate.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/__main__.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/arxiv.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/assemble.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/build/__init__.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/build/bisect.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/build/diagnose.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/build/driver.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/build/guard.lua +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/build/guard.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/build/pipeline.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/build/preamble.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/build/repair_state.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/build/shim.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/build/texbin.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/checks.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/__init__.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/commands.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifBengali-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifDevanagari-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifEthiopic-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifGujarati-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifJP-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifKR-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifKannada-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifMyanmar-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifSC-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifTC-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifTamil-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifTelugu-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/NotoSerifThai-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/LICENSES/Vazirmatn-OFL.txt +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/MANIFEST.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifBengali-Regular.ttf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifDevanagari-Regular.ttf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifEthiopic-Regular.ttf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifGujarati-Regular.ttf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifJP-Regular.otf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifKR-Regular.otf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifKannada-Regular.ttf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifMyanmar-Regular.ttf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifSC-Regular.otf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifTC-Regular.otf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifTamil-Regular.ttf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifTelugu-Regular.ttf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/NotoSerifThai-Regular.ttf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/Vazirmatn-Regular.ttf +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/__init__.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/fonts/coverage.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/instructions.md +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/am.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ar.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/as.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/be.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/bg.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/bn.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ckb.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/cs.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/de.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/en.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/es.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/fa.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/fr.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/gu.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/hi.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/id.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/it.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ja.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/kk.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/kn.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ko.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ky.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/mai.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/mk.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/mn.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/mr.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ms.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/my.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ne.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/nl.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/pl.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ps.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/pt.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ro.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ru.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/sa.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/sd.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/sr-Cyrl.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/sr-Latn.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/sr.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/sv.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ta.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/te.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/tg.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/th.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ti.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/tr.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ug.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/uk.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/ur.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/vi.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/zh-CN.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/zh-HK.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/zh-Hans.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/zh-Hant.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/zh-MO.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/zh-SG.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/zh-TW.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/langs/zh.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/schemas/build.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/schemas/check.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/schemas/doctor.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/schemas/envelope.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/schemas/fetch.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/schemas/fix.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/schemas/guide.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/schemas/install-skill.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/schemas/prepare.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/schemas/review.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/schemas/setup.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/schemas/status.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/__init__.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/arabic.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/bengali.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/cyrillic.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/devanagari.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/ethiopic.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/gujarati.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/han.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/hangul.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/kana.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/kannada.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/latin.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/myanmar.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/tamil.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/telugu.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/data/scripts/thai.json +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/escape.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/jsonio.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/langdata.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/mcp.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/numbers.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/pdf/__init__.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/pdf/classify.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/pdf/extract.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/pdf/merge.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/pdf/overlay.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/pdf/pipeline.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/pdf/reconcile.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/pdf/rxfit.lua +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/pdf/schema.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/pdf/snippets.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/pdf/stream.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/pdf/strip.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/postcheck.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/protocol/skill_head.md +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/segment.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/source.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/terms.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/texparse.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/textio.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/toolchain.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/unpack.py +0 -0
- {rosettex-1.0.2 → rosettex-1.0.3}/src/rosettex/workspace.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rosettex",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Translate a scientific paper from its TeX source (folder, archive, arXiv ID) or a born-digital PDF into another language and rebuild the PDF with the paper's own layout. You translate; rosettex prepares, checks and typesets.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "20235106-huynk",
|
|
@@ -16,5 +16,6 @@
|
|
|
16
16
|
"arxiv",
|
|
17
17
|
"scientific-papers",
|
|
18
18
|
"mcp"
|
|
19
|
-
]
|
|
19
|
+
],
|
|
20
|
+
"logo": "assets/logo.svg"
|
|
20
21
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"name": "rosettex",
|
|
10
10
|
"source": "./",
|
|
11
11
|
"description": "Translate a scientific paper from its TeX source (folder, archive, arXiv ID) or a born-digital PDF into another language and rebuild the PDF with the paper's own layout. You translate; rosettex prepares, checks and typesets.",
|
|
12
|
-
"version": "1.0.
|
|
12
|
+
"version": "1.0.3"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rosettex",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "Translate a scientific paper from its TeX source (folder, archive, arXiv ID) or a born-digital PDF into another language and rebuild the PDF with the paper's own layout. You translate; rosettex prepares, checks and typesets.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "20235106-huynk",
|
|
7
|
+
"url": "https://github.com/20235106-huynk"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/20235106-huynk/rosettex",
|
|
10
|
+
"repository": "https://github.com/20235106-huynk/rosettex",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"translation",
|
|
14
|
+
"latex",
|
|
15
|
+
"pdf",
|
|
16
|
+
"arxiv",
|
|
17
|
+
"scientific-papers",
|
|
18
|
+
"mcp"
|
|
19
|
+
],
|
|
20
|
+
"icon": "./assets/logo.svg"
|
|
21
|
+
}
|
|
@@ -42,3 +42,25 @@ jobs:
|
|
|
42
42
|
name: dist
|
|
43
43
|
path: dist/
|
|
44
44
|
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
45
|
+
|
|
46
|
+
mcp-registry:
|
|
47
|
+
needs: publish
|
|
48
|
+
runs-on: ubuntu-latest
|
|
49
|
+
permissions:
|
|
50
|
+
id-token: write
|
|
51
|
+
contents: read
|
|
52
|
+
steps:
|
|
53
|
+
- uses: actions/checkout@v5
|
|
54
|
+
- name: Wait until PyPI serves this version (the registry checks the package)
|
|
55
|
+
run: |
|
|
56
|
+
v="${GITHUB_REF_NAME#v}"
|
|
57
|
+
for i in $(seq 1 30); do
|
|
58
|
+
curl -sf "https://pypi.org/pypi/rosettex/$v/json" >/dev/null && exit 0
|
|
59
|
+
sleep 20
|
|
60
|
+
done
|
|
61
|
+
exit 1
|
|
62
|
+
- name: Install mcp-publisher
|
|
63
|
+
run: |
|
|
64
|
+
curl -sL "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz" | tar xz mcp-publisher
|
|
65
|
+
- run: ./mcp-publisher login github-oidc
|
|
66
|
+
- run: ./mcp-publisher publish
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.3 — 2026-11-28
|
|
4
|
+
- `rosettex mcp` runs the MCP server (same as `rosettex-mcp`); plugin manifests and the MCP Registry entry now start it
|
|
5
|
+
from PyPI (`uvx rosettex==<version> mcp`) instead of a git checkout.
|
|
6
|
+
- Slim `plugins/antigravity` package that passes `agy plugin validate --strict`; plugin logo.
|
|
7
|
+
- Releases also publish to the official MCP Registry.
|
|
8
|
+
|
|
3
9
|
## 1.0.2 — 2026-11-28
|
|
4
10
|
- Fix: the MCP tools without positional arguments (`guide`, `doctor`, `setup`) failed with
|
|
5
11
|
"unrecognized arguments: --". CI now calls them through the MCP server.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: rosettex
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: Translate scientific papers (TeX source or born-digital PDF) into another language with the original layout, for AI agent harnesses
|
|
5
5
|
Project-URL: Homepage, https://github.com/20235106-huynk/rosettex
|
|
6
6
|
Project-URL: Source, https://github.com/20235106-huynk/rosettex
|
|
@@ -33,7 +33,7 @@ Description-Content-Type: text/markdown
|
|
|
33
33
|
|
|
34
34
|
**Translate scientific papers into 19+ languages — and keep the paper's own layout.**
|
|
35
35
|
|
|
36
|
-
[](https://pypi.org/project/rosettex/)
|
|
37
37
|
[](https://github.com/20235106-huynk/rosettex/actions/workflows/ci.yml)
|
|
38
38
|
[](https://pypi.org/project/rosettex/)
|
|
39
39
|
[](#-connect-your-agent)
|
|
@@ -118,7 +118,7 @@ builds the PDF, shortens any text `build` reports as too long, and tells you whe
|
|
|
118
118
|
## 🔌 Connect Your Agent
|
|
119
119
|
|
|
120
120
|
This repository is a plugin at its root: one skill (`skills/rosettex`) and one MCP server that `uvx` starts from the
|
|
121
|
-
|
|
121
|
+
release on PyPI (`uvx rosettex==<version> mcp`), so [uv](https://docs.astral.sh/uv/) must be on PATH. The first run of `setup` installs TeX (the agent
|
|
122
122
|
asks you first).
|
|
123
123
|
|
|
124
124
|
### Install as a plugin
|
|
@@ -130,7 +130,7 @@ asks you first).
|
|
|
130
130
|
| **Codex CLI / ChatGPT desktop** | `codex plugin marketplace add 20235106-huynk/rosettex`, then install `rosettex` from `/plugins` (or the app's Plugins directory) |
|
|
131
131
|
| **GitHub Copilot CLI** | `copilot plugin install 20235106-huynk/rosettex` |
|
|
132
132
|
| **VS Code (Copilot)** | *Chat: Install Plugin from Source* with the repository URL, or add `20235106-huynk/rosettex` to `chat.plugins.marketplaces` |
|
|
133
|
-
| **Antigravity** | `agy plugin install https://github.com/20235106-huynk/rosettex` |
|
|
133
|
+
| **Antigravity** | `agy plugin install https://github.com/20235106-huynk/rosettex` (or the strict-clean slim package in `plugins/antigravity`) |
|
|
134
134
|
| **Gemini CLI** | `gemini extensions install https://github.com/20235106-huynk/rosettex` |
|
|
135
135
|
| **Hermes** | `hermes plugins install 20235106-huynk/rosettex/plugins/hermes`, then `hermes plugins enable rosettex` |
|
|
136
136
|
| **Devin** (Desktop, CLI, cloud) | `devin plugins install 20235106-huynk/rosettex`; cloud: Customize › Add plugin › From repository |
|
|
@@ -149,7 +149,7 @@ asks you first).
|
|
|
149
149
|
Trae, JetBrains AI Assistant) take the standard block in their MCP settings:
|
|
150
150
|
|
|
151
151
|
```json
|
|
152
|
-
{ "mcpServers": { "rosettex": { "command": "uvx", "args": ["
|
|
152
|
+
{ "mcpServers": { "rosettex": { "command": "uvx", "args": ["rosettex", "mcp"] } } }
|
|
153
153
|
```
|
|
154
154
|
|
|
155
155
|
<details>
|
|
@@ -157,12 +157,12 @@ asks you first).
|
|
|
157
157
|
|
|
158
158
|
| Harness | Where | Entry |
|
|
159
159
|
|---|---|---|
|
|
160
|
-
| OpenCode | `opencode.json` | `"mcp": { "servers": { "rosettex": { "type": "local", "command": ["uvx", "
|
|
161
|
-
| Kilo | `kilo.jsonc` | `"mcp": { "rosettex": { "type": "local", "command": ["uvx", "
|
|
162
|
-
| Crush | `crush.json` | `"mcp": { "rosettex": { "type": "stdio", "command": "uvx", "args": ["
|
|
163
|
-
| goose | `config.yaml` | `extensions: { rosettex: { name: rosettex, type: stdio, enabled: true, cmd: uvx, args: [
|
|
160
|
+
| OpenCode | `opencode.json` | `"mcp": { "servers": { "rosettex": { "type": "local", "command": ["uvx", "rosettex", "mcp"] } } }` |
|
|
161
|
+
| Kilo | `kilo.jsonc` | `"mcp": { "rosettex": { "type": "local", "command": ["uvx", "rosettex", "mcp"] } }` |
|
|
162
|
+
| Crush | `crush.json` | `"mcp": { "rosettex": { "type": "stdio", "command": "uvx", "args": ["rosettex", "mcp"] } }` |
|
|
163
|
+
| goose | `config.yaml` | `extensions: { rosettex: { name: rosettex, type: stdio, enabled: true, cmd: uvx, args: [rosettex, mcp], envs: {}, timeout: 300 } }` |
|
|
164
164
|
| Mistral Vibe | `config.toml` | `[[mcp_servers]]` with `name = "rosettex"`, `transport = "stdio"`, `command = "uvx"`, `args = [...]` |
|
|
165
|
-
| Amp | CLI | `amp mcp add rosettex -- uvx
|
|
165
|
+
| Amp | CLI | `amp mcp add rosettex -- uvx rosettex mcp` |
|
|
166
166
|
| Zed | `settings.json` | `"context_servers": { "rosettex": { "command": "uvx", "args": [...] } }` |
|
|
167
167
|
| Zencoder | VS Code `settings.json` | `"zencoder.mcpServers"` with the standard block |
|
|
168
168
|
| Visual Studio | `%USERPROFILE%\.mcp.json` | `"servers": { "rosettex": { "command": "uvx", "args": [...] } }` |
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
**Translate scientific papers into 19+ languages — and keep the paper's own layout.**
|
|
7
7
|
|
|
8
|
-
[](https://pypi.org/project/rosettex/)
|
|
9
9
|
[](https://github.com/20235106-huynk/rosettex/actions/workflows/ci.yml)
|
|
10
10
|
[](https://pypi.org/project/rosettex/)
|
|
11
11
|
[](#-connect-your-agent)
|
|
@@ -90,7 +90,7 @@ builds the PDF, shortens any text `build` reports as too long, and tells you whe
|
|
|
90
90
|
## 🔌 Connect Your Agent
|
|
91
91
|
|
|
92
92
|
This repository is a plugin at its root: one skill (`skills/rosettex`) and one MCP server that `uvx` starts from the
|
|
93
|
-
|
|
93
|
+
release on PyPI (`uvx rosettex==<version> mcp`), so [uv](https://docs.astral.sh/uv/) must be on PATH. The first run of `setup` installs TeX (the agent
|
|
94
94
|
asks you first).
|
|
95
95
|
|
|
96
96
|
### Install as a plugin
|
|
@@ -102,7 +102,7 @@ asks you first).
|
|
|
102
102
|
| **Codex CLI / ChatGPT desktop** | `codex plugin marketplace add 20235106-huynk/rosettex`, then install `rosettex` from `/plugins` (or the app's Plugins directory) |
|
|
103
103
|
| **GitHub Copilot CLI** | `copilot plugin install 20235106-huynk/rosettex` |
|
|
104
104
|
| **VS Code (Copilot)** | *Chat: Install Plugin from Source* with the repository URL, or add `20235106-huynk/rosettex` to `chat.plugins.marketplaces` |
|
|
105
|
-
| **Antigravity** | `agy plugin install https://github.com/20235106-huynk/rosettex` |
|
|
105
|
+
| **Antigravity** | `agy plugin install https://github.com/20235106-huynk/rosettex` (or the strict-clean slim package in `plugins/antigravity`) |
|
|
106
106
|
| **Gemini CLI** | `gemini extensions install https://github.com/20235106-huynk/rosettex` |
|
|
107
107
|
| **Hermes** | `hermes plugins install 20235106-huynk/rosettex/plugins/hermes`, then `hermes plugins enable rosettex` |
|
|
108
108
|
| **Devin** (Desktop, CLI, cloud) | `devin plugins install 20235106-huynk/rosettex`; cloud: Customize › Add plugin › From repository |
|
|
@@ -121,7 +121,7 @@ asks you first).
|
|
|
121
121
|
Trae, JetBrains AI Assistant) take the standard block in their MCP settings:
|
|
122
122
|
|
|
123
123
|
```json
|
|
124
|
-
{ "mcpServers": { "rosettex": { "command": "uvx", "args": ["
|
|
124
|
+
{ "mcpServers": { "rosettex": { "command": "uvx", "args": ["rosettex", "mcp"] } } }
|
|
125
125
|
```
|
|
126
126
|
|
|
127
127
|
<details>
|
|
@@ -129,12 +129,12 @@ asks you first).
|
|
|
129
129
|
|
|
130
130
|
| Harness | Where | Entry |
|
|
131
131
|
|---|---|---|
|
|
132
|
-
| OpenCode | `opencode.json` | `"mcp": { "servers": { "rosettex": { "type": "local", "command": ["uvx", "
|
|
133
|
-
| Kilo | `kilo.jsonc` | `"mcp": { "rosettex": { "type": "local", "command": ["uvx", "
|
|
134
|
-
| Crush | `crush.json` | `"mcp": { "rosettex": { "type": "stdio", "command": "uvx", "args": ["
|
|
135
|
-
| goose | `config.yaml` | `extensions: { rosettex: { name: rosettex, type: stdio, enabled: true, cmd: uvx, args: [
|
|
132
|
+
| OpenCode | `opencode.json` | `"mcp": { "servers": { "rosettex": { "type": "local", "command": ["uvx", "rosettex", "mcp"] } } }` |
|
|
133
|
+
| Kilo | `kilo.jsonc` | `"mcp": { "rosettex": { "type": "local", "command": ["uvx", "rosettex", "mcp"] } }` |
|
|
134
|
+
| Crush | `crush.json` | `"mcp": { "rosettex": { "type": "stdio", "command": "uvx", "args": ["rosettex", "mcp"] } }` |
|
|
135
|
+
| goose | `config.yaml` | `extensions: { rosettex: { name: rosettex, type: stdio, enabled: true, cmd: uvx, args: [rosettex, mcp], envs: {}, timeout: 300 } }` |
|
|
136
136
|
| Mistral Vibe | `config.toml` | `[[mcp_servers]]` with `name = "rosettex"`, `transport = "stdio"`, `command = "uvx"`, `args = [...]` |
|
|
137
|
-
| Amp | CLI | `amp mcp add rosettex -- uvx
|
|
137
|
+
| Amp | CLI | `amp mcp add rosettex -- uvx rosettex mcp` |
|
|
138
138
|
| Zed | `settings.json` | `"context_servers": { "rosettex": { "command": "uvx", "args": [...] } }` |
|
|
139
139
|
| Zencoder | VS Code `settings.json` | `"zencoder.mcpServers"` with the standard block |
|
|
140
140
|
| Visual Studio | `%USERPROFILE%\.mcp.json` | `"servers": { "rosettex": { "command": "uvx", "args": [...] } }` |
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256">
|
|
2
|
+
<rect width="256" height="256" rx="48" fill="#1f3a5f"/>
|
|
3
|
+
<rect x="58" y="44" width="140" height="168" rx="14" fill="#f6efe1"/>
|
|
4
|
+
<path d="M78 84h100M78 108h100M78 132h64" stroke="#1f3a5f" stroke-width="10" stroke-linecap="round"/>
|
|
5
|
+
<text x="152" y="196" font-family="Georgia, serif" font-size="64" font-weight="700" fill="#c0392b" text-anchor="middle">Rx</text>
|
|
6
|
+
</svg>
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rosettex",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Translate a scientific paper from its TeX source (folder, archive, arXiv ID) or a born-digital PDF into another language and rebuild the PDF with the paper's own layout. You translate; rosettex prepares, checks and typesets.",
|
|
5
5
|
"mcpServers": {
|
|
6
6
|
"rosettex": {
|
|
7
7
|
"command": "uvx",
|
|
8
8
|
"args": [
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"rosettex-mcp"
|
|
9
|
+
"rosettex==1.0.3",
|
|
10
|
+
"mcp"
|
|
12
11
|
]
|
|
13
12
|
}
|
|
14
13
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "rosettex",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.3",
|
|
5
5
|
"description": "Translate a scientific paper from its TeX source (folder, archive, arXiv ID) or a born-digital PDF into another language and rebuild the PDF with the paper's own layout. You translate; rosettex prepares, checks and typesets.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "20235106-huynk",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# rosettex for Antigravity
|
|
2
|
+
|
|
3
|
+
The slim Antigravity package of rosettex (passes `agy plugin validate --strict`): the skill, the MCP launcher and the
|
|
4
|
+
logo. Needs uv on PATH. The repository root installs too: `agy plugin install https://github.com/20235106-huynk/rosettex`.
|
|
5
|
+
|
|
6
|
+
Generated by `python -m rosettex.skill`; do not edit by hand.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256">
|
|
2
|
+
<rect width="256" height="256" rx="48" fill="#1f3a5f"/>
|
|
3
|
+
<rect x="58" y="44" width="140" height="168" rx="14" fill="#f6efe1"/>
|
|
4
|
+
<path d="M78 84h100M78 108h100M78 132h64" stroke="#1f3a5f" stroke-width="10" stroke-linecap="round"/>
|
|
5
|
+
<text x="152" y="196" font-family="Georgia, serif" font-size="64" font-weight="700" fill="#c0392b" text-anchor="middle">Rx</text>
|
|
6
|
+
</svg>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rosettex",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Translate a scientific paper from its TeX source (folder, archive, arXiv ID) or a born-digital PDF into another language and rebuild the PDF with the paper's own layout. You translate; rosettex prepares, checks and typesets.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "20235106-huynk",
|
|
@@ -16,5 +16,6 @@
|
|
|
16
16
|
"arxiv",
|
|
17
17
|
"scientific-papers",
|
|
18
18
|
"mcp"
|
|
19
|
-
]
|
|
19
|
+
],
|
|
20
|
+
"logo": "assets/logo.svg"
|
|
20
21
|
}
|
{rosettex-1.0.2/plugins/hermes → rosettex-1.0.3/plugins/antigravity}/skills/rosettex/SKILL.md
RENAMED
|
@@ -3,7 +3,7 @@ name: rosettex
|
|
|
3
3
|
description: Translate a scientific paper from its LaTeX source (a folder, an archive, or an arXiv ID/link) or a born-digital PDF into another language and build the translated PDF with the paper's own layout. Use when the user asks to translate a paper/article. You translate; the rosettex CLI prepares, checks and typesets.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
rosettex-version: "1.0.
|
|
6
|
+
rosettex-version: "1.0.3"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# rosettex — translate a scientific paper
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nguyễn Kim Huy
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
Bundled fonts (src/rosettex/data/fonts/) are distributed under the SIL Open Font
|
|
25
|
+
License 1.1; each font's licence text is in src/rosettex/data/fonts/LICENSES/.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "rosettex",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.3",
|
|
5
5
|
"description": "Translate a scientific paper from its TeX source (folder, archive, arXiv ID) or a born-digital PDF into another language and rebuild the PDF with the paper's own layout. You translate; rosettex prepares, checks and typesets.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "20235106-huynk",
|
|
@@ -3,7 +3,7 @@ name: rosettex
|
|
|
3
3
|
description: Translate a scientific paper from its LaTeX source (a folder, an archive, or an arXiv ID/link) or a born-digital PDF into another language and build the translated PDF with the paper's own layout. Use when the user asks to translate a paper/article. You translate; the rosettex CLI prepares, checks and typesets.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
rosettex-version: "1.0.
|
|
6
|
+
rosettex-version: "1.0.3"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# rosettex — translate a scientific paper
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "rosettex"
|
|
3
|
-
version = "1.0.
|
|
3
|
+
version = "1.0.3"
|
|
4
4
|
description = "Translate scientific papers (TeX source or born-digital PDF) into another language with the original layout, for AI agent harnesses"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [{ name = "Nguyễn Kim Huy" }]
|
|
@@ -6,24 +6,17 @@
|
|
|
6
6
|
"url": "https://github.com/20235106-huynk/rosettex",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.3",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "pypi",
|
|
13
13
|
"identifier": "rosettex",
|
|
14
|
-
"version": "1.0.
|
|
14
|
+
"version": "1.0.3",
|
|
15
15
|
"runtimeHint": "uvx",
|
|
16
|
-
"runtimeArguments": [
|
|
17
|
-
{
|
|
18
|
-
"type": "named",
|
|
19
|
-
"name": "--from",
|
|
20
|
-
"value": "rosettex==1.0.2"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
16
|
"packageArguments": [
|
|
24
17
|
{
|
|
25
18
|
"type": "positional",
|
|
26
|
-
"value": "
|
|
19
|
+
"value": "mcp"
|
|
27
20
|
}
|
|
28
21
|
],
|
|
29
22
|
"transport": {
|
|
@@ -3,7 +3,7 @@ name: rosettex
|
|
|
3
3
|
description: Translate a scientific paper from its LaTeX source (a folder, an archive, or an arXiv ID/link) or a born-digital PDF into another language and build the translated PDF with the paper's own layout. Use when the user asks to translate a paper/article. You translate; the rosettex CLI prepares, checks and typesets.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
rosettex-version: "1.0.
|
|
6
|
+
rosettex-version: "1.0.3"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# rosettex — translate a scientific paper
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.0.3"
|
|
@@ -1122,6 +1122,7 @@ def _main(argv: list[str]) -> int:
|
|
|
1122
1122
|
dr.add_argument("--force", action="store_true")
|
|
1123
1123
|
for sp in (f, pr, c, rv, fx, b, s, g, ins, su, dr):
|
|
1124
1124
|
sp.add_argument("--json", action="store_true")
|
|
1125
|
+
sub.add_parser("mcp", help="run the MCP server over stdio (same as rosettex-mcp)")
|
|
1125
1126
|
a = p.parse_args(argv)
|
|
1126
1127
|
return {
|
|
1127
1128
|
"fetch": cmd_fetch,
|
|
@@ -1135,4 +1136,5 @@ def _main(argv: list[str]) -> int:
|
|
|
1135
1136
|
"install-skill": cmd_install_skill,
|
|
1136
1137
|
"setup": cmd_setup,
|
|
1137
1138
|
"doctor": cmd_doctor,
|
|
1139
|
+
"mcp": lambda _a: __import__("rosettex.mcp", fromlist=["main"]).main(),
|
|
1138
1140
|
}[a.cmd](a)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rosettex
|
|
3
|
+
description: Translate a scientific paper from its LaTeX source (a folder, an archive, or an arXiv ID/link) or a born-digital PDF into another language and build the translated PDF with the paper's own layout. Use when the user asks to translate a paper/article. You translate; the rosettex CLI prepares, checks and typesets.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
rosettex-version: "1.0.3"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# rosettex — translate a scientific paper
|
|
10
|
+
|
|
11
|
+
Hard rules:
|
|
12
|
+
- Never read rosettex's source code or installed package files (everything you need is here and in command results).
|
|
13
|
+
- Never write files outside the work directory (and the output PDF path).
|
|
14
|
+
- `rosettex check` is the only validator you need — never write your own scripts to check or generate translations.
|
|
15
|
+
- Always run the `next_argv` of the last result. If it contains a placeholder (`<code>`, `<source>` or `<candidate>`), replace <…> with the value `next_action` names; `build --out` may be changed to the path the user wants.
|
|
16
|
+
- Every result has `state`: `partial` = the time budget ran out at a safe point, run `next_argv` again (it continues); `ask_user` = ask the user `ask_user.question` (offer `ask_user.options`) before running `next_argv`; `error` = read `message`.
|
|
17
|
+
- Run one `rosettex … --json` command at a time.
|
|
18
|
+
|
|
19
|
+
Flow:
|
|
20
|
+
`rosettex fetch <source> -o <work>` (folder, archive, arXiv ID/link, or local `.pdf`) → `rosettex prepare <work> --lang <code>` → read `read/*.md` → fill `terms.md` (`field:`, Terms, Expressions) → append `sNNNN <translation>` lines to `out/NN.txt` → `rosettex check <work>` (fix by appending lines) → `rosettex build <work> --out <file.pdf>` → if `state: "needs_repair"`, follow `diagnosis` (TeX route: append a line to `out/*.txt`, `rosettex fix <work> --file <path>` then edit `work/fix/<path>`, or edit `work/build.json`; PDF route: shorten the overflowing translations listed in `diagnosis` by appending corrected `sNNNN <translation>` lines to `out/*.txt`) and build again.
|
|
21
|
+
|
|
22
|
+
How to run rosettex:
|
|
23
|
+
`rosettex …` (installed on PATH with `uv tool install`; also accept a launcher given by the user).
|
|
24
|
+
|
|
25
|
+
Translation loop in <work>:
|
|
26
|
+
1. Read sheets (read/*.md) in <work>/read/.
|
|
27
|
+
2. Fill <work>/terms.md: set `field:` first (from title + abstract), fill key Terms, and add any figurative/field-specific expressions you meet to Expressions.
|
|
28
|
+
3. Append answers (`sNNNN <translation>`) to <work>/out/NN.txt.
|
|
29
|
+
4. Run `rosettex check <work>` until ok, then `rosettex build <work> --out <file.pdf>`.
|
|
30
|
+
|
|
31
|
+
Translation rules:
|
|
32
|
+
- Placeholders (`⟦mN⟧`, `⟦rN⟧`, `⟦cN⟧`, `⟦sN⟧`, `⟦lN⟧`): keep each once; move freely. Keep `⟦bN⟧…⟦/bN⟧` ordered, nested, non-empty. Never copy ` ~ …` legends.
|
|
33
|
+
- `sNNNN = sMMMM` lines are auto-filled; do NOT answer them.
|
|
34
|
+
- Corrections: append a new `sNNNN <translation>` line to `out/*.txt` (later line wins; never rewrite whole files).
|
|
35
|
+
- Numbers/dates: keep exact values in the <lang> locale (e.g. decimal-comma locales like vi: `0,5`, `1.000`, lists `(1; 2)`). Dates like `December 2018` allow numeric months (`tháng 12 năm 2018`).
|
|
36
|
+
- Field & meaning: decide `field:` first. Translate by meaning in that field, never word for word. Render idioms, metaphors and figurative jargon with an equivalent expression in <lang> (e.g. "the workhorse of NLP" means the dominant/main model family, not a literal draft animal); prefer the field's established terms in <lang> over calques.
|
|
37
|
+
- Terms & Expressions: in `terms.md`, `=` keeps a term unchanged, empty rows are ignored, and `check` enforces every filled row across both Terms and Expressions.
|
|
38
|
+
- PDF route (when `route: "pdf"`):
|
|
39
|
+
- Formula without a placeholder: copy it verbatim (rosettex wraps it automatically).
|
|
40
|
+
- Flagged placeholder `⟦mN?⟧`: drop `⟦mN?⟧` and translate it only when its preview in the `~` legend is clearly an ordinary word of the sentence; when unsure (e.g. `ETmiss`, `mmin`), keep `⟦mN⟧`.
|
|
41
|
+
- Budget line (`~ p.N · ≤ M chars`): character budget for the box on page N; stay within it when possible (`check` warns if >25% over).
|
|
42
|
+
- Repair diagnosis (`state: "needs_repair"`): lists overflowing segments with target character counts; shorten those translations (keep placeholders), append corrected `sNNNN <translation>` lines to `out/*.txt`, and re-run `build`.
|
|
43
|
+
- `direction_change` error: the PDF route cannot change writing direction (LTR↔RTL); tell the user to translate from the paper's TeX source instead.
|
|
@@ -82,6 +82,29 @@ def hermes_package(root: Path, skill_text: str) -> dict[Path, str]:
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
|
|
85
|
+
ANTIGRAVITY_README = """# rosettex for Antigravity
|
|
86
|
+
|
|
87
|
+
The slim Antigravity package of rosettex (passes `agy plugin validate --strict`): the skill, the MCP launcher and the
|
|
88
|
+
logo. Needs uv on PATH. The repository root installs too: `agy plugin install https://github.com/${OWNER}/rosettex`.
|
|
89
|
+
|
|
90
|
+
Generated by `python -m rosettex.skill`; do not edit by hand.
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def antigravity_package(root: Path, skill_text: str) -> dict[Path, str]:
|
|
95
|
+
"""plugins/antigravity/: plugin.json, mcp_config.json, the skill, the logo, a README and the LICENSE."""
|
|
96
|
+
m = render_manifests(__version__)
|
|
97
|
+
d = root / "plugins" / "antigravity"
|
|
98
|
+
return {
|
|
99
|
+
d / "plugin.json": m[".antigravity-plugin/plugin.json"],
|
|
100
|
+
d / "mcp_config.json": m["mcp_config.json"],
|
|
101
|
+
d / "skills" / "rosettex" / "SKILL.md": skill_text,
|
|
102
|
+
d / "assets" / "logo.svg": (root / "assets" / "logo.svg").read_text(encoding="utf-8"),
|
|
103
|
+
d / "README.md": ANTIGRAVITY_README.replace("${OWNER}", OWNER),
|
|
104
|
+
d / "LICENSE": (root / "LICENSE").read_text(encoding="utf-8"),
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
|
|
85
108
|
def get_skill_locations(home: Path | None = None) -> list[Path]:
|
|
86
109
|
base = home if home is not None else Path(os.environ.get("HOME", str(Path.home())))
|
|
87
110
|
return [
|
|
@@ -94,10 +117,7 @@ def get_skill_locations(home: Path | None = None) -> list[Path]:
|
|
|
94
117
|
|
|
95
118
|
def render_manifests(version: str) -> dict[str, str]:
|
|
96
119
|
"""Every plugin manifest at the repo root, from the version and DESCRIPTION. Path (relative to the root) -> text."""
|
|
97
|
-
server = {
|
|
98
|
-
"command": "uvx",
|
|
99
|
-
"args": ["--from", f"git+{REPO}@v{version}", "rosettex-mcp"],
|
|
100
|
-
}
|
|
120
|
+
server = {"command": "uvx", "args": [f"rosettex=={version}", "mcp"]} # PyPI: `rosettex mcp` runs the MCP server
|
|
101
121
|
typed = {"rosettex": {"type": "stdio", **server}} # Agent Plugins and Claude Code
|
|
102
122
|
bare = {"rosettex": server} # Antigravity and Gemini CLI
|
|
103
123
|
author = {"name": OWNER, "url": f"https://github.com/{OWNER}"}
|
|
@@ -106,7 +126,7 @@ def render_manifests(version: str) -> dict[str, str]:
|
|
|
106
126
|
files = {
|
|
107
127
|
"plugin.json": {"$schema": f"{SCHEMAS}/plugin.schema.json", **common, **meta},
|
|
108
128
|
"mcp.json": {"$schema": f"{SCHEMAS}/mcp.schema.json", "mcpServers": typed},
|
|
109
|
-
".claude-plugin/plugin.json": {**common, **meta},
|
|
129
|
+
".claude-plugin/plugin.json": {**common, **meta, "icon": "./assets/logo.svg"},
|
|
110
130
|
".claude-plugin/marketplace.json": {
|
|
111
131
|
"name": "rosettex",
|
|
112
132
|
"owner": {"name": OWNER},
|
|
@@ -114,7 +134,7 @@ def render_manifests(version: str) -> dict[str, str]:
|
|
|
114
134
|
"plugins": [{"name": "rosettex", "source": "./", "description": DESCRIPTION, "version": version}],
|
|
115
135
|
},
|
|
116
136
|
".mcp.json": {"mcpServers": typed},
|
|
117
|
-
".antigravity-plugin/plugin.json": {**common, **meta},
|
|
137
|
+
".antigravity-plugin/plugin.json": {**common, **meta, "logo": "assets/logo.svg"},
|
|
118
138
|
"mcp_config.json": {"mcpServers": bare},
|
|
119
139
|
"gemini-extension.json": {**common, "mcpServers": bare},
|
|
120
140
|
"server.json": { # MCP Registry; needs the package on PyPI (see .github/workflows/release.yml)
|
|
@@ -129,8 +149,7 @@ def render_manifests(version: str) -> dict[str, str]:
|
|
|
129
149
|
"identifier": "rosettex",
|
|
130
150
|
"version": version,
|
|
131
151
|
"runtimeHint": "uvx",
|
|
132
|
-
"
|
|
133
|
-
"packageArguments": [{"type": "positional", "value": "rosettex-mcp"}],
|
|
152
|
+
"packageArguments": [{"type": "positional", "value": "mcp"}],
|
|
134
153
|
"transport": {"type": "stdio"},
|
|
135
154
|
}
|
|
136
155
|
],
|
|
@@ -279,6 +298,7 @@ def main(argv=None) -> int:
|
|
|
279
298
|
root / "src" / "rosettex" / "data" / "skill" / "rosettex" / "SKILL.md": content,
|
|
280
299
|
**{root / path: text for path, text in render_manifests(__version__).items()},
|
|
281
300
|
**hermes_package(root, content),
|
|
301
|
+
**antigravity_package(root, content),
|
|
282
302
|
}
|
|
283
303
|
if a.check:
|
|
284
304
|
stale = [str(p) for p, text in copies.items() if not p.is_file() or p.read_text(encoding="utf-8") != text]
|
rosettex-1.0.2/mcp_config.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|