Contracts 1.4.0: crosscode.link/1 and a public key in the v2 heartbeat

- crosscode.link/1 (link.connect / link.connected / link.disconnect), with
  signLink / verifyLink, PEM conversion, link secrets and nonces.
- The v2 heartbeat can carry the install's publicKey; the reply says
  saved / matches / mismatch (Hub 2.2.0). Never a failed heartbeat.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 11:58:26 +02:00
co-authored by Claude Opus 5.5
parent 9d585c94aa
commit 4952e2cb0f
21 changed files with 595 additions and 5 deletions
@@ -107,6 +107,10 @@
"pendingMigrations"
]
},
"publicKey": {
"type": "string",
"pattern": "^-----BEGIN PUBLIC KEY-----.*"
},
"product": {
"type": "string",
"const": "events"
@@ -430,6 +434,10 @@
"pendingMigrations"
]
},
"publicKey": {
"type": "string",
"pattern": "^-----BEGIN PUBLIC KEY-----.*"
},
"product": {
"type": "string",
"const": "website"
@@ -641,6 +649,10 @@
"pendingMigrations"
]
},
"publicKey": {
"type": "string",
"pattern": "^-----BEGIN PUBLIC KEY-----.*"
},
"product": {
"type": "string",
"const": "app"
@@ -840,6 +852,10 @@
"pendingMigrations"
]
},
"publicKey": {
"type": "string",
"pattern": "^-----BEGIN PUBLIC KEY-----.*"
},
"product": {
"type": "string",
"const": "accounts"