Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(hub): send error response to unverified device instead of silent drop
yushenef9b5af2214a
diff --git a/src/hub/hub.ts b/src/hub/hub.tsindex 42da14c427..d8c027155f 100644--- a/src/hub/hub.ts+++ b/src/hub/hub.ts@@ -138,6 +138,11 @@ export class Hub {// Non-RPC messages also require verified deviceif (!this.deviceStore.isAllowed(msg.from)) {console.warn(`[Hub] Rejected message from unverified device: ${msg.from}`);+ this.client.send(msg.from, "error", {+ code: "UNAUTHORIZED",+ message: "Device not verified. Please complete verification first.",+ messageId: msg.id,+ });return;}