Skip to content

Commit efa5ff8

Browse files
deshrajclaude
andcommitted
Add OpenCode to tracked tools
OpenCode adds "Co-authored-by: opencode <[email protected]>" to commits and "Generated with opencode" to PR descriptions. Now tracked as the 10th tool alongside Claude Code, Copilot, Cursor, etc. Sources: - anomalyco/opencode#919 - anomalyco/opencode#1135 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 parent ad91ddb commit efa5ff8

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

‎backend/app/queries.py‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,19 @@
129129
"config": [],
130130
},
131131
},
132+
"opencode": {
133+
"display_name": "OpenCode",
134+
"color": "#22C55E",
135+
"signals": {
136+
"commit": [
137+
'"Co-authored-by: opencode"',
138+
],
139+
"pr": [
140+
'"Generated with opencode" type:pr',
141+
],
142+
"config": [],
143+
},
144+
},
132145
}
133146

134147

‎backend/scripts/backfill.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ class ToolMetric(Base):
8383
"codex": ['"Co-authored-by: Codex"'],
8484
"amazon_q": ['"Co-authored-by: amazon-q-developer"'],
8585
"gemini": ['"Co-authored-by: gemini-code-assist"'],
86+
"opencode": ['"Co-authored-by: opencode"'],
8687
}
8788

8889
GITHUB_API = "https://api.github.com/search/commits"

‎frontend/src/components/Methodology.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ const SIGNALS = [
2727
tool: "Windsurf",
2828
query: 'Co-authored-by: Windsurf + windsurf-bot',
2929
},
30+
{
31+
tool: "OpenCode",
32+
query: 'Co-authored-by: opencode <[email protected]>',
33+
},
3034
],
3135
api: "GitHub Search Commits API (/search/commits)",
3236
},

0 commit comments

Comments
 (0)