plugin.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "name": "pdf",
  3. "version": "0.2.11",
  4. "description": "PDF production skills and a PDF viewer panel, published as an official ZCode plugin.",
  5. "description_i18n": {
  6. "en": "PDF production skills: typeset and render reports, resumes, posters, and covers to PDF. View PDFs in a side panel: reference passages in chat, and the agent can read, search, point at and capture pages.",
  7. "zh-CN": "PDF 制作技能:报告、简历、海报、封面的排版与渲染输出;并可在侧栏查看 PDF,把内容引用到对话,Agent 可以阅读、搜索、定位高亮并截取页面。"
  8. },
  9. "author": {
  10. "name": "Z.ai"
  11. },
  12. "license": "Apache-2.0",
  13. "skills": "skills",
  14. "mcpServers": {
  15. "pdf": {
  16. "type": "stdio",
  17. "command": "node",
  18. "args": ["${ZCODE_PLUGIN_ROOT}/dist/server.mjs"],
  19. "cwd": "${ZCODE_PROJECT_DIR}",
  20. "env": {
  21. "ZCODE_WORKSPACE_ROOT": "${ZCODE_PROJECT_DIR}"
  22. },
  23. "isolation": "workspace"
  24. }
  25. },
  26. "ui": {
  27. "surfaces": [
  28. {
  29. "id": "pdf",
  30. "title": {
  31. "zh-CN": "PDF",
  32. "en-US": "PDF"
  33. },
  34. "icon": "file-text",
  35. "server": "pdf",
  36. "resourceUri": "ui://pdf/panel.html",
  37. "availability": "session"
  38. }
  39. ]
  40. }
  41. }