@ai-ecoverse/slicc-kernel 1.59.0 → 1.60.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/README.md +22 -3
- package/dist/index.js +37 -8
- package/dist/index.js.map +2 -2
- package/dist/kernel-worker.js +78 -13
- package/dist/kernel-worker.js.map +3 -3
- package/dist/node-process-worker.js +1 -1
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +172 -38
- package/dist/node.js.map +4 -4
- package/dist/process-worker.js +1 -1
- package/dist/process-worker.js.map +2 -2
- package/package.json +1 -1
|
@@ -3288,7 +3288,7 @@ function decodeSabResult(status2, payload) {
|
|
|
3288
3288
|
case SAB_STATUS_ERRNO: {
|
|
3289
3289
|
try {
|
|
3290
3290
|
const parsed = JSON.parse(decoder2.decode(payload));
|
|
3291
|
-
const errno2 = typeof parsed.errno === "string" && /^E[A-Z]+$/.test(parsed.errno) ? parsed.errno : "EIO";
|
|
3291
|
+
const errno2 = typeof parsed.errno === "string" && /^E[A-Z]+$|^EAI_[A-Z]+$/.test(parsed.errno) ? parsed.errno : "EIO";
|
|
3292
3292
|
return { ok: false, errno: errno2, message: String(parsed.message ?? errno2) };
|
|
3293
3293
|
} catch {
|
|
3294
3294
|
return { ok: false, errno: "EIO", message: "sync-sab: malformed errno payload" };
|