feat(skills): load config sources in runtime discovery

This commit is contained in:
YeonGyu-Kim
2026-02-13 11:08:22 +09:00
parent aab8a23243
commit 0001bc87c2
11 changed files with 273 additions and 13 deletions
+17
View File
@@ -733,3 +733,20 @@ describe("GitMasterConfigSchema", () => {
expect(result.success).toBe(false)
})
})
describe("skills schema", () => {
test("accepts skills.sources configuration", () => {
//#given
const config = {
skills: {
sources: [{ path: "skill/", recursive: true }],
},
}
//#when
const result = OhMyOpenCodeConfigSchema.safeParse(config)
//#then
expect(result.success).toBe(true)
})
})