ac5c9f645d
Ahoy! The old code be walkin' the plank on Windows, ARRRR! 🏴☠️ The Problem (a cursed treasure map): - LSP returns URIs like file:///C:/path/to/file.ts - Old code: uri.replace("file://", "") produces /C:/path (INVALID on Windows!) - Windows needs the leadin' slash removed after file:/// The Fix (proper pirate navigation): - Import fileURLToPath from node:url (the sacred scroll) - Add uriToPath() helper function (our trusty compass) - Replace all 10 occurrences of .replace("file://", "") This matches how the OpenCode mothership handles it in packages/opencode/src/lsp/client.ts Now Windows users can sail the LSP seas without crashin' on the rocks! 🦜