@hmharness/environments 0.23.13 → 0.23.15
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/dist/adapters.d.ts +3 -0
- package/dist/adapters.js +3 -0
- package/dist/harmonyos.d.ts +1 -0
- package/dist/harmonyos.js +1 -0
- package/dist/terminal.d.ts +1 -0
- package/dist/terminal.js +1 -0
- package/package.json +32 -32
package/dist/adapters.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare class BrowserEnvironment implements Environment {
|
|
|
32
32
|
private opts;
|
|
33
33
|
id: string;
|
|
34
34
|
version: string;
|
|
35
|
+
snapshotClass: "observational";
|
|
35
36
|
private tabs;
|
|
36
37
|
private history;
|
|
37
38
|
constructor(opts?: BrowserEnvOptions);
|
|
@@ -61,6 +62,7 @@ export declare class DesktopEnvironment implements Environment {
|
|
|
61
62
|
private opts;
|
|
62
63
|
id: string;
|
|
63
64
|
version: string;
|
|
65
|
+
snapshotClass: "observational";
|
|
64
66
|
private windows;
|
|
65
67
|
constructor(opts?: DesktopEnvOptions);
|
|
66
68
|
capabilities(): Promise<Capability[]>;
|
|
@@ -83,6 +85,7 @@ export declare class Arc3Environment implements Environment {
|
|
|
83
85
|
private opts;
|
|
84
86
|
id: string;
|
|
85
87
|
version: string;
|
|
88
|
+
snapshotClass: "observational";
|
|
86
89
|
private session;
|
|
87
90
|
constructor(opts?: Arc3EnvOptions);
|
|
88
91
|
capabilities(): Promise<Capability[]>;
|
package/dist/adapters.js
CHANGED
|
@@ -4,6 +4,7 @@ export class BrowserEnvironment {
|
|
|
4
4
|
opts;
|
|
5
5
|
id = 'browser';
|
|
6
6
|
version = '1.0.0';
|
|
7
|
+
snapshotClass = 'observational'; // live page/tab state cannot be rewound via CDP
|
|
7
8
|
tabs = [];
|
|
8
9
|
history = [];
|
|
9
10
|
constructor(opts = {}) {
|
|
@@ -90,6 +91,7 @@ export class DesktopEnvironment {
|
|
|
90
91
|
opts;
|
|
91
92
|
id = 'desktop';
|
|
92
93
|
version = '1.0.0';
|
|
94
|
+
snapshotClass = 'observational'; // UI state is not restorable (divergence audit only)
|
|
93
95
|
windows = [];
|
|
94
96
|
constructor(opts = {}) {
|
|
95
97
|
this.opts = opts;
|
|
@@ -161,6 +163,7 @@ export class Arc3Environment {
|
|
|
161
163
|
opts;
|
|
162
164
|
id = 'arc3';
|
|
163
165
|
version = '1.0.0';
|
|
166
|
+
snapshotClass = 'observational'; // a live ARC game cannot be rewound
|
|
164
167
|
session = null;
|
|
165
168
|
constructor(opts = {}) {
|
|
166
169
|
this.opts = opts;
|
package/dist/harmonyos.d.ts
CHANGED
package/dist/harmonyos.js
CHANGED
package/dist/terminal.d.ts
CHANGED
package/dist/terminal.js
CHANGED
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@hmharness/environments",
|
|
3
|
-
"version": "0.23.
|
|
4
|
-
"description": "HMH Cognitive OS environment adapters: Terminal (native), HarmonyOS (via domain-harmony), Browser/Desktop (via host automation bridge), ARC3 (external adapter). Every adapter implements the @hmharness/cognitive Environment protocol and must pass the shared conformance test.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
10
|
-
"default": "./dist/index.js"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"types": "dist/index.d.ts",
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "tsc -p tsconfig.build.json"
|
|
16
|
-
},
|
|
17
|
-
"files": [
|
|
18
|
-
"dist"
|
|
19
|
-
],
|
|
20
|
-
"license": "MIT",
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "git+https://github.com/swsgbl/hmharness.git"
|
|
24
|
-
},
|
|
25
|
-
"engines": {
|
|
26
|
-
"node": ">=22"
|
|
27
|
-
},
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"@hmharness/kernel": "0.23.
|
|
30
|
-
"@hmharness/cognitive": "0.23.
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@hmharness/environments",
|
|
3
|
+
"version": "0.23.15",
|
|
4
|
+
"description": "HMH Cognitive OS environment adapters: Terminal (native), HarmonyOS (via domain-harmony), Browser/Desktop (via host automation bridge), ARC3 (external adapter). Every adapter implements the @hmharness/cognitive Environment protocol and must pass the shared conformance test.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"types": "dist/index.d.ts",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc -p tsconfig.build.json"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/swsgbl/hmharness.git"
|
|
24
|
+
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=22"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@hmharness/kernel": "0.23.15",
|
|
30
|
+
"@hmharness/cognitive": "0.23.15"
|
|
31
|
+
}
|
|
32
|
+
}
|