Skip to content

chore(deps): bump tauri-plugin-mcp-bridge from 0.12.0 to 0.13.0 - #71

Merged
klNuno merged 1 commit into
mainfrom
dependabot/cargo/tauri-plugin-mcp-bridge-0.13.0
Oct 8, 2026
Merged

klNuno merged 1 commit into
mainfrom
dependabot/cargo/tauri-plugin-mcp-bridge-0.13.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Bumps tauri-plugin-mcp-bridge from 0.12.0 to 0.13.0.

Release notes

Sourced from tauri-plugin-mcp-bridge's releases.

Release 0.13.0

tauri-plugin-mcp-bridge

crates.io npm

Added

  • Include the bridge package version in backend state responses.
  • Return screenshot image and CSS viewport dimensions with native captures.
  • Add focus, minimize, and maximize window commands.

Fixed

  • Convert physical window dimensions to CSS pixels using the platform scale factor.

Fixed

  • Capture Linux screenshots through WebKitGTK's native visible-region snapshot API instead of falling back to JavaScript.

@​hypothesi/tauri-mcp-server

npm

Added

  • Return structured element details, optional computed styles, match counts, and nth disambiguation from webview_find_element.
  • Add hover and right-click interactions plus focus, minimize, and maximize window actions.
  • Report plugin/server versions and screenshot pixel-to-CSS scale metadata.
  • Add console log level filtering and bounded output controls.

Changed

  • Route application IPC commands through the target webview so Tauri capability rules still apply.
  • Fold webview_get_styles into webview_find_element and remove the unused keyboard injection script.
  • Reject ambiguous text interactions with candidate details instead of silently choosing the first match.

Fixed

  • Re-inject the __MCP__ helper once after a page reload or HMR update.
  • Preserve multiline and quoted text during keyboard input.
  • Report whether JavaScript timeouts came from the script, transport, or an unresponsive webview.

Fixed

  • webview_screenshot only uses the interactive Screen Capture API fallback when allowScreenCapture is explicitly enabled.
  • Constrain html2canvas fallback output to the visible viewport instead of allocating a full-document canvas.
  • Keep bridge WebSockets alive with ping/pong heartbeats and reconnect stale cached sessions when driver_session start is called again.

@​hypothesi/tauri-mcp-cli

npm

Changed

... (truncated)

Changelog

Sourced from tauri-plugin-mcp-bridge's changelog.

[0.13.0] - 2026-08-28

Added

  • webview_find_element: Returns structured JSON with geometry, text, accessible name, attributes, visibility, interactability, optional computed styles, and optional truncated outerHTML. Includes totalMatches and truncated fields. Supports nth, limit, properties, visibleOnly, and includeHtml options.
  • webview_interact: New hover and right-click actions. Ambiguous text selectors now throw an error listing candidates instead of silently clicking the first match. Supports nth parameter for disambiguation.
  • webview_keyboard type action: Supports nth parameter for disambiguation.
  • manage_window: New focus, minimize, and maximize actions (desktop only, requires tauri-plugin-mcp-bridge 0.13.0+).
  • webview_screenshot: Reports image pixel dimensions, CSS viewport dimensions, and scale factor.
  • driver_session start/status: Reports pluginVersion and serverVersion with mismatch warning.
  • ipc_execute_command: Now invokes any application Tauri command via window.__TAURI_INTERNALS__.invoke, not only bridge commands.
  • read_logs: New level filter and maxChars/maxCharsPerEntry character budgets with dropped-entry summary.
  • webview_execute_js: Accepts timeout parameter (ms). Timeout errors now identify which layer timed out (transport, script self-race, or Rust eval) and include liveness probe result.

Changed

  • webview_find_element replaces webview_get_styles; computed styles available via properties option.
  • Text selector resolution (resolveRef): Prefers exact matches over substring, innermost elements, and interactive ancestors. Filters out non-rendered elements (<title>, <script>, display:none, etc.).
  • webview_execute_js timeout errors now name the timing-out layer and include a liveness probe result.
  • Multi-line text typing now works (uses JSON.stringify for escaping).
  • webview_interact and webview_keyboard type action: Ambiguous text selectors throw an error listing up to 5 candidates with tag, text, and rect; nth parameter required for disambiguation.
  • focus action uses the same ambiguity rules as interact.
  • read_logs now applies character budget and per-entry truncation inside the webview; returns dropped-count summary line.

Fixed

  • Self-healing __MCP__ helper: Page reload/HMR now triggers exactly one re-injection and retry before failing.
  • webview_interact no longer clicks at (0,0) when text selector matches only hidden/non-rendered elements.
  • ipc_execute_command now works for application commands, not only bridge commands.
  • read_logs character budget prevents token-limit failures; level filter works.
  • webview_execute_js timeout is configurable; timeout errors identify the layer.
  • Multi-line typing in webview_keyboard type action works correctly.
  • webview_screenshot scale factor reported so CSS pixel clicks land correctly.
  • Version mismatch warning on connect prevents silent plugin/server incompatibility.
  • Ambiguous text selectors in interact, keyboard, find_element, focus now throw instead of silently acting on first match.

Removed

  • webview_get_styles tool and get-styles.js script (0 calls in 3,131). Functionality folded into webview_find_element.
  • Dead keyboard.js script (never invoked).

Breaking Changes

  • webview_get_styles tool removed. Use webview_find_element with properties option instead.
  • Text selector behavior changed: exact matches rank above substrings; innermost elements preferred; non-rendered elements filtered out. May affect existing scripts relying on old XPath-based matching.
  • webview_interact, webview_keyboard type, webview_find_element, focus with ambiguous text selectors now throw instead of acting on first match. Pass nth to disambiguate.
