@hypothesi/tauri-plugin-mcp-bridge 0.7.0 → 0.8.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/README.md +22 -20
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.8.0] - 2025-01-15
11
+
12
+ ### Fixed
13
+ - Convert PNG to JPEG in screenshots when requested format is JPEG
14
+
10
15
  ## [0.7.0] - 2026-01-06
11
16
 
12
17
  ### Added
package/README.md CHANGED
@@ -117,36 +117,38 @@ await invoke('plugin:mcp-bridge|emit_event', {
117
117
 
118
118
  ## MCP Server Integration
119
119
 
120
- This plugin is part of the larger MCP Server for Tauri, which provides **16 total MCP tools** for comprehensive Tauri development and testing. The plugin specifically enables the following tools:
120
+ This plugin is part of the larger MCP Server for Tauri, which provides **18 total MCP tools** for comprehensive Tauri development and testing. The plugin specifically enables the following tools:
121
121
 
122
122
  ### Mobile Development Tools (1)
123
123
 
124
- 1. **tauri_list_devices** - List connected Android devices and iOS simulators
124
+ 1. **list_devices** - List connected Android devices and iOS simulators
125
125
 
126
- ### UI Automation & WebView Tools (10)
126
+ ### UI Automation & WebView Tools (12)
127
127
 
128
128
  Tools for UI automation and webview interaction via the plugin's WebSocket connection:
129
129
 
130
- 1. **tauri_driver_session** - Manage automation session (start, stop, or status)
131
- 2. **tauri_manage_window** - List windows, get window info, or resize windows
132
- 3. **tauri_webview_find_element** - Find an element in the webview
133
- 4. **tauri_read_logs** - Read logs (console, Android logcat, iOS, system)
134
- 5. **tauri_webview_interact** - Perform gestures (click, double-click, long-press, swipe, scroll, focus)
135
- 6. **tauri_webview_screenshot** - Take screenshots of the entire webview
136
- 7. **tauri_webview_keyboard** - Type text or simulate keyboard events with optional modifiers
137
- 8. **tauri_webview_wait_for** - Wait for element selectors, text content, or IPC events
138
- 9. **tauri_webview_get_styles** - Get computed CSS styles for element(s)
139
- 10. **tauri_webview_execute_js** - Execute arbitrary JavaScript code in the webview context
130
+ 1. **driver_session** - Manage automation session (start, stop, or status)
131
+ 2. **manage_window** - List windows, get window info, or resize windows
132
+ 3. **webview_find_element** - Find elements by CSS selector, XPath, text, or ref ID
133
+ 4. **read_logs** - Read logs (console, Android logcat, iOS, system)
134
+ 5. **webview_interact** - Perform gestures (click, double-click, long-press, swipe, scroll, focus)
135
+ 6. **webview_screenshot** - Take screenshots (JPEG default, with optional resizing)
136
+ 7. **webview_keyboard** - Type text or simulate keyboard events with optional modifiers
137
+ 8. **webview_wait_for** - Wait for element selectors, text content, or IPC events
138
+ 9. **webview_get_styles** - Get computed CSS styles for element(s)
139
+ 10. **webview_execute_js** - Execute arbitrary JavaScript code in the webview context
140
+ 11. **webview_dom_snapshot** - Get structured DOM snapshot (accessibility or structure type)
141
+ 12. **get_setup_instructions** - Get setup/update instructions for the MCP Bridge plugin
140
142
 
141
143
  ### IPC Tools (5)
142
144
 
143
145
  Tools that directly use the MCP Bridge plugin's Rust backend:
144
146
 
145
- 1. **tauri_ipc_execute_command** - Execute any Tauri IPC command
146
- 2. **tauri_ipc_monitor** - Manage IPC monitoring (start or stop)
147
- 3. **tauri_ipc_get_captured** - Retrieve captured IPC traffic with optional filtering
148
- 4. **tauri_ipc_emit_event** - Emit custom Tauri events for testing event handlers
149
- 5. **tauri_ipc_get_backend_state** - Get backend application state and metadata
147
+ 1. **ipc_execute_command** - Execute any Tauri IPC command
148
+ 2. **ipc_monitor** - Manage IPC monitoring (start or stop)
149
+ 3. **ipc_get_captured** - Retrieve captured IPC traffic with optional filtering
150
+ 4. **ipc_emit_event** - Emit custom Tauri events for testing event handlers
151
+ 5. **ipc_get_backend_state** - Get backend application state and metadata
150
152
 
151
153
  ## Architecture
152
154
 
@@ -176,11 +178,11 @@ By default, the WebSocket server binds to `0.0.0.0` (all network interfaces), en
176
178
 
177
179
  #### Connecting from MCP Server
178
180
 
179
- The MCP server supports connecting to remote Tauri apps via the `tauri_driver_session` tool:
181
+ The MCP server supports connecting to remote Tauri apps via the `driver_session` tool:
180
182
 
181
183
  ```typescript
182
184
  // Connect to a Tauri app on a remote device
183
- tauri_driver_session({ action: 'start', host: '192.168.1.100' })
185
+ driver_session({ action: 'start', host: '192.168.1.100' })
184
186
 
185
187
  // Or use environment variables:
186
188
  // MCP_BRIDGE_HOST=192.168.1.100 npx mcp-server-tauri
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypothesi/tauri-plugin-mcp-bridge",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "JavaScript bindings for @hypothesi/tauri-plugin-mcp-bridge - MCP Bridge plugin for use with Tauri applications",
5
5
  "type": "module",
6
6
  "main": "./dist-js/index.js",