{
  "id": "session-mode-switch",
  "name": "会话模式切换",
  "description": "按会话应用 Fast、Standard 与 Expert 策略。",
  "version": "0.1.0",
  "activation": {
    "onStartup": true
  },
  "configSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "statePath": {
        "type": "string",
        "description": "可选的状态文件绝对路径；未配置时使用插件目录内的默认位置。"
      },
      "modelTargets": {
        "type": "object",
        "description": "Fast 和 Expert 的模型路由目标。目标模型须在 OpenClaw 模型配置中预先声明对应的 params。",
        "additionalProperties": false,
        "properties": {
          "fast": {
            "type": "object",
            "additionalProperties": false,
            "required": ["provider", "model"],
            "properties": {
              "provider": { "type": "string" },
              "model": { "type": "string" }
            }
          },
          "expert": {
            "type": "object",
            "additionalProperties": false,
            "required": ["provider", "model"],
            "properties": {
              "provider": { "type": "string" },
              "model": { "type": "string" }
            }
          }
        }
      }
    }
  }
}
