chore(mcp): convert lib/local-branch to TypeScript - #7413
chore(mcp): convert lib/local-branch to TypeScript#7413lourincedaging0-commits wants to merge 1 commit into
Conversation
Phase 2 of the packages/loopover-mcp TypeScript migration (JSONbored#7291): port lib/local-branch.js to lib/local-branch.ts, compiled in place by the tsc pipeline landed in Phase 1. Runtime behavior and the public export surface are unchanged; the shipped lib/local-branch.js is now compiler-emitted. Closes JSONbored#7329
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7413 +/- ##
===========================================
- Coverage 91.22% 80.83% -10.40%
===========================================
Files 716 84 -632
Lines 72801 22642 -50159
Branches 20885 3648 -17237
===========================================
- Hits 66414 18302 -48112
+ Misses 5347 4162 -1185
+ Partials 1040 178 -862
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
Caution 🛑 LoopOver review result - reject/close recommendedReview updated: 2026-07-20 08:14:39 UTC
Review summary Blockers
Nits — 8 non-blocking
Why this is blocked
📋 Copy for AI agents — paste into your coding agentCI checks failing
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
Test coverage
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
LoopOver is closing this pull request on the maintainer's behalf (CI is failing (validate, validate-tests-merge, validate-code); AI reviewers agree on a likely critical defect: packages/loopover-mcp/lib/local-branch.ts imports `join` from "node:path" (line 3) but the function body never calls it — that's a live unused-import that a `noUnusedLocals`/`no-unused-vars` check will reject, which is consistent with this commit's validate-code and validate checks failing.). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Phase 2 of the
packages/loopover-mcpTypeScript migration (#7291), building on the tsc build pipeline that landed in Phase 1 (#7409).What
Port
lib/local-branch.js→lib/local-branch.ts. The tsconfigincludeglob (lib/**/*.ts) picks the new source up automatically, and it compiles in place tolib/local-branch.js(inline source map, no.d.ts) — exactly the layout the package already ships, so no consumer import path changes.Behavior
Runtime behavior and the public export surface are unchanged — every exported function keeps its name and semantics, and
bin/loopover-mcp.jsconsumes the compiled.jsexactly as before. The shippedlib/local-branch.jsis now compiler-emitted rather than hand-maintained. Types were added at the process/JSON boundaries as open records (matching the existing convertedlib/files), keeping the strict build clean without narrowing the dynamic scorer/git-diff shapes.Closes #7329