chore: 保存当前架构收口与 bug 修复快照

归档本轮 P0/P1 bug 修复、设计审查迁移、AI selection scope 收口与 stream contract 调整,并保留当前 05 主线迁移起点。
This commit is contained in:
lix-2026
2026-05-18 17:01:35 +08:00
parent 61ee4a38a2
commit a2cb1338c8
953 changed files with 14383 additions and 211845 deletions
+10 -1
View File
@@ -1,9 +1,18 @@
#!/usr/bin/env node
const { spawn } = require("child_process");
const fs = require("fs");
const path = require("path");
process.env.CONVEX_TMPDIR = "/mnt/Data1T/mnote/.convex-tmp";
const adminKey = "mnote-local|01cedce68c51e168c6aacb282a90f7d233f56eddfabb07944a1d9dd9506f73ba888fc7daff";
const repoRoot = "/mnt/Data1T/mnote";
const rootConvexDir = path.join(repoRoot, "convex");
const recycleConvexDir = path.join(repoRoot, "recycle", "wolai-frontend", "convex");
const rootHasFullSchema = fs.existsSync(path.join(rootConvexDir, "pages.ts"));
const deployCwd = rootHasFullSchema
? repoRoot
: path.dirname(recycleConvexDir);
const args = [
"deploy",
@@ -14,7 +23,7 @@ const args = [
];
const child = spawn("npx", ["convex", ...args], {
cwd: "/mnt/Data1T/mnote/wolai-frontend",
cwd: deployCwd,
stdio: "inherit",
env: { ...process.env, CONVEX_TMPDIR: "/mnt/Data1T/mnote/.convex-tmp" },
});