@modelprofile.com/browser-runtime 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +11 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/classes.runtime.d.ts +11 -1
- package/dist_ts/classes.runtime.js +152 -67
- package/dist_ts/errors.d.ts +1 -1
- package/dist_ts/errors.js +3 -1
- package/dist_ts/interfaces.d.ts +3 -1
- package/package.json +2 -2
- package/readme.md +6 -2
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/classes.runtime.ts +127 -61
- package/ts/errors.ts +4 -0
- package/ts/interfaces.ts +4 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-09-14 - 5.4.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- support page dialogs and bounded wheel input concurrency (runtime)
|
|
8
|
+
- Expose pending tab dialogs in runtime state and add human lease respondToDialog() with dialog operation classification.
|
|
9
|
+
- Let dialog replies bypass paused page operations and map pending or stale input errors to DIALOG_PENDING and STALE_INPUT.
|
|
10
|
+
- Run up to four wheel dispatches concurrently while preserving admission order and semantic barriers.
|
|
11
|
+
- Release held native input before input enters a new document to avoid stale modifiers or buttons.
|
|
12
|
+
- Bump @push.rocks/smartpuppeteer to ^2.11.1.
|
|
13
|
+
|
|
3
14
|
## 2026-09-14 - 5.3.0
|
|
4
15
|
|
|
5
16
|
### Features
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@modelprofile.com/browser-runtime',
|
|
6
|
-
version: '5.
|
|
6
|
+
version: '5.4.0',
|
|
7
7
|
description: 'Parent-owned, resource-centric Chromium runtime with revisioned attachment fencing, authenticated human and agent control, fail-closed egress, bounded artifacts, and Flex/MCP adapters.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxtQ0FBbUM7SUFDekMsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLDBMQUEwTDtDQUN4TSxDQUFBIn0=
|
|
@@ -147,7 +147,13 @@ interface IResourceSlot {
|
|
|
147
147
|
profileDirectory?: string;
|
|
148
148
|
unsubscribeSession?: () => void;
|
|
149
149
|
leases: Map<string, ILeaseRecord>;
|
|
150
|
-
|
|
150
|
+
operations: Set<IOperationRecord>;
|
|
151
|
+
activeQueuedOperations: Set<IQueuedOperationRecord>;
|
|
152
|
+
inputCleanup?: {
|
|
153
|
+
session: ILiveBrowserSessionLike;
|
|
154
|
+
incarnationGeneration: number;
|
|
155
|
+
promise: Promise<void>;
|
|
156
|
+
};
|
|
151
157
|
operationQueue: IQueuedOperationRecord[];
|
|
152
158
|
operationSchedulerRunning: boolean;
|
|
153
159
|
frameSubscriptions: Map<string, IFrameSubscriptionRecord>;
|
|
@@ -260,6 +266,8 @@ export declare class BrowserRuntime {
|
|
|
260
266
|
/** @internal */
|
|
261
267
|
leaseRefreshFrameStream(lease: ILeaseRecord, operationOptions?: IBrowserRuntimeOperationOptions): Promise<void>;
|
|
262
268
|
/** @internal */
|
|
269
|
+
leaseRespondToDialog(lease: ILeaseRecord, input: plugins.smartpuppeteer.ILiveBrowserDialogResponse, options?: IBrowserRuntimeOperationOptions): Promise<void>;
|
|
270
|
+
/** @internal */
|
|
263
271
|
leaseDispatchRawInput(lease: ILeaseRecord, action: 'dispatchMouse' | 'dispatchWheel' | 'dispatchKey' | 'insertText', input: plugins.smartpuppeteer.ILiveBrowserMouseInput | plugins.smartpuppeteer.ILiveBrowserWheelInput | plugins.smartpuppeteer.ILiveBrowserKeyInput | plugins.smartpuppeteer.ILiveBrowserInsertTextInput, operationOptions?: IBrowserRuntimeOperationOptions): Promise<void>;
|
|
264
272
|
private keyOwnershipKey;
|
|
265
273
|
private validateHeldInputTarget;
|
|
@@ -267,6 +275,7 @@ export declare class BrowserRuntime {
|
|
|
267
275
|
private otherParticipantHolds;
|
|
268
276
|
private sharedMouseButtons;
|
|
269
277
|
private sharedModifiers;
|
|
278
|
+
private releaseStaleParticipantInput;
|
|
270
279
|
private releaseAllParticipantInput;
|
|
271
280
|
private releaseParticipantInput;
|
|
272
281
|
/** @internal */
|
|
@@ -405,6 +414,7 @@ export declare class BrowserRuntimeLease {
|
|
|
405
414
|
forward(options?: plugins.smartpuppeteer.ILiveBrowserNavigationOptions, operationOptions?: IBrowserRuntimeOperationOptions): Promise<IBrowserRuntimeState>;
|
|
406
415
|
reload(options?: plugins.smartpuppeteer.ILiveBrowserNavigationOptions, operationOptions?: IBrowserRuntimeOperationOptions): Promise<IBrowserRuntimeState>;
|
|
407
416
|
setViewport(viewport: plugins.smartpuppeteer.ILiveBrowserViewport, operationOptions?: IBrowserRuntimeOperationOptions): Promise<IBrowserRuntimeViewportResult>;
|
|
417
|
+
respondToDialog(input: plugins.smartpuppeteer.ILiveBrowserDialogResponse, options?: IBrowserRuntimeOperationOptions): Promise<void>;
|
|
408
418
|
dispatchMouse(input: plugins.smartpuppeteer.ILiveBrowserMouseInput, operationOptions?: IBrowserRuntimeOperationOptions): Promise<void>;
|
|
409
419
|
dispatchWheel(input: plugins.smartpuppeteer.ILiveBrowserWheelInput, operationOptions?: IBrowserRuntimeOperationOptions): Promise<void>;
|
|
410
420
|
dispatchKey(input: plugins.smartpuppeteer.ILiveBrowserKeyInput, operationOptions?: IBrowserRuntimeOperationOptions): Promise<void>;
|