singularity-forge/packages
Tom Boucher ab0bb9dece fix(extensions): detect TypeScript syntax in .js extension files and suggest renaming to .ts (#2386)
When a user creates a .js extension file but writes TypeScript syntax in it,
the loader now detects common TS patterns (type annotations, interfaces, enums,
generics) and provides a clear error message suggesting to rename the file to
.ts, instead of the previous cryptic "Extension does not export a valid factory
function" or opaque jiti parse errors.

Fixes #2381

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 13:12:36 -06:00
..
native feat(gsd): unified rule registry, event journal, journal query tool, and tool naming convention (#1928) 2026-03-21 18:47:41 -06:00
pi-agent-core fix(footer): display active inference model during execution (#1982) 2026-03-22 17:06:49 -06:00
pi-ai fix(pi-ai): restore alibaba-coding-plan provider via models.custom.ts (#2350) 2026-03-24 07:19:27 -06:00
pi-coding-agent fix(extensions): detect TypeScript syntax in .js extension files and suggest renaming to .ts (#2386) 2026-03-24 13:12:36 -06:00
pi-tui fix(tui): prevent freeze when using @ file finder (#1832) 2026-03-21 12:55:12 -06:00