feat: 将所有路由的中间件从 'auth' 更新为 'admin-auth',并更新版本至 0.0.13

This commit is contained in:
2026-01-31 00:30:37 +08:00
parent 0d17d56628
commit 6e5a642ab2
13 changed files with 109 additions and 73 deletions

View File

@@ -6,7 +6,7 @@ app.route({
path: 'cnb',
key: 'set-cnb-cookie',
description: '设置当前cnb工作空间的cookie环境变量',
middleware: ['auth'],
middleware: ['admin-auth'],
metadata: {
tags: ['opencode'],
...createSkill({
@@ -33,7 +33,7 @@ app.route({
path: 'cnb',
key: 'get-cnb-cookie',
description: '获取当前cnb工作空间的cookie环境变量',
middleware: ['auth'],
middleware: ['admin-auth'],
metadata: {
tags: ['opencode'],
...createSkill({