fix: unify row open labels and silent success
All checks were successful
技能自动化发布 / release (push) Successful in 5s

Rename 打开文件位置 to 打开目录, and print empty SAS message so the host skips 执行成功 after opening Explorer or the browser.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-22 13:15:26 +08:00
parent 123195fcd9
commit 718aeefd44
8 changed files with 72 additions and 8 deletions

View File

@@ -70,6 +70,9 @@ class TestCmdOpenDirectBrowser:
payload = json.loads(out.splitlines()[-1])
assert payload["success"] is True
assert payload["message"] == ""
assert payload["type"] == "result"
assert payload["status"] == "success"
assert payload["data"]["pid"] == 5252
assert payload["data"]["browser_exe"] == fake_exe
assert spawned["cmd"][0] == fake_exe