@modelprofile.com/browser-runtime 2.0.0 → 2.1.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-08-13 - 2.1.1
4
+
5
+ ### Fixes
6
+
7
+ - isolate production confinement probe in a disposable tab (confinement)
8
+ - Run loopback, invalid host, and WebRTC confinement checks in an inactive probe tab instead of the active session tab.
9
+ - Close the probe tab during cleanup and fail closed if cleanup leaves session state changed.
10
+ - Preserve both probe and cleanup failures with AggregateError when both occur.
11
+
12
+ ## 2026-08-12 - 2.1.0
13
+
14
+ ### Features
15
+
16
+ - add a fail-closed pre-operation authorization and audit gate (runtime)
17
+ - Reserve and revalidate exact resource authority around an awaited host callback with an `AbortSignal` before browser side effects begin.
18
+ - Expose immutable operation identity and a `beforeOperationTimeoutMs` option accepting 100 through 120,000 milliseconds with a 10,000 millisecond default.
19
+ - Deny rejected gates, report gate timeout as `TIMEOUT`, and correlate post-cleanup best-effort terminal audit through the same operation ID.
20
+
3
21
  ## 2026-08-12 - 2.0.0
4
22
 
5
23
  ### Breaking Changes
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@modelprofile.com/browser-runtime',
6
- version: '2.0.0',
6
+ version: '2.1.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=
@@ -37,6 +37,8 @@ interface IOperationRecord {
37
37
  controller: AbortController;
38
38
  action: string;
39
39
  startedAt: number;
40
+ session: ILiveBrowserSessionLike;
41
+ incarnationGeneration: number;
40
42
  promise: Promise<void>;
41
43
  }
42
44
  interface IFrameSubscriptionRecord {
@@ -166,6 +168,10 @@ export declare class BrowserRuntime {
166
168
  private createLeaseRecord;
167
169
  private ensureSession;
168
170
  private runOperation;
171
+ private normalizeOperationError;
172
+ private operationErrorCode;
173
+ private runBeforeOperation;
174
+ private createOperationIdentity;
169
175
  private executeAgentActionInternal;
170
176
  private resolveSemanticTarget;
171
177
  private resourceState;