dsh-latex
Đã xác minh@hoangthach/dsh-latex · v0.1.0 · MIT
Compile LaTeX projects with Tectonic from DeepSeek Harness.
Cài đặt
dsh plugin add @hoangthach/dsh-latex Xác nhận layer đã áp bằng dsh --profile default --dump-config — xem hướng dẫn cài plugin.
Mã nguồn
Phát hành lên npm mà không có repository công khai. Hãy kiểm tra nội dung package trước khi cài.
Thẻ
Tác giả
Readme
Tobias LaTeX plugin for DeepSeek Harness
Plugin này thêm các tool LaTeX vào DeepSeek Harness. Tool compile chạy Tectonic trong workspace hiện được chọn và lưu PDF tại .tobias/compiled/<id>/.
Tools
latex_list_files— liệt kê tệp nguồn.latex_list_assets— liệt kê ảnh/PDF/asset.latex_read_file— đọc.tex,.bib,.md,.logvà tệp văn bản.latex_read_image— OCR ảnh bằng DeepSeek Vision, bao gồm công thức LaTeX.latex_read_pdf— đọc nội dung PDF qua Popplerpdftotext.latex_read_word— đọc.docvà.docx.latex_read_table— đọc.xlsxvà.csvthành bảng văn bản.latex_compile— biên dịch Tectonic.latex_read_compile_log— xem log compile gần nhất.latex_export_word— xuất.texsang.docxqua Pandoc.
Cài đặt
pnpm install
pnpm pack
dsh plugin --profile web add ./tobias-dsh-latex-0.1.0.tgz
dsh web
Máy chạy Harness phải có tectonic, pandoc, và Poppler (pdftotext) trong PATH; macOS đã có textutil để đọc Word. Tool OCR lấy key từ DEEPSEEK_API_KEY mặc định (hoặc đổi visionApiKeyEnv trong cordis.patch.yml). Sau khi mở Web UI, chọn workspace rồi yêu cầu agent: Biên dịch main.tex.
PDF là artifact trên filesystem ở bản đầu; mở đường dẫn PDF mà tool trả về. Bước tiếp theo là client plugin để render PDF ngay panel bên phải của DSH Web.