@openclaw/typesafe 2026.10.1 → 2026.10.5-beta.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.
|
@@ -251,7 +251,7 @@ function httpError(response) {
|
|
|
251
251
|
const retryAfterMs = Number.isFinite(parsedMilliseconds) && parsedMilliseconds >= 0 ? parsedMilliseconds : seconds === void 0 ? void 0 : seconds * 1e3;
|
|
252
252
|
return new EvaluationError("TypeSafe rate limit reached; retry later.", "rate-limited", retryAfterMs);
|
|
253
253
|
}
|
|
254
|
-
if (response.status === 413 || response.status === 422) return new EvaluationError("TypeSafe rejected the supplied input.", "unsupported-input");
|
|
254
|
+
if (response.status === 400 || response.status === 413 || response.status === 422) return new EvaluationError("TypeSafe rejected the supplied input.", "unsupported-input");
|
|
255
255
|
return new EvaluationError("TypeSafe service rejected the evaluation request.", "transport");
|
|
256
256
|
}
|
|
257
257
|
async function readBody(response, signal) {
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ function resolveRuntimeConfig(snapshot) {
|
|
|
16
16
|
}
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region extensions/typesafe/src/decisions.ts
|
|
19
|
-
const loadClient = createLazyRuntimeModule(() => import("./.setup/client-
|
|
19
|
+
const loadClient = createLazyRuntimeModule(() => import("./.setup/client-6lXBoHzi.mjs"));
|
|
20
20
|
/** Translate the host-selected decision contract through the TypeSafe transport. */
|
|
21
21
|
function createDecisionProvider(getConfig) {
|
|
22
22
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/typesafe",
|
|
3
|
-
"version": "2026.10.1",
|
|
3
|
+
"version": "2026.10.5-beta.1",
|
|
4
4
|
"description": "OpenClaw TypeSafe typed decision provider",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"minHostVersion": ">=2026.9.6"
|
|
22
22
|
},
|
|
23
23
|
"compat": {
|
|
24
|
-
"pluginApi": ">=2026.10.1"
|
|
24
|
+
"pluginApi": ">=2026.10.5-beta.1"
|
|
25
25
|
},
|
|
26
26
|
"build": {
|
|
27
27
|
"bundledDist": false,
|
|
28
|
-
"openclawVersion": "2026.10.1"
|
|
28
|
+
"openclawVersion": "2026.10.5-beta.1"
|
|
29
29
|
},
|
|
30
30
|
"release": {
|
|
31
31
|
"publishToClawHub": true,
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"assets/activity.svg"
|
|
44
44
|
],
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"openclaw": ">=2026.10.1"
|
|
46
|
+
"openclaw": ">=2026.10.5-beta.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependenciesMeta": {
|
|
49
49
|
"openclaw": {
|