You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3686744
Browse filesBrowse the repository at this point in the historyBrowse files
fix: use agent prompts instead of event hooks for context injection
OpenCode doesn't support injecting context through event hooks. Instead,
the plugin now generates a prompt file that agents can reference via
{file:./prompts/superpowers.txt} in their configuration.
'\n\n**Updates available!** Run `cd ~/.config/opencode/superpowers && git pull` to update superpowers.' :
115
-
'';
116
-
117
-
return{
118
-
context: `<EXTREMELY_IMPORTANT>
115
+
promptContent=`<EXTREMELY_IMPORTANT>
119
116
You have superpowers.
120
117
121
118
**Below is the full content of your 'superpowers:using-superpowers' skill - your introduction to using skills. For all other skills, use the 'use_skill' tool:**
0 commit comments