You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the app root's package.json lacks "type": "module", b4 check reports success with 0 routes discovered instead of diagnosing the problem. The tsx loader yields CommonJS interop for the route modules, inferRouteKind returns null for each, and the routes are silently dropped. This is the most likely first-run failure for a new app root and it presents as "everything is fine".
Repro
New app root with routes/assistant.ts exporting an agent, package.json without "type": "module".
b4 check → 0 routes discovered, exit 0.
Proposal
Fail (or at least warn) when a file in routes/ yields no recognisable export, naming the file and the likely cause.
Detect the missing "type": "module" in the app root and report it explicitly.
Activity
fix(core): accept a BOM in the app root package.json, document the ch…
fix(check): diagnose CommonJS app roots instead of reporting 0 routes
fix(core): accept a BOM in the app root package.json, document the ch…
fix(check): diagnose CommonJS app roots instead of reporting 0 routes
fix(core): accept a BOM in the app root package.json, document the ch…
fix(check): diagnose CommonJS app roots instead of reporting 0 routes (…