Skip to content

Releases

v0.5.8 — Bundled browser-routing skill & Antigravity native plugin

Choose a tag to compare

@lifan-builds lifan-builds released this 27 Nov 00:14

Bundles the sanitized 5-lane browser-routing skill and a one-command native Antigravity plugin (uvx --from faster-mac-use fmu setup --antigravity) alongside README_ZH.md, Playwright selector aliases, and 7-day field telemetry.

v0.5.7

Choose a tag to compare

@lifan-builds lifan-builds released this 26 Nov 06:34

What's New in v0.5.7

Added

  • MCP Registry manifest & Glama score badge: Added server.json conforming to the official MCP Registry 2025-12-11 schema (io.github.lifan-builds/faster-mac-use), Glama B-rating score badge backlink, and mcp-name PyPI ownership tag in README.md.
  • Adversarial regression suite (tests/test_adversarial_fixtures.py): Added deterministic adversarial fixtures covering JS/meta/history client-side redirects, strict-CSP & Trusted Types pages, REPL nested quotes/comments/subscripts/augassign/dict comprehensions/imports/IIFEs, and sibling OOPIF & discarded/unloaded-tab edge cases.

Fixed

  • REPL transpiler & sandbox edge cases: Fixed _rewrite_braces corrupting Python dict/set comprehensions with tuple unpacking ({k: v for k, v in pairs}), updated TabHandle.evalValue to accept optional options/maxChars arguments when rewritten from tab.eval(js, maxChars), and blocked bare import urllib in _fmu_safe_import.
  • Trusted Types strict-CSP escalation: In-page runInPageEval and executeBatch now recognize Trusted Types TypeError (TrustedScript) alongside EvalError/unsafe-eval and cache the live page hostname in _strict_csp_hosts.
  • Sibling OOPIF ranking & unloaded-tab normalization: probeAndPrepIframeInTab and _probe_playwright_iframe now exclude readOnly inputs from isEditable, rank exact href / frameName score ahead of stale sibling hasFocus, preserve explicit nested frameIndex == -1 targeting, normalize status: "unloaded" tabs as discarded: true in listTabs, and expose pendingUrl in getTabInfo.

v0.5.6

Choose a tag to compare

@lifan-builds lifan-builds released this 26 Nov 04:56

Added

  • Scoped agent tab cleanup & user-tab guard (closeMyTabs): Added cua.closeMyTabs({keep, tabs}) / {"closeMyTabs": ...} to close only tabs opened by the calling session while keeping user-opened tabs untouched on tab.close() unless force: true is passed, consolidated cua-* parallel sub-agent Chrome tab groups, and preserved agentTag claims across process retirement for post-exit worker cleanup.
  • REPL statements, stdlib imports & nested-quote recovery: cua REPL now executes top-level subscript and attribute assignments (res["k"] = tab.eval(...), obj.k = v), augmented assignments (+=), del, assert, safe Python stdlib import / from ... import ... (re, json, urllib.parse, datetime, math, collections, etc.), comments before indented blocks, unquoted IIFEs, and unescaped nested quotes inside .eval(...), and documents listExtensions / setExtensionEnabled in the MCP cua tool schema.

Fixed

  • Live TabHandle.url() & TabHandle.title() across client-side redirects: TabHandle.url / TabHandle.url() and TabHandle.title / TabHandle.title() now flush pending steps and query the live tab URL/title (getTabInfo over the MV3 extension bridge and live Playwright frame state) instead of returning stale cached sess.last_url after JS, meta-refresh, or affiliate interstitial redirects.
  • README quickstart & architecture pass: Tightened above-the-fold hook, visual proof, one-command uvx / MCP setup, and architecture reference.

v0.5.5

Choose a tag to compare

@lifan-builds lifan-builds released this 25 Nov 21:26
  • Add MV3 management permission plus listExtensions and setExtensionEnabled RPCs (refusing to disable chrome.runtime.id itself)
  • Expose BrowserEngine.list_extensions()/set_extension_enabled() and cua.listExtensions()/cua.setExtensionEnabled(id_or_name, enabled) with safe unique name/ID lookup and top-level JSON/MCP schema support
  • Skip Chrome-discarded (discarded: true / status: "unloaded") tabs in createBrowserTab(reuseExisting=true and reattach) so reuse never fails in ensure_runtime()
  • Include click coordinate/dict args, waitFor seconds normalization, and cached strict-CSP batch telemetry

v0.5.4

Choose a tag to compare

@lifan-builds lifan-builds released this 25 Nov 07:53
  • Fix multi-sibling identical-origin OOPIF CDP fill (scroll/re-measure viewport coords before click + frameIndex/hasFocus/frameId pinning)
  • Fast-fail discarded/unloaded and unresponsive Chrome tabs upfront in MV3 extension instead of 18s executeBatch hangs
  • Make cua.getTab(...) strictly attach-only and stop passing window=stripped for URL/domain lookups
  • Include REPL Python control-flow blocks, TabHandle.id, line-iterable listTabs(), and sessionLabel aliases

