@lousy-agents/mcp 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/mcp-server.js +20 -7
- package/package.json +1 -1
package/dist/mcp-server.js
CHANGED
|
@@ -6559,7 +6559,7 @@ function escapeJsonPtr(str) {
|
|
|
6559
6559
|
|
|
6560
6560
|
|
|
6561
6561
|
},
|
|
6562
|
-
|
|
6562
|
+
1977(__unused_rspack_module, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
6563
6563
|
// NAMESPACE OBJECT: ../../node_modules/micromark/lib/constructs.js
|
|
6564
6564
|
var constructs_namespaceObject = {};
|
|
6565
6565
|
__webpack_require__.r(constructs_namespaceObject);
|
|
@@ -30367,6 +30367,21 @@ async function read_opened_file_readOpenedFileSafely(params) {
|
|
|
30367
30367
|
};
|
|
30368
30368
|
}
|
|
30369
30369
|
|
|
30370
|
+
;// CONCATENATED MODULE: ../../node_modules/@openclaw/fs-safe/dist/read-open-flags.js
|
|
30371
|
+
|
|
30372
|
+
function resolveReadOpenFlags(options) {
|
|
30373
|
+
const constants = options?.constants ?? external_node_fs_.constants;
|
|
30374
|
+
const noFollow = process.platform !== "win32" &&
|
|
30375
|
+
options?.followSymlinks !== true &&
|
|
30376
|
+
typeof constants.O_NOFOLLOW === "number"
|
|
30377
|
+
? constants.O_NOFOLLOW
|
|
30378
|
+
: 0;
|
|
30379
|
+
const nonBlocking = process.platform !== "win32" && typeof constants.O_NONBLOCK === "number"
|
|
30380
|
+
? constants.O_NONBLOCK
|
|
30381
|
+
: 0;
|
|
30382
|
+
return constants.O_RDONLY | noFollow | nonBlocking;
|
|
30383
|
+
}
|
|
30384
|
+
|
|
30370
30385
|
;// CONCATENATED MODULE: ../../node_modules/@openclaw/fs-safe/dist/home-dir.js
|
|
30371
30386
|
|
|
30372
30387
|
|
|
@@ -30864,6 +30879,7 @@ async function serializePathWrite(key, run) {
|
|
|
30864
30879
|
|
|
30865
30880
|
|
|
30866
30881
|
|
|
30882
|
+
|
|
30867
30883
|
|
|
30868
30884
|
|
|
30869
30885
|
function logWarn(message) {
|
|
@@ -30872,11 +30888,8 @@ function logWarn(message) {
|
|
|
30872
30888
|
}
|
|
30873
30889
|
}
|
|
30874
30890
|
const SUPPORTS_NOFOLLOW = process.platform !== "win32" && "O_NOFOLLOW" in external_node_fs_.constants;
|
|
30875
|
-
const
|
|
30876
|
-
const
|
|
30877
|
-
(SUPPORTS_NOFOLLOW ? external_node_fs_.constants.O_NOFOLLOW : 0) |
|
|
30878
|
-
NONBLOCK_OPEN_FLAG;
|
|
30879
|
-
const OPEN_READ_FOLLOW_FLAGS = external_node_fs_.constants.O_RDONLY | NONBLOCK_OPEN_FLAG;
|
|
30891
|
+
const OPEN_READ_FLAGS = resolveReadOpenFlags();
|
|
30892
|
+
const OPEN_READ_FOLLOW_FLAGS = resolveReadOpenFlags({ followSymlinks: true });
|
|
30880
30893
|
const OPEN_WRITE_EXISTING_FLAGS = external_node_fs_.constants.O_WRONLY | (SUPPORTS_NOFOLLOW ? external_node_fs_.constants.O_NOFOLLOW : 0);
|
|
30881
30894
|
const OPEN_WRITE_CREATE_FLAGS = external_node_fs_.constants.O_WRONLY |
|
|
30882
30895
|
external_node_fs_.constants.O_CREAT |
|
|
@@ -71084,4 +71097,4 @@ if (installedChunkData !== 0) { // 0 means "already installed".'
|
|
|
71084
71097
|
// module factories are used so entry inlining is disabled
|
|
71085
71098
|
// startup
|
|
71086
71099
|
// Load entry module and return exports
|
|
71087
|
-
var __webpack_exports__ = __webpack_require__(
|
|
71100
|
+
var __webpack_exports__ = __webpack_require__(1977);
|