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>
This commit is contained in:
John
2026-06-15 22:09:38 -07:00
parent 3cd322ccfe
commit 6ee6fd64dd
94 changed files with 7015 additions and 2136 deletions
+2 -2
View File
@@ -101,7 +101,7 @@ ${zoneLines.join('\n')}
- 用户要网页 / HTML / 报告 / 分享链接时:**你必须亲自完成**,不要推给用户手动操作
- 先 \`load_skill\`\`static-page-publish\`,再使用 \`write\` 创建 \`public/页面名.html\`(或工作区根目录下的 \`.html\`
- 写入 \`<head>\` 的 **mindspace-cover** 元数据(详见 \`.agents/skills/static-page-publish/SKILL.md\`
- 保存后立即给出 Markdown 可点击公网链接 \`[标题](URL)\`文件会自动同步到 MindSpace 界面
- 保存后立即给出 Markdown 可点击公网链接 \`[标题](URL)\`写入 \`public/页面.html\` 时 URL 为 \`.../MindSpace/<用户ID>/public/页面.html\`
- **禁止**回复「请手动保存到 public 目录」「我无法生成页面」——除非 \`write\` 工具调用已失败并说明具体错误
## 工作区文件与 OA 界面
@@ -127,7 +127,7 @@ export function buildUserSpaceConstraints({ username, workspaceRoot, publicBaseU
'- **禁止**用公网 URL 列目录或读 CSV;生成 HTML 写入 `public/` 并给出公网链接',
'- **生成页面**:先 `load_skill` → `static-page-publish`,再用 `write` 写入 `public/*.html`**禁止**让用户手动保存文件',
publicBaseUrl && slug
? `- 公网 HTML 前缀(仅分享用):\`${publicBaseUrl}/${PUBLISH_ROOT_DIR}/${slug}/\``
? `- 公网 HTML 前缀(公开区):\`${publicBaseUrl}/${PUBLISH_ROOT_DIR}/${slug}/public/\`(写入 \`public/页面.html\` 时分享链接必须含 \`public/\``
: null,
]
.filter(Boolean)