Commit Graph

5 Commits

Author SHA1 Message Date
john dcf8fd1ff9 chore: consolidate admin cleanup and colima config 2026-06-28 08:20:43 +08:00
john 2e6b0c1818 feat: skill 系统 MVP — SkillRegistry + FeatureFlag + awesome-design-md
- 新增 server/skills/ 模块:
  - schema.mjs:adm_skills / adm_skill_flags / adm_skill_invocations 三表建表 + seed
  - index.mjs:SkillService(listSkills / getSkill / invokeSkill / setSkillEnabled / setSkillFlag)
  - flag-resolver.mjs:优先级链 user > plan > caller_type > global
  - goosed-client.mjs:HTTPS + 自签名证书 + round-robin 双节点支持
  - executors/goosed.mjs:一次性 goosed session,SSE 收集结果
  - design-catalog.mjs:54 个 awesome-design-md DESIGN.md 本地 bundle
  - routes.mjs:/api/skills/* (public) + /admin-api/skills/* (admin)
- 设计 DESIGN.md 无需 auth 即可访问(GET /api/skills/designs)
- Admin 可一键 PATCH /admin-api/skills/:slug/enabled 开关任意 skill
- GOOSED_URLS 环境变量支持本地单节点/103双节点兼容

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-26 17:27:11 +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 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 8ad1a8a8da Initial commit: tkmind admin frontend (React + Vite).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 19:44:31 +08:00