merge: integrate codex/mindspace-ui

This commit is contained in:
john
2026-07-01 17:57:11 +08:00
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -224,6 +224,14 @@ async function writeMetadata() {
'',
].join('\n'),
);
await fs.copyFile(
path.join(root, 'scripts', 'load-env.mjs'),
path.join(runtimeRoot, 'scripts', 'load-env.mjs'),
);
await fs.copyFile(
path.join(root, 'scripts', 'wechat-mp-menu.mjs'),
path.join(runtimeRoot, 'scripts', 'wechat-mp-menu.mjs'),
);
await writeFile(
path.join(runtimeRoot, 'RUNBOOK.txt'),
[
@@ -267,6 +275,7 @@ async function main() {
await copyNodeModules();
await writeMetadata();
await fs.chmod(path.join(runtimeRoot, 'scripts', 'run-memind-portal-prod.sh'), 0o755);
await fs.chmod(path.join(runtimeRoot, 'scripts', 'wechat-mp-menu.mjs'), 0o755);
console.log('');
console.log(`Portal runtime 已生成: ${runtimeRoot}`);
}