@lousy-agents/mcp 5.22.9 → 5.22.11
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 +6 -3
- package/package.json +1 -1
package/dist/mcp-server.js
CHANGED
|
@@ -54861,8 +54861,10 @@ async function openRootDirectoryListing(root, directory, options, receipt) {
|
|
|
54861
54861
|
paths.names.set(name, pathname);
|
|
54862
54862
|
let observed;
|
|
54863
54863
|
try {
|
|
54864
|
-
|
|
54865
|
-
?
|
|
54864
|
+
const stat = options.exactIdentity
|
|
54865
|
+
? strict_file_identity_inspectFileIdentitySync(() => external_node_fs_.lstatSync(pathname, { bigint: true }))
|
|
54866
|
+
: external_node_fs_.lstatSync(pathname, { bigint: true });
|
|
54867
|
+
observed = { stat, ...(options.exactIdentity ? { identity: { dev: stat.dev, ino: stat.ino } } : {}) };
|
|
54866
54868
|
}
|
|
54867
54869
|
catch (error) {
|
|
54868
54870
|
await assertCurrent();
|
|
@@ -54871,7 +54873,8 @@ async function openRootDirectoryListing(root, directory, options, receipt) {
|
|
|
54871
54873
|
throw error;
|
|
54872
54874
|
}
|
|
54873
54875
|
await assertCurrent();
|
|
54874
|
-
return { kind: "entry", entry: pathStatFromStats(observed.stat, name), identity: observed.identity
|
|
54876
|
+
return { kind: "entry", entry: pathStatFromStats(observed.stat, name), identity: observed.identity,
|
|
54877
|
+
...(options.exactIdentity ? { observation: observed.stat } : {}) };
|
|
54875
54878
|
}
|
|
54876
54879
|
}
|
|
54877
54880
|
catch (error) {
|