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.
- package/README-KR.md +4 -4
- package/README.md +4 -4
- package/bundled/baepsae-native +0 -0
- package/dist/tool-manifest.d.ts.map +1 -1
- package/dist/tool-manifest.js +12 -0
- package/dist/tool-manifest.js.map +1 -1
- package/dist/tools/input.d.ts.map +1 -1
- package/dist/tools/input.js +18 -4
- package/dist/tools/input.js.map +1 -1
- package/dist/tools/system.d.ts.map +1 -1
- package/dist/tools/system.js +52 -0
- package/dist/tools/system.js.map +1 -1
- package/dist/tools/ui.d.ts.map +1 -1
- package/dist/tools/ui.js +125 -6
- package/dist/tools/ui.js.map +1 -1
- package/dist/utils.d.ts +9 -2
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +57 -2
- package/dist/utils.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/native/Sources/Commands/InputCommands.swift +1 -1
- package/native/Sources/Commands/InputSourceCommands.swift +80 -0
- package/native/Sources/Commands/SystemCommands.swift +371 -23
- package/native/Sources/Commands/UICommands.swift +428 -7
- package/native/Sources/Utils.swift +78 -17
- package/native/Sources/Version.swift +1 -1
- package/native/Sources/main.swift +44 -0
- package/package.json +1 -1
|
@@ -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