feat(automation): advertise file.open in automation.version capabilities

This commit is contained in:
SoftFever
2026-06-03 20:06:44 +08:00
parent cea46ddc7f
commit b87dd23c74
2 changed files with 12 additions and 1 deletions

View File

@@ -195,7 +195,8 @@ nlohmann::json JsonRpcDispatcher::m_version(const nlohmann::json&) {
{"protocol", "2.0"},
{"capabilities", nlohmann::json::array({
"tree.dump","tree.find","widget.get","input.click","input.type",
"input.key","sync.wait_for","app.state","screenshot.window" })} };
"input.key","sync.wait_for","app.state","screenshot.window",
"file.open" })} };
}
nlohmann::json JsonRpcDispatcher::dispatch(const nlohmann::json& request) {