OverviewFilesCommitsIssuesDocsReleasesPeers

pgh-sidecar commits / 9704593

overlay 0.3.0: extend OverlayProtocol (canonical) not the V2 alias
multi-repo-overlay-protocol.js: import { OverlayProtocol } from "hyper-overlay/protocol" and extend it. Same base class (the subclass only overrides _resolveFilePath + reads this._filePaths, both identical in 0.3.0), so no behavioural change. Kept the sidecar-local class name MultiRepoOverlayProtocolV2 (its own symbol; renaming it is cosmetic and cascades to 4 index.js sites). Other subpaths sidecar uses (/file-index, /sync-engine, /transfer) unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
97045930a0f6ee1def004805e2eba87ffc3b952a
by plankatron <fleeky@gmail.com> · 2026-07-11T20:37:59.000Z

Changed files (1) +2 -2

lib/multi-repo-overlay-protocol.js +2 -2
……@@ -18,9 +18,9 @@
1818 * channel lifecycle, and message handlers all come from upstream.
1919 */
2020
21import { OverlayProtocolV2 } from 'hyper-overlay/protocol-v2'
21import { OverlayProtocol } from 'hyper-overlay/protocol'
2222
23export class MultiRepoOverlayProtocolV2 extends OverlayProtocolV2 {
23export class MultiRepoOverlayProtocolV2 extends OverlayProtocol {
2424 constructor (syncEngine, transferManager, overlayManager, opts = {}) {
2525 super(syncEngine, transferManager, opts)
2626 this._overlayManager = overlayManager