Repository navigation
Releases
Releases · lifan-builds/faster-mac-use
v0.5.8 — Bundled browser-routing skill & Antigravity native plugin
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
What's New in v0.5.7
Added
- MCP Registry manifest & Glama score badge: Added
server.jsonconforming to the official MCP Registry2025-12-11schema (io.github.lifan-builds/faster-mac-use), Glama B-rating score badge backlink, andmcp-namePyPI ownership tag inREADME.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_bracescorrupting Python dict/set comprehensions with tuple unpacking ({k: v for k, v in pairs}), updatedTabHandle.evalValueto accept optionaloptions/maxCharsarguments when rewritten fromtab.eval(js, maxChars), and blocked bareimport urllibin_fmu_safe_import. - Trusted Types strict-CSP escalation: In-page
runInPageEvalandexecuteBatchnow recognize Trusted TypesTypeError(TrustedScript) alongsideEvalError/unsafe-evaland cache the live page hostname in_strict_csp_hosts. - Sibling OOPIF ranking & unloaded-tab normalization:
probeAndPrepIframeInTaband_probe_playwright_iframenow excludereadOnlyinputs fromisEditable, rank exact href /frameNamescoreahead of stale siblinghasFocus, preserve explicit nestedframeIndex == -1targeting, normalizestatus: "unloaded"tabs asdiscarded: trueinlistTabs, and exposependingUrlingetTabInfo.
v0.5.6
Added
- Scoped agent tab cleanup & user-tab guard (
closeMyTabs): Addedcua.closeMyTabs({keep, tabs})/{"closeMyTabs": ...}to close only tabs opened by the calling session while keeping user-opened tabs untouched ontab.close()unlessforce: trueis passed, consolidatedcua-*parallel sub-agent Chrome tab groups, and preservedagentTagclaims across process retirement for post-exit worker cleanup. - REPL statements, stdlib imports & nested-quote recovery:
cuaREPL now executes top-level subscript and attribute assignments (res["k"] = tab.eval(...),obj.k = v), augmented assignments (+=),del,assert, safe Python stdlibimport/from ... import ...(re,json,urllib.parse,datetime,math,collections, etc.), comments before indented blocks, unquoted IIFEs, and unescaped nested quotes inside.eval(...), and documentslistExtensions/setExtensionEnabledin the MCPcuatool schema.
Fixed
- Live
TabHandle.url()&TabHandle.title()across client-side redirects:TabHandle.url/TabHandle.url()andTabHandle.title/TabHandle.title()now flush pending steps and query the live tab URL/title (getTabInfoover the MV3 extension bridge and live Playwright frame state) instead of returning stale cachedsess.last_urlafter 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
- 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
- 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
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
- Agent-spawned child tabs (
target="_blank"/window.open) now inheritopened: trueviachrome.tabs.onCreated, and reattaching to pre-existing unclaimed tabs inside Agent tab groups no longer downgrades them toopened: false, so "Close All Agent-Opened Chrome Tabs" closes them reliably. retireOwnerandcloseAgentTabsnow 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 fromfmuAgentTabClaims.- Persisted
fmuStrictCspHostsinchrome.storage.localto eliminate cold strict-CSP eval retries across MV3 service-worker restarts. - Auto-detached idle non-screencast CDP debuggers after 5 minutes on the
fmu-keepalivealarm to avoid lingering Chrome debugger overhead. - Extended the cold-boot preferred-port extension reconnect grace window to
1.8sand increasedcreateBrowserTabRPC timeout to15.0s.
v0.5.1
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 unknownownercloses 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-axdaemon no longer inheritsFMU_RUNTIME_SOCK,FMU_LOG_DIR, orFMU_TRACEfrom whichever process happened to spawn it.
v0.5.0
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](aliasfmu trace-html) renders a recorded run as a self-contained HTML player or a looping animated SVG. Each frame draws@u/@aelement 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": truerequest flag appendsbox=x,y,w,hto web and macOS AX element lines, addsvp=WxH(web) orframe=x,y,w,h(app) to the header, and carries over to tab/app handles inside REPLcoderequests.- 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_waittelemetry, and clearer inline upload errors.
Changed
- Package metadata declares the license as an SPDX expression (
License-Expression: AGPL-3.0-only, withLICENSEandATTRIBUTION.mdas license files) and builds with setuptools 77+. - License is now open source
AGPL-3.0-onlywith Section 7 attribution terms (LICENSE,ATTRIBUTION.md).fmu --versionand MCPserverInfo.titleprint the attribution. Contributions need a one-time CLA (CLA.md). - README leads with a one-command
uvxquickstart, auvx-based MCP config, and a Proof section.
Fixed
- Narrower exception handlers and a fail-closed cursor probe.
reuseExistingnow rebinds existing sessions.- The native
fmu-axdaemon 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 viauvx, kept serving requests with old behavior after an upgrade.
v0.4.4
Full Changelog: https://github.com/lifan-builds/faster-mac-use/commits/v0.4.4