Hub 2.12.0: one product uninstalled at a time, stale installs removed, customers archived

- Uninstalls name the product (agent 1.5.0); a whole-church uninstall marks every product
  of the church on that server removed. Older agents are refused while the church has others.
- A second product's uninstall joins one already planned (one export and one uninstall) or
  gets its own time; the last product removes the whole church. Accounts goes last.
- Remove an install from the Hub after 24 hours without a heartbeat (POST .../forget).
- Archive and restore customers (migration 20261123090000_customer_archive).
- Several addresses for a customer's email and billing email, with a + button.
- Statements show R0 invoices' amounts. Vendors contracts 1.16.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-23 09:17:35 +02:00
co-authored by Claude Opus 5.5
parent f3bee827e5
commit 3a00271a02
25 changed files with 683 additions and 61 deletions
+6 -6
View File
@@ -1,16 +1,16 @@
{
"name": "events-hub-backend",
"version": "2.11.0",
"version": "2.12.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "events-hub-backend",
"version": "2.11.0",
"version": "2.12.0",
"hasInstallScript": true,
"dependencies": {
"@anthropic-ai/sdk": "^1.3.0",
"@crosscode/contracts": "file:vendor/crosscode-contracts-1.15.0.tgz",
"@crosscode/contracts": "file:vendor/crosscode-contracts-1.16.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.15.0",
"resolved": "file:vendor/crosscode-contracts-1.15.0.tgz",
"integrity": "sha512-NZI53pUP1SpYcWRwH3OeGSvwmf9+v5EPkSG2hwPnhCPUsKYnCHLW/aUCJUHKAB+oQRnJ6SRGR2kxEEnc/8OD+A==",
"version": "1.16.0",
"resolved": "file:vendor/crosscode-contracts-1.16.0.tgz",
"integrity": "sha512-pqqrBS6stQquM+NUW22pb8Z6g4w7HG4fPZozZgp1FC79eT/0/V6VjrmFUcsIasF+RVgl6oug2Spxbq0cx6FUuw==",
"license": "UNLICENSED",
"dependencies": {
"zod": "^4.6.7"