feat(mcp): register loopover_get_repo_onboarding_pack as a local #7976
Closed
andriypolanski wants to merge 3 commits into
Closed
feat(mcp): register loopover_get_repo_onboarding_pack as a local #7976andriypolanski wants to merge 3 commits into
andriypolanski wants to merge 3 commits into
Conversation
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Contributor
|
This repository reviews pull requests one-shot: the PR must be correct as originally opened. Pushing an additional commit closes it automatically instead of restarting review — open a fresh pull request with every fix included. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7976 +/- ##
==========================================
- Coverage 89.11% 81.92% -7.19%
==========================================
Files 93 94 +1
Lines 21723 23950 +2227
Branches 3755 4603 +848
==========================================
+ Hits 19358 19621 +263
- Misses 2187 4133 +1946
- Partials 178 196 +18
Flags with carried forward coverage won't be shown. Click here to find out more.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
loopover_get_repo_onboarding_packwas a remote MCP tool (src/mcp/server.ts) with amaintain onboarding-packCLI mirror (CLI mirror for loopover_get_repo_onboarding_pack #6738), but had no local stdio MCP tool registration.GET .../onboarding-pack/previewendpoint the CLI already uses (refresh: true→?refresh=true).Closes #7756
Change
packages/loopover-mcp/bin/loopover-mcp.ts): addedrepoOnboardingPackShape(owner/repo required,refreshoptional boolean).loopover_get_repo_onboarding_packwith a matchingSTDIO_TOOL_DESCRIPTORSentry (maintainercategory). Thin GET proxy of{repoBase}/onboarding-pack/preview;refresh === trueforwards?refresh=trueexactly as the CLI does.mcp-tool-rename-aliases.test.ts(currentmainalready includes Register loopover_get_agent_audit_feed as a local stdio MCP tool #7757 agent-audit-feed).Tests
test/unit/mcp-cli-get-repo-onboarding-pack.test.ts: in-processInMemoryTransportcoverage — both arms of therefresh === trueternary (omitted → no query;refresh: true→?refresh=true). Fixture already served bymcp-cli-harness.Validation
git diff --checkclean;npm run build:mcpclean.coverage-final.json: all added statements/functions hit;refreshternary arms are[1,1].mainat 96 tools).UI Evidence
N/A — local stdio MCP tool only; no UI surface changed.