fix: improve cross-device evidence and exploration lifecycle

Align Responses cache affinity across execution and summary calls, preserve required checks and evidence uncertainty, and allow safe deletion of inactive explorations while retaining independent reruns.

Validation: backend suite passed except intentional prompt golden drift, then all 17 transcript tests passed after snapshot refresh; 268 frontend tests and production build passed; Ruff, quality ratchet and core type checks passed.
This commit is contained in:
chenmingxuan committed 2026-10-17 19:43:20 +08:00
1 parent f1bb5d02aa
commit 2328a4df0c
32 files changed
+748 -79

No files matched your search

+7
View File
@@ -139,6 +139,13 @@ class PluginRuntime:
lines.append(
"只调用实际提供的工具。电脑插件的像素坐标以其返回的截图为准,不使用 Android 的 0–1000 坐标归一化。每个资源的截图和读数必须分开核对;只有文字观察时不能猜像素坐标。"
)
lines.append(
"电脑操作及保存截图前,用已有观察核对应用、窗口和页面身份;浏览器结合地址栏、"
"选中标签与页面内容,不能仅凭窗口还存在就认定页面正确。身份不符时先定位目标。"
"动作返回的新截图可能改变尺寸与编号,坐标和元素标识只取自同一张最新图;"
"不沿用旧图坐标、不自行叠加 DPI 缩放。无位移时先排查回执、焦点、遮挡和滚动容器,"
"不连续重试同一点,也不把无效滚动当作已经到底。"
)
return "\n".join(lines)
async def load(self, plugin_id: str) -> PluginCallResult: