- docker-compose.relay.yml: default MESH_ONLY=true with the Infonet sync
workers kept on (SHADOWBROKER_MESH_NODE_RUNTIME=true), like meshnode.sh.
Measured: the full backend takes 37 s to answer and settles around 1.5 GB
RSS at 30-50% CPU; mesh-only answers in 3 s at about 145 MB. The relay's
2 GB limit left the full mode little headroom. Both stay overridable
from .env.
- Next.js 16.2.7 -> 16.3.8: fixes the App Router proxy bypass advisory;
proxy.ts is the CSRF boundary for privileged API routes.
- PostCSS override 8.5.15 -> 8.5.28: fixes the source-map path traversal
advisories. npm audit (production) now reports only maplibre-gl, whose
fix needs a major upgrade; the app does not pass HTML to MapLibre.
- Next 16.3 type-checks every file tsconfig includes, so test-only typing
errors failed the build; build against tsconfig.build.json (tests
excluded) as before. Tests remain type-checked by Vitest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
Renames src/middleware.ts to src/proxy.ts per Next.js 16 deprecation guidance. CSP nonce behavior is unchanged; build no longer emits the middleware warning.
Co-authored-by: Cursor <cursoragent@cursor.com>
Gate messages now propagate via the Infonet hashchain as encrypted blobs — every node syncs them
through normal chain sync while only Gate members with MLS keys can decrypt. Added mesh reputation
system, peer push workers, voluntary Wormhole opt-in for node participation, fork recovery,
killwormhole scripts, obfuscated terminology, and hardened the self-updater to protect encryption
keys and chain state during updates.
New features: Shodan search, train tracking, Sentinel Hub imagery, 8 new intelligence layers,
CCTV expansion to 11,000+ cameras across 6 countries, Mesh Terminal CLI, prediction markets,
desktop-shell scaffold, and comprehensive mesh test suite (215 frontend + backend tests passing).
Community contributors: @wa1id, @AlborzNazari, @adust09, @Xpirix, @imqdcr, @csysp, @suranyami,
@chr0n1x, @johan-martensson, @singularfailure, @smithbh, @OrfeoTerkuci, @deuza, @tm-const,
@Elhard1, @ttulttul
Previously, NEXT_PUBLIC_API_URL was a build-time Next.js variable, making
it impossible to configure the backend URL in docker-compose `environment`
without rebuilding the image.
This change introduces a proper server-side proxy:
- next.config.ts: adds a rewrite rule that forwards all /api/* requests
to BACKEND_URL (read at server startup, not baked at build time).
Defaults to http://localhost:8000 so local dev works without config.
- api.ts: API_BASE is now an empty string — all fetch calls use relative
/api/... paths, which the Next.js server proxies to the backend.
- docker-compose.yml: replaces NEXT_PUBLIC_API_URL build arg with a
runtime BACKEND_URL env var defaulting to http://backend:8000, using
Docker's internal networking. Port 8000 no longer needs to be exposed.
- README: updates Docker setup docs, standalone compose example, and
environment variable reference to reflect BACKEND_URL.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Former-commit-id: b4c9e78cdd