@sema-agent/server 1.285.0 → 1.285.2
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 +10 -0
- package/README.zh-CN.md +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -77,6 +77,16 @@ model gateways, and cloud agent execution behind an HTTP/SSE contract.
|
|
|
77
77
|
|
|
78
78
|
Requirements: Node ≥ 20 (npm path) and an OpenAI-compatible model gateway.
|
|
79
79
|
|
|
80
|
+
> **A note on the `glob@11` deprecation warning at install time.** `npm install` prints a deprecation
|
|
81
|
+
> warning for `glob@11.1.0`, pulled in transitively by `e2b` (the E2B sandbox SDK). It is **install-time
|
|
82
|
+
> noise with no runtime exposure here**: `glob` has exactly one load site inside `e2b` — a `dynamicImport`
|
|
83
|
+
> in its *template-build* file-packing path — and this server only ever touches E2B's *sandbox runtime*
|
|
84
|
+
> API. Verified by execution, not by reading: importing `e2b`, constructing the adapter and driving a real
|
|
85
|
+
> `exec` never puts `glob` in the module cache. We cannot silence it for you — npm `overrides` only apply
|
|
86
|
+
> when the package.json being read *is the project npm was invoked on*, so ours is ignored when this
|
|
87
|
+
> package is installed as a dependency. If the warning bothers you, add `"overrides": { "glob": "^13" }`
|
|
88
|
+
> to **your own** project's package.json (that is the one npm reads); the real fix is upstream in `e2b`.
|
|
89
|
+
|
|
80
90
|
```bash
|
|
81
91
|
# A) npm
|
|
82
92
|
npm install @sema-agent/server
|
package/README.zh-CN.md
CHANGED
|
@@ -74,6 +74,15 @@
|
|
|
74
74
|
|
|
75
75
|
环境要求:Node ≥ 20(npm 路径)+ 一个 OpenAI 兼容模型网关。
|
|
76
76
|
|
|
77
|
+
> **关于安装时那条 `glob@11` 弃用警告。** `npm install` 会为 `glob@11.1.0` 打一条 deprecated 警告,它由
|
|
78
|
+
> `e2b`(E2B 沙箱 SDK)间接引入。这是**安装期噪声,在这里没有任何运行时曝露面**:`glob` 在 `e2b` 里的
|
|
79
|
+
> 唯一加载点是它 *template-build* 打包路径里的一处 `dynamicImport`,而本服务只使用 E2B 的**沙箱运行时**
|
|
80
|
+
> 接口。这一条是**跑出来的、不是读代码推断的**:import `e2b`、构造适配器、真调一次 `exec`,全程 `glob`
|
|
81
|
+
> 从未进入模块缓存。我们**没法替你消掉它** —— npm 的 `overrides` 只在"被读的那份 package.json 正是
|
|
82
|
+
> npm 本次调用的项目清单"时生效,所以本包作为依赖被安装时,我们写的那份会被忽略。若这条警告碍事,
|
|
83
|
+
> 把 `"overrides": { "glob": "^13" }` 加进**你自己项目**的 package.json(那份才是 npm 会读的);
|
|
84
|
+
> 真正的修复在上游 `e2b`。
|
|
85
|
+
|
|
77
86
|
```bash
|
|
78
87
|
# A) npm
|
|
79
88
|
npm install @sema-agent/server
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sema-agent/server",
|
|
3
|
-
"version": "1.285.
|
|
3
|
+
"version": "1.285.2",
|
|
4
4
|
"description": "Sema Server — the server/API implementation layer for Sema, wiring core, registry, model providers, and cloud agent execution. Built on @sema-agent/core.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "BUSL-1.1",
|