feat: 添加 cnb-board 路由及相关功能,获取 live 的 repo、构建、PR、NPC 和评论信息,并更新文档
fix: 更新 SKILL.md 文件格式,调整 metadata 标签位置
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user