summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2025-11-24 12:28:11 -0800
committerJesse Vincent <jesse@fsck.com>2025-11-24 12:28:11 -0800
commit8c7826c34dccdd67a165065b17fc10a7fa40a5dc (patch)
treef39809609ca856d3a3b9826982c4542e851be0ba /tests
parent4ae8fc87137f84bac70732dcc9045501c3a5e064 (diff)
fix(opencode): use session.created event for bootstrap injection
Switch from chat.message hook to session.created event for injecting the using-superpowers skill content. The new approach: - Injects at session creation via session.prompt() with noReply: true - Explicitly tells model the skill is already loaded to prevent redundant use_skill calls - Consolidates bootstrap generation into getBootstrapContent() helper - Removes fallback pattern in favor of single implementation Tested with 10 consecutive test runs and manual skill trigger validation.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions