plugin.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "name": "pdf",
  3. "version": "0.2.3",
  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. "agents": "agents",
  15. "mcpServers": {
  16. "pdf": {
  17. "type": "stdio",
  18. "command": "node",
  19. "args": ["${ZCODE_PLUGIN_ROOT}/dist/server.mjs"],
  20. "cwd": "${ZCODE_PROJECT_DIR}",
  21. "env": {
  22. "ZCODE_WORKSPACE_ROOT": "${ZCODE_PROJECT_DIR}"
  23. },
  24. "isolation": "workspace"
  25. }
  26. },
  27. "ui": {
  28. "surfaces": [
  29. {
  30. "id": "pdf",
  31. "title": {
  32. "zh-CN": "PDF",
  33. "en-US": "PDF"
  34. },
  35. "icon": "file-text",
  36. "server": "pdf",
  37. "resourceUri": "ui://pdf/panel.html",
  38. "availability": "session"
  39. }
  40. ]
  41. }
  42. }