feat(mcp): add TODO for version checking

This commit is contained in:
Simon
2026-03-18 03:31:38 +08:00
parent 31c496cc65
commit 2917941b13

View File

@@ -96,6 +96,8 @@ export class HubBridge {
} }
} }
// TODO: Add version checking
/** @param {import('ws').WebSocket} ws */ /** @param {import('ws').WebSocket} ws */
#onConnection(ws) { #onConnection(ws) {
if (this.#hub && this.#hub.readyState === 1) { if (this.#hub && this.#hub.readyState === 1) {