feat: 添加 cnb-board 路由及相关功能,获取 live 的 repo、构建、PR、NPC 和评论信息,并更新文档

fix: 更新 SKILL.md 文件格式,调整 metadata 标签位置
This commit is contained in:
2026-02-23 18:36:11 +08:00
parent 88313d5b8e
commit d6e3f67ac3
12 changed files with 982 additions and 25 deletions

View File

@@ -28,9 +28,14 @@ app
app.route({
path: 'config',
key: 'getId'
key: 'getId',
description: '获取appId',
}).define(async (ctx) => {
const config = assistantConfig.getCacheAssistantConfig();
ctx.body = config?.app?.id || null;
const appId = config?.app?.id || null;
ctx.body = {
id: appId,
}
}).addTo(app);