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 <cursoragent@cursor.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user