@modelprofile.com/browser-runtime 2.0.0 → 2.1.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 +9 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/classes.runtime.d.ts +6 -0
- package/dist_ts/classes.runtime.js +187 -37
- package/dist_ts/index.d.ts +1 -1
- package/dist_ts/interfaces.d.ts +19 -9
- package/package.json +1 -1
- package/readme.hints.md +1 -0
- package/readme.md +3 -0
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/classes.runtime.ts +207 -41
- package/ts/index.ts +1 -0
- package/ts/interfaces.ts +26 -9
package/changelog.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-08-12 - 2.1.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- add a fail-closed pre-operation authorization and audit gate (runtime)
|
|
8
|
+
- Reserve and revalidate exact resource authority around an awaited host callback with an `AbortSignal` before browser side effects begin.
|
|
9
|
+
- Expose immutable operation identity and a `beforeOperationTimeoutMs` option accepting 100 through 120,000 milliseconds with a 10,000 millisecond default.
|
|
10
|
+
- Deny rejected gates, report gate timeout as `TIMEOUT`, and correlate post-cleanup best-effort terminal audit through the same operation ID.
|
|
11
|
+
|
|
3
12
|
## 2026-08-12 - 2.0.0
|
|
4
13
|
|
|
5
14
|
### Breaking Changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@modelprofile.com/browser-runtime',
|
|
6
|
-
version: '2.
|
|
6
|
+
version: '2.1.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=
|
|
@@ -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;
|