@qilin-agent/experimental-webworker-runtime 3.1.11 → 3.1.12
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.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +20 -20
package/README.i18n.yaml
CHANGED
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
en: ca75c51c89c2c9b0
|
|
25
25
|
zh: 64715dc7e6d02f71
|
|
26
26
|
/qilin-agent-experimental-webworker-runtime/known-limitations-and-deferred-work:
|
|
27
|
-
en:
|
|
28
|
-
zh:
|
|
27
|
+
en: cf0d19bccd6d5bea
|
|
28
|
+
zh: 70478190a73895b3
|
|
29
29
|
/qilin-agent-experimental-webworker-runtime/known-limitations-and-deferred-work/dev-note:
|
|
30
30
|
en: e67f633dc6fe7773
|
|
31
31
|
zh: e88aeb617ffb74ea
|
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ None; this package neither assembles nor sends a provider request.
|
|
|
55
55
|
- **`node:dns/promises`, `node:vm`, `node:net`, `node:sqlite`, `node:worker_threads` are structural stubs**: every call reports its refusal on the console and throws. Rows needing native DNS, a real process, or realm isolation cannot run here.
|
|
56
56
|
- **Host package commands are unavailable**: `execa` reports an explicit worker-host refusal; the preview cannot run pnpm or install native dependencies.
|
|
57
57
|
- **pi-ai model requests are unavailable**: the replacement exposes a fixed subset of installed provider identifiers with no models, allowing the adapter to register configuration metadata. Its identifiers must stay valid when pi-ai is upgraded; inference entry points report an explicit worker-host refusal.
|
|
58
|
-
- **
|
|
58
|
+
- **coding Node programs are unavailable**: the process shim exposes `/qilin/bin/node` as its executable identity so the provider can activate, but the Worker has neither a Node executable nor `stripTypeScriptTypes`. Program execution fails before launching a child.
|
|
59
59
|
- **Office conversion requires a Node Host**: the LibreOffice kit replacement rejects converter creation with `unavailable`. The browser image excludes the kit and its engine dependencies; the Office preview reports that conversion is unavailable.
|
|
60
60
|
- **Filesystem watchers observe only the mounted VFS**: image seeding is silent and the VFS has no symlinks or external writers. `persistent`, `ref()`, and `unref()` preserve the Node API but cannot control a dedicated Worker's lifetime because browsers expose no ref-counted event loop.
|
|
61
61
|
- **Worker confinement is a VFS boundary, not kernel Landlock**: `read-only` and `workspace-write` run the unchanged `@qilin-agent/node-addon-system/landlock-run` JavaScript and launcher argv, but the process layer implements the logical `landlock-run` executable and enforces its grants on every shell filesystem request. `full` therefore covers the Worker command table and mounted VFS only; it does not claim arbitrary native-process execution or Linux kernel isolation.
|
package/README.zh.md
CHANGED
|
@@ -55,7 +55,7 @@ kind: "package-library"
|
|
|
55
55
|
- **`node:dns/promises`、`node:vm`、`node:net`、`node:sqlite`、`node:worker_threads` 是结构化 stub**:每次调用在 console 报告拒绝并抛出。需要原生 DNS、真进程或真 realm 隔离的行在此无法运行。
|
|
56
56
|
- **宿主包管理命令不可用**:`execa` 明确报告 worker host 不支持该调用;预览无法运行 pnpm 或安装原生依赖。
|
|
57
57
|
- **pi-ai 模型请求不可用**:替换物暴露一组固定的已安装 provider 标识符且没有模型,适配器借此注册配置元数据。pi-ai 升级时这些标识符必须保持有效;推理入口会报出明确的 worker-host 拒绝。
|
|
58
|
-
- **
|
|
58
|
+
- **coding Node 程序不可用**:process shim 用 `/qilin/bin/node` 表示可执行文件身份,使 provider 能够激活,但 Worker 既没有 Node 可执行文件,也没有 `stripTypeScriptTypes`。程序执行会在启动子进程前失败。
|
|
59
59
|
- **Office 转换需要 Node Host**:LibreOffice kit 的替代模块以 `unavailable` 拒绝创建转换器。浏览器镜像排除 kit 及其引擎依赖;Office 预览提示转换不可用。
|
|
60
60
|
- **文件 watcher 只能观察已挂载的 VFS**:镜像 seed 不产生事件,VFS 也没有符号链接或外部写入方。`persistent`、`ref()` 和 `unref()` 保留 Node API,但浏览器没有引用计数事件循环,因此这些接口不能控制 dedicated Worker 的生存期。
|
|
61
61
|
- **Worker confinement 是 VFS 边界,不是内核 Landlock**:`read-only` 和 `workspace-write` 运行未经修改的 `@qilin-agent/node-addon-system/landlock-run` JavaScript 与 launcher argv,进程层则实现逻辑 `landlock-run` 可执行文件,并在 shell 的每次文件系统请求上执行其授权。`full` 仅覆盖 Worker 命令表和已挂载 VFS,不表示能够执行任意 native 进程,也不表示 Linux 内核隔离。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qilin-agent/experimental-webworker-runtime",
|
|
3
3
|
"description": "Browser-only harness runtime: in-memory VFS, module transform and loader, postMessage tunnel, and the dedicated Web Worker assembly, with the Node-compatibility layer that lets the host tree run unchanged",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.12",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -31,40 +31,40 @@
|
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@qilin-agent/util-crypto": "3.1.
|
|
34
|
+
"@qilin-agent/util-crypto": "3.1.12",
|
|
35
35
|
"@noble/hashes": "^2.3.0",
|
|
36
36
|
"@yarnpkg/parsers": "^3.1.0",
|
|
37
37
|
"acorn": "^8.17.0",
|
|
38
38
|
"buffer": "^6.0.3",
|
|
39
39
|
"picomatch": "^4.0.4",
|
|
40
40
|
"readable-stream": "^4.7.0",
|
|
41
|
-
"@qilin-agent/client-web": "3.1.
|
|
41
|
+
"@qilin-agent/client-web": "3.1.12"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@qilin-agent/kylin": "~4.0.7",
|
|
45
45
|
"@qilin-agent/kylin-plugin-loader": "~1.0.8",
|
|
46
|
-
"@qilin-agent/client-connection": "3.1.
|
|
47
|
-
"@qilin-agent/client-modules": "3.1.
|
|
48
|
-
"@qilin-agent/host-webserver": "3.1.
|
|
46
|
+
"@qilin-agent/client-connection": "3.1.12",
|
|
47
|
+
"@qilin-agent/client-modules": "3.1.12",
|
|
48
|
+
"@qilin-agent/host-webserver": "3.1.12"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@qilin-agent/api-gateway": "3.1.
|
|
52
|
-
"@qilin-agent/bash-sandbox": "3.1.
|
|
53
|
-
"@qilin-agent/client-connection": "3.1.
|
|
54
|
-
"@qilin-agent/client-file-upload": "3.1.
|
|
55
|
-
"@qilin-agent/client-modules": "3.1.
|
|
56
|
-
"@qilin-agent/host-webserver": "3.1.
|
|
51
|
+
"@qilin-agent/api-gateway": "3.1.12",
|
|
52
|
+
"@qilin-agent/bash-sandbox": "3.1.12",
|
|
53
|
+
"@qilin-agent/client-connection": "3.1.12",
|
|
54
|
+
"@qilin-agent/client-file-upload": "3.1.12",
|
|
55
|
+
"@qilin-agent/client-modules": "3.1.12",
|
|
56
|
+
"@qilin-agent/host-webserver": "3.1.12",
|
|
57
57
|
"@qilin-agent/kylin": "~4.0.7",
|
|
58
58
|
"@qilin-agent/kylin-plugin-loader": "~1.0.8",
|
|
59
59
|
"@qilin-agent/node-addon-system": "~0.1.2",
|
|
60
|
-
"@qilin-agent/sandbox-local": "3.1.
|
|
61
|
-
"@qilin-agent/sandbox-policy": "3.1.
|
|
62
|
-
"@qilin-agent/schedule": "3.1.
|
|
63
|
-
"@qilin-agent/session": "3.1.
|
|
64
|
-
"@qilin-agent/session-persistence-jsonl": "3.1.
|
|
65
|
-
"@qilin-agent/session-projection": "3.1.
|
|
66
|
-
"@qilin-agent/subagent": "3.1.
|
|
67
|
-
"@qilin-agent/subprocess-local": "3.1.
|
|
60
|
+
"@qilin-agent/sandbox-local": "3.1.12",
|
|
61
|
+
"@qilin-agent/sandbox-policy": "3.1.12",
|
|
62
|
+
"@qilin-agent/schedule": "3.1.12",
|
|
63
|
+
"@qilin-agent/session": "3.1.12",
|
|
64
|
+
"@qilin-agent/session-persistence-jsonl": "3.1.12",
|
|
65
|
+
"@qilin-agent/session-projection": "3.1.12",
|
|
66
|
+
"@qilin-agent/subagent": "3.1.12",
|
|
67
|
+
"@qilin-agent/subprocess-local": "3.1.12",
|
|
68
68
|
"@types/picomatch": "^3.0.2",
|
|
69
69
|
"@types/readable-stream": "^4.0.24",
|
|
70
70
|
"chokidar": "^5.0.0"
|