tabella.yaml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. name: tabella
  2. repo: https://github.com/dyiapanis/tabella
  3. sha: 4922d16c9d20ff7b4c2a3b4fbd0aa797f7be8d76
  4. description: >-
  5. Document lifecycle for agents in one package: create .docx/.xlsx/.pptx/.pdf/.odt/.ods/.odp
  6. from structured JSON or raw HTML/CSS, convert between formats via pandoc + LaTeX, and read
  7. any document — anydoc (Rust, office formats and text PDFs to Markdown, in-process) with
  8. LiteParse + Tesseract OCR fallback for scanned PDFs and images, plus PDF text editing with
  9. output-directory guards. Ships as an Agent Plugins v1 package (auto-discovered plugin.json +
  10. mcp.json declaring a stdio MCP server — the client spawns it per the v1 lifecycle,
  11. PLUGIN_ROOT/PLUGIN_DATA injected — plus an optional self-host streamable-HTTP server;
  12. first run of either bootstraps the dependency venv). The HTTP lane binds to 127.0.0.1 only
  13. and requires Bearer auth out of the box: a random token is generated into
  14. PLUGIN_DATA on first run (TABELLA_TOKEN overrides); requests with an Origin
  15. header or a non-JSON body are rejected, and model-supplied HTML cannot fetch
  16. network or local-file resources (data: URIs only — the same fetcher now also
  17. guards CSS input, not just HTML). Pandoc invocations are argument-safe:
  18. extra_args is allowlisted (--toc, --number-sections, -V key=value) and
  19. from_format/to_format are validated against the built-in format-name grammar
  20. (^[a-z0-9_]+([+-][a-z0-9_]+)*$), closing pandoc's *.lua reader/writer
  21. code-exec path; both servers re-exec into the dependency venv after
  22. bootstrap. Disclosure — Python
  23. deps (python-docx, openpyxl, python-pptx, weasyprint, odfpy, Pillow, lxml, PyMuPDF,
  24. firecrawl-anydoc, liteparse — 10 direct packages, transitives included in a 25-package
  25. closure) are pinned to exact versions with sha256 hashes in requirements-pinned.txt and
  26. installed with --require-hashes into a venv under PLUGIN_DATA or ~/.venvs/docs
  27. (scripts/setup.sh on Linux/macOS; on Windows the venv is built with the standard
  28. library's venv module — no bash or MSYS2 needed); system pandoc is required for
  29. conversion, a TeX engine (e.g. texlive-xetex) only when the output format is PDF
  30. (weasyprint for HTML->PDF); OCR needs the tesseract binary (UB-Mannheim build on
  31. Windows); all conversion, reading, OCR
  32. and PDF editing run locally with no network or telemetry; nothing is uploaded; read,
  33. convert, and PDF-edit tools access exactly the filesystem paths you pass; doc_create_document
  34. additionally containment-checks its output paths against the configured output directory
  35. (escape warns). Linux and Windows are CI-tested platforms (five-lane smoke battery on
  36. windows-latest: stdio lifecycle through a natively bootstrapped venv, create, read,
  37. pdf-from-html via the GTK runtime, pandoc convert).
  38. maintainer: dyiapanis
  39. tier: community
  40. category: tools
  41. requires_hermes: ">=0.21"
  42. docs_url: https://github.com/dyiapanis/tabella#readme
  43. version: "2.0.7"
  44. readme: true
  45. platforms:
  46. - linux
  47. - macos
  48. - windows
  49. capabilities:
  50. provides_tools:
  51. - doc_read
  52. - doc_read_meta
  53. - doc_convert
  54. - doc_create_document
  55. - doc_edit_pdf
  56. provides_hooks: []
  57. provides_middleware: []
  58. requires_env: []