diff --git a/release-gate/artifact.mjs b/release-gate/artifact.mjs index 095386f..4433ad3 100644 --- a/release-gate/artifact.mjs +++ b/release-gate/artifact.mjs @@ -21,6 +21,7 @@ export const REQUIRED_PORTAL_RUNTIME_PATHS = Object.freeze([ 'scripts/goosed-canary.compose.yml', 'scripts/check-mindspace-public-links.mjs', 'scripts/load-env.mjs', + 'scripts/memind-runtime-profile.mjs', 'scripts/wechat-mp-menu.mjs', 'scripts/memind-portal-tunnel.sh', ]); diff --git a/scripts/build-portal-runtime.mjs b/scripts/build-portal-runtime.mjs index f84b73b..8aa7712 100755 --- a/scripts/build-portal-runtime.mjs +++ b/scripts/build-portal-runtime.mjs @@ -447,6 +447,10 @@ async function writeMetadata() { path.join(root, 'scripts', 'load-env.mjs'), path.join(runtimeRoot, 'scripts', 'load-env.mjs'), ); + await fs.copyFile( + path.join(root, 'scripts', 'memind-runtime-profile.mjs'), + path.join(runtimeRoot, 'scripts', 'memind-runtime-profile.mjs'), + ); await fs.copyFile( path.join(root, 'scripts', 'wechat-mp-menu.mjs'), path.join(runtimeRoot, 'scripts', 'wechat-mp-menu.mjs'), diff --git a/scripts/release-portal-runtime-105.sh b/scripts/release-portal-runtime-105.sh index 5fc9a2c..627df42 100644 --- a/scripts/release-portal-runtime-105.sh +++ b/scripts/release-portal-runtime-105.sh @@ -92,7 +92,7 @@ fi verify_runtime_artifact() { local missing=0 - for required in server.mjs mindspace-sandbox-mcp.mjs tkmind-excel-mcp.mjs dist package.json scripts/run-memind-portal-prod.sh scripts/load-env.mjs scripts/wechat-mp-menu.mjs; do + for required in server.mjs mindspace-sandbox-mcp.mjs tkmind-excel-mcp.mjs dist package.json scripts/run-memind-portal-prod.sh scripts/load-env.mjs scripts/memind-runtime-profile.mjs scripts/wechat-mp-menu.mjs; do if [[ ! -e "${RUNTIME_ROOT}/${required}" ]]; then echo "runtime 产物缺失: ${RUNTIME_ROOT}/${required}" >&2 missing=1 diff --git a/scripts/release-portal-runtime-prod.sh b/scripts/release-portal-runtime-prod.sh index 7028d26..fc31a28 100755 --- a/scripts/release-portal-runtime-prod.sh +++ b/scripts/release-portal-runtime-prod.sh @@ -177,7 +177,7 @@ fi verify_runtime_artifact() { local missing=0 - for required in server.mjs memind-canary-proxy.mjs deepseek-no-think-proxy.mjs wechat-mp.bundle.mjs mindspace-sandbox-mcp.mjs tkmind-search-mcp.mjs tkmind-excel-mcp.mjs mindspace-public-links.mjs dist package.json scripts/run-memind-portal-prod.sh scripts/run-memind-portal-candidate.sh scripts/run-memind-canary-proxy-prod.sh scripts/run-deepseek-compat-proxy-candidate.sh scripts/goosed-canary.compose.yml scripts/check-mindspace-public-links.mjs scripts/load-env.mjs scripts/wechat-mp-menu.mjs scripts/memind-portal-tunnel.sh; do + for required in server.mjs memind-canary-proxy.mjs deepseek-no-think-proxy.mjs wechat-mp.bundle.mjs mindspace-sandbox-mcp.mjs tkmind-search-mcp.mjs tkmind-excel-mcp.mjs mindspace-public-links.mjs dist package.json scripts/run-memind-portal-prod.sh scripts/run-memind-portal-candidate.sh scripts/run-memind-canary-proxy-prod.sh scripts/run-deepseek-compat-proxy-candidate.sh scripts/goosed-canary.compose.yml scripts/check-mindspace-public-links.mjs scripts/load-env.mjs scripts/memind-runtime-profile.mjs scripts/wechat-mp-menu.mjs scripts/memind-portal-tunnel.sh; do if [[ ! -e "${RUNTIME_ROOT}/${required}" ]]; then echo "runtime 产物缺失: ${RUNTIME_ROOT}/${required}" >&2 missing=1