mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-11-01 04:38:31 +08:00
Move serverUrls helper into Kilo-owned src/kilocode/cli/ so it is exempt from the annotation checker. Update all imports accordingly. Mark the remaining Kilo-specific lines in shared upstream files with kilocode_change markers: server.ts (Listener.urls field, import, and call sites), serve.ts and web.ts (unified URL display blocks). Remove the circular self-import of ./server in server.ts that was masking the intended upstream export. Use server.urls directly in serve.ts and web.ts to avoid a redundant networkInterfaces() call now that the Listener already carries the precomputed values. Drop the incomplete 172.x.x.x Docker heuristic from getNetworkIPs() and fall back to state.urls in console.ts for consistency.