@hmharness/environments 0.23.52 → 0.23.53
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/arc3-rest.js +2 -2
- package/package.json +3 -3
package/dist/arc3-rest.js
CHANGED
|
@@ -88,7 +88,7 @@ export class Arc3RestBridge {
|
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
catch (err) {
|
|
91
|
-
throw new Error(`E_ARC3_NETWORK: ${err instanceof Error ? err.message : String(err)}
|
|
91
|
+
throw new Error(`E_ARC3_NETWORK: ${err instanceof Error ? err.message : String(err)}`, { cause: err });
|
|
92
92
|
}
|
|
93
93
|
this.absorbCookies(res);
|
|
94
94
|
if (!res.ok) {
|
|
@@ -110,7 +110,7 @@ export class Arc3RestBridge {
|
|
|
110
110
|
headers: key ? { 'X-API-Key': key } : {},
|
|
111
111
|
signal: AbortSignal.timeout(10_000),
|
|
112
112
|
}).catch((err) => {
|
|
113
|
-
throw new Error(`E_ARC3_NETWORK: ${err instanceof Error ? err.message : String(err)}
|
|
113
|
+
throw new Error(`E_ARC3_NETWORK: ${err instanceof Error ? err.message : String(err)}`, { cause: err });
|
|
114
114
|
});
|
|
115
115
|
if (!res.ok)
|
|
116
116
|
throw new Error(`E_ARC3_HTTP_${res.status}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmharness/environments",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.53",
|
|
4
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
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"node": ">=22"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@hmharness/kernel": "0.23.
|
|
30
|
-
"@hmharness/cognitive": "0.23.
|
|
29
|
+
"@hmharness/kernel": "0.23.53",
|
|
30
|
+
"@hmharness/cognitive": "0.23.53"
|
|
31
31
|
}
|
|
32
32
|
}
|