Monorepo for Aesthetic.Computer aesthetic.computer

/api/ask: import it the way a CommonJS file can master

The gate landed as a static `import` at the top of a file whose first line is `require("@netlify/functions")`. Mixing the two does not throw — the module simply fails to load, and lith answers "Function not found: ask" with a 404, so make, paint, translate and the prompt system went quiet rather than erroring. Dynamic `import()` inside the handler is legal in CommonJS and resolves the same module. Deployed and checked against production this time, which is what should have happened before. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A1xZ1BonXHyds6EzF5H9Hb


+5 -2
1 changed file