Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/dialog-handling.md

This file was deleted.

7 changes: 7 additions & 0 deletions apps/backend/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @understudy/backend

## 0.0.2

### Patch Changes

- Updated dependencies [432e2cc]
- @understudy/protocol@0.5.0

## 0.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@understudy/backend",
"version": "0.0.1",
"version": "0.0.2",
"private": true,
"type": "module",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions apps/extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @understudy/extension

## 0.0.2

### Patch Changes

- Updated dependencies [432e2cc]
- @understudy/protocol@0.5.0

## 0.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@understudy/extension",
"version": "0.0.1",
"version": "0.0.2",
"private": true,
"type": "module",
"scripts": {
Expand Down
16 changes: 16 additions & 0 deletions packages/connector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @understudy/connector

## 0.3.0

### Minor Changes

- 432e2cc: Add JavaScript-dialog handling breadth.

- **protocol**: new `dialog` Event (`{ type, tabId, dialogType: alert | confirm | prompt | beforeunload, message, url, defaultPrompt?, disposition: accept | dismiss }`) plus `DialogTypeSchema` / `DialogDispositionSchema` exports. Emitted unsolicited (like `page_event`) after the extension locally handles a page dialog, so a consumer learns what the page said and how it was answered.
- **connector**: `browser.observe` gains a `get_dialogs` read returning the session's recent dialogs (`ObserveOutput.dialogs`), read from `GET /v1/sessions/:id`.

The extension now applies a type-aware local disposition (alert/beforeunload accept, confirm/prompt dismiss) instead of blindly dismissing every dialog — a `beforeunload` dismiss previously cancelled navigations. Dispositions are decided synchronously extension-side because an open dialog blocks the single CDP channel; the consumer is notified, never in the response path.

### Patch Changes

- Updated dependencies [432e2cc]
- @understudy/protocol@0.5.0

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/connector/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@understudy/connector",
"version": "0.2.0",
"version": "0.3.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",
Expand Down
11 changes: 11 additions & 0 deletions packages/protocol/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @understudy/protocol

## 0.5.0

### Minor Changes

- 432e2cc: Add JavaScript-dialog handling breadth.

- **protocol**: new `dialog` Event (`{ type, tabId, dialogType: alert | confirm | prompt | beforeunload, message, url, defaultPrompt?, disposition: accept | dismiss }`) plus `DialogTypeSchema` / `DialogDispositionSchema` exports. Emitted unsolicited (like `page_event`) after the extension locally handles a page dialog, so a consumer learns what the page said and how it was answered.
- **connector**: `browser.observe` gains a `get_dialogs` read returning the session's recent dialogs (`ObserveOutput.dialogs`), read from `GET /v1/sessions/:id`.

The extension now applies a type-aware local disposition (alert/beforeunload accept, confirm/prompt dismiss) instead of blindly dismissing every dialog — a `beforeunload` dismiss previously cancelled navigations. Dispositions are decided synchronously extension-side because an open dialog blocks the single CDP channel; the consumer is notified, never in the response path.

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@understudy/protocol",
"version": "0.4.0",
"version": "0.5.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",
Expand Down