{
  "id": "knowhub",
  "kind": "knowledge",
  "uiHints": {
    "apiUrl": {
      "label": "KnowHub Server URL",
      "placeholder": "http://43.106.118.91:9999",
      "help": "KnowHub Server 地址（默认: http://43.106.118.91:9999）"
    },
    "submittedBy": {
      "label": "提交者标识",
      "placeholder": "user@example.com",
      "help": "提交者邮箱或标识"
    },
    "reminderMode": {
      "label": "提醒模式",
      "help": "自动提醒频率"
    },
    "enableServerExtraction": {
      "label": "启用服务端提取",
      "help": "在 agent 结束时自动上传消息历史到服务端提取知识"
    },
    "privacyMode": {
      "label": "隐私模式",
      "help": "数据脱敏级别"
    }
  },
  "configSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "apiUrl": {
        "type": "string",
        "default": "http://43.106.118.91:9999"
      },
      "submittedBy": {
        "type": "string",
        "default": ""
      },
      "reminderMode": {
        "type": "string",
        "enum": ["off", "minimal", "normal", "aggressive"],
        "default": "normal"
      },
      "enableServerExtraction": {
        "type": "boolean",
        "default": true
      },
      "privacyMode": {
        "type": "string",
        "enum": ["strict", "relaxed"],
        "default": "strict"
      }
    },
    "required": ["apiUrl"]
  }
}
