diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
index 8cd74d5..c198740 100644
--- a/THIRD_PARTY_NOTICES.md
+++ b/THIRD_PARTY_NOTICES.md
@@ -6,7 +6,7 @@
|---|---|---|---|
| DeepSeek Harness(`@deepseek-ai/dsh` 及子包) | Agent Runtime | MIT | 以 npm 包形式随运行环境分发 |
| Cordis(`@deepseek-ai/cordis`) | 插件框架 | MIT | npm 包 |
-| Node.js 24.19.0 | JavaScript Runtime | MIT(详见 Node 发行版 LICENSE) | 运行环境内置 |
+| Node.js 24.22.2 | JavaScript Runtime | MIT(详见 Node 发行版 LICENSE) | 运行环境内置 |
| npm / pnpm | 包管理器 | Artistic-2.0(npm)/ MIT(pnpm) | 随 Node 分发 |
| Debian GNU/Linux rootfs | Linux 用户空间 | 各包按 Debian 版权文件分别授权 | debootstrap 构建;各包许可证见 rootfs 内 `/usr/share/doc/*/copyright` |
| PRoot(`libproot.so` / `libproot-loader.so` / `libandroid-shmem.so`) | 用户态沙箱(chroot 替代) | GPL-2+(以源码 COPYING 为准) | 二进制来自 termux-packages 构建;源码见下方链接 |
diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml
index d69d477..42055d4 100644
--- a/app/src/main/res/values-ar/strings.xml
+++ b/app/src/main/res/values-ar/strings.xml
@@ -556,7 +556,7 @@
جارٍ نسخ وتثبيت الحزمة المختارة (حزمة بيئة التشغيل الرسمية حوالي 200 ميغابايت، خصص بضع دقائق). لا تغادر هذه الصفحة أو أغلق التطبيق.
جارٍ الاستيراد…
استيراد
- اختر حزمة بيئة تشغيل (.zip أو .tar.gz / .tar.zst).\n\nتحتوي على بيئة التشغيل نفسها:\n• base (نظام Debian الجذري المختزل)\n• node (Node 24.19.0)\n• android-side (proot/shmem/loader)\n• runtime-profile.json\n(لا يتضمن DSH؛ طبقة DSH لن تُستبدل.)\n\nيُعيِّن الاستيراد و يستبدل بيئة التشغيل الافتراضية (base/node/android-side) وقد يُسبب فقدان البيانات داخل الصندوق الرملي؛ لا تتأثر طبقة DSH (runtime-current/dsh) و user-data/.dsh. هل تريد المتابعة؟
+ اختر حزمة بيئة تشغيل (.zip أو .tar.gz / .tar.zst).\n\nتحتوي على بيئة التشغيل نفسها:\n• base (نظام Debian الجذري المختزل)\n• node (Node 24.22.2)\n• android-side (proot/shmem/loader)\n• runtime-profile.json\n(لا يتضمن DSH؛ طبقة DSH لن تُستبدل.)\n\nيُعيِّن الاستيراد و يستبدل بيئة التشغيل الافتراضية (base/node/android-side) وقد يُسبب فقدان البيانات داخل الصندوق الرملي؛ لا تتأثر طبقة DSH (runtime-current/dsh) و user-data/.dsh. هل تريد المتابعة؟
استيراد حزمة بيئة التشغيل
استيراد حزمة بيئة التشغيل (غير متصل)
اللغة
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index 7a25200..0f05498 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -523,7 +523,7 @@
Copiando e instalando el paquete seleccionado (el paquete oficial del entorno de ejecución tiene aproximadamente 200 MB, permite unos minutos). No salgas de esta página ni cierres la aplicación.
Importando…
Importar
- Selecciona un paquete del entorno de ejecución (.zip o .tar.gz / .tar.zst).\n\nContiene el entorno de ejecución en sí:\n• base (sistema de archivos raíz de Debian recortado)\n• node (Node 24.19.0)\n• android-side (proot/shmem/loader)\n• runtime-profile.json\n(DSH NO está incluido; la capa de DSH no se reemplaza.)\n\nLa importación restablece y reemplaza el entorno de ejecución virtual del sistema (base/node/android-side) y puede causar pérdida de datos dentro del entorno aislado; la capa de DSH (runtime-current/dsh) y user-data/.dsh no se ven afectados. ¿Continuar?
+ Selecciona un paquete del entorno de ejecución (.zip o .tar.gz / .tar.zst).\n\nContiene el entorno de ejecución en sí:\n• base (sistema de archivos raíz de Debian recortado)\n• node (Node 24.22.2)\n• android-side (proot/shmem/loader)\n• runtime-profile.json\n(DSH NO está incluido; la capa de DSH no se reemplaza.)\n\nLa importación restablece y reemplaza el entorno de ejecución virtual del sistema (base/node/android-side) y puede causar pérdida de datos dentro del entorno aislado; la capa de DSH (runtime-current/dsh) y user-data/.dsh no se ven afectados. ¿Continuar?
Importar paquete del entorno de ejecución
Importar paquete del entorno de ejecución (sin conexión)
Idioma
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index 8fe4c0f..61eba66 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -523,7 +523,7 @@
Copie et installation du paquet sélectionné (le paquet officiel de l\'environnement d\'exécution fait environ 200 Mo, prévoyez quelques minutes). Ne quittez pas cette page et ne fermez pas l\'application.
Importation en cours…
Importer
- Sélectionnez un paquet d\'environnement d\'exécution (.zip ou .tar.gz / .tar.zst).\n\nIl contient l\'environnement d\'exécution lui-même :\n• base (racine Debian allégée)\n• node (Node 24.19.0)\n• android-side (proot/shmem/loader)\n• runtime-profile.json\n(DSH n\'est PAS inclus ; la couche DSH n\'est pas remplacée.)\n\nL\'importation réinitialise et remplace l\'environnement d\'exécution virtuel (base/node/android-side) et peut entraîner des pertes de données dans le bac à sable ; la couche DSH (runtime-current/dsh) et user-data/.dsh ne sont pas affectés. Continuer ?
+ Sélectionnez un paquet d\'environnement d\'exécution (.zip ou .tar.gz / .tar.zst).\n\nIl contient l\'environnement d\'exécution lui-même :\n• base (racine Debian allégée)\n• node (Node 24.22.2)\n• android-side (proot/shmem/loader)\n• runtime-profile.json\n(DSH n\'est PAS inclus ; la couche DSH n\'est pas remplacée.)\n\nL\'importation réinitialise et remplace l\'environnement d\'exécution virtuel (base/node/android-side) et peut entraîner des pertes de données dans le bac à sable ; la couche DSH (runtime-current/dsh) et user-data/.dsh ne sont pas affectés. Continuer ?
Importer un paquet d\'environnement d\'exécution
Importer un paquet d\'environnement d\'exécution (hors ligne)
Langue
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
index bbf5b67..169ac72 100644
--- a/app/src/main/res/values-ru/strings.xml
+++ b/app/src/main/res/values-ru/strings.xml
@@ -534,7 +534,7 @@
Копирование и установка выбранного пакета (официальный пакет среды выполнения — около 200 МБ, подождите несколько минут). Не покидайте эту страницу и не закрывайте приложение.
Импорт…
Импортировать
- Выберите пакет среды выполнения (.zip или .tar.gz / .tar.zst).\n\nСодержит саму среду выполнения:\n• base (обрезанная корневая файловая система Debian)\n• node (Node 24.19.0)\n• android-side (proot/shmem/loader)\n• runtime-profile.json\n(DSH НЕ включён; слой DSH не заменяется.)\n\nИмпорт сбрасывает и заменяет виртуальную системную среду выполнения (base/node/android-side) и может привести к потере данных внутри песочницы; слой DSH (runtime-current/dsh) и user-data/.dsh не затрагиваются. Продолжить?
+ Выберите пакет среды выполнения (.zip или .tar.gz / .tar.zst).\n\nСодержит саму среду выполнения:\n• base (обрезанная корневая файловая система Debian)\n• node (Node 24.22.2)\n• android-side (proot/shmem/loader)\n• runtime-profile.json\n(DSH НЕ включён; слой DSH не заменяется.)\n\nИмпорт сбрасывает и заменяет виртуальную системную среду выполнения (base/node/android-side) и может привести к потере данных внутри песочницы; слой DSH (runtime-current/dsh) и user-data/.dsh не затрагиваются. Продолжить?
Импорт пакета среды выполнения
Импортировать пакет среды выполнения (офлайн)
Язык
diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml
index 5bdaa8a..5285df4 100644
--- a/app/src/main/res/values-zh/strings.xml
+++ b/app/src/main/res/values-zh/strings.xml
@@ -501,7 +501,7 @@
正在复制并安装所选包(官方运行环境包约 200MB,需要一到几分钟),请勿离开本页或关闭应用。
正在导入…
确定导入
- 请选择一个运行环境包(.zip 或 .tar.gz / .tar.zst)。\n\n它包含运行环境本体:\n• base(Debian 裁剪根文件系统)\n• node(Node 24.19.0)\n• android-side(proot/shmem/loader)\n• runtime-profile.json\n(不含 DSH。DSH 为独立层,不会被替换。)\n\n导入会重置并替换虚拟系统运行环境(base/node/android-side),可能导致沙盒内数据丢失;DSH 层(runtime-current/dsh)与 user-data/.dsh 不受影响。确定继续?
+ 请选择一个运行环境包(.zip 或 .tar.gz / .tar.zst)。\n\n它包含运行环境本体:\n• base(Debian 裁剪根文件系统)\n• node(Node 24.22.2)\n• android-side(proot/shmem/loader)\n• runtime-profile.json\n(不含 DSH。DSH 为独立层,不会被替换。)\n\n导入会重置并替换虚拟系统运行环境(base/node/android-side),可能导致沙盒内数据丢失;DSH 层(runtime-current/dsh)与 user-data/.dsh 不受影响。确定继续?
离线导入运行环境包
离线导入运行环境包
语言 / Language
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index c1acb23..5ff577f 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -512,7 +512,7 @@
Copying and installing the selected package (the official runtime package is about 200MB, allow a few minutes). Do not leave this page or close the app.
Importing…
Import
- Select a runtime package (.zip or .tar.gz / .tar.zst).\n\nIt contains the runtime itself:\n• base (trimmed Debian rootfs)\n• node (Node 24.19.0)\n• android-side (proot/shmem/loader)\n• runtime-profile.json\n(DSH is NOT included; the DSH layer is not replaced.)\n\nImport resets and replaces the virtual system runtime (base/node/android-side) and may cause data loss inside the sandbox; the DSH layer (runtime-current/dsh) and user-data/.dsh are not affected. Continue?
+ Select a runtime package (.zip or .tar.gz / .tar.zst).\n\nIt contains the runtime itself:\n• base (trimmed Debian rootfs)\n• node (Node 24.22.2)\n• android-side (proot/shmem/loader)\n• runtime-profile.json\n(DSH is NOT included; the DSH layer is not replaced.)\n\nImport resets and replaces the virtual system runtime (base/node/android-side) and may cause data loss inside the sandbox; the DSH layer (runtime-current/dsh) and user-data/.dsh are not affected. Continue?
Import runtime package
Import runtime package (offline)
Language
diff --git a/common/src/main/java/com/dshbox/app/common/NodeSources.kt b/common/src/main/java/com/dshbox/app/common/NodeSources.kt
index f027121..19439b3 100644
--- a/common/src/main/java/com/dshbox/app/common/NodeSources.kt
+++ b/common/src/main/java/com/dshbox/app/common/NodeSources.kt
@@ -19,8 +19,8 @@ data class NodeDistSource(
}
object NodeSources {
- /** node 层版本基线(与 runtime-bundle/build_node.sh / RUNTIME_LAYERS.md 一致,随版本更新)。 */
- const val NODE_VERSION = "24.19.0"
+ /** node 层版本基线(与 runtime-bundle/build_node.sh 一致,随版本更新)。 */
+ const val NODE_VERSION = "24.22.2"
/** APK ABI → node dist 架构名(模拟器 x86_64 对应 x64)。 */
fun nodeArch(supportedAbi: String?): String = when (supportedAbi) {
diff --git a/docs/BUILD_RUNBOOK.md b/docs/BUILD_RUNBOOK.md
index 4a8e708..7d7bc51 100644
--- a/docs/BUILD_RUNBOOK.md
+++ b/docs/BUILD_RUNBOOK.md
@@ -45,7 +45,7 @@ bash tools/pipeline_dryrun.sh
### 1.4 构建
```bash
-export NODE_VERSION=24.19.0
+export NODE_VERSION=24.22.2
export BUNDLE_VERSION=0.1.0
export ZSTD_LEVEL=19 # zstd 存在时用;不存在则 pack 脚本自动 gzip
bash tools/build_arm64_runtime_bundle.sh # 默认 trixie arm64
diff --git a/docs/L4-tools.md b/docs/L4-tools.md
index 4dea180..fbfe95c 100644
--- a/docs/L4-tools.md
+++ b/docs/L4-tools.md
@@ -5,13 +5,13 @@
## 1. 作用
- DSH 的 `node-pty`(终端伪终端)等原生模块需要 **glibc + 编译工具链**(make/gcc/g++/cmake/pkg-config)。
-- Node 24.19.0 的预编译二进制是 **arm64 Linux** 而非 pty 用;`node-pty` 的 `.node` 原生产物必须用与目标机一致的 **WSL2 arm64 glibc** 预先编译,再打进 DSH 层/或 base 层。
+- Node 24.22.2 的预编译二进制是 **arm64 Linux** 而非 pty 用;`node-pty` 的 `.node` 原生产物必须用与目标机一致的 **WSL2 arm64 glibc** 预先编译,再打进 DSH 层/或 base 层。
## 2. 分层归属
| 层 | 归属 | 是否含 L4 工具链 |
|----|------|------------------|
| base (L0) | Debian 裁剪根 | **不含** make/gcc/cmake(仅 glibc + 基础二进制 + 终端依赖) |
-| node (L1) | Node 24.19.0 | 仅 Node 运行时 + npm;不含二次编译工具 |
+| node (L1) | Node 24.22.2 | 仅 Node 运行时 + npm;不含二次编译工具 |
| android-side (L3) | proot/shmem/loader | 仅宿主侧 so;不含 guest 工具链 |
| dsh (独立产物) | DSH 包 + **预编译 node-pty** | **含** 编译好的 arm64 .node |
@@ -22,7 +22,7 @@
sudo apt-get update && sudo apt-get install -y \
debootstrap qemu-user-static zstd \
build-essential python3 make g++ gcc cmake pkg-config
-node --version # 应等于 24.19.0(即 NODE_VERSION)
+node --version # 应等于 24.22.2(即 NODE_VERSION)
```
## 4. node-pty 预编译(一次性,WSL2 arm64)
@@ -33,13 +33,16 @@ npm rebuild --build-from-source
```
产物:`build/Release/pty.node`(arm64 Linux glibc)。打进 DSH 层后,运行时的 `@deepseek-ai/dsh/...` 直接加载该 `.node`,无需在设备上编译。
-## 5. Node 24.19.0 + arm64 预编译清单
-- `build_node.sh` 默认 `NODE_VERSION=24.19.0`(可在 `bundle.yaml`/`build_arm64_runtime_bundle.sh` 覆盖)。
-- Node 官方 arm64 预编译:`node-v24.19.0-linux-arm64.tar.xz`(构建机为 arm64 时直接用官方产物)。
+## 5. Node 24.22.2 + arm64 预编译清单
+- `build_node.sh` 默认 `NODE_VERSION=24.22.2`(可在 `bundle.yaml`/`build_arm64_runtime_bundle.sh` 覆盖)。
+- Node 官方 arm64 预编译:`node-v24.22.2-linux-arm64.tar.xz`(构建机为 arm64 时直接用官方产物)。
- **一次性 arm64 native 预编译清单**(写入 `runtime-bundle/native-manifest.json`,供 DSH 层打包复用):
+
+> 注(2026-11-06 审计补注):下面这份清单只是**示例**——`runtime-bundle/native-manifest.json` 文件本身未入库,本仓代码不调用它。其中 `node-pty` 的 `abi` 值(127)**未在构建机实测验证**:node-pty 是在仓外的 WSL2 构建机上、于 DSH 源码树内编译的(见第 4 节),其 ABI 取决于构建机当时所用的 Node 版本,本仓构建链无从定死。实际产物的 ABI 需在 WSL2 构建机上、用目标 Node 跑 `node -p process.versions.modules` 核对后,再回填本示例。
+
```json
{
- "node": { "arch": "arm64", "version": "24.19.0", "binary": "node-v24.19.0-linux-arm64.tar.xz", "sha256": "" },
+ "node": { "arch": "arm64", "version": "24.22.2", "binary": "node-v24.22.2-linux-arm64.tar.xz", "sha256": "" },
"node-pty": { "arch": "arm64", "abi": 127, "artifact": "node_modules/node-pty/build/Release/pty.node", "built_in": "wsl2-arm64-debian" },
"glibc": "2.36+",
"notes": "across arm64 linux glibc; compiled once in WSL2, deployed inside the DSH layer"
diff --git a/plugin-manager/src/test/java/com/dshbox/pluginmanager/safety/SafetyModeTest.kt b/plugin-manager/src/test/java/com/dshbox/pluginmanager/safety/SafetyModeTest.kt
index 50f1dd2..021cdf1 100644
--- a/plugin-manager/src/test/java/com/dshbox/pluginmanager/safety/SafetyModeTest.kt
+++ b/plugin-manager/src/test/java/com/dshbox/pluginmanager/safety/SafetyModeTest.kt
@@ -49,7 +49,7 @@ class SafetyModeTest {
AggregateError: loader entries failed to apply
Error: failed to import loader entry bad-a (bad-a): BOOM-A: import 阶段故意抛错
Error: failed to apply loader entry bad-b (bad-b): BOOM-B: apply 阶段故意抛错
- Node.js v24.19.0
+ Node.js v24.22.2
""".trimIndent()
val hits = FailureAttribution.parse(text)
// 三条都要认出来:链根 include(随后被"受保护"规则滤掉)+ 两个真正的坏插件。
@@ -66,9 +66,9 @@ class SafetyModeTest {
// 每次尝试都以 `Node.js v…` 结尾,用它分段:旧的失败不该再被拿来隔离。
val text = """
failed to apply loader entry old-one (old-one): boom
- Node.js v24.19.0
+ Node.js v24.22.2
failed to import loader entry new-one (new-one): boom2
- Node.js v24.19.0
+ Node.js v24.22.2
""".trimIndent()
assertEquals(listOf("new-one"), FailureAttribution.parse(text).map { it.id })
}
@@ -108,9 +108,9 @@ class SafetyModeTest {
// 以及 DSH 已经起来之后又白隔离一次)。
val text = """
failed to import loader entry bad-a (bad-a): BOOM-A
- Node.js v24.19.0
+ Node.js v24.22.2
failed to apply loader entry bad-b (bad-b): BOOM-B
- Node.js v24.19.0
+ Node.js v24.22.2
""".trimIndent()
assertEquals(2, FailureAttribution.trailerCount(text))
// 尚未收尾(正在启动)的尝试:计数不变 = 不算失败。
@@ -124,10 +124,10 @@ class SafetyModeTest {
fun `失败原文摘要给的是点名行`() {
val text = """
failed to import loader entry bad-a (bad-a): BOOM-A
- Node.js v24.19.0
+ Node.js v24.22.2
something else
failed to apply loader entry bad-b (bad-b): BOOM-B
- Node.js v24.19.0
+ Node.js v24.22.2
""".trimIndent()
val snippet = FailureAttribution.failureSnippet(text)
assertTrue(snippet, snippet.contains("bad-b"))
diff --git a/runtime-bundle/Dockerfile b/runtime-bundle/Dockerfile
index c536f11..6322c3c 100644
--- a/runtime-bundle/Dockerfile
+++ b/runtime-bundle/Dockerfile
@@ -14,7 +14,7 @@
FROM --platform=linux/arm64 debian:trixie-slim
ARG DSH_VERSION=0.1.0-rc.6
-ARG NODE_VERSION=22.17.0
+ARG NODE_VERSION=24.22.2
ARG NODE_DISTRO=linux-arm64
ENV DEBIAN_FRONTEND=noninteractive
diff --git a/runtime-bundle/build_node.sh b/runtime-bundle/build_node.sh
index db7c4c4..e07b9f0 100644
--- a/runtime-bundle/build_node.sh
+++ b/runtime-bundle/build_node.sh
@@ -13,14 +13,14 @@
# runtime-bundle/build_node.sh
#
# Environment:
-# NODE_VERSION default "24.19.0" (target version; Phase D validates the full
+# NODE_VERSION default "24.22.2" (target version; Phase D validates the full
# arm64 native-package recompile against this exact version)
# ARCH default "arm64"
# BUILD_DIR build work root (default $ROOT/build)
# OUT_DIR node layer output dir (default $BUILD_DIR/layers/node)
set -euo pipefail
-NODE_VERSION="${NODE_VERSION:-24.19.0}"
+NODE_VERSION="${NODE_VERSION:-24.22.2}"
ARCH="${ARCH:-arm64}"
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
@@ -58,4 +58,4 @@ tar -xJf "$TARBALL" -C "$OUT_DIR" --strip-components=1
echo "====> node layer content:"
ls -la "$OUT_DIR" | head -20
echo "====> node layer prepared at: $OUT_DIR"
-echo "====> pack with: tools/pack_runtime.sh node $OUT_DIR $BUILD_DIR/layers [18.x|24.19.0] [arch]"
+echo "====> pack with: tools/pack_runtime.sh node $OUT_DIR $BUILD_DIR/layers [18.x|24.22.2] [arch]"
diff --git a/runtime-bundle/bundle.yaml b/runtime-bundle/bundle.yaml
index a004bbc..ea1d2b3 100644
--- a/runtime-bundle/bundle.yaml
+++ b/runtime-bundle/bundle.yaml
@@ -26,7 +26,7 @@ bundle:
file: base.tar.zst
deps: []
- name: node
- version: 24.19.0
+ version: 24.22.2
sha256: "" # filled by pack_runtime.sh
size_bytes: 0 # filled by pack_runtime.sh
env_file: .dshbox/env.d/node.sh
diff --git a/runtime-bundle/scripts/gen_profile.sh b/runtime-bundle/scripts/gen_profile.sh
index b81f5e1..a56aece 100644
--- a/runtime-bundle/scripts/gen_profile.sh
+++ b/runtime-bundle/scripts/gen_profile.sh
@@ -20,7 +20,7 @@ OUT_PROFILE="${2:?usage: gen_profile.sh [version
VERSION="${3:-0.1.0}"
ARCH="${4:-arm64}"
ZSTD_LEVEL="${5:-19}"
-NODE_VERSION="${6:-${NODE_VERSION:-24.19.0}}"
+NODE_VERSION="${6:-${NODE_VERSION:-24.22.2}}"
if [ ! -d "$LAYERS_DIR" ]; then
echo "layers dir not found: $LAYERS_DIR" >&2
diff --git a/sandbox-manager/src/main/java/com/dshbox/app/sandbox/online/Shasums256.kt b/sandbox-manager/src/main/java/com/dshbox/app/sandbox/online/Shasums256.kt
index 98dce8c..590f674 100644
--- a/sandbox-manager/src/main/java/com/dshbox/app/sandbox/online/Shasums256.kt
+++ b/sandbox-manager/src/main/java/com/dshbox/app/sandbox/online/Shasums256.kt
@@ -9,7 +9,7 @@ object Shasums256 {
private val LINE = Regex("^([0-9a-fA-F]{64})\\s{1,2}[ *]?(.+)$")
- /** 文件名(如 `node-v24.19.0-linux-arm64.tar.xz`)→ 小写 sha256。 */
+ /** 文件名(如 `node-v24.22.2-linux-arm64.tar.xz`)→ 小写 sha256。 */
fun parse(text: String): Map =
text.lineSequence()
.mapNotNull { line ->
diff --git a/sandbox-manager/src/test/java/com/dshbox/app/sandbox/online/OnlineCoreTest.kt b/sandbox-manager/src/test/java/com/dshbox/app/sandbox/online/OnlineCoreTest.kt
index cbe09ff..5c40848 100644
--- a/sandbox-manager/src/test/java/com/dshbox/app/sandbox/online/OnlineCoreTest.kt
+++ b/sandbox-manager/src/test/java/com/dshbox/app/sandbox/online/OnlineCoreTest.kt
@@ -17,15 +17,15 @@ class Shasums256Test {
val h2 = "b47d8f2ab47d8f2ab47d8f2ab47d8f2ab47d8f2ab47d8f2ab47d8f2ab47d8f2a"
val h3 = "c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1"
val text = """
- $h1 node-v24.19.0-linux-arm64.tar.xz
- $h2 *node-v24.19.0-linux-x64.tar.xz
- $h3 node-v24.19.0-win-x64.zip
+ $h1 node-v24.22.2-linux-arm64.tar.xz
+ $h2 *node-v24.22.2-linux-x64.tar.xz
+ $h3 node-v24.22.2-win-x64.zip
not-a-hash-line
""".trimIndent()
val map = Shasums256.parse(text)
assertEquals(3, map.size)
- assertEquals(h1, map["node-v24.19.0-linux-arm64.tar.xz"])
- assertEquals(h2, map["node-v24.19.0-linux-x64.tar.xz"])
+ assertEquals(h1, map["node-v24.22.2-linux-arm64.tar.xz"])
+ assertEquals(h2, map["node-v24.22.2-linux-x64.tar.xz"])
}
@Test
@@ -89,7 +89,7 @@ class RuntimeProfileWriterTest {
val json = RuntimeProfileWriter.build(
bundleVersion = "0.1.0", arch = "arm64",
baseVersion = "0.1.0", baseSha256 = "a".repeat(64), baseSizeBytes = 123L,
- nodeVersion = "24.19.0", nodeSha256 = "b".repeat(64), nodeSizeBytes = 456L,
+ nodeVersion = "24.22.2", nodeSha256 = "b".repeat(64), nodeSizeBytes = 456L,
asideVersion = "0.1.0", asideSha256 = "c".repeat(64), asideSizeBytes = 789L,
builtAtIsoUtc = "2026-09-13T00:00:00Z",
)
@@ -122,7 +122,7 @@ class RuntimeProfileWriterTest {
RuntimeProfileWriter.build(
bundleVersion = "0.1.0", arch = "arm64",
baseVersion = "0.1.0", baseSha256 = "zz", baseSizeBytes = 1L,
- nodeVersion = "24.19.0", nodeSha256 = "b".repeat(64), nodeSizeBytes = 1L,
+ nodeVersion = "24.22.2", nodeSha256 = "b".repeat(64), nodeSizeBytes = 1L,
asideVersion = "0.1.0", asideSha256 = "c".repeat(64), asideSizeBytes = 1L,
builtAtIsoUtc = "2026-09-13T00:00:00Z",
)
@@ -133,7 +133,7 @@ class RuntimeProfileWriterTest {
RuntimeProfileWriter.build(
bundleVersion = "0.1.0\nINJECTED", arch = "arm64",
baseVersion = "0.1.0", baseSha256 = "a".repeat(64), baseSizeBytes = 1L,
- nodeVersion = "24.19.0", nodeSha256 = "b".repeat(64), nodeSizeBytes = 1L,
+ nodeVersion = "24.22.2", nodeSha256 = "b".repeat(64), nodeSizeBytes = 1L,
asideVersion = "0.1.0", asideSha256 = "c".repeat(64), asideSizeBytes = 1L,
builtAtIsoUtc = "2026-09-13T00:00:00Z",
)
@@ -144,7 +144,7 @@ class RuntimeProfileWriterTest {
RuntimeProfileWriter.build(
bundleVersion = "0.1.0", arch = "arm64",
baseVersion = "0.1.0", baseSha256 = "a".repeat(64), baseSizeBytes = 1L,
- nodeVersion = "24.19.0", nodeSha256 = null, nodeSizeBytes = 1L,
+ nodeVersion = "24.22.2", nodeSha256 = null, nodeSizeBytes = 1L,
asideVersion = "0.1.0", asideSha256 = "c".repeat(64), asideSizeBytes = 1L,
builtAtIsoUtc = "2026-09-13T00:00:00Z",
)
diff --git a/tools/build_arm64_runtime_bundle.sh b/tools/build_arm64_runtime_bundle.sh
index 50b4d74..b7418f3 100755
--- a/tools/build_arm64_runtime_bundle.sh
+++ b/tools/build_arm64_runtime_bundle.sh
@@ -14,7 +14,7 @@
# tools/build_arm64_runtime_bundle.sh [suite] [arch]
#
# Environment:
-# NODE_VERSION node layer version (default 24.19.0)
+# NODE_VERSION node layer version (default 24.22.2)
# BUNDLE_VERSION bundle version (default 0.1.0)
# OUT_DIR dist output dir (default $ROOT/build/dist)
# ZSTD_LEVEL zstd compression level (default 19)
@@ -23,7 +23,7 @@ set -euo pipefail
SUITE="${1:-trixie}"
ARCH="${2:-arm64}"
BUNDLE_VERSION="${BUNDLE_VERSION:-0.1.0}"
-NODE_VERSION="${NODE_VERSION:-24.19.0}"
+NODE_VERSION="${NODE_VERSION:-24.22.2}"
ZSTD_LEVEL="${ZSTD_LEVEL:-19}"
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
diff --git a/tools/pipeline_dryrun.sh b/tools/pipeline_dryrun.sh
index ad67c76..8fa03b0 100755
--- a/tools/pipeline_dryrun.sh
+++ b/tools/pipeline_dryrun.sh
@@ -36,8 +36,8 @@ else
warn "apt-get NOT found; cannot debootstrap from mirror"
fi
-# Node: must be 24.19.0 to match the bundle's node layer.
-NODE_VERSION="${NODE_VERSION:-24.19.0}"
+# Node: must be 24.22.2 to match the bundle's node layer.
+NODE_VERSION="${NODE_VERSION:-24.22.2}"
if command -v node >/dev/null 2>&1; then
hv="$(node --version | sed 's/^v//')"
if [ "$hv" = "$NODE_VERSION" ]; then ok "node $hv == $NODE_VERSION"; else warn "node $hv != $NODE_VERSION (bundle node layer will be $NODE_VERSION)"; fi