Merge pull request #8837 from deepseek-harness/chore/node-24-22-3-floor

chore(deps): raise the Node.js floor to 24.22.3
This commit is contained in:
imccyu authored and GitHub committed 2026-11-22 11:23:51 +08:00
1 parent d98f5d6851
commit 09d9609a28
85 files changed
+393 -294

No files matched your search

+2 -2
View File
@@ -6,8 +6,8 @@
en: 1ea1d8e6d2c14b02
zh: 8e0b9903158667a1
/deepseek-harness-runtime-bin/installed-commands-and-artifacts:
en: b1314b95771612fa
zh: f06b96e1feba3757
en: 0cb99098488b2287
zh: 0ad6e418502a1e2d
/deepseek-harness-runtime-bin/python-module-api:
en: 78a200e328d96637
zh: f3b7a0b69b7a39e0
+1 -1
View File
@@ -36,7 +36,7 @@ Skill selection is independent of delivery: project, custom-directory, and user
Office skills direct rendering, conversion, and recalculation to the [Office tools](../../packages/document/tool-office/README.md), which load the sidecar's Kit inside the SDK process. See the [Office provider](../../packages/skill/skill-office/README.md#use-this-package) for replacing the skill collection. Configuration patches apply at process startup; changing skills does not require rebuilding the runtime wheel or Python environment.
Repository builds also materialize a dev-only `runtime/node/` carrier. It runs `node runtime/node/runtime-bootstrap.mjs` on system Node 24.9 or newer. It is never selected automatically and is excluded from wheels and sdists.
Repository builds also materialize a dev-only `runtime/node/` carrier. It runs `node runtime/node/runtime-bootstrap.mjs` on system Node 24.22.3 or a newer 24.x release, or Node 26.13.1 or newer. It is never selected automatically and is excluded from wheels and sdists.
Both carriers execute the same `dsh` grammar and shipped profiles, including the standalone `sdk-minimal` tree and the full `web` profile with its frontend assets. The private `dsh-python-runtime-closure` manifest defines the packaged dependency closure; there is no Python-specific Node application or checked-in default `cordis.yml`.
+1 -1
View File
@@ -36,7 +36,7 @@ primary_runtime = download_primary_runtime()
Office 技能把渲染、转换和重算交给 [Office 工具](../../packages/document/tool-office/README.zh.md),它们在 SDK 进程内加载 sidecar 中的 Kit。替换技能集合的方式见 [Office 提供方](../../packages/skill/skill-office/README.zh.md#use-this-package)。配置 patch 在进程启动时生效;切换技能无需重建 runtime wheel 或 Python 环境。
仓库构建还会物化仅限开发的 `runtime/node/` 载体。它在系统 Node 24.9 或更高版本上运行 `node runtime/node/runtime-bootstrap.mjs`。系统不会自动选择它,而且 wheel 包与 sdist 均不包含它。
仓库构建还会物化仅限开发的 `runtime/node/` 载体。它在系统 Node 24.22.3 或更高的 24.x 版本,或 Node 26.13.1 或更高版本上运行 `node runtime/node/runtime-bootstrap.mjs`。系统不会自动选择它,而且 wheel 包与 sdist 均不包含它。
两种载体执行相同的 `dsh` 语法与随附 profile,包括独立的 `sdk-minimal` 配置树,以及包含前端产物的完整 `web` profile。私有 `dsh-python-runtime-closure` manifest(元数据清单)定义打包依赖闭包;不存在 Python 专用 Node 应用或检入的默认 `cordis.yml`。
@@ -11,7 +11,7 @@ Two runtime carriers coexist under ``runtime/``, both injected by the repo's
- **node (dev-only)**: the full deploy closure under ``runtime/node/``
(``package.json`` + ``node_modules/``), executed as ``node
runtime/node/runtime-bootstrap.mjs`` on a
system Node >= 24.9. It is the current checkout's source build, never
system Node ^24.22.3 || >=26.13.1. It is the current checkout's source build, never
selected automatically, and excluded from wheel/sdist distributions.
Both carriers execute the same dsh command grammar. The Python SDK selects the
@@ -147,7 +147,7 @@ def _node_launch_args() -> tuple[str, str]:
node = shutil.which("node")
if node is None:
raise FileNotFoundError(
"the node runtime mode needs a system `node` (>=24.9) on PATH; "
"the node runtime mode needs a system `node` (^24.22.3 || >=26.13.1) on PATH; "
"install Node.js or use the exe mode"
)
return (node, str(bin_js))