@ai-ecoverse/slicc-kernel 1.196.30 → 1.196.31
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 -0
- package/dist/async-process.js +1 -1
- package/dist/cloudflare-sources.js +1 -1
- package/dist/cloudflare.js +58 -10
- package/dist/cloudflare.js.map +2 -2
- package/dist/index.js.map +2 -2
- package/dist/kernel-worker.js +58 -10
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.cjs +1 -1
- package/dist/node-process-worker.js +1 -1
- package/dist/node.js +58 -10
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1157,6 +1157,7 @@ On a private root (no peer transport), replacing an empty directory first tries
|
|
|
1157
1157
|
- Its default export receives `{ fetch }`, the kernel's network transport. It returns `{ handlers, capabilities }`.
|
|
1158
1158
|
- Its worker gets a JS program's lockdown before the module loads: its own `fetch`, `WebSocket`, storage and workers are `undefined`, and a worker where one cannot be removed does not start the driver.
|
|
1159
1159
|
- The handlers are path-based: `getattr`, `readdir`, `open`/`read`/`write`/`release` on handles, `mkdir`, `rmdir`, `unlink`, `rename`, and optionally `symlink`, `readlink`, `setattr` (`mode`, `mtime`, `atime`, `size` to truncate, and `uid`/`gid`) and `statfs`. An attribute may carry `atime`; a driver that leaves it out reports its `mtime` as the access time, and ignores the `atime` of a `setattr` (hostfs and fsa do). tmpfs keeps both: `touch -a` and `utimensat` set its access time, and reading a file leaves it, as with `noatime`.
|
|
1160
|
+
- For `open(path, { create: true, exclusive: true, ... })`, the driver must create a new entry atomically or return `EEXIST` without touching the entry that won the race. The kernel checks the name before opening it for compatibility with drivers that ignore this flag. That check cannot close a race with another writer: a driver lacking exclusive-create support should return `ENOTSUP`. The FSA adapter uses its underlying filesystem’s exclusive-create operation when available. Its Web Lock coordinates participating kernel clients, but the browser File System Access API has no atomic create-if-absent primitive against a native host process changing a picked folder.
|
|
1160
1161
|
- An optional `mount({ source, options })` handler validates the source.
|
|
1161
1162
|
- Errors carry a POSIX `code`.
|
|
1162
1163
|
- `@ai-ecoverse/slicc-kernel/driver` exports the types and `fsError`.
|
package/dist/async-process.js
CHANGED
|
@@ -1576,7 +1576,7 @@ function createParentRefreshCount() {
|
|
|
1576
1576
|
}
|
|
1577
1577
|
|
|
1578
1578
|
// src/version.ts
|
|
1579
|
-
var KERNEL_VERSION = true ? "1.196.
|
|
1579
|
+
var KERNEL_VERSION = true ? "1.196.31" : "0.0.0-dev";
|
|
1580
1580
|
var OS_RELEASE = "6.0.0-slicc";
|
|
1581
1581
|
function procVersion() {
|
|
1582
1582
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|