feat: support MCP elicitation and rebuild release

This commit is contained in:
shiyue
2026-08-24 17:39:41 +08:00
parent dd233a40e8
commit bd20a79d4b
69 changed files with 8978 additions and 13 deletions

View File

@@ -117,6 +117,7 @@ ${runCommand}
## 目录说明
- \`public/\`:前端静态资源
- \`bin/gitea-mcp\`Gitea Workflow 使用的官方 MCP 二进制
- \`config/\`:运行时配置,首次启动会写入登录和通知配置
- \`sessions/\`:会话数据
- \`logs/\`:运行日志
@@ -128,6 +129,8 @@ ${runCommand}
function copyRuntimeAssets(projectRoot, releaseDir, target, binaryName) {
copyDirIfExists(path.join(projectRoot, 'public'), path.join(releaseDir, 'public'));
// Gitea MCP 是 cc-web 工作流运行时的一部分,随源码/单文件发布目录一起交付。
copyDirIfExists(path.join(projectRoot, 'bin'), path.join(releaseDir, 'bin'));
for (const file of ['.env.example', 'README.md', 'README.en.md', 'CHANGELOG.md', 'package.json']) {
copyFileIfExists(path.join(projectRoot, file), path.join(releaseDir, file));