Commit Graph

176 Commits

Author SHA1 Message Date
john 08c5b22d4a fix(voice): 浏览器语音默认走服务端 ASR
Web Speech 依赖 Google,国内浏览器常无法转文字;支持麦克风时改为录音后走自有 ASR,并补全网络异常时的降级匹配。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 12:34:34 +08:00
john cc98cf02fa style(chat): highlight tap-to-open hint 2026-06-29 11:28:54 +08:00
john 0187f26c5b fix(release): 将 skills/ 目录打入 Portal runtime 产物
生产 Agent 需从 live 目录读取平台技能(含 docx-generate),无源码 runtime 必须携带 skills 树。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 11:23:37 +08:00
john d67adc1df8 fix(skills): 禁止 HTML base64 内嵌 docx,新增 docx-generate 技能
避免 Agent 在下载页用 data URI 嵌入 Word 导致文件截断乱码;规范公网下载须单独落盘并用相对路径链接。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 11:19:20 +08:00
john e0e03e95b1 fix(chat): speed up history switch 2026-06-29 11:15:40 +08:00
john 637b32515a fix(mindspace): sync nested OA files and count workspace assets
Recursive workspace sync now imports files in oa/private/public subfolders,
references workspace paths without duplicating storage, and includes
workspace-sourced assets in category itemCount. Refresh counts when leaving
a category view.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 10:34:18 +08:00
john 2b344dfa60 fix(release): restart m.tkmind.cn portal tunnel after Portal deploy
Bundle memind-portal-tunnel.sh into the runtime artifact and kickstart
cn.tkmind.memind-portal-tunnel on 103 after Portal health checks so 105
nginx can reach 127.0.0.1:19081 following runtime releases.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 10:22:19 +08:00
john 12a1247c1f fix(mindspace): sync nested OA files and count workspace assets
Recursive workspace sync now imports files in oa/private/public subfolders,
references workspace paths without duplicating storage, and includes
workspace-sourced assets in category itemCount. Refresh counts when leaving
a category view.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 10:11:28 +08:00
john 16828a58f7 merge: codex/mindspace-ui into main 2026-06-29 07:15:47 +08:00
john 3e313dc8a3 merge: codex/wechat-memory into main 2026-06-29 07:15:39 +08:00
john 29f6c0095f fix: harden conversation memory extraction flow 2026-06-29 07:14:42 +08:00
john 9465803d95 feat: refine mindspace asset card actions 2026-06-29 07:08:59 +08:00
john e80831ad4f feat: add wechat publish recovery and conversation memory 2026-06-29 07:08:59 +08:00
john f8787bd330 chore: add 105 runtime and openhands ops tooling 2026-06-29 07:01:26 +08:00
john 2e9fcaf9ba feat: refine mindspace asset card actions 2026-06-29 07:00:29 +08:00
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 504513747e fix: reuse verified requested page links for wechat 2026-06-28 22:13:08 +08:00
john 81c38226e5 fix: require publish skill for wechat page tasks 2026-06-28 21:54:15 +08:00
john 82ac5fc744 fix: normalize alternate tkmind publish links 2026-06-28 15:38:31 +08:00
john f31775b0c7 fix: persist wechat session history and page links 2026-06-28 15:29:39 +08:00
john fa2e385849 fix: detect sandbox fs html writes for wechat pages 2026-06-28 15:06:24 +08:00
john 34ae9de100 fix: harden wechat page publish link validation 2026-06-28 14:53:09 +08:00
john ea19ffb5fa feat: improve mindspace asset handling and local runtime paths 2026-06-28 12:18:26 +08:00
john 1af680c6cb chore: align local paths and add colima dev flow 2026-06-28 08:20:53 +08:00
john 451918fbec Fix local startup schema parsing 2026-06-28 07:04:26 +08:00
john faac6d9772 merge: goosed-mcp-release (schema fix + mcp paths + chat UI + runtime fixes) 2026-06-28 06:59:21 +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 f4e8bb51a1 fix: reconcile reused wechat agent sessions 2026-06-27 18:33:53 +08:00
john 58d824f5e5 fix: dereference node_modules symlink in runtime build 2026-06-27 18:19:13 +08:00
john 0a79a99df9 chore: remove duplicate auth export in release bundle 2026-06-27 18:14:30 +08:00
john 4bb4858e84 feat: package portal updates for 103 release 2026-06-27 18:13:44 +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