feat: sync shared skills contract and graph-first discipline

This commit is contained in:
“BeeRad”
2026-04-17 20:58:21 +10:00
parent 5f4d1f61c2
commit 7e663abfb0
64 changed files with 1924 additions and 1902 deletions
+2 -1
View File
@@ -20,7 +20,7 @@ export const writeSkillTool = tool({
};
}
eventBroadcaster.broadcast({ type: 'GUIDE_UPDATED', data: { name } });
eventBroadcaster.broadcast({ type: 'SKILL_UPDATED', data: { name } });
return {
success: true,
@@ -28,6 +28,7 @@ export const writeSkillTool = tool({
message: `Skill "${name}" saved`,
};
} catch (error) {
console.error('[writeSkill] error:', error);
return {
success: false,
error: error instanceof Error ? error.message : 'Failed to write skill',