@lousy-agents/mcp 5.23.17 → 5.23.18

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/mcp-server.js +230 -23
  2. package/package.json +1 -1
@@ -6559,7 +6559,7 @@ function escapeJsonPtr(str) {
6559
6559
 
6560
6560
 
6561
6561
  },
6562
- 7698(__unused_rspack_module, __unused_rspack___webpack_exports__, __webpack_require__) {
6562
+ 5863(__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);
@@ -29607,6 +29607,8 @@ function targetFor(platform, arch, musl) {
29607
29607
  return "darwin-x64";
29608
29608
  if (platform === "darwin" && arch === "arm64")
29609
29609
  return "darwin-arm64";
29610
+ if (platform === "android" && arch === "arm64")
29611
+ return "android-arm64";
29610
29612
  if (platform === "freebsd" && (arch === "x64" || arch === "arm64"))
29611
29613
  return `freebsd-${arch}`;
29612
29614
  if (platform === "linux" && (arch === "x64" || arch === "arm64")) {
@@ -30449,6 +30451,7 @@ async function writeAllToFile(target, data, options = {}) {
30449
30451
 
30450
30452
 
30451
30453
 
30454
+
30452
30455
  const NO_CALLBACK_ARGUMENTS = Object.freeze([]);
30453
30456
  function createTransferBuffer(sizeHint, limit) {
30454
30457
  return Buffer.allocUnsafe(Math.min(512 * 1024, Math.max(64 * 1024, sizeHint), limit + 1));
@@ -30458,6 +30461,7 @@ function copyFileDescriptorSync(sourceFd, targetFd, options = {}) {
30458
30461
  const signal = options.signal;
30459
30462
  signal?.throwIfAborted();
30460
30463
  const maxBytes = normalizeMaxBytes(options.maxBytes);
30464
+ const ranges = normalizeZeroRanges(options.zeroRanges);
30461
30465
  const onChunk = options.onChunk;
30462
30466
  const assertBeforeMutation = options.assertBeforeMutation;
30463
30467
  const sourceStat = inspectFileIdentitySync(() => {
@@ -30483,12 +30487,20 @@ function copyFileDescriptorSync(sourceFd, targetFd, options = {}) {
30483
30487
  let position = 0;
30484
30488
  while (true) {
30485
30489
  signal?.throwIfAborted();
30486
- const bytesRead = fs.readSync(sourceFd, buffer, 0, Math.min(buffer.length, limit - position + 1), position);
30490
+ const step = zeroRangeStep(ranges, position, Math.min(buffer.length, limit - position + 1), Number(sourceStat.size));
30491
+ if ("zeros" in step) {
30492
+ assertZeroRangeSize(sourceFd, sourceStat.size);
30493
+ buffer.fill(0, 0, step.zeros);
30494
+ }
30495
+ const bytesRead = "zeros" in step ? step.zeros : fs.readSync(sourceFd, buffer, 0, step.read, position);
30487
30496
  if (bytesRead > limit - position) {
30488
30497
  throw new FsSafeError("too-large", `file exceeds limit of ${limit} bytes`);
30489
30498
  }
30490
- if (bytesRead === 0)
30499
+ if (bytesRead === 0) {
30500
+ if (ranges.length > 0)
30501
+ assertZeroRangeSize(sourceFd, sourceStat.size);
30491
30502
  return position;
30503
+ }
30492
30504
  const chunk = buffer.subarray(0, bytesRead);
30493
30505
  assertSynchronousCallbackResult(onChunk?.(chunk), "onChunk");
30494
30506
  let offset = 0;
@@ -31315,7 +31327,7 @@ function nodeDirectorySearchOnlyFlags() {
31315
31327
  if (process.platform === "darwin")
31316
31328
  return { flags: 0x40000000, proc: false };
31317
31329
  // Linux x86-64/aarch64 UAPI O_PATH = 010000000. Not a usable fchmod fd.
31318
- if (process.platform === "linux")
31330
+ if (process.platform === "linux" || process.platform === "android")
31319
31331
  return { flags: 0x200000, proc: true };
31320
31332
  return undefined;
31321
31333
  }
@@ -31942,7 +31954,7 @@ function admitPathInsideRoot(params) {
31942
31954
  // Windows native realpath denies delete sharing. Preserve read/publication
31943
31955
  // scheduling until canonicalization can safely overlap replacement.
31944
31956
  const synchronousRootTraversal = process.platform === "win32";
31945
- const root_path_existing_runRootTraversal = synchronousRootTraversal ? atomic_io_runSync : runAsync;
31957
+ const root_path_existing_runRootTraversal = synchronousRootTraversal ? atomic_io_runSync : atomic_io_runAsync;
31946
31958
  function absolutePathWithRawSegments(candidate) {
31947
31959
  if (external_node_path_.sep !== "\\") {
31948
31960
  if (external_node_path_.isAbsolute(candidate))
@@ -32163,7 +32175,7 @@ function exclusive_create_assertExclusiveCreateLeaf(pathname) {
32163
32175
  function* wait(value) {
32164
32176
  return (yield value);
32165
32177
  }
32166
- async function runAsync(procedure) {
32178
+ async function atomic_io_runAsync(procedure) {
32167
32179
  let step = procedure.next();
32168
32180
  while (!step.done) {
32169
32181
  let value;
@@ -32595,6 +32607,7 @@ function* writeTempFile(io, params) {
32595
32607
 
32596
32608
 
32597
32609
 
32610
+
32598
32611
  async function withAsyncDirectoryGuards(guards, mutate, options = {}) {
32599
32612
  for (const guard of guards) {
32600
32613
  directory_guard_assertDirectoryGuard(guard, "native");
@@ -32656,8 +32669,8 @@ function guardedRenameSync(params) {
32656
32669
  async function guardedRm(params) {
32657
32670
  const guard = await createAsyncDirectoryGuard(path.dirname(params.target));
32658
32671
  await withAsyncDirectoryGuards([guard], async () => {
32659
- params.assertBeforeMutation?.();
32660
- await fs.rm(params.target, {
32672
+ await removePath(params.target, {
32673
+ assertBeforeMutation: params.assertBeforeMutation,
32661
32674
  ...(params.recursive !== undefined ? { recursive: params.recursive } : {}),
32662
32675
  });
32663
32676
  });
@@ -32665,17 +32678,169 @@ async function guardedRm(params) {
32665
32678
  function guardedRmSync(params) {
32666
32679
  const guard = createSyncDirectoryGuard(path.dirname(params.target));
32667
32680
  withSyncDirectoryGuards([guard], () => {
32668
- params.assertBeforeMutation?.();
32669
- fsSync.rmSync(params.target, {
32681
+ removePathSync(params.target, {
32682
+ assertBeforeMutation: params.assertBeforeMutation,
32670
32683
  ...(params.recursive !== undefined ? { recursive: params.recursive } : {}),
32671
32684
  ...(params.force !== undefined ? { force: params.force } : {}),
32672
32685
  });
32673
32686
  }, { verifyAfter: params.verifyAfter });
32674
32687
  }
32675
32688
 
32689
+ ;// CONCATENATED MODULE: ../../node_modules/@openclaw/fs-safe/dist/remove-path.js
32690
+
32691
+
32692
+
32693
+
32694
+
32695
+
32696
+
32697
+
32698
+
32699
+
32700
+
32701
+ function rmOptions(options) {
32702
+ return {
32703
+ ...(options.recursive !== undefined ? { recursive: options.recursive } : {}),
32704
+ ...(options.force !== undefined ? { force: options.force } : {}),
32705
+ };
32706
+ }
32707
+ const asyncIo = (/* unused pure expression or super */ null && ({
32708
+ open: target => fs.opendir(target, { bufferSize: 1 }), read: dir => dir.read(),
32709
+ close: dir => dir.close(), unlink: target => fs.unlink(target), rmdir: target => fs.rmdir(target),
32710
+ }));
32711
+ const syncIo = {
32712
+ open: target => external_node_fs_.opendirSync(target, { bufferSize: 1 }), read: dir => dir.readSync(),
32713
+ close: dir => dir.closeSync(), unlink: target => external_node_fs_.unlinkSync(target), rmdir: target => external_node_fs_.rmdirSync(target),
32714
+ };
32715
+ // Do not delegate Windows recursion to a runtime's rm implementation: some
32716
+ // Electron builds follow junctions. Both drivers use this same no-follow walk.
32717
+ function* removeWindowsTree(io, target, options) {
32718
+ target = directoryEntryPath(target);
32719
+ windows_path_alias_assertNoWindowsPathAlias(target, "filesystem");
32720
+ const parent = external_node_path_.dirname(target);
32721
+ const parentStat = strict_file_identity_inspectFileIdentitySync(() => external_node_fs_.lstatSync(parent, { bigint: true }));
32722
+ let expected;
32723
+ let parentGuard;
32724
+ if (parentStat.isSymbolicLink()) {
32725
+ // Compatible temp roots may be junctions. Bind their selected child before
32726
+ // resolving the parent; links inside the selected tree remain leaves.
32727
+ try {
32728
+ expected = strict_file_identity_inspectFileIdentitySync(() => external_node_fs_.lstatSync(target, { bigint: true }));
32729
+ }
32730
+ catch (error) {
32731
+ if (options.force && error?.code === "ENOENT")
32732
+ return;
32733
+ throw error;
32734
+ }
32735
+ parentGuard = directory_guard_captureDirectoryGuard(realpath_realpathSync.native(parent), "native", { bigint: true });
32736
+ target = external_node_path_.join(parentGuard.realPath, external_node_path_.basename(target));
32737
+ }
32738
+ else {
32739
+ parentGuard = directory_guard_captureDirectoryGuard(parent, "native", { bigint: true, initial: parentStat });
32740
+ }
32741
+ const guards = [parentGuard];
32742
+ function assertCurrent() {
32743
+ for (const guard of guards) {
32744
+ try {
32745
+ directory_guard_assertDirectoryGuard(guard, "native");
32746
+ }
32747
+ catch (cause) {
32748
+ throw new errors_FsSafeError("path-mismatch", "cleanup ancestor changed", { cause });
32749
+ }
32750
+ }
32751
+ }
32752
+ function inspect(target, expected) {
32753
+ assertCurrent();
32754
+ return strict_file_identity_inspectFileIdentitySync(() => external_node_fs_.lstatSync(target, { bigint: true }), expected);
32755
+ }
32756
+ function* visit(target, expected) {
32757
+ windows_path_alias_assertNoWindowsPathAlias(target, "filesystem");
32758
+ let initial;
32759
+ try {
32760
+ initial = inspect(target, expected);
32761
+ }
32762
+ catch (error) {
32763
+ if (options.force && error?.code === "ENOENT")
32764
+ return;
32765
+ throw error;
32766
+ }
32767
+ // lstat classifies junctions and directory symlinks as leaves, including
32768
+ // dangling links. Never enumerate their targets or rely on Dirent hints.
32769
+ if (initial.isDirectory() && !initial.isSymbolicLink()) {
32770
+ const guard = directory_guard_captureDirectoryGuard(target, "native", { bigint: true, initial });
32771
+ const expectedPath = external_node_path_.join(guards[guards.length - 1].realPath, external_node_path_.basename(target));
32772
+ if (guard.realPath !== expectedPath) {
32773
+ if (external_node_path_.win32.relative(expectedPath, guard.realPath) !== "") {
32774
+ throw new errors_FsSafeError("path-mismatch", "cleanup directory resolves through a reparse point");
32775
+ }
32776
+ // Windows preserves stored casing. Case-only aliases must still name
32777
+ // this exact directory, including under case-sensitive parents.
32778
+ strict_file_identity_inspectFileIdentitySync(() => external_node_fs_.lstatSync(guard.realPath, { bigint: true }), initial);
32779
+ }
32780
+ guards.push(guard);
32781
+ try {
32782
+ assertCurrent();
32783
+ const directory = yield* wait(io.open(target));
32784
+ let failure;
32785
+ try {
32786
+ while (true) {
32787
+ assertCurrent();
32788
+ const entry = yield* wait(io.read(directory));
32789
+ assertCurrent();
32790
+ if (!entry)
32791
+ break;
32792
+ yield* visit(external_node_path_.join(target, entry.name));
32793
+ }
32794
+ }
32795
+ catch (error) {
32796
+ failure = { error };
32797
+ throw error;
32798
+ }
32799
+ finally {
32800
+ try {
32801
+ yield* wait(io.close(directory));
32802
+ }
32803
+ catch (error) {
32804
+ if (failure)
32805
+ throw suppressed_error_createSuppressedError(error, failure.error, "cleanup and directory close both failed");
32806
+ throw error;
32807
+ }
32808
+ }
32809
+ }
32810
+ finally {
32811
+ guards.pop();
32812
+ }
32813
+ }
32814
+ options.assertBeforeMutation?.();
32815
+ try {
32816
+ inspect(target, initial);
32817
+ yield* wait(initial.isDirectory() && !initial.isSymbolicLink() ? io.rmdir(target) : io.unlink(target));
32818
+ }
32819
+ catch (error) {
32820
+ if (!options.force || error?.code !== "ENOENT")
32821
+ throw error;
32822
+ }
32823
+ assertCurrent();
32824
+ }
32825
+ yield* visit(target, expected);
32826
+ }
32827
+ async function remove_path_removePath(target, options = {}) {
32828
+ if (process.platform === "win32" && options.recursive)
32829
+ return runAsync(removeWindowsTree(asyncIo, target, options));
32830
+ options.assertBeforeMutation?.();
32831
+ await fs.rm(target, rmOptions(options));
32832
+ }
32833
+ function remove_path_removePathSync(target, options = {}) {
32834
+ if (process.platform === "win32" && options.recursive)
32835
+ return atomic_io_runSync(removeWindowsTree(syncIo, target, options));
32836
+ options.assertBeforeMutation?.();
32837
+ external_node_fs_.rmSync(target, rmOptions(options));
32838
+ }
32839
+
32676
32840
  ;// CONCATENATED MODULE: ../../node_modules/@openclaw/fs-safe/dist/temp-cleanup.js
32677
32841
 
32678
32842
 
32843
+
32679
32844
  const tempCleanupEntries = new Map();
32680
32845
  let cleanupRegistered = false;
32681
32846
  function pathStillMatchesReceipt(entry) {
@@ -32696,7 +32861,7 @@ function removeRegisteredPathSync(entry) {
32696
32861
  if (entry.singleLinkFile)
32697
32862
  external_node_fs_.unlinkSync(entry.path);
32698
32863
  else
32699
- external_node_fs_.rmSync(entry.path, { force: true, recursive: entry.recursive });
32864
+ remove_path_removePathSync(entry.path, { force: true, recursive: entry.recursive });
32700
32865
  }
32701
32866
  function cleanupEntrySync(entry) {
32702
32867
  if (entry.cleanupSync) {
@@ -36480,6 +36645,38 @@ function cachedNoReplaceDevice(binding, device, operation) {
36480
36645
  return detail ? native_noreplace_unavailable(operation, detail) : undefined;
36481
36646
  }
36482
36647
 
36648
+ ;// CONCATENATED MODULE: ../../node_modules/@openclaw/fs-safe/dist/sidecar-lock-filesystem.js
36649
+
36650
+
36651
+
36652
+ const nonNfsDevices = new Set();
36653
+ /** Negative evidence can only retain strict publication if a device number is reused. */
36654
+ function sidecarParentDefersUnlink(target, dev, native) {
36655
+ const observe = getFsSafeTestHooks()?.sidecarPublicationFilesystemType;
36656
+ if (!observe) {
36657
+ if (process.platform !== "linux" && process.platform !== "darwin")
36658
+ return false;
36659
+ // Linux NFS uses anonymous devices (major zero), never block devices.
36660
+ if (process.platform === "linux" && (((dev >> 8n) & 0xfffn) !== 0n || ((dev >> 32n) & 0xfffff000n) !== 0n))
36661
+ return false;
36662
+ if (nonNfsDevices.has(dev))
36663
+ return false;
36664
+ }
36665
+ try {
36666
+ const nfs = observe ? observe(external_node_path_.dirname(target)) === 0x6969n
36667
+ : native?.binding.isNfsFilesystem ? native.binding.isNfsFilesystem(native.fd)
36668
+ : process.platform === "linux" ? external_node_fs_.statfsSync(external_node_path_.dirname(target), { bigint: true }).type === 0x6969n
36669
+ : undefined;
36670
+ // Do not cache failures or infer a portable Darwin filesystem type number.
36671
+ if (nfs === false && !observe)
36672
+ nonNfsDevices.add(dev);
36673
+ return nfs === true;
36674
+ }
36675
+ catch {
36676
+ return false;
36677
+ }
36678
+ }
36679
+
36483
36680
  ;// CONCATENATED MODULE: ../../node_modules/@openclaw/fs-safe/dist/sidecar-lock-publication.js
36484
36681
 
36485
36682
 
@@ -36492,6 +36689,7 @@ function cachedNoReplaceDevice(binding, device, operation) {
36492
36689
 
36493
36690
 
36494
36691
 
36692
+
36495
36693
  function optionalDirectoryPersistence(error) {
36496
36694
  return ["EACCES", "EPERM", "EINVAL", "ENOTSUP", "EOPNOTSUPP"].includes(error?.code ?? "");
36497
36695
  }
@@ -36614,6 +36812,9 @@ class SidecarPublication {
36614
36812
  }
36615
36813
  }
36616
36814
  if (!this.published) {
36815
+ // NFS retains an open, unlinked stage as a second hidden `.nfs*` link.
36816
+ if (sidecarParentDefersUnlink(this.targetPath, this.parentIdentity.dev, native))
36817
+ return false;
36617
36818
  try {
36618
36819
  if (native?.binding.linkBeneath)
36619
36820
  native.binding.linkBeneath(native.fd, source, native.fd, target);
@@ -37532,7 +37733,7 @@ async function copyLinkAtParent(params, input, parent, native) {
37532
37733
  }
37533
37734
  catch (error) {
37534
37735
  const unavailable = noReplaceUnavailable(error, "link copy publication", true);
37535
- if (!unavailable || isFsSafeNativeRequired() || process.platform !== "linux")
37736
+ if (!unavailable || isFsSafeNativeRequired() || (process.platform !== "linux" && process.platform !== "android"))
37536
37737
  throw error;
37537
37738
  // Linux link(2) links the symlink inode itself, never its target.
37538
37739
  assertStage();
@@ -38216,6 +38417,11 @@ function validateAce(value, allowUnknownFlags) {
38216
38417
  ["successfulAccess", 0x40], ["failedAccess", 0x80],
38217
38418
  ];
38218
38419
  const flags = value.flags;
38420
+ if (value.isCallback != null && typeof value.isCallback !== "boolean")
38421
+ return false;
38422
+ if (value.isCallback === true &&
38423
+ (value.aceType !== "allow" || (value.mask & ~0xa012_00a9) !== 0 || (raw & ~0x1f) !== 0))
38424
+ return false;
38219
38425
  return fields.every(([field, bit]) => typeof flags[field] === "boolean" && flags[field] === ((raw & bit) !== 0));
38220
38426
  }
38221
38427
  function validateDescriptor(value, allowUnknownFlags) {
@@ -38292,7 +38498,8 @@ function validateSecureWindowsSecurityFacts(value) {
38292
38498
  if (facts.ownerClass !== summary.ownerClass) {
38293
38499
  windows_security_facts_unverified("Windows descriptor owner facts were inconsistent");
38294
38500
  }
38295
- if (facts.fallbackRequired || !facts.isLocal || !facts.aceListComplete || facts.unsupportedAceTypes.length !== 0) {
38501
+ if (facts.fallbackRequired || !facts.isLocal || !facts.aceListComplete || facts.unsupportedAceTypes.length !== 0 ||
38502
+ facts.aces.some(ace => ace.isCallback === true)) {
38296
38503
  windows_security_facts_unverified("Windows descriptor ACL facts were incomplete or unsupported");
38297
38504
  }
38298
38505
  if (facts.worldReadable !== summary.worldReadable || facts.worldWritable !== summary.worldWritable ||
@@ -42292,7 +42499,7 @@ async function mkdirPathComponentsWithGuards(params) {
42292
42499
  directory_guard_assertDirectoryGuard(parentGuard, "native");
42293
42500
  }
42294
42501
  if (created && params.finalizeCreatedMode && params.mode !== undefined) {
42295
- await runAsync(applyDirectoryMode(AtomicIo.async(promises_), {
42502
+ await atomic_io_runAsync(applyDirectoryMode(AtomicIo.async(promises_), {
42296
42503
  dirPath: currentGuard.dir, mode: params.mode, expectedIdentity: currentGuard.stat,
42297
42504
  }));
42298
42505
  directory_guard_assertDirectoryGuard(parentGuard, "native");
@@ -44020,8 +44227,8 @@ class NativeStagedFile {
44020
44227
  const createNativeStage = NativeStagedFile.create;
44021
44228
  const writeNativeStage = NativeStagedFile.write;
44022
44229
  async function stageFileInDirectory(options) {
44023
- if (process.platform !== "linux" && process.platform !== "darwin") {
44024
- throw new FsSafeError("unsupported-platform", "retained-directory staging requires Linux or macOS");
44230
+ if (process.platform !== "linux" && process.platform !== "android" && process.platform !== "darwin") {
44231
+ throw new FsSafeError("unsupported-platform", "retained-directory staging requires Linux, Android or macOS");
44025
44232
  }
44026
44233
  const binding = requireNativeBinding();
44027
44234
  assertNativeStaging(binding);
@@ -46013,7 +46220,7 @@ async function openPublicationHandle(targetPath, identity) {
46013
46220
  // Restrictive final modes must not be widened just to inspect publication.
46014
46221
  if (!hasErrorCode(error, "EACCES") || (process.arch !== "x64" && process.arch !== "arm64"))
46015
46222
  throw error;
46016
- const metadataFlag = process.platform === "linux" ? 0x200000 : undefined; // O_PATH
46223
+ const metadataFlag = process.platform === "linux" || process.platform === "android" ? 0x200000 : undefined; // O_PATH
46017
46224
  if (metadataFlag === undefined)
46018
46225
  throw error;
46019
46226
  return promises_.open(targetPath, metadataFlag | external_node_fs_.constants.O_NOFOLLOW);
@@ -46166,7 +46373,7 @@ async function runPinnedStagedWrite(params, parentPath, parentGuard) {
46166
46373
  // Keep unreadable modes supported where Node has no read-free file open.
46167
46374
  const canHandoff = process.platform !== "win32" &&
46168
46375
  ((params.mode & 0o400) !== 0 ||
46169
- (process.platform === "linux" && (process.arch === "x64" || process.arch === "arm64")));
46376
+ ((process.platform === "linux" || process.platform === "android") && (process.arch === "x64" || process.arch === "arm64")));
46170
46377
  if (shouldPrepareDrvfsRecovery(params.allowDrvfsRenameRecovery)) {
46171
46378
  recoveryParent = retainDrvfsParent(parentPath, parentGuard.stat.dev);
46172
46379
  if (recoveryParent)
@@ -46923,7 +47130,7 @@ async function resolveOpenedFileRealPathForHandle(handle, ioPath) {
46923
47130
  async function resolveOpenedFileRealPathForFd(fd, handleStat, ioPath) {
46924
47131
  const statOptions = typeof handleStat.dev === "bigint" || typeof handleStat.ino === "bigint"
46925
47132
  ? { bigint: true } : undefined;
46926
- const fdCandidates = process.platform === "linux"
47133
+ const fdCandidates = process.platform === "linux" || process.platform === "android"
46927
47134
  ? [`/proc/self/fd/${fd}`, `/dev/fd/${fd}`]
46928
47135
  : [];
46929
47136
  for (const fdPath of fdCandidates) {
@@ -49502,7 +49709,7 @@ function nativeMoveNoReplace(binding, paths, expected, allowFallback, operation
49502
49709
  }
49503
49710
  }
49504
49711
  }
49505
- if (!allowFallback || process.platform !== "linux" || !binding.moveNoReplaceFallback || !expected)
49712
+ if (!allowFallback || (process.platform !== "linux" && process.platform !== "android") || !binding.moveNoReplaceFallback || !expected)
49506
49713
  throw unavailable;
49507
49714
  try {
49508
49715
  binding.moveNoReplaceFallback(...paths, expected.dev, expected.ino);
@@ -49655,7 +49862,7 @@ async function movePathNative(root, params, paths, overwrite = false) {
49655
49862
  directory_guard_assertSyncDirectoryGuard(admission.guard);
49656
49863
  }
49657
49864
  // Linux auto fallback needs an exact source even without an authority callback.
49658
- const sourceStat = overwrite || params.assertBeforeMutation || (process.platform === "linux" && !params.requireNative)
49865
+ const sourceStat = overwrite || params.assertBeforeMutation || ((process.platform === "linux" || process.platform === "android") && !params.requireNative)
49659
49866
  ? strict_file_identity_inspectFileIdentitySync(() => admitMoveSourceStat(external_node_fs_.lstatSync(admittedSourcePath, { bigint: true })), paths.expectedSourceIdentity)
49660
49867
  : undefined;
49661
49868
  if (!sourceStat)
@@ -49862,7 +50069,7 @@ async function admitRootReadHandle(params) {
49862
50069
  return { ...params.opened, realPath };
49863
50070
  }
49864
50071
  try {
49865
- return process.platform === "win32" ? atomic_io_runSync(admit()) : await runAsync(admit());
50072
+ return process.platform === "win32" ? atomic_io_runSync(admit()) : await atomic_io_runAsync(admit());
49866
50073
  }
49867
50074
  catch (error) {
49868
50075
  if (params.identity.nlink <= 1n) {
@@ -95182,4 +95389,4 @@ if (installedChunkData !== 0) { // 0 means "already installed".'
95182
95389
  // module factories are used so entry inlining is disabled
95183
95390
  // startup
95184
95391
  // Load entry module and return exports
95185
- var __webpack_exports__ = __webpack_require__(7698);
95392
+ var __webpack_exports__ = __webpack_require__(5863);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lousy-agents/mcp",
3
- "version": "5.23.17",
3
+ "version": "5.23.18",
4
4
  "description": "MCP server for lousy-agents - provides AI coding assistant tools via the Model Context Protocol",
5
5
  "type": "module",
6
6
  "repository": {