openclaw.plugin.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "id": "knowhub",
  3. "kind": "knowledge",
  4. "uiHints": {
  5. "apiUrl": {
  6. "label": "KnowHub Server URL",
  7. "placeholder": "http://43.106.118.91:9999",
  8. "help": "KnowHub Server 地址(默认: http://43.106.118.91:9999)"
  9. },
  10. "submittedBy": {
  11. "label": "提交者标识",
  12. "placeholder": "user@example.com",
  13. "help": "提交者邮箱或标识"
  14. },
  15. "reminderMode": {
  16. "label": "提醒模式",
  17. "help": "自动提醒频率"
  18. },
  19. "enableServerExtraction": {
  20. "label": "启用服务端提取",
  21. "help": "在 agent 结束时自动上传消息历史到服务端提取知识"
  22. },
  23. "privacyMode": {
  24. "label": "隐私模式",
  25. "help": "数据脱敏级别"
  26. }
  27. },
  28. "configSchema": {
  29. "type": "object",
  30. "additionalProperties": false,
  31. "properties": {
  32. "apiUrl": {
  33. "type": "string",
  34. "default": "http://43.106.118.91:9999"
  35. },
  36. "submittedBy": {
  37. "type": "string",
  38. "default": ""
  39. },
  40. "reminderMode": {
  41. "type": "string",
  42. "enum": ["off", "minimal", "normal", "aggressive"],
  43. "default": "normal"
  44. },
  45. "enableServerExtraction": {
  46. "type": "boolean",
  47. "default": true
  48. },
  49. "privacyMode": {
  50. "type": "string",
  51. "enum": ["strict", "relaxed"],
  52. "default": "strict"
  53. }
  54. },
  55. "required": ["apiUrl"]
  56. }
  57. }