Add mobile services, web proxy, and Gemma4 agent loop

- Mobile: add push notification and calendar sync services with full test suite (calendar, eventStore, notifications,
  screens)
- Mobile: add EAS build config and Jest setup
- Web: add API proxy, update useDestinationStation/useJourneys hooks, add middleware tests
- Web: update next.config and rebuild
- Agent: add Gemma4-based agent loop (agent_base, ttl_agent, ts_agent)
- Docs: add privacy policy, post-MVP plan, and aider rules
This commit is contained in:
2026-05-11 18:32:54 +02:00
parent 20159262c1
commit 5bcfafcbaf
120 changed files with 8626 additions and 860 deletions
+14
View File
@@ -3,6 +3,20 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
serverExternalPackages: ["node-ical"],
env: {
CORS_ALLOWED_ORIGINS: process.env.CORS_ALLOWED_ORIGINS,
DEPLOYMENT_URL: process.env.DEPLOYMENT_URL,
},
};
// Validate environment variables at build time
if (process.env.NODE_ENV === 'production') {
if (!process.env.CORS_ALLOWED_ORIGINS) {
throw new Error('Missing CORS_ALLOWED_ORIGINS environment variable in production');
}
if (!process.env.DEPLOYMENT_URL) {
throw new Error('Missing DEPLOYMENT_URL environment variable in production');
}
}
export default nextConfig;