From 6027895d4de86a2cf7b33d5f26a78aadbf81b1a3 Mon Sep 17 00:00:00 2001 From: yu <191972707@qq.com> Date: Tue, 3 Nov 2026 13:34:42 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=82=B9=E5=87=BB=E5=9B=BE?= =?UTF-8?q?=E5=83=8F=E7=BB=84=E4=BB=B6=E5=90=88(V2=E5=B9=B6=E5=85=A5V3):?= =?UTF-8?q?=20=E7=B2=BE=E7=AE=80=E4=B8=BA=E6=9F=A5=E6=89=BE=E8=8C=83?= =?UTF-8?q?=E5=9B=B4/=E7=AA=97=E5=8F=A3=E5=AF=B9=E8=B1=A1/=E7=9B=AE?= =?UTF-8?q?=E6=A0=87=E5=9B=BE=E5=83=8F/=E6=8C=89=E9=94=AE/=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE/=E7=9B=B8=E4=BC=BC=E5=BA=A6=E4=B8=83=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/capability-duplicates.json | 11 +++---- resources/catalog.json | 44 +++++----------------------- 2 files changed, 13 insertions(+), 42 deletions(-) diff --git a/resources/capability-duplicates.json b/resources/capability-duplicates.json index 02a211b..0f662eb 100644 --- a/resources/capability-duplicates.json +++ b/resources/capability-duplicates.json @@ -3,9 +3,9 @@ "generatedAt": "2026-11-02T04:56:17.341Z", "policy": "同名能力按目标域、协议和最新版本保留主能力;重复旧版本仅隐藏,不删除执行器", "editableBefore": 894, - "keep": 658, - "hide": 236, - "editableAfter": 658, + "keep": 657, + "hide": 237, + "editableAfter": 657, "decisions": [ { "id": "Trigger.Manual", @@ -3308,8 +3308,9 @@ { "id": "Image_Click_V2", "name": "点击图像", - "status": "keep", - "reason": "目标域 / 协议内的最新主版本" + "status": "hide", + "reason": "与 V3 功能重复合并, V3 为统一版本(支持整个屏幕/指定窗口查找)", + "canonical": "Image_Click_V3" }, { "id": "Image_Click_V1", diff --git a/resources/catalog.json b/resources/catalog.json index 3cf332f..2b2d93e 100644 --- a/resources/catalog.json +++ b/resources/catalog.json @@ -68545,7 +68545,7 @@ }, { "id": "Image_Click_V3", - "name": "鼠标点击图像", + "name": "点击图像", "kind": "vendor", "group": "vision", "categories": [ @@ -68608,10 +68608,6 @@ { "label": "指定窗口", "value": "2" - }, - { - "label": "指定区域", - "value": "3" } ] }, @@ -68621,41 +68617,15 @@ "widget": "text", "type": "string", "displayType": "text-expression", - "required": true, + "required": false, "defaultValue": "", "placeholder": "", - "description": "目标窗口对象;留空则作用于当前活动窗口", + "description": "目标窗口标题,留空则作用于当前活动窗口;点「选窗口」从可见窗口列表中选择", "advanced": false, "valueTypes": [ "rpa_window_new" ] }, - { - "key": "action", - "label": "action", - "widget": "region", - "type": "object", - "displayType": "getScreenShot", - "required": false, - "defaultValue": "", - "placeholder": "{\"x\":0,\"y\":0,\"width\":100,\"height\":50}", - "description": "区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成", - "advanced": false, - "valueTypes": [] - }, - { - "key": "shot_position", - "label": "shot_position", - "widget": "region", - "type": "object", - "displayType": "screenShotValue", - "required": false, - "defaultValue": "", - "placeholder": "{\"x\":0,\"y\":0,\"width\":100,\"height\":50}", - "description": "区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成", - "advanced": false, - "valueTypes": [] - }, { "key": "image", "label": "目标图像", @@ -68748,13 +68718,13 @@ { "key": "accuracy", "label": "相似度", - "widget": "hidden", + "widget": "similaritySlider", "type": "string", - "displayType": "hidden", + "displayType": "similaritySlider", "required": true, - "defaultValue": "0.95", + "defaultValue": "0.9", "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", + "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。建议 0.8~0.9。", "advanced": false, "valueTypes": [ "rpa_num"