Skip to content

Add OpenCode client support - #2489

Merged
eleftherias merged 2 commits into
stacklok:mainfrom
prestist:opencode-client
Nov 12, 2025
Merged

eleftherias merged 2 commits into
stacklok:mainfrom
prestist:opencode-client

Conversation

@prestist

@prestist prestist commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

So I was using opencode, and wanted to have integration for MCP servers. I think this is all that is needed.

I tested this locally

./thv client status
./thv client register opencode

Then ran a mcp server

./thv run context7

opencode
verified mcp server present. 

Not sure if there are other steps for integration of opencode.

@codecov

codecov Bot commented Nov 10, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.34%. Comparing base (d7decc7) to head (8794eb4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2489   +/-   ##
=======================================
  Coverage   55.34%   55.34%           
=======================================
  Files         306      306           
  Lines       29321    29321           
=======================================
  Hits        16227    16227           
- Misses      11657    11658    +1     
+ Partials     1437     1436    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@eleftherias eleftherias left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @prestist! This looks good.
I see there are some small linting issues, could you just run task lint to see the lint errors and task docs to update the CLI docs?

@prestist

Copy link
Copy Markdown
Contributor Author

Thank you, absolutely will do! @eleftherias

@prestist
prestist force-pushed the opencode-client branch 2 times, most recently from 62661a0 to 9131ec9 Compare November 11, 2025 16:16
@prestist

prestist commented Nov 11, 2025 •

Copy link
Copy Markdown
Contributor Author

@eleftherias I looked at the taskfile and ran linting / created the docs I think; lmk if there is anything else! Thank you.

Oof, ok I see I missed a few; I cannot run golang-lint ci locally due to some config weird, Let me make the changes listed in the CI real quick.

The doc's bit supersized me though; looking again

@prestist
prestist force-pushed the opencode-client branch 3 times, most recently from 1203c2c to b8c03e1 Compare November 11, 2025 19:58
@prestist

Copy link
Copy Markdown
Contributor Author

Hmm, im still struggling with running linting locally tried my hand with AI here to see if it can figure out my environment. 🤞

@eleftherias

Copy link
Copy Markdown
Member

No worries @prestist, I can generate the docs. No point in you spending time with minor linting issues.

@eleftherias
eleftherias merged commit 20cd9be into stacklok:main Nov 12, 2025
@eleftherias

Copy link
Copy Markdown
Member

Thanks for the PR @prestist!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants