@agentchatme/agent-core 0.3.0 → 0.3.1
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.
|
@@ -141,7 +141,7 @@ function atomicCopyFile(source, destination, mode = 493) {
|
|
|
141
141
|
const tmp = tmpPathFor(destination);
|
|
142
142
|
try {
|
|
143
143
|
fs2.copyFileSync(source, tmp, fs2.constants.COPYFILE_EXCL);
|
|
144
|
-
const fd = fs2.openSync(tmp, fs2.constants.
|
|
144
|
+
const fd = fs2.openSync(tmp, fs2.constants.O_RDWR | (fs2.constants.O_NOFOLLOW ?? 0));
|
|
145
145
|
try {
|
|
146
146
|
fs2.fchmodSync(fd, mode);
|
|
147
147
|
fs2.fsyncSync(fd);
|
|
@@ -5271,4 +5271,4 @@ export {
|
|
|
5271
5271
|
spawnCommand,
|
|
5272
5272
|
spawnCommandSync
|
|
5273
5273
|
};
|
|
5274
|
-
//# sourceMappingURL=chunk-
|
|
5274
|
+
//# sourceMappingURL=chunk-4YF2K5ND.js.map
|