153 Commits

Author SHA1 Message Date
Your Name b12c1b371c feat: support worker canary workdir override 2026-07-02 10:26:28 +08:00
Your Name 3654639bb3 feat: add agent run worker launchagent installer 2026-07-02 10:18:27 +08:00
Your Name a2d69a0c36 feat: target agent run worker dispatch 2026-07-02 10:02:01 +08:00
John 21e03d86b5 feat: add tool gateway protocol 2026-07-02 09:23:55 +08:00
John e24e6ca4a7 feat: add runtime worker heartbeat sidecar 2026-07-02 09:03:30 +08:00
John a0af049fa7 fix: pass mindspace link bypass to prod release 2026-07-02 08:49:21 +08:00
John c7d8140a69 feat: gate code runs by user whitelist 2026-07-02 08:42:44 +08:00
John 8a53dff856 chore: prune runtime slo reports 2026-07-02 08:38:56 +08:00
John bb98734d9c fix: let external agent worker drain before exit 2026-07-02 08:30:01 +08:00
John a402509d6e chore: schedule runtime slo reports 2026-07-02 08:12:02 +08:00
John e3ce4032c6 feat: write runtime slo daily reports 2026-07-02 08:09:02 +08:00
John 12f74eb44e feat: add first token latency window stats 2026-07-02 08:06:58 +08:00
John 05d29ce62d feat: add external agent run worker entry 2026-07-02 08:02:03 +08:00
John 3ea973968e feat: add agent run queue controls 2026-07-02 07:52:07 +08:00
John 8e5094fcd9 feat: record first token latency in runtime router 2026-07-02 07:45:47 +08:00
John 41b7b5ffa3 chore: add runtime metrics agent and slo report 2026-07-02 07:41:46 +08:00
John a13808b462 feat: feed worker metrics into runtime router 2026-07-02 07:35:10 +08:00
John b97c8e822e chore: add worker stream reconcile dry run 2026-07-02 07:28:58 +08:00
John e989526886 feat: gate code agent runs server side 2026-07-02 07:25:16 +08:00
John 304a9eaea2 chore: add code run entry check 2026-07-02 07:22:49 +08:00
John e17dcaf4a8 feat: gate code tools by task mode 2026-07-02 07:12:18 +08:00
John c9b7252832 fix: avoid opening sse in runtime check 2026-07-02 07:06:25 +08:00
John 4420cca340 chore: add runtime observability ops 2026-07-02 07:04:50 +08:00
John 04e308e582 feat: add streaming runtime router 2026-07-02 06:55:26 +08:00
john 62c1d72470 fix(agent): inject Asia/Shanghai time anchor on 0630007 line
Agent replies were reporting UTC time because 0630007-memind never injected
TKMind 当前时间基准 into session memory. Port the time anchor from the
0630004 work only—no miniapp branch changes—and add a 103 rollback script.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 18:31:32 +08:00
john b273bb7aa2 fix: gate public page download links before Portal release
Add a MindSpace public HTML checker for missing companion docx/PDF paths, wire it into runtime packaging and release-portal-runtime-prod.sh, and document the workflow for agents and ops.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 18:18:27 +08:00
john 5a970e612e chore: enforce standard branch release workflow 2026-07-01 18:14:24 +08:00
john b7af5b00dc 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-07-01 18:12:31 +08:00
john d7cbf3cc96 chore: add 105 runtime and openhands ops tooling 2026-07-01 18:10:48 +08:00
john 722b18326f feat(mindspace): 0630004 空间 UI、聊天连接、微信分享与 Agent 能力
含 MindSpace 三列布局与统计修复、聊天加载态与连接降级、平台页脚标记与 og:site_name 微信卡片、勾选资料删除 Agent 接口及内部话术过滤。

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 0293abc11f merge: integrate codex/mindspace-ui 2026-07-01 17:57:11 +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 a40e340a41 release: prepare 0629001 portal updates 2026-06-29 22:20:04 +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 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 fc5b50c936 fix: make goosed mcp paths container safe 2026-06-27 21:31:02 +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 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 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 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 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 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