@modelprofile.com/browser-runtime 5.3.0 → 5.4.1

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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-09-14 - 5.4.1
4
+
5
+ ### Fixes
6
+
7
+ - bump @push.rocks/smartpuppeteer to ^2.12.0 (deps)
8
+ - Updates @push.rocks/smartpuppeteer from ^2.11.1 to ^2.12.0.
9
+
10
+ ## 2026-09-14 - 5.4.0
11
+
12
+ ### Features
13
+
14
+ - support page dialogs and bounded wheel input concurrency (runtime)
15
+ - Expose pending tab dialogs in runtime state and add human lease respondToDialog() with dialog operation classification.
16
+ - Let dialog replies bypass paused page operations and map pending or stale input errors to DIALOG_PENDING and STALE_INPUT.
17
+ - Run up to four wheel dispatches concurrently while preserving admission order and semantic barriers.
18
+ - Release held native input before input enters a new document to avoid stale modifiers or buttons.
19
+ - Bump @push.rocks/smartpuppeteer to ^2.11.1.
20
+
3
21
  ## 2026-09-14 - 5.3.0
4
22
 
5
23
  ### Features
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@modelprofile.com/browser-runtime',
6
- version: '5.3.0',
6
+ version: '5.4.1',
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
- operation?: IOperationRecord;
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>;