diff --git a/.changeset/clean-tabs-snapshot.md b/.changeset/clean-tabs-snapshot.md deleted file mode 100644 index 35b9d9a..0000000 --- a/.changeset/clean-tabs-snapshot.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -"@understudy/protocol": minor -"@understudy/connector": minor ---- - -Bind every snapshot and accessibility ref to the exact browser target that -produced it. - -- `@understudy/protocol`: `snapshot_result` and `screenshot_result` now require - the attached CDP `tabId` and main-frame `url`. Accessibility refs remain - opaque, but are now namespaced to the extension session, CDP attachment, and - snapshot generation so a ref cannot resolve against a replacement browser - connection or tab. -- `@understudy/connector`: snapshot reads expose `target: { tabId, url }`. - Driver failures, including expected-tab mismatches and pages that change - during capture, return structured `{ ok: false, error }` output with the - original reason. - -This is a breaking wire change. Upgrade and deploy the protocol, service, -extension, and connector together. Protocol 0.6 rejects snapshot events from -older extensions because they lack the required target fields, and connector -0.4 requires protocol 0.6. diff --git a/apps/backend/CHANGELOG.md b/apps/backend/CHANGELOG.md index aaf2225..48d37a4 100644 --- a/apps/backend/CHANGELOG.md +++ b/apps/backend/CHANGELOG.md @@ -1,5 +1,12 @@ # @understudy/backend +## 0.0.3 + +### Patch Changes + +- Updated dependencies [ebfa8a6] + - @understudy/protocol@0.6.0 + ## 0.0.2 ### Patch Changes diff --git a/apps/backend/package.json b/apps/backend/package.json index 8f255d0..46e9d4c 100644 --- a/apps/backend/package.json +++ b/apps/backend/package.json @@ -1,6 +1,6 @@ { "name": "@understudy/backend", - "version": "0.0.2", + "version": "0.0.3", "private": true, "type": "module", "scripts": { diff --git a/apps/extension/CHANGELOG.md b/apps/extension/CHANGELOG.md index d680103..1517a34 100644 --- a/apps/extension/CHANGELOG.md +++ b/apps/extension/CHANGELOG.md @@ -1,5 +1,12 @@ # @understudy/extension +## 0.0.3 + +### Patch Changes + +- Updated dependencies [ebfa8a6] + - @understudy/protocol@0.6.0 + ## 0.0.2 ### Patch Changes diff --git a/apps/extension/package.json b/apps/extension/package.json index bdd079d..67849d9 100644 --- a/apps/extension/package.json +++ b/apps/extension/package.json @@ -1,6 +1,6 @@ { "name": "@understudy/extension", - "version": "0.0.2", + "version": "0.0.3", "private": true, "type": "module", "scripts": { diff --git a/packages/connector/CHANGELOG.md b/packages/connector/CHANGELOG.md index dbe9198..9b7229b 100644 --- a/packages/connector/CHANGELOG.md +++ b/packages/connector/CHANGELOG.md @@ -1,5 +1,32 @@ # @understudy/connector +## 0.4.0 + +### Minor Changes + +- ebfa8a6: Bind every snapshot and accessibility ref to the exact browser target that + produced it. + + - `@understudy/protocol`: `snapshot_result` and `screenshot_result` now require + the attached CDP `tabId` and main-frame `url`. Accessibility refs remain + opaque, but are now namespaced to the extension session, CDP attachment, and + snapshot generation so a ref cannot resolve against a replacement browser + connection or tab. + - `@understudy/connector`: snapshot reads expose `target: { tabId, url }`. + Driver failures, including expected-tab mismatches and pages that change + during capture, return structured `{ ok: false, error }` output with the + original reason. + + This is a breaking wire change. Upgrade and deploy the protocol, service, + extension, and connector together. Protocol 0.6 rejects snapshot events from + older extensions because they lack the required target fields, and connector + 0.4 requires protocol 0.6. + +### Patch Changes + +- Updated dependencies [ebfa8a6] + - @understudy/protocol@0.6.0 + ## 0.3.0 ### Minor Changes diff --git a/packages/connector/package.json b/packages/connector/package.json index bfb902b..cb927e5 100644 --- a/packages/connector/package.json +++ b/packages/connector/package.json @@ -1,6 +1,6 @@ { "name": "@understudy/connector", - "version": "0.3.0", + "version": "0.4.0", "type": "module", "description": "Reference @proofoftech/breakwater connectors for the understudy browser-execution service: observe / act / fill_credential, approval-gated via flowsafe grants", "main": "./dist/index.js", diff --git a/packages/protocol/CHANGELOG.md b/packages/protocol/CHANGELOG.md index 203c5a4..2ec4add 100644 --- a/packages/protocol/CHANGELOG.md +++ b/packages/protocol/CHANGELOG.md @@ -1,5 +1,27 @@ # @understudy/protocol +## 0.6.0 + +### Minor Changes + +- ebfa8a6: Bind every snapshot and accessibility ref to the exact browser target that + produced it. + + - `@understudy/protocol`: `snapshot_result` and `screenshot_result` now require + the attached CDP `tabId` and main-frame `url`. Accessibility refs remain + opaque, but are now namespaced to the extension session, CDP attachment, and + snapshot generation so a ref cannot resolve against a replacement browser + connection or tab. + - `@understudy/connector`: snapshot reads expose `target: { tabId, url }`. + Driver failures, including expected-tab mismatches and pages that change + during capture, return structured `{ ok: false, error }` output with the + original reason. + + This is a breaking wire change. Upgrade and deploy the protocol, service, + extension, and connector together. Protocol 0.6 rejects snapshot events from + older extensions because they lack the required target fields, and connector + 0.4 requires protocol 0.6. + ## 0.5.0 ### Minor Changes diff --git a/packages/protocol/package.json b/packages/protocol/package.json index e2f0167..efbd515 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -1,6 +1,6 @@ { "name": "@understudy/protocol", - "version": "0.5.0", + "version": "0.6.0", "type": "module", "description": "The understudy browser-execution command protocol: zod-4 Command/Event discriminated unions shared by the service, the extension driver, and consumer connectors", "main": "./dist/index.js",