Problem
#7291 proposed migrating packages/loopover-mcp to TypeScript, phased by file size. This is Phase 2:
lib/local-branch.js (592 lines) -- substantial enough to be its own batch, smaller and lower-risk
than bin/loopover-mcp.js (Phase 3).
Proposal
Convert lib/local-branch.js from .js to .ts, building on Phase 1's (#7328) build pipeline.
No existing .d.ts to remove -- this package has none.
Deliverables
Test Coverage Requirements
No behavior change from this migration alone. Existing tests must continue to pass unmodified.
Expected Outcome
local-branch.js is real TypeScript, clearing the way for #7291's Phase 3 (bin/loopover-mcp.js).
Links & Resources
Problem
#7291 proposed migrating packages/loopover-mcp to TypeScript, phased by file size. This is Phase 2:
lib/local-branch.js(592 lines) -- substantial enough to be its own batch, smaller and lower-riskthan
bin/loopover-mcp.js(Phase 3).Proposal
Convert
lib/local-branch.jsfrom.jsto.ts, building on Phase 1's (#7328) build pipeline.No existing
.d.tsto remove -- this package has none.Deliverables
lib/local-branch.jsconverted from.jsto.tsTest Coverage Requirements
No behavior change from this migration alone. Existing tests must continue to pass unmodified.
Expected Outcome
local-branch.jsis real TypeScript, clearing the way for #7291's Phase 3 (bin/loopover-mcp.js).Links & Resources