safari-mcp 2.22.3 → 2.22.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/safari-helper.swift +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "safari-mcp",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.4",
|
|
4
4
|
"mcpName": "io.github.achiya-automation/safari-mcp",
|
|
5
5
|
"description": "Safari browser automation for AI agents — native macOS, zero Chrome overhead. 98 tools via AppleScript + JavaScript.",
|
|
6
6
|
"type": "module",
|
package/safari-helper.swift
CHANGED
|
@@ -781,7 +781,7 @@ func handleLine(_ line: String) {
|
|
|
781
781
|
}
|
|
782
782
|
|
|
783
783
|
// Handle window-scoped AX press
|
|
784
|
-
// {"axpressWindow": {"window": "
|
|
784
|
+
// {"axpressWindow": {"window": "Example Window", "title": "Save"}}
|
|
785
785
|
if let apw = json["axpressWindow"] as? [String: Any],
|
|
786
786
|
let wm = apw["window"] as? String, let title = apw["title"] as? String {
|
|
787
787
|
if let denied = ensurePostEventAccess() { respond(denied); return }
|