fix: remove import.meta.url banner from CJS files run by Node.js

The MCP server (#!/usr/bin/env node) and context generator run under
Node.js, where import.meta.url throws SyntaxError in CJS mode. Only
the worker-service needs the banner since it runs under Bun.

CJS files under Node.js already have __dirname/__filename natively.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alex Newman
2026-03-28 18:32:43 -07:00
parent 80d1deedbe
commit 0321f4266d
4 changed files with 3 additions and 16 deletions
File diff suppressed because one or more lines are too long