Commits
  • 4451b2b chore: version bump: v0.13.0
  • 02b94e8 fix: allow raw CLI tool arguments
  • ecbe4ad feat: expand Tauri automation diagnostics
  • 157e648 Merge pull request #37 from okhsunrog/agent/safe-viewport-screenshot-fallback
  • 2505e0a Merge branch 'main' into agent/safe-viewport-screenshot-fallback
  • deef401 Merge pull request #42 from Hushlor/fix/websocket-heartbeat
  • 554b070 Merge pull request #40 from Hushlor/fix/console-log-lines
  • 1cb33ae fix: recover stale WebSocket sessions
  • bec96fb fix: respect console log line limit
  • 012b389 fix: make screenshot capture safe and bounded
  • Additional commits viewable in compare view

Summary by CodeRabbit

  • Chores
    • Updated the MCP bridge integration to version 0.13.0.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Sep 14, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/tauri-plugin-mcp-bridge-0.13.0 branch from abb1684 to d78fe33 Compare September 20, 2026 19:52
@coderabbitai

coderabbitai Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 7b8b35fa-9025-402d-ab7f-892711c6f962

📥 Commits

Reviewing files that changed from the base of the PR and between 7261f1e and d78fe33.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • Cargo.toml

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The workspace dependency tauri-plugin-mcp-bridge changes from version 0.12.0 to 0.13.0.

Changes

Dependency update

Layer / File(s) Summary
Update workspace dependency
Cargo.toml
The workspace uses tauri-plugin-mcp-bridge version 0.13.0.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Suggested reviewers: klnuno

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely identifies the dependency update from tauri-plugin-mcp-bridge 0.12.0 to 0.13.0, which is the main change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@mtsu-patrol

mtsu-patrol Bot commented Sep 21, 2026

Copy link
Copy Markdown

Note

Reviewed by mtsu-patrol using glm-5.3

Patrol complete. Nothing to report within the inspected scope.

Patrolled the d78fe33 PR bumping the dev-only, optional tauri-plugin-mcp-bridge from 0.12.0 to 0.13.0 (Cargo.toml + Cargo.lock only). The bump is clean on the axes that matter for this app: the crate's lib.rs (Builder API incl. bind_address) and its permissions/ directory are byte-identical between versions, so the loopback-only bind that keeps the unauthenticated dev WebSocket off the LAN is unchanged, and the mcp-bridge:default permission grant in tauri.mcp.conf.json resolves to the same capability set. The lock checksum matches the genuine published 0.13.0 artifact, and the new Linux-only deps (webkit2gtk/gio/cairo-rs) resolve to the same glib-0.18 graph that tauri 2.11.5 and vendor/wry already use. The plugin's actual changes (new set_window_state command, capture_native_screenshot now returning an object with dimensions, native Linux screenshots) only affect the debug-only MCP bridge session, which is feature-gated out of every release build — no confirmed behavioral regression, data loss, permission, or concurrency issue in the shipped paths. No findings.

Commit: d78fe33958e4aba86d97fa00304212dfd1dd0f27

Coverage: Cargo.toml workspace dependency bump (tauri-plugin-mcp-bridge 0.12.0 → 0.13.0); Cargo.lock changes for the same crate; Downloaded and diffed both crate versions (manifest, src/lib.rs, src/websocket.rs, src/commands/, src/screenshot/, src/bridge.js, permissions/); Verified lock checksum db0e3b21... matches the sha256 of the published 0.13.0 crate tarball; Verified src-tauri/src/lib.rs call site (Builder::new().bind_address("127.0.0.1").build()) still matches the unchanged 0.13.0 Builder API; Verified src-tauri/tauri.mcp.conf.json grants only "mcp-bridge:default"; the plugin's default permission set is byte-identical between 0.12.0 and 0.13.0; Verified Linux dependency compatibility: vendor/wry pins webkit2gtk =2.0.2, the plugin requires webkit2gtk 2.0 / gio 0.18 / cairo-rs 0.18, and Cargo.lock resolves all to the single glib-0.18-line graph (webkit2gtk 2.0.2, gtk 0.18.2, gio 0.18.4, cairo-rs 0.18.5) shared with tauri 2.11.5; Checked .mcp.json for the pinned @hypothesi/tauri-mcp-server version (file not tracked in the checkout)

Limitations: No Rust toolchain (cargo/rustc) is available in this environment, so the workspace lock could not be resolved or compiled; lock consistency was assessed by inspecting Cargo.lock entries and matching checksums against downloaded crate artifacts, not by a build.; The version-parity requirement in Cargo.toml line 28-29 (plugin version must stay in step with the @hypothesi/tauri-mcp-server pinned in .mcp.json) could not be verified: .mcp.json is not tracked in this checkout. If the npm server was not bumped alongside, the dev-only MCP bridge could break on the changed screenshot payload and the new set_window_state command — unconfirmed.; 0.13.0 adds a native Linux screenshot path using webkit2gtk snapshot via with_webview().inner() against this repo's patched vendor/wry; type compatibility was checked only by reading vendor/wry's Cargo.toml pin (webkit2gtk =2.0.2), not by compiling.; The dev-only, debug_assertions-gated mcp-bridge feature is excluded from all release builds, so the changes above cannot affect shipped builds; no release-path regression was found in the diff.; Investigation was shortened to reserve budget for the report. Coverage is limited to the checks listed above.

@klNuno
klNuno merged commit a750639 into main Oct 8, 2026
5 checks passed
@klNuno
klNuno deleted the dependabot/cargo/tauri-plugin-mcp-bridge-0.13.0 branch October 8, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant