Hub 2.2.0: a public key on the v2 heartbeat, Clear public key

Installs that registered with protocol v1 move to v2 by sending their
public key on a signed v2 heartbeat: saved / matches / mismatch, never a
failed heartbeat. Clear public key (2FA again) for a rebuilt server.
Contracts 1.4.0 vendored; hub-protocol.md §6 updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 12:05:59 +02:00
co-authored by Claude Opus 5.5
parent 7428337aa5
commit 106d71e566
11 changed files with 158 additions and 14 deletions
+6 -6
View File
@@ -1,16 +1,16 @@
{
"name": "events-hub-backend",
"version": "2.1.1",
"version": "2.2.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "events-hub-backend",
"version": "2.1.1",
"version": "2.2.0",
"hasInstallScript": true,
"dependencies": {
"@anthropic-ai/sdk": "^1.3.0",
"@crosscode/contracts": "file:vendor/crosscode-contracts-1.3.0.tgz",
"@crosscode/contracts": "file:vendor/crosscode-contracts-1.4.0.tgz",
"@prisma/adapter-pg": "^7.10.1",
"@prisma/client": "^7.10.1",
"bcryptjs": "^2.4.3",
@@ -609,9 +609,9 @@
"license": "MIT"
},
"node_modules/@crosscode/contracts": {
"version": "1.3.0",
"resolved": "file:vendor/crosscode-contracts-1.3.0.tgz",
"integrity": "sha512-T9RVPg3WDhqvEldqToPfp/6HSce0K26BGNvbM0Ksz8uvteXk/OfdARF3mwlDMcmsrp32pQ4w5D62GMTziuSX8A==",
"version": "1.4.0",
"resolved": "file:vendor/crosscode-contracts-1.4.0.tgz",
"integrity": "sha512-MY0Y5P6vIiepOUqZx6wBXeoD4apo1kfM9JhyFl0Dmxsn0HRH9uxkpCQu/5mL71JQS4MildBRg6hGc0B/ijJILw==",
"license": "UNLICENSED",
"dependencies": {
"zod": "^4.6.7"