@ai-ecoverse/slicc-kernel 1.176.0 → 1.176.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.
- package/README.md +1 -1
- package/dist/kernel-worker.js +10 -4
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.cjs +84 -19
- package/dist/node-process-worker.cjs.map +3 -3
- package/dist/node-process-worker.js +84 -19
- package/dist/node-process-worker.js.map +3 -3
- package/dist/node.js +10 -4
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +84 -19
- package/dist/process-worker.js.map +3 -3
- package/dist/types/realm/live-vfs-fs.d.ts +5 -0
- package/package.json +3 -3
package/dist/node.js
CHANGED
|
@@ -3702,7 +3702,7 @@ function satisfies(version, range2) {
|
|
|
3702
3702
|
}
|
|
3703
3703
|
|
|
3704
3704
|
// src/version.ts
|
|
3705
|
-
var KERNEL_VERSION = true ? "1.176.
|
|
3705
|
+
var KERNEL_VERSION = true ? "1.176.1" : "0.0.0-dev";
|
|
3706
3706
|
var OS_RELEASE = "6.0.0-slicc";
|
|
3707
3707
|
function procVersion() {
|
|
3708
3708
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|
|
@@ -12498,6 +12498,10 @@ var lengthOf = getter("length");
|
|
|
12498
12498
|
|
|
12499
12499
|
// src/realm/live-vfs-fs.ts
|
|
12500
12500
|
var EARLY_WHOLE_FILE = 64 * 1024;
|
|
12501
|
+
var createParentRefresh = 0;
|
|
12502
|
+
function createParentRefreshCount() {
|
|
12503
|
+
return createParentRefresh;
|
|
12504
|
+
}
|
|
12501
12505
|
|
|
12502
12506
|
// src/process/process-fds.ts
|
|
12503
12507
|
var REFUSED = /* @__PURE__ */ new Set([wasiErrno("EACCES"), wasiErrno("EPERM")]);
|
|
@@ -12540,6 +12544,8 @@ var SYS_TREE = {
|
|
|
12540
12544
|
slicc_opfs_calls: (listing) => `${listing.opfsCalls ?? 0}
|
|
12541
12545
|
`,
|
|
12542
12546
|
slicc_opfs_ops: (listing) => `${listing.opfsOps ?? 0}
|
|
12547
|
+
`,
|
|
12548
|
+
slicc_create_parent_refresh: (_listing) => `${createParentRefreshCount()}
|
|
12543
12549
|
`,
|
|
12544
12550
|
slicc_meta_transactions: ({ meta }) => `${meta?.reads ?? 0} ${meta?.writes ?? 0}
|
|
12545
12551
|
`,
|
|
@@ -29196,7 +29202,7 @@ var OpfsFs = class {
|
|
|
29196
29202
|
}
|
|
29197
29203
|
async mkdirExcl(path, owner) {
|
|
29198
29204
|
if (normalizePath(path) === "/") throw fsError("EEXIST", path);
|
|
29199
|
-
const parent = await this.locate(parentOf9(path), true);
|
|
29205
|
+
const parent = await this.exactly(() => this.locate(parentOf9(path), true));
|
|
29200
29206
|
if (parent.handle?.kind !== "directory") throw fsError("ENOTDIR", path);
|
|
29201
29207
|
const dir = parent.handle;
|
|
29202
29208
|
const name2 = baseOf3(path);
|
|
@@ -29218,7 +29224,7 @@ var OpfsFs = class {
|
|
|
29218
29224
|
}
|
|
29219
29225
|
async createExclusive(path, owner) {
|
|
29220
29226
|
if (normalizePath(path) === "/") throw fsError("EEXIST", path);
|
|
29221
|
-
const parent = await this.locate(parentOf9(path), true);
|
|
29227
|
+
const parent = await this.exactly(() => this.locate(parentOf9(path), true));
|
|
29222
29228
|
if (parent.handle?.kind !== "directory") throw fsError("ENOTDIR", path);
|
|
29223
29229
|
const dir = parent.handle;
|
|
29224
29230
|
const name2 = baseOf3(path);
|
|
@@ -29967,7 +29973,7 @@ var OpfsFs = class {
|
|
|
29967
29973
|
}
|
|
29968
29974
|
}
|
|
29969
29975
|
async symlink(target, path, owner) {
|
|
29970
|
-
const parent = await this.locate(parentOf9(path), true);
|
|
29976
|
+
const parent = await this.exactly(() => this.locate(parentOf9(path), true));
|
|
29971
29977
|
if (parent.handle?.kind !== "directory") throw fsError("ENOTDIR", path);
|
|
29972
29978
|
const at = resolvePath(parent.path, baseOf3(path));
|
|
29973
29979
|
this.refuse(at);
|