@lousy-agents/agent-shell 5.21.0 → 5.21.2
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/index.js +20 -7
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __rspack_createRequire } from "node:module";
|
|
3
3
|
const __rspack_createRequire_require = __rspack_createRequire(import.meta.url);
|
|
4
4
|
var __webpack_modules__ = ({
|
|
5
|
-
|
|
5
|
+
800(__unused_rspack_module, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
6
6
|
|
|
7
7
|
;// CONCATENATED MODULE: external "node:child_process"
|
|
8
8
|
const external_node_child_process_namespaceObject = __rspack_createRequire_require("node:child_process");
|
|
@@ -3893,6 +3893,21 @@ async function read_opened_file_readOpenedFileSafely(params) {
|
|
|
3893
3893
|
};
|
|
3894
3894
|
}
|
|
3895
3895
|
|
|
3896
|
+
;// CONCATENATED MODULE: ../../node_modules/@openclaw/fs-safe/dist/read-open-flags.js
|
|
3897
|
+
|
|
3898
|
+
function resolveReadOpenFlags(options) {
|
|
3899
|
+
const constants = options?.constants ?? external_node_fs_namespaceObject.constants;
|
|
3900
|
+
const noFollow = process.platform !== "win32" &&
|
|
3901
|
+
options?.followSymlinks !== true &&
|
|
3902
|
+
typeof constants.O_NOFOLLOW === "number"
|
|
3903
|
+
? constants.O_NOFOLLOW
|
|
3904
|
+
: 0;
|
|
3905
|
+
const nonBlocking = process.platform !== "win32" && typeof constants.O_NONBLOCK === "number"
|
|
3906
|
+
? constants.O_NONBLOCK
|
|
3907
|
+
: 0;
|
|
3908
|
+
return constants.O_RDONLY | noFollow | nonBlocking;
|
|
3909
|
+
}
|
|
3910
|
+
|
|
3896
3911
|
;// CONCATENATED MODULE: ../../node_modules/@openclaw/fs-safe/dist/home-dir.js
|
|
3897
3912
|
|
|
3898
3913
|
|
|
@@ -4390,6 +4405,7 @@ async function serializePathWrite(key, run) {
|
|
|
4390
4405
|
|
|
4391
4406
|
|
|
4392
4407
|
|
|
4408
|
+
|
|
4393
4409
|
|
|
4394
4410
|
|
|
4395
4411
|
function logWarn(message) {
|
|
@@ -4398,11 +4414,8 @@ function logWarn(message) {
|
|
|
4398
4414
|
}
|
|
4399
4415
|
}
|
|
4400
4416
|
const SUPPORTS_NOFOLLOW = process.platform !== "win32" && "O_NOFOLLOW" in external_node_fs_namespaceObject.constants;
|
|
4401
|
-
const
|
|
4402
|
-
const
|
|
4403
|
-
(SUPPORTS_NOFOLLOW ? external_node_fs_namespaceObject.constants.O_NOFOLLOW : 0) |
|
|
4404
|
-
NONBLOCK_OPEN_FLAG;
|
|
4405
|
-
const OPEN_READ_FOLLOW_FLAGS = external_node_fs_namespaceObject.constants.O_RDONLY | NONBLOCK_OPEN_FLAG;
|
|
4417
|
+
const OPEN_READ_FLAGS = resolveReadOpenFlags();
|
|
4418
|
+
const OPEN_READ_FOLLOW_FLAGS = resolveReadOpenFlags({ followSymlinks: true });
|
|
4406
4419
|
const OPEN_WRITE_EXISTING_FLAGS = external_node_fs_namespaceObject.constants.O_WRONLY | (SUPPORTS_NOFOLLOW ? external_node_fs_namespaceObject.constants.O_NOFOLLOW : 0);
|
|
4407
4420
|
const OPEN_WRITE_CREATE_FLAGS = external_node_fs_namespaceObject.constants.O_WRONLY |
|
|
4408
4421
|
external_node_fs_namespaceObject.constants.O_CREAT |
|
|
@@ -16733,4 +16746,4 @@ if (installedChunkData !== 0) { // 0 means "already installed".'
|
|
|
16733
16746
|
// module factories are used so entry inlining is disabled
|
|
16734
16747
|
// startup
|
|
16735
16748
|
// Load entry module and return exports
|
|
16736
|
-
var __webpack_exports__ = __webpack_require__(
|
|
16749
|
+
var __webpack_exports__ = __webpack_require__(800);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lousy-agents/agent-shell",
|
|
3
|
-
"version": "5.21.
|
|
3
|
+
"version": "5.21.2",
|
|
4
4
|
"description": "A flight recorder for npm script execution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"typecheck": "tsc --noEmit"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@openclaw/fs-safe": "0.5.
|
|
40
|
+
"@openclaw/fs-safe": "0.5.4",
|
|
41
41
|
"zod": "4.4.3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|