plugin.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "name": "documents",
  3. "version": "0.2.1",
  4. "description": "DOCX document production skills and a Word viewer panel, published as an official ZCode plugin.",
  5. "description_i18n": {
  6. "en": "Word document production skills for DOCX: create, edit, format, review, and comment. View Word files in a side panel: reference passages in chat, and the agent can read, search, point at and capture them.",
  7. "zh-CN": "面向 DOCX 的 Word 文档制作技能:创建、编辑、排版、审阅与批注;并可在侧栏查看 Word 文件,把内容引用到对话,Agent 可以阅读、搜索、定位高亮并截取画面。"
  8. },
  9. "author": {
  10. "name": "Z.ai"
  11. },
  12. "license": "Apache-2.0",
  13. "skills": "skills",
  14. "agents": "agents",
  15. "mcpServers": {
  16. "documents": {
  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": "documents",
  31. "title": {
  32. "zh-CN": "Word 文档",
  33. "en-US": "Documents"
  34. },
  35. "icon": "file-text",
  36. "server": "documents",
  37. "resourceUri": "ui://documents/panel.html",
  38. "availability": "session"
  39. }
  40. ]
  41. }
  42. }