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
Add support for detecting OpenCode AI coding tool through environment
variable OPENCODE=1.
Changes:
- Create src/ai-tools/opencode.ts configuration file
- Add OpenCode to AI tools index with CLI type (highest priority)
- Update test expectations from 9 to 10 tools
- Add comprehensive tests for OpenCode environment variable:
* Integration test for OPENCODE=1
* Unit test in exec.test.ts for getCoDevelopedBy function
* Production build test for compiled code
* Installed package test for npm pack scenarios
The OpenCode tool is detected when OPENCODE=1 is set, and will add
"Co-developed-by: OpenCode <noreply@opencode.ai>" to commit messages.
Change-Id: If8f616e4d6429c59f15e298f4f49191f05f5868e
Co-developed-by: Cursor <noreply@cursor.com>
0 commit comments