feat: 更新端口默认值为51515,添加useKey以获取默认仓库ID,更新创建文件描述信息

This commit is contained in:
2026-03-06 02:39:45 +08:00
parent 841ed6ffa7
commit 8465ba7182
4 changed files with 7 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
import { createSkill, tool } from '@kevisual/router';
import { app, cnb } from '../../app.ts';
import { useKey } from '@kevisual/context';
// 查询 Issue 列表 repo是 kevisual/kevisual
app.route({
@@ -25,7 +26,7 @@ app.route({
})
}
}).define(async (ctx) => {
const repo = ctx.query?.repo;
const repo = ctx.query?.repo || useKey('CNB_REPO_SLUG_LOWERCASE');
const state = ctx.query?.state;
const keyword = ctx.query?.keyword;
const labels = ctx.query?.labels;