Add OpenCode Support - #125
Conversation
🦋 Changeset detectedLatest commit: fba6742 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
hi, @youenchene! Thanks so much for submitting this PR! I am checking internally right now to see if we have progressed in setting up OpenCode as a supported client on the Slack side, which will determine if this PR is feasible or not. Will drop in with an update! |
WilliamBergamin
left a comment
There was a problem hiding this comment.
Hi @youenchene thanks for your interest and contribution to the project 💯
Supporting Open code is something we want to add in this project but I think we might want to follow to config hook pattern similar to this https://github.com/obra/superpowers/blob/main/.opencode/plugins/superpowers.js
I just submitted a new version. Tell what you think. |
Summary
Adds OpenCode support for the Slack Skills Plugin:
slack-*commands.Important: OpenCode authentication still requires an eligible Slack app client ID. Users must set
SLACK_OPENCODE_CLIENT_IDbefore runningopencode mcp auth slack; no client ID or secret is included in this repository.This is an LLM-assisted proposal. I have tried to keep it safe and aligned with the repository’s conventions, but I welcome candid review and am happy to revise or reduce the approach if it does not meet the project’s standards.
Preview
No visual UI changes.
Testing
Passed locally:
make test-unitmake lintmake typecheckmake testwas also run. Its unit-test portion passed, but eval tests could not run because noGEMINI_API_KEY/GEMINI_API_KEY_*is configured locally. These evals require external credentials and should run in the upstream CI environment.Notes
Requirements
make testand the tests pass. (except gemini needed a key)