Commit Graph

48 Commits

Author SHA1 Message Date
john 66acbc902c feat: add wechat publish recovery and conversation memory 2026-06-29 06:59:37 +08:00
john 615a1e9bf4 Include WeChat menu scripts in portal runtime 2026-06-29 06:46:35 +08:00
john ea19ffb5fa feat: improve mindspace asset handling and local runtime paths 2026-06-28 12:18:26 +08:00
john 4a9bc710f1 feat: sync portal runtime fixes for release 2026-06-27 22:28:41 +08:00
john 8264e71f9e feat: release chat and mindspace UI updates 2026-06-27 21:57:21 +08:00
john c924b2bb77 docs: add release must-read checklist 2026-06-27 21:48:27 +08:00
john 0420c42fe2 fix: make schema bootstrap mysql safe 2026-06-27 21:40:58 +08:00
john fc5b50c936 fix: make goosed mcp paths container safe 2026-06-27 21:31:02 +08:00
john def9b0b5eb chore: Add backup files to .gitignore
- *.bak 备份文件不提交到版本控制
2026-06-27 08:25:34 +08:00
john da239bdf09 feat: Add imgproxy signer service
- imgproxy-signer.mjs: 图片代理签名服务
2026-06-27 08:25:27 +08:00
john 3bb5d21425 chore: Add runtime portal files and assets
- Portal 运行时文件和配置
- 测试资源和验证文件
- Plaza 封面图片资源
2026-06-27 08:25:18 +08:00
john a2374c3cd6 chore: Update configs and build files
- .gitignore 更新
- Caddyfile LB 配置更新
- WeChat MP 菜单脚本更新
- package-lock.json 更新
2026-06-27 08:25:11 +08:00
john 1798c07d42 docs: Update documentation and release rules
- 架构和规划文档更新
- 开发、工程、生产发布规则更新
- 服务隔离和升级指南
- README 更新
2026-06-27 08:25:06 +08:00
john 25f8223253 refactor: Business logic and dependencies updates
- 核心服务代码更新 (db, server, auth, proxy)
- Agent 相关模块更新 (mindspace, experience)
- 前端组件和 hooks 更新
- 数据库 schema 更新
- 依赖版本更新
2026-06-27 08:25:02 +08:00
john f1220a7905 feat: Goosed 本地 Docker 构建方案
- scripts/verify-goosed-docker.sh: 一键本地构建脚本
- docker-compose.local.yml: 本地开发环境
- docs/goosed-docker-local-verification.md: 本地测试指南
- docs/goosed-local-build-delivery.md: 构建交付说明
- docs/goosed-phase1-local-plan.md: 实施计划

完全本地化,无 CI 依赖,手工构建交付。
2026-06-27 08:24:57 +08:00
john 8627188ee7 feat: DesignSkillPanel — awesome-design-md 前台 UI 集成
- 新增 DesignSkillPanel 组件:54 品牌风格选择网格 + 任务描述输入
- ChatPanel 工具栏增加 design 按钮,点击弹出面板
- 生成结果回填到输入框,用户可编辑后发送
- 新增 API:listDesignStyles / invokeDesignSkill(走 /admin-api/skills/)
- .env.local: H5_DEV_ADMIN=http://127.0.0.1:8085(对接本地 memindadm)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-26 19:44:21 +08:00
john 8502775042 Fix UUID leaking as user display name in agent context
resolveUserAddressName now filters UUID-format strings (same as wx_*),
preventing user.id from being used as a display name when nickname/
displayName is absent.

buildSessionMemoryEntries always calls ensureUserMemoryProfile when
userContext is available so stale profiles with UUID display names are
auto-healed on next session init.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-26 15:56:22 +08:00
john 9b4a25799f Add smart ACK provider for WeChat MP replies
Replace fixed ackText with a rule-based AckProvider that picks
response templates by message type and intent (translate, summary,
rewrite, poster, ppt, mindmap, code, search, schedule). Pure sync,
zero I/O, auto-falls back to config.ackText on any error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-26 15:19:03 +08:00
john 9ed4fd48d7 Fix sandbox MCP path resolution for session policy sync.
Resolve mindspace-sandbox-mcp.mjs from the code module location instead of h5Root, and copy it into the portal runtime artifact so goosed can spawn sandbox-fs on production.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 13:36:05 +08:00
john d51df2fb0a Hide goose from user-facing connection errors 2026-06-25 23:44:58 +08:00
john e133f9a3a4 Point gadm root to admin console 2026-06-20 16:11:57 +08:00
john daa5ab7199 Document gadm ops root routing 2026-06-20 16:09:03 +08:00
john 02c651a3d0 Unify current release docs and isolation notes 2026-06-20 15:54:19 +08:00
john db0149b025 Add release flow topology to deploy guide 2026-06-20 15:53:01 +08:00
john a0b684dba7 Add unified release topology to README 2026-06-20 15:52:04 +08:00
john fe4172d07e Add release entry overview to README 2026-06-20 15:47:41 +08:00
john 41470bafcb Unify plaza and gadm release docs 2026-06-20 15:46:32 +08:00
john cb51b94f2c Document gadm release flow 2026-06-20 15:41:22 +08:00
john 44e962e270 Document plaza 105-to-studio flow 2026-06-20 15:39:19 +08:00
john 2f07f3733e Add 105 rsync exclude rules 2026-06-20 15:18:59 +08:00
john 70492d9eba Add attachment text extraction, auto web news skill, and chat/voice UI updates.
Simplify asset upload temp paths, refresh deploy docs for Aliyun DNS topology, and ship MindSpace content-scan and auth improvements.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-20 15:08:10 +08:00
john 2e5afe3bfd feat: add fetch_news.py script to aggregate news from HN, Reddit, and GitHub
Co-authored-by: aider (deepseek/deepseek-chat) <aider@aider.chat>
2026-06-20 08:15:48 +08:00
john c4de6716f1 Restore Studio rsync exclude rules for safe production deploys.
Re-add the deploy exclude file and protect .tailscale so rsync --delete cannot remove production-only runtime data.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 23:09:22 +08:00
john 229805a070 Improve WeChat MP replies and ship MindSpace/H5 production updates.
Add WeChat service account routing with sync acks, connectivity tests, and context isolation; document deploy runbooks; and bundle related MindSpace, voice, Plaza, and server gateway changes for production rollout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 23:06:43 +08:00
Your Name b0f5d6a51c Extract memind_adm admin server, add local dev tooling, and remove image-generation.
Split platform admin and ops APIs into standalone admin-server.mjs with network guards; simplify billing to RMB token pricing, refactor user auth, and add rsync deploy plus local-test scripts and docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 16:39:39 -07:00
John ab0718938e Fix OA workspace cover thumbnails and add space chat new session.
Resolve mindspace-cover images from workspace directories when generating feed thumbnails, refresh stale SVGs missing embedded photos, and disable thumbnail API caching so fixes take effect immediately. Also add a new session control to the space chat panel, including on mobile.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 17:57:00 -07:00
John 6d99d762da Add image-designer skill, align billing to DeepSeek ×1, and enrich Plaza demo.
Introduce AI image generation with chat shortcut and agent API, improve MindSpace chat-to-page save resolution, and seed Plaza covers with production deploy scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 16:29:19 -07:00
John 03690ee354 Fix duplicate session billing and align pricing with DeepSeek ×3.
Serialize billSessionUsage with row locks, expose rates on recharge, add compensation script and admin usage views.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 04:45:15 -07:00
john befeedfd37 Remove embedded admin UI and redirect admins to standalone ops app.
Extract admin routes from the main SPA, add plaza-api bootstrap module, and track ops pnpm lockfile.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 19:43:56 +08:00
john f818dd0307 Add WeChat in-app JSAPI recharge for g2.tkmind.cn.
Use JSAPI with bound openid inside WeChat instead of QR long-press, and include related auth redirect and admin UX fixes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 16:20:04 +08:00
John bb70634a96 Remove recent billing list from balance popover.
Keep the popover focused on balance summary and token usage without fetching usage records on open.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 01:03:35 -07:00
John 79457230c1 Improve MindSpace visual editor UX and default RMB billing.
Add color-coded edit highlights with an in-preview legend, strip CSP meta
for srcdoc editing, and simplify fullscreen preview to immersive visual edit
only. Default billing to CNY token rates unless H5_USE_BACKEND_COST=1.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 00:59:28 -07:00
john 8d2f55771c Fix MindSpace preview crash and simplify balance ring popover.
Wrap preview mode in ChatProvider so useChat works, and drop recharge ledger from the balance dropdown to keep it compact.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 15:55:20 +08:00
John d376161ab0 docs: publish v0.1.0-baseline for team development
Announce the v0.1.0-baseline tag (25d9c8c) as the starting point for all
future branches and document checkout workflow in docs/BASELINE.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 23:46:26 -07:00
John 25d9c8c364 Add MindSpace visual page editor and Plaza local Tunnel deployment.
In-preview HTML editing with undo/redo sync replaces Agent patch auto-save; Plaza runs on local Mac via Cloudflare Tunnel with embed height and CSP fixes.

Co-authored-by: Cursor <cursoragent@cursor.com>
v0.1.0-baseline
2026-06-15 22:57:22 -07:00
John 6ee6fd64dd Add MindSpace page live edit, chat skills, and H5 deploy tooling.
Introduce page edit sessions with draft preview and patch API, chat skill picker, user memory profile, h5ApiBase resolution, voice WAV transport, and scripts for 105/g2 deployment and Plaza local dev.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 22:09:38 -07:00
John 3cd322ccfe Add WeChat login binding gate and context-aware auth UX.
Stop auto-creating duplicate accounts on OAuth, add bind-or-register gate,
PC scan login, mobile open-in-WeChat guide, and fix localhost session cookies.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 15:47:19 -07:00
John 2e14873f2d Initial commit: Memind H5 portal with MindSpace, Plaza, and agent jobs.
Track application source and tests; exclude local env, user workspaces, and runtime data via .gitignore.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 15:04:43 -07:00