mirror of
https://github.com/obra/superpowers.git
synced 2026-04-26 19:49:08 +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);
|
||||
|
||||
let usingSuperpowersContent = '';
|
||||
@@ -125,5 +126,6 @@ ${toolMapping}${updateNotice}
|
||||
</EXTREMELY_IMPORTANT>`
|
||||
};
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user