mirror of
https://github.com/obra/superpowers.git
synced 2026-04-23 09:59:05 +08:00
fix: use correct event subscription format for opencode
This commit is contained in:
@@ -79,7 +79,8 @@ ${content}`;
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
'session.created': async () => {
|
event: async ({ event }) => {
|
||||||
|
if (event.type === 'session.created') {
|
||||||
const usingSuperpowersPath = skillsCore.resolveSkillPath('using-superpowers', superpowersSkillsDir, personalSkillsDir);
|
const usingSuperpowersPath = skillsCore.resolveSkillPath('using-superpowers', superpowersSkillsDir, personalSkillsDir);
|
||||||
|
|
||||||
let usingSuperpowersContent = '';
|
let usingSuperpowersContent = '';
|
||||||
@@ -125,5 +126,6 @@ ${toolMapping}${updateNotice}
|
|||||||
</EXTREMELY_IMPORTANT>`
|
</EXTREMELY_IMPORTANT>`
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user