chore: checkpoint Boss app v2.5.11

This commit is contained in:
AI Bot
2026-06-08 12:22:50 +08:00
parent bddbe8b5ba
commit 3b51641d99
78 changed files with 5706 additions and 954 deletions

View File

@@ -134,6 +134,52 @@ test("independent Boss admin web app exposes management actions instead of read
assert.match(appSource, /handleCodexRemoteControl/);
});
test("independent Boss admin web app exposes skill management dispatch workspace", async () => {
const [appSource, apiSource] = await Promise.all([
readSource("../apps/boss-admin-web/src/App.vue"),
readSource("../apps/boss-admin-web/src/api/bossAdmin.ts"),
]);
assert.match(apiSource, /fetchSkillLifecycleRequests/);
assert.match(apiSource, /\/api\/v1\/admin\/skills\/requests/);
assert.match(apiSource, /method:\s*["']GET["']/);
for (const label of [
"Skill 管理分发",
"快捷下发",
"Skill 请求队列",
"待执行",
"执行中",
"最近请求",
"安装远端 Skill",
"更新下发",
"回滚",
"版本锁定",
]) {
assert.match(appSource, new RegExp(label));
}
assert.match(appSource, /skillLifecycleRequests/);
assert.match(appSource, /loadSkillLifecycleRequests/);
assert.match(appSource, /quickSkillRequest/);
});
test("independent Boss admin web app keeps backup tables inside their cards", async () => {
const [appSource, cssSource] = await Promise.all([
readSource("../apps/boss-admin-web/src/App.vue"),
readSource("../apps/boss-admin-web/src/styles.css"),
]);
assert.match(appSource, /boss-admin-wide-card/);
assert.match(cssSource, /\.ant-card\s*\{/);
assert.match(cssSource, /\.boss-admin-wide-card/);
assert.match(cssSource, /grid-column:\s*1\s*\/\s*-1/);
assert.match(cssSource, /min-width:\s*0/);
assert.match(cssSource, /\.ant-table-wrapper\s*\{/);
assert.match(cssSource, /overflow-x:\s*auto/);
assert.match(cssSource, /word-break:\s*break-word/);
assert.match(cssSource, /white-space:\s*normal/);
});
test("root Next project isolates the independent Vue admin workspace", async () => {
const [tsconfigSource, eslintSource, rootPkgSource] = await Promise.all([
readSource("../tsconfig.json"),