feat(journey): complete sharing, photo drafts and Studio maps

Connect the Journey backend to the web and mobile UI, including public access and subscriptions, day recordings, photo drafts and per-map framing. Preserve legacy recording responses and cover the new behavior in every locale.
This commit is contained in:
Maurice
2026-11-30 16:55:22 +01:00
parent 458227f489
commit ede109dce8
90 changed files with 5306 additions and 292 deletions
@@ -116,13 +116,11 @@ describe('MCP tool input schemas', () => {
it('MCP-SCHEMA-004: the page edit and the design revision, which take every page operation, stay under their ceiling', () => {
// Every element kind's add and style operation widen the op union; the design's
// revision takes the same ops. A layout's undo takes its layout as JSON text, so it stays small.
// Measured at about 45 400 since a map's scope (country, day, stop), its own view and its coast
// (book schema revision 12), up from 44 600, with the scope and the view each checked whole to stay small.
const sizeOf = (tool: string) =>
JSON.stringify([...schemas].find(([key]) => key.endsWith(`#${tool}`))?.[1] ?? null).length;
for (const tool of ['edit_book_page', 'revise_book_design']) {
expect(sizeOf(tool)).toBeGreaterThan(10_000);
expect(sizeOf(tool)).toBeLessThan(46_000);
expect(sizeOf(tool)).toBeLessThan(45_000);
}
expect(sizeOf('restore_book_layout')).toBeLessThan(2_000);
});