From 17e0410c3248ebf016cb76dcb7e64962b0e089c8 Mon Sep 17 00:00:00 2001 From: john Date: Mon, 29 Jun 2026 10:00:55 +0800 Subject: [PATCH] fix(release): bundle Memind wechat/ subtree into memind-lib wechat-mp.mjs imports wechat/ack/*; omitting that directory caused Admin API bootstrap to fail on 103 artifact deploys. Co-authored-by: Cursor --- scripts/release-prod.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/release-prod.sh b/scripts/release-prod.sh index b5882a0..9ad05bf 100755 --- a/scripts/release-prod.sh +++ b/scripts/release-prod.sh @@ -120,6 +120,10 @@ find "${MEMIND_SRC}" -maxdepth 1 -name '*.mjs' -exec cp -f {} "${MEMIND_LIB}/" \ if [[ -d "${MEMIND_SRC}/skills" ]]; then cp -a "${MEMIND_SRC}/skills" "${MEMIND_LIB}/" fi +# wechat-mp.mjs 依赖 wechat/ack/* +if [[ -d "${MEMIND_SRC}/wechat" ]]; then + cp -a "${MEMIND_SRC}/wechat" "${MEMIND_LIB}/" +fi [[ -f "${MEMIND_LIB}/user-auth.mjs" ]] || { echo "memind-lib 缺少 user-auth.mjs" >&2 exit 1