Releases: ProofOfTechOrg/understudy
Release list
@understudy/protocol@0.5.0
Minor Changes
-
432e2cc: Add JavaScript-dialog handling breadth.
- protocol: new
dialogEvent ({ type, tabId, dialogType: alert | confirm | prompt | beforeunload, message, url, defaultPrompt?, disposition: accept | dismiss }) plusDialogTypeSchema/DialogDispositionSchemaexports. Emitted unsolicited (likepage_event) after the extension locally handles a page dialog, so a consumer learns what the page said and how it was answered. - connector:
browser.observegains aget_dialogsread returning the session's recent dialogs (ObserveOutput.dialogs), read fromGET /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
beforeunloaddismiss 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. - protocol: new
@understudy/protocol@0.4.0
Minor Changes
-
a29e4b8: Idempotent write retries and a single write-classification source of truth.
@understudy/protocolnow exportsWRITE_COMMAND_TYPES(and its
WriteCommandTypeunion) as the one classification downstream layers derive
from, and reclassifiesscroll/switch_tabas writes — so
isWriteCommandreturnstruefor them. They are user-visible side effects:
adryRunmust simulate (not perform) them and an idempotent retry must
replay (not repeat) them, so a relative-dyscrollnever double-scrolls.
No schema change.@understudy/connector'sact/fillCredentialderive the wire
commandIdfrom the breakwater idempotency key (ik_<key>) instead of a
random UUID, so a retry after a lost or unparseable response replays the
service's recorded write Event instead of executing the write twice.
Dry-runs keep random ids. Theactunion is now pinned at compile time to
the protocol's write class minusfill_secret(no divergence to reconcile,
now thatscroll/switch_tabare protocol writes).
@understudy/connector@0.3.0
Minor Changes
-
432e2cc: Add JavaScript-dialog handling breadth.
- protocol: new
dialogEvent ({ type, tabId, dialogType: alert | confirm | prompt | beforeunload, message, url, defaultPrompt?, disposition: accept | dismiss }) plusDialogTypeSchema/DialogDispositionSchemaexports. Emitted unsolicited (likepage_event) after the extension locally handles a page dialog, so a consumer learns what the page said and how it was answered. - connector:
browser.observegains aget_dialogsread returning the session's recent dialogs (ObserveOutput.dialogs), read fromGET /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
beforeunloaddismiss 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. - protocol: new
Patch Changes
- Updated dependencies [432e2cc]
- @understudy/protocol@0.5.0
@understudy/connector@0.2.0
Minor Changes
-
a29e4b8: Idempotent write retries and a single write-classification source of truth.
@understudy/protocolnow exportsWRITE_COMMAND_TYPES(and its
WriteCommandTypeunion) as the one classification downstream layers derive
from, and reclassifiesscroll/switch_tabas writes — so
isWriteCommandreturnstruefor them. They are user-visible side effects:
adryRunmust simulate (not perform) them and an idempotent retry must
replay (not repeat) them, so a relative-dyscrollnever double-scrolls.
No schema change.@understudy/connector'sact/fillCredentialderive the wire
commandIdfrom the breakwater idempotency key (ik_<key>) instead of a
random UUID, so a retry after a lost or unparseable response replays the
service's recorded write Event instead of executing the write twice.
Dry-runs keep random ids. Theactunion is now pinned at compile time to
the protocol's write class minusfill_secret(no divergence to reconcile,
now thatscroll/switch_tabare protocol writes).
Patch Changes
- Updated dependencies [a29e4b8]
- @understudy/protocol@0.4.0