Commit Graph

13 Commits

Author SHA1 Message Date
john 41252ec2cb fix(restart): invoke vite preview binary directly on 103
npm exec misparsed --config on Node 24/npm 11, causing preview to bind
4173 without /ops proxy and failing release health checks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 10:02:54 +08:00
john 17e0410c32 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>
2026-06-29 10:00:55 +08:00
john dcf8fd1ff9 chore: consolidate admin cleanup and colima config 2026-06-28 08:20:43 +08:00
john 9e907bde57 延长 preview 启动等待,避免发布脚本误判 /auth 反代未就绪。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 12:42:59 +08:00
john 1d54706b7c 修复 103 登录:API/5174 监听 0.0.0.0,preview 反代 /auth 到 8085。
105 nginx 需能访问 Studio 端口;5174 直连时也需把鉴权请求转发到 Admin API。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 12:42:03 +08:00
john deb3f031fd 修复 memind_adm 产物发布:保留 dist/index.html 并以 /ops 为生产 base 路径。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 12:36:02 +08:00
john c52086e36a 修复 103 发布:将 test-memind 共享模块打入 memind_adm 产物包。
Memind 生产目录已切为无源码 runtime,memind_adm 改为自带 memind-lib 模块并保留 MEMIND_LIB_ROOT 作数据根路径。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 12:33:52 +08:00
john 8af8676ad5 收口 memind_adm 主线并切换 103 为无源码产物发布。
统一共享用户/计费/空间额度能力,新增 Ops 与套餐同步,并以 release-prod.sh 作为唯一生产发布入口。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 12:31:25 +08:00
john 371aedd6a9 Make admin init noninteractive 2026-06-20 16:56:44 +08:00
john a2333f991b Move admin auth local 2026-06-20 16:52:13 +08:00
John 7a5b9cc912 Add argon2 polyfill and unified preview/API startup for admin login.
Node < 24 lacks crypto.argon2Sync; wire @node-rs/argon2 fallback and start Admin API alongside vite preview in local and remote deploy flows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 16:38:58 -07:00
John 9ecfa73831 Add embedded Express admin API and unified dev workflow.
Move admin backend into this repo (Express + MySQL on :8085) so npm run dev starts both API and Vite, with updated env defaults and Caddy config for gadm.tkmind.cn.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 16:29:06 -07:00
john 680e2c9427 Add LAN deploy scripts and improve admin billing/users UX.
Provide rsync deploy and restart tooling for the 100 server, document the workflow, and add pagination plus user filtering across billing and user management pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 20:46:59 +08:00