Просмотр исходного кода

chore(release): 刷新平台容器 inibhjxchb 到接入包 1.0.1

- 插件带 _fmode_data_home 跨平台修复、display.busy_input_mode 已写入
- 简化 refresh 分支(容器数据目录即 /opt/data)

Co-Authored-By: Claude Code <noreply@anthropic.com>
Huccct 12 часов назад
Родитель
Сommit
29c6bf5c71

+ 15 - 0
.local-release/refresh-1796290260724.sh

@@ -0,0 +1,15 @@
+set -e
+echo "[CONTAINER] agent-node-app-inibhjxchb"
+docker exec agent-node-app-inibhjxchb sh -c 'python3 - <<PY_END
+import hashlib, io, tarfile, tempfile, urllib.request, subprocess, sys, pathlib
+url="https://s3.fmode.cn/user/xhVRjTMwQH/chat/202612/xhvrjtmwqh-1796287895808-760717-fmode-onboarding-1.0.1-1fe6091811a33eb7.tar.gz"
+expected="1fe6091811a33eb796de7f09cd1e1c962b44cb3909550c685e28c0360fb81b76"
+data=urllib.request.urlopen(url,timeout=60).read(2097153)
+assert len(data)<=2097152 and hashlib.sha256(data).hexdigest()==expected, "sha mismatch"
+d=tempfile.mkdtemp(prefix="fmode-onboard-")
+with tarfile.open(fileobj=io.BytesIO(data),mode="r:gz") as a: a.extractall(d,filter="data")
+r=subprocess.run([sys.executable,str(pathlib.Path(d)/"install.py"),"--home","/opt/data"],capture_output=True,text=True)
+print(r.returncode, r.stdout[-500:], r.stderr[-800:])
+PY_END'
+docker exec agent-node-app-inibhjxchb /command/s6-svc -r /run/service/gateway-default || docker restart agent-node-app-inibhjxchb
+echo "[RESTARTED] agent-node-app-inibhjxchb"

+ 5 - 0
docs/00-tracking/操作追踪.md

@@ -10529,3 +10529,8 @@ Call log:
   - 文档 `docs/05-operations/接入包发布流程.md`:命令、每步检查、改 runtime 的正确姿势、本地 vs 平台容器差异、常见问题。
   - **盘点发现的平台容器差异(重要)**:`agent-node-app-inibhjxchb` 的插件全部是 11-27 旧版(无 `_fmode_data_home`)、缺 `plugin-fmode`、`config.yaml` 未显式写 `busy_input_mode`;而本地 Hermes 已是最新包。结论:平台容器需要用 `--refresh-containers` 刷到最新,否则「线上容器」与本地容器行为不一致。
   - 本地容器鉴权已验证:用户 token(19170119836)与记录 owner 一致后,上报 200 通过;两条链路共用同一条 owner 规则。
+
+- 2026-12-03 18:40:00+08:00:**平台容器已刷到最新接入包(执行 release-onboarding --refresh-containers)**
+  - `agent-node-app-inibhjxchb`:install.py 安装成功(backup-20261203173116-7465),`installed.json` version 1.0.1,`plugin-deliverable-inject` / `plugin-matrix-outbound-s3` 均带 `_fmode_data_home`(3 处),`display.busy_input_mode: interrupt` 已写入,网关重启后 matrix connected。
+  - 至此两条链路接入包版本一致:本地 Hermes 与平台容器都跑 1.0.1(sha 1fe60918)。
+  - 注意:另一个平台容器 `vqcwzeov6h`(测试容器1)尚未刷新,按「逐个指定、不批量」原则待用户确认后再刷。

+ 1 - 1
scripts/release-onboarding.mjs

@@ -156,7 +156,7 @@ data=urllib.request.urlopen(url,timeout=60).read(2097153)
 assert len(data)<=2097152 and hashlib.sha256(data).hexdigest()==expected, "sha mismatch"
 d=tempfile.mkdtemp(prefix="fmode-onboard-")
 with tarfile.open(fileobj=io.BytesIO(data),mode="r:gz") as a: a.extractall(d,filter="data")
-r=subprocess.run([sys.executable,str(pathlib.Path(d)/"install.py"),"--home","/opt/data","--env-file","/opt/data/.fmode-onboarding.env"] if False else [sys.executable,str(pathlib.Path(d)/"install.py"),"--home","/opt/data"],capture_output=True,text=True)
+r=subprocess.run([sys.executable,str(pathlib.Path(d)/"install.py"),"--home","/opt/data"],capture_output=True,text=True)
 print(r.returncode, r.stdout[-500:], r.stderr[-800:])
 PY_END'`);
     script.push(`docker exec ${c} /command/s6-svc -r /run/service/gateway-default || docker restart ${c}`);