@lousy-agents/agent-shell 5.14.2 → 5.14.4

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -578,10 +578,9 @@ function getFsSafePythonConfig() {
578
578
  };
579
579
  }
580
580
  function canFallbackFromPythonError(error) {
581
+ const code = error instanceof Error && "code" in error ? error.code : undefined;
581
582
  return (getFsSafePythonConfig().mode !== "require" &&
582
- error instanceof Error &&
583
- "code" in error &&
584
- error.code === "helper-unavailable");
583
+ (code === "helper-unavailable" || code === "unsupported-platform"));
585
584
  }
586
585
 
587
586
  ;// CONCATENATED MODULE: ../../node_modules/@openclaw/fs-safe/dist/pinned-python.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lousy-agents/agent-shell",
3
- "version": "5.14.2",
3
+ "version": "5.14.4",
4
4
  "description": "A flight recorder for npm script execution",
5
5
  "type": "module",
6
6
  "repository": {
@@ -36,7 +36,7 @@
36
36
  "build": "rspack build --config rspack.config.ts && chmod +x dist/index.js"
37
37
  },
38
38
  "dependencies": {
39
- "@openclaw/fs-safe": "0.2.1",
39
+ "@openclaw/fs-safe": "0.2.2",
40
40
  "zod": "4.4.3"
41
41
  },
42
42
  "peerDependencies": {