Commit Graph

73 Commits

Author SHA1 Message Date
john 71e536eceb feat(mindspace): 悬浮聊天勾选资料联动、UI 与交互优化
勾选单个文件时 Agent 获知上下文并主动问候;打开悬浮窗使用新会话。
统一弹窗浅色主题、固定高度与输入区布局,支持点击外部收起。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 18:08:06 +08:00
john 2c91689692 feat(schedule): 待办提醒推送、行事历仅展示提醒与管理 API
单次提醒 worker 投递、local 时间写入校验、未来 7 天提醒列表与忽略/批量删除;行事历去掉事项重复展示。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 18:08:06 +08:00
john 06eb129a28 fix(mindspace): 修复删除时无法解析 MySQL JSON 导致页面复活
source_snapshot_json 在 mysql2 中已是对象,JSON.parse 失败会使 relative_path 丢失、工作区 HTML 未清理;同步后页面重新出现。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 18:08:06 +08:00
john 2f6a52151a docs: 103 发布 0630001 回退说明与备份路径
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 18:08:06 +08:00
john ea6c49f046 feat(mindspace): 全部页面管理、级联删除与页面同步去重
支持全部页面分页/多选/删除/分享,删除时可选移除广场帖并清理工作区附件;修复并发同步重复创建页面,并补齐预览下载链接重写与 iframe 下载权限。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 18:08:06 +08:00
john 6e6d00568a merge: integrate 0629004-bug 2026-07-01 17:57:14 +08:00
john 0293abc11f merge: integrate codex/mindspace-ui 2026-07-01 17:57:11 +08:00
john 4e7ef3d853 docs: 103 发布 0629002 回退说明与备份路径
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 00:29:38 +08:00
john 98721371a4 fix(mindspace): edit_file 落盘、Finish 聊天 merge 与回归守卫
- finish-sync 支持 edit_file 覆盖 public HTML
- Finish 同步 merge 本地流式消息,剥离 agent 内部前缀
- 新增 verify:mindspace-publish-guards 与 AGENTS.md 跨工具说明
- 发版脚本接入回归门禁;103 runtime 发布含备份回退

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 00:27:15 +08:00
john 6f89a9a236 feat: add test HTML page with centered card layout and alert button
Co-authored-by: aider (deepseek/deepseek-chat) <aider@aider.chat>
2026-06-29 23:28:48 +08:00
john 742aee7148 merge: 0629001 into 0629002
合并反馈、语音 ASR、MindSpace 修复等 0629001 发布改动,并与 Agent Runs 网关改动完成冲突解决。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 22:51:03 +08:00
john 8f620fa714 feat(agent): 聊天提交统一走 POST /agent/runs 异步网关
引入 Agent Run 网关替代直连 /sessions/:id/reply,并在 api_lockdown 白名单中放行新入口,避免策略拦截导致聊天不可用。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 22:50:00 +08:00
john dff0308ccb fix: optimize mindspace category counts 2026-06-29 22:43:22 +08:00
john 4fcb48395e fix: prevent mindspace space endpoint optional data timeout 2026-06-29 22:37:30 +08:00
john a40e340a41 release: prepare 0629001 portal updates 2026-06-29 22:20:04 +08:00
john 18ea4f82fd feat(feedback): 新增用户反馈提交、分页列表与语音描述
支持 Bug/需求提交、截图与聊天同款语音输入,全站反馈分页浏览与详情页,并从聊天与空间页提供入口。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 20:49:15 +08:00
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 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 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 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 2e9fcaf9ba feat: refine mindspace asset card actions 2026-06-29 07:00:29 +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