feat(dimension): query custom archive catalogs and items

This commit is contained in:
gitea committed 2026-09-05 20:17:19 +08:00
1 parent a0d13ca36a
commit 1f3334bfbd
12 files changed
+220 -1

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ describe("embedded-skill - 多文件内嵌 Skill 体系", () => {
try {
const res = installSkillFiles(tmp);
expect(res.targetDir).toBe(tmp);
expect(res.files.length).toBe(9);
expect(res.files.length).toBe(10);
expect(existsSync(join(tmp, "SKILL.md"))).toBe(true);
expect(existsSync(join(tmp, "agents", "openai.yaml"))).toBe(true);
expect(existsSync(join(tmp, "references", "auth.md"))).toBe(true);
+2
View File
@@ -11,6 +11,7 @@ import refService from "../../skills/hose-use/references/service.md" with { type
import refContact from "../../skills/hose-use/references/contact.md" with { type: "text" };
import refTask from "../../skills/hose-use/references/task.md" with { type: "text" };
import refMessage from "../../skills/hose-use/references/message.md" with { type: "text" };
import refDimension from "../../skills/hose-use/references/dimension.md" with { type: "text" };
export const EMBEDDED_SKILL_FILES: Record<string, string> = {
"SKILL.md": skillMain,
@@ -20,6 +21,7 @@ export const EMBEDDED_SKILL_FILES: Record<string, string> = {
"references/contact.md": refContact,
"references/task.md": refTask,
"references/message.md": refMessage,
"references/dimension.md": refDimension,
"references/workflow.md": refWorkflow,
"references/service.md": refService,
};