mobile-debug-mcp 0.24.5 → 0.24.6

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.
@@ -66,7 +66,7 @@ function deriveSnapshotSemantic(raw) {
66
66
  return null;
67
67
  const hasErrorLogs = raw.logs.some((entry) => /error|fatal exception|exception|failed/i.test(entry.message));
68
68
  const hasLoadingSignals = texts.some((text) => /loading|please wait|spinner|progress/i.test(text));
69
- const hasPrimaryText = texts.some((text) => /sign in|log in|log in|login|home|checkout|settings|menu|profile|search/i.test(text));
69
+ const hasPrimaryText = texts.some((text) => /sign in|log in|login|home|checkout|settings|menu|profile|search/i.test(text));
70
70
  const hasScreenshot = typeof raw.screenshot === 'string' && raw.screenshot.length > 0;
71
71
  const hasUiTree = !!tree && Array.isArray(tree.elements);
72
72
  const signals = {
@@ -105,7 +105,7 @@ function deriveSnapshotSemantic(raw) {
105
105
  signals,
106
106
  actions_available: actionables.length > 0 ? actionables.slice(0, 10) : null,
107
107
  confidence,
108
- warnings: confidence >= 0.7 && warnings.length === 0 ? [] : warnings
108
+ warnings
109
109
  };
110
110
  }
111
111
  export class ToolsObserve {
package/docs/CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  All notable changes to the **Mobile Debug MCP** project will be documented in this file.
4
4
 
5
+ ## [0.24.6]
6
+ - minor changes
7
+
5
8
  ## [0.24.5]
6
9
  - Improved snapshots
7
10
 
@@ -147,7 +147,7 @@ Response (example):
147
147
  "fingerprint": "abc123",
148
148
  "screenshot": "<base64 PNG string>",
149
149
  "ui_tree": { ... },
150
- "logs": [ { "timestamp": 1710000000, "level": "ERROR", "message": "NullPointerException at CheckoutViewModel" } ]
150
+ "logs": [ { "timestamp": "2024-03-09T12:00:00.000Z", "level": "ERROR", "tag": "CheckoutViewModel", "pid": 1234, "message": "NullPointerException at CheckoutViewModel" } ]
151
151
  },
152
152
  "semantic": {
153
153
  "screen": "Checkout",
@@ -203,5 +203,5 @@ Start a background adb logcat stream and retrieve parsed NDJSON entries.
203
203
  read_log_stream response example:
204
204
 
205
205
  ```json
206
- { "entries": [ { "timestamp": "2026-03-20T...Z", "level": "E", "tag": "AppTag", "message": "FATAL EXCEPTION" } ], "crash_summary": { "crash_detected": true } }
206
+ { "entries": [ { "timestamp": "2026-03-20T...Z", "level": "ERROR", "tag": "AppTag", "pid": 1234, "message": "FATAL EXCEPTION" } ], "crash_summary": { "crash_detected": true } }
207
207
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobile-debug-mcp",
3
- "version": "0.24.5",
3
+ "version": "0.24.6",
4
4
  "description": "MCP server for mobile app debugging (Android + iOS), with focus on security and reliability",
5
5
  "type": "module",
6
6
  "bin": {
@@ -95,7 +95,7 @@ function deriveSnapshotSemantic(raw: CaptureDebugSnapshotRawResponse): SnapshotS
95
95
 
96
96
  const hasErrorLogs = raw.logs.some((entry) => /error|fatal exception|exception|failed/i.test(entry.message))
97
97
  const hasLoadingSignals = texts.some((text) => /loading|please wait|spinner|progress/i.test(text))
98
- const hasPrimaryText = texts.some((text) => /sign in|log in|log in|login|home|checkout|settings|menu|profile|search/i.test(text))
98
+ const hasPrimaryText = texts.some((text) => /sign in|log in|login|home|checkout|settings|menu|profile|search/i.test(text))
99
99
  const hasScreenshot = typeof raw.screenshot === 'string' && raw.screenshot.length > 0
100
100
  const hasUiTree = !!tree && Array.isArray(tree.elements)
101
101
 
@@ -137,7 +137,7 @@ function deriveSnapshotSemantic(raw: CaptureDebugSnapshotRawResponse): SnapshotS
137
137
  signals,
138
138
  actions_available: actionables.length > 0 ? actionables.slice(0, 10) : null,
139
139
  confidence,
140
- warnings: confidence >= 0.7 && warnings.length === 0 ? [] : warnings
140
+ warnings
141
141
  }
142
142
  }
143
143