Refine skill routing and silent CLI compatibility

This commit is contained in:
gitea committed 2026-09-22 15:25:16 +08:00
1 parent 9094f4907a
commit 61fa63bbe1
11 files changed
+460 -774

No files matched your search

+4 -4
View File
@@ -106,16 +106,16 @@ describe("renderHelp", () => {
expect(help).not.toContain("seal-use webhook");
});
test("documents the add-hose compatibility alias", () => {
test("documents the canonical Hose onboarding command", () => {
const help = renderHelp(["corps", "add-hose-persistent"]);
expect(help).toContain("seal-use corps add-hose-persistent");
expect(help).toContain("旧命令 add-hose 仍可用");
expect(help).not.toContain("add-hose 仍可用");
});
test("documents the add-seal compatibility alias", () => {
test("documents the canonical Seal onboarding command", () => {
const help = renderHelp(["corps", "add-seal-bearer"]);
expect(help).toContain("seal-use corps add-seal-bearer");
expect(help).toContain("旧命令 add-seal 仍可用");
expect(help).not.toContain("add-seal 仍可用");
});
test("throws usage error for unknown area or subcommand", () => {