mobridge-mcp 0.12.1 → 0.12.2
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/integrity.json
CHANGED
package/loader.cjs
CHANGED
|
@@ -14,7 +14,7 @@ const os = require("node:os");
|
|
|
14
14
|
const path = require("node:path");
|
|
15
15
|
const crypto = require("node:crypto");
|
|
16
16
|
|
|
17
|
-
const BUILD_ID = "
|
|
17
|
+
const BUILD_ID = "b704084-20261111144850"; // pack-npx stamps the real build id
|
|
18
18
|
const ROOT = __dirname; // package root (loader.cjs sits here)
|
|
19
19
|
const DIST = path.join(ROOT, "dist");
|
|
20
20
|
const BUNDLE = path.join(DIST, "main.obf.cjs");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mobridge-mcp",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "MoBridge MCP — a stdio MCP server exposing on-device Android UIs as fast semantic read / observe / find / act / verify tools plus screenshots. Ships an installer that wires it into Claude Code, Claude Desktop, Cursor and Codex.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
Binary file
|
package/skills/VERSIONS.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mobridge-recipes
|
|
3
3
|
description: Use when chaining MoBridge steps, writing a JSONL plan, mixing CLI with MCP or saving and replaying a flow
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.6.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# MoBridge recipes
|
|
@@ -156,6 +156,9 @@ In a plan they are steps (`logcat`, `op:"file"|"intent"|"settings"|"prop"|"shell
|
|
|
156
156
|
`"verify":"DISPATCH_ONLY"` (two BACKs in a row need it). Query fields: `text` is the visible words, `label` is the
|
|
157
157
|
content description (a node with only `text` is not found by `label`); a partial match is
|
|
158
158
|
`{"text":{"value":"x","match":"CONTAINS"}}`. Every action needs a new `operationId`. SCROLL takes `direction` FORWARD or BACKWARD.
|
|
159
|
+
A later step may use an earlier result: `{"id":"b","op":"shell","action":"run","command":"echo ${a.stdout}"}` or `"${w1.elapsedMs}"` (whole-string reference keeps its type; unknown step/path is ACTION_REJECTED).
|
|
160
|
+
`{"expect":{"value":"${a.stdout}","pattern":"^ok","timeoutMs":1000}}` checks output with a regex (EXPECT_FAILED on no match, EXPECT_TIMEOUT on a pathological pattern).
|
|
161
|
+
Cancelling a running plan (Ctrl-C / cancel) returns CANCELED or RESULT_UNKNOWN: undispatched steps are dropped, dispatched ones are never resent; resume with the same workflowId and plan.
|
|
159
162
|
Ads and WebView surfaces expose no nodes: use `act GESTURE` with `args:{kind:"TAP",x,y}` from a fresh capture.
|
|
160
163
|
|
|
161
164
|
## Pitfalls
|