diff --git a/.changeset/shield-gated-hit-testing.md b/.changeset/shield-gated-hit-testing.md deleted file mode 100644 index f10ac6f5a..000000000 --- a/.changeset/shield-gated-hit-testing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"react-grab": patch ---- - -Fix hover lag on large pages by hit-testing behind a pointer shield instead of flipping `pointer-events` on the document root, coalescing scroll re-detection into a frame, and caching visual viewport reads. diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index cedeec8cd..2bc35cee0 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,7 @@ # @react-grab/cli +## 0.2.1 + ## 0.2.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 1d3e35cf5..6011bf911 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@react-grab/cli", - "version": "0.2.0", + "version": "0.2.1", "repository": { "type": "git", "url": "git+https://github.com/aidenybai/react-grab.git" diff --git a/packages/grab/CHANGELOG.md b/packages/grab/CHANGELOG.md index 4cee97bff..b0c17d0ca 100644 --- a/packages/grab/CHANGELOG.md +++ b/packages/grab/CHANGELOG.md @@ -1,5 +1,11 @@ # grab +## 0.2.1 + +### Patch Changes + +- @react-grab/cli@0.2.1 + ## 0.2.0 ### Minor Changes diff --git a/packages/grab/package.json b/packages/grab/package.json index 3906b1035..9d0b5b1a4 100644 --- a/packages/grab/package.json +++ b/packages/grab/package.json @@ -1,6 +1,6 @@ { "name": "grab", - "version": "0.2.0", + "version": "0.2.1", "description": "Select context for coding agents directly from your website", "keywords": [ "agent", diff --git a/packages/react-grab/CHANGELOG.md b/packages/react-grab/CHANGELOG.md index 6d9b67630..e4a66add7 100644 --- a/packages/react-grab/CHANGELOG.md +++ b/packages/react-grab/CHANGELOG.md @@ -1,5 +1,12 @@ # react-grab +## 0.2.1 + +### Patch Changes + +- ea4bbec: Fix hover lag on large pages by hit-testing behind a pointer shield instead of flipping `pointer-events` on the document root, coalescing scroll re-detection into a frame, and caching visual viewport reads. + - @react-grab/cli@0.2.1 + ## 0.2.0 ### Minor Changes @@ -39,6 +46,7 @@ - bc3a591: Fix the grab hanging on "Grabbing…" when the app saturates the dev server's connection pool. Source resolution (bundle and source-map fetches via bippy, plus Next.js server-frame symbolication) now runs through a concurrency-capped, abortable queue with a timeout, so it no longer queues indefinitely behind the app's own requests. Requires bippy ≥0.5.42 so an aborted source-map fetch no longer poisons bippy's cache and later grabs recover. Also fixes: + - A click immediately after keyboard navigation selecting a stale element instead of the one under the pointer. - The page jumping when focus is restored after a grab (focus now restores with `preventScroll`). - Being unable to select page content while a modal sets `body { pointer-events: none }` (e.g. Radix), via a hit-test override. @@ -61,6 +69,7 @@ - 5407d4e: Surface deeper copy context for wrapper-heavy elements. App-owned shared-UI / design-system frames (files under `components/ui/`, `packages/ui/`, `design-system(s)/`, or `primitives/`, e.g. shadcn's `components/ui` or a monorepo `packages/ui`) are now treated like `node_modules` frames: still shown, but exempt from the compact line budget, so a grabbed wrapper digs through its UI primitives to the meaningful feature source by default. Adds a `maxContextLines` option (also settable via the script `data-options` attribute) to raise the budget further for large apps and agent/edit prompts — restoring the option the CLI already writes. Also hardens the trace: a non-finite/negative `maxContextLines` no longer disables the hard line cap (it falls back to the default), and consecutive duplicate trace lines from shared-UI frames are collapsed so the output stays readable. + - @react-grab/cli@0.1.47 ## 0.1.46 diff --git a/packages/react-grab/package.json b/packages/react-grab/package.json index d7bff4e57..5ba90add1 100644 --- a/packages/react-grab/package.json +++ b/packages/react-grab/package.json @@ -1,6 +1,6 @@ { "name": "react-grab", - "version": "0.2.0", + "version": "0.2.1", "description": "Select context for coding agents directly from your website", "keywords": [ "agent",