feat: support MCP elicitation and rebuild release
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user