v0.5.3

Choose a tag to compare

@lifan-builds lifan-builds released this 25 Nov 05:03

Support trusted CDP input + hash-only frame verification for cross-origin iframes (OOPIFs) in headless/CDP BrowserEngine and MV3 Chrome extension, harden PAN/sensitive error redaction in fmu_ax.swift and telemetry.sanitize_error(), and bump package/runtime/extension to 0.5.3.

v0.5.2

Choose a tag to compare

@lifan-builds lifan-builds released this 24 Nov 05:12
  • Agent-spawned child tabs (target="_blank" / window.open) now inherit opened: true via chrome.tabs.onCreated, and reattaching to pre-existing unclaimed tabs inside Agent tab groups no longer downgrades them to opened: false, so "Close All Agent-Opened Chrome Tabs" closes them reliably.
  • retireOwner and closeAgentTabs now drop non-opened claims on retirement, close legacy unowned Agent-group tabs, ungroup preserved user tabs out of closing Agent groups, and prune dead tab IDs from fmuAgentTabClaims.
  • Persisted fmuStrictCspHosts in chrome.storage.local to eliminate cold strict-CSP eval retries across MV3 service-worker restarts.
  • Auto-detached idle non-screencast CDP debuggers after 5 minutes on the fmu-keepalive alarm to avoid lingering Chrome debugger overhead.
  • Extended the cold-boot preferred-port extension reconnect grace window to 1.8s and increased createBrowserTab RPC timeout to 15.0s.

v0.5.1

Choose a tag to compare

@lifan-builds lifan-builds released this 23 Nov 06:40

Fixed

  • The menu bar "Close All Agent-Opened Chrome Tabs" action now closes every agent tab. It sends {"closeAgentTabs": true, "all": true}, and the extension also closes tabs inside agent-titled tab groups (Agent, Devin, Codex, Claude, ...) that it has no claim record for.
  • Per-session close ({"closeAgentTabs": true, "owner": ...}) matches that session's tab group title, and an unknown owner closes nothing instead of falling back to every tab.
  • Agent tab claims persist in chrome.storage.local, so they survive an extension service-worker restart. When a harness exits, its blank tabs close, claims on tabs that no longer exist are dropped, and its remaining tabs stay claimed but unowned.
  • The native fmu-ax daemon no longer inherits FMU_RUNTIME_SOCK, FMU_LOG_DIR, or FMU_TRACE from whichever process happened to spawn it.

v0.5.0

Choose a tag to compare

@lifan-builds lifan-builds released this 23 Nov 02:45

First PyPI release since 0.4.4. It also includes the unpublished 0.4.5 work.

Added

  • fmu replay <trace.jsonl> [-o out.html|out.svg] (alias fmu trace-html) renders a recorded run as a self-contained HTML player or a looping animated SVG. Each frame draws @u/@a element bounds colored by added, changed, or removed, and a HUD with step latency, engine time, +/~/- diff counts, element count, and estimated tokens. Perf logs (~/.fmu/logs/perf-*.jsonl) replay as a latency-only timeline.
  • FMU_TRACE=<file> appends the request, output, and wall-clock ms of every CLI or MCP call to a JSONL trace.
  • "bounds": true request flag appends box=x,y,w,h to web and macOS AX element lines, adds vp=WxH (web) or frame=x,y,w,h (app) to the header, and carries over to tab/app handles inside REPL code requests.
  • Per-session agent attribution: the warm daemon identifies the calling harness (Devin, Codex, Claude Code, Antigravity, Gemini, Cursor) via LOCAL_PEERPID, so each session gets its own tab namespace, titled and colored Chrome tab group, and scoped cleanup.
  • Menu bar and RPC actions to close one session's or all agent-opened Chrome tabs while leaving attached user tabs open.
  • Persistent Live View preference (fmu --live-view on|off, ~/.fmu/prefs.json) and vector menu bar / HUD icons.
  • Trusted CDP mouse clicks for isTrusted-gated targets, fixed_wait telemetry, and clearer inline upload errors.

Changed

  • Package metadata declares the license as an SPDX expression (License-Expression: AGPL-3.0-only, with LICENSE and ATTRIBUTION.md as license files) and builds with setuptools 77+.
  • License is now open source AGPL-3.0-only with Section 7 attribution terms (LICENSE, ATTRIBUTION.md). fmu --version and MCP serverInfo.title print the attribution. Contributions need a one-time CLA (CLA.md).
  • README leads with a one-command uvx quickstart, a uvx-based MCP config, and a Proof section.

Fixed

  • Narrower exception handlers and a fail-closed cursor probe.
  • reuseExisting now rebinds existing sessions.
  • The native fmu-ax daemon is replaced whenever a different binary started it (tracked in /tmp/fmu-ax.sock.bin). Previously, a daemon left running by another install, such as 0.4.4 via uvx, kept serving requests with old behavior after an upgrade.

v0.4.4

Choose a tag to compare

@lifan-builds lifan-builds released this 20 Nov 05:29