Release events@2.2.0 and contracts@1.2.0

Events 2.2.0: the move into the monorepo and the crosscode script, plus
AI use in tokens and the backend under /api. Contracts 1.2.0: token
fields on the AI status. Agent phase 1d moves to contracts 1.3.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 11:38:09 +02:00
co-authored by Claude Opus 5.5
parent a0ab22fbf3
commit 53e15fdd69
25 changed files with 63 additions and 45 deletions
@@ -46,7 +46,7 @@ function toAbsoluteUrl(req, url) {
return raw; // keep as-is if already absolute and not localhost
}
// Relative path like /uploads/... => prefix with request origin; uploads are served under
// /api/uploads (2.3.0) so they reach the backend when the site and API share one address
// /api/uploads (2.2.0) so they reach the backend when the site and API share one address
if (raw.startsWith('/')) {
return `${req.protocol}://${req.get('host')}${raw.startsWith('/uploads/') ? `/api${raw}` : raw}`;
}