mcp-baepsae 6.2.0 → 6.3.0

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.
@@ -40,6 +40,17 @@ func printHelp() {
40
40
  baepsae-native menu-action --bundle-id <ID> | --app-name <NAME> --menu <MENU> --item <ITEM>
41
41
  baepsae-native get-focused-app
42
42
  baepsae-native clipboard --read | --write <TEXT>
43
+ baepsae-native list-input-sources
44
+ baepsae-native input-source [<SOURCE_ID>]
45
+ baepsae-native focus-window <TARGET> [--index <N> | --title <TEXT>]
46
+ baepsae-native read-ui-value <TARGET> [--id <ID> | --label <LABEL>] [--attribute <value|selectedText|insertionPoint|numberOfCharacters>]
47
+ baepsae-native context-menu-action <TARGET> --item <ITEM_PATH>
48
+ baepsae-native detect-dialog <TARGET>
49
+ baepsae-native set-ui-value <TARGET> [--id <ID> | --label <LABEL>] --attribute <value|selectedTextRange|focused> --value <VALUE>
50
+ baepsae-native read-ui-param <TARGET> [--id <ID> | --label <LABEL>] --attribute <stringForRange|boundsForRange|lineForIndex|rangeForLine> --param <PARAM>
51
+ baepsae-native hit-test -x <X> -y <Y>
52
+ baepsae-native enumerate-ui <TARGET> [--id <ID> | --label <LABEL>]
53
+ baepsae-native watch-notification <TARGET> [--preset <window|text|focus|menu> | --notifications <N1,N2,...>] [--timeout <S>]
43
54
 
44
55
  Where <TARGET> is one of:
45
56
  --udid <UDID> iOS Simulator device UDID
@@ -180,6 +191,39 @@ func runParsed(_ parsed: ParsedOptions) throws -> Int32 {
180
191
  case "clipboard":
181
192
  return try handleClipboard(parsed)
182
193
 
194
+ case "list-input-sources":
195
+ return try handleListInputSources(parsed)
196
+
197
+ case "input-source":
198
+ return try handleInputSource(parsed)
199
+
200
+ case "focus-window":
201
+ return try handleFocusWindow(parsed)
202
+
203
+ case "read-ui-value":
204
+ return try handleReadUIValue(parsed)
205
+
206
+ case "context-menu-action":
207
+ return try handleContextMenuAction(parsed)
208
+
209
+ case "detect-dialog":
210
+ return try handleDetectDialog(parsed)
211
+
212
+ case "set-ui-value":
213
+ return try handleSetUIValue(parsed)
214
+
215
+ case "read-ui-param":
216
+ return try handleReadUIParam(parsed)
217
+
218
+ case "hit-test":
219
+ return try handleHitTest(parsed)
220
+
221
+ case "enumerate-ui":
222
+ return try handleEnumerateUI(parsed)
223
+
224
+ case "watch-notification":
225
+ return try handleWatchNotification(parsed)
226
+
183
227
  default:
184
228
  throw NativeError.invalidArguments("Unhandled command: \(parsed.command)")
185
229
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-baepsae",
3
- "version": "6.2.0",
3
+ "version": "6.3.0",
4
4
  "mcpName": "io.github.oozoofrog/baepsae",
5
5
  "description": "Local MCP server for iOS Simulator and macOS app automation with a native Swift bridge",
6
6
  "author": "oozoofrog",