MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / loadSkills

Function loadSkills

src/stores/skill.ts:130–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128 }
129
130 async function loadSkills(): Promise<void> {
131 try {
132 skills.value = await useSkillService().getAll()
133 isLoaded.value = true
134 } catch (error) {
135 console.error('[SkillStore] Failed to load skills:', error)
136 }
137 }
138
139 /** @deprecated 本地内置目录已清空,保留兼容 */
140 async function loadBuiltinCatalog(): Promise<void> {

Callers 6

importFromCloudFunction · 0.85
updateSkillFunction · 0.85
createSkillFunction · 0.85
deleteSkillFunction · 0.85
importSkillFunction · 0.85
reimportSkillFunction · 0.85

Calls 3

useSkillServiceFunction · 0.90
getAllMethod · 0.65
errorMethod · 0.65

Tested by

no test coverage detected