{"agent":"claude","input":"A script in this repository fails with: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension \".ts\". Read package.json and report the \"type\" field, the engines field, every script that calls ts-node (or ts-node-dev, or nodemon with ts-node), and the ts-node and typescript versions in the lockfile. Read tsconfig.json and report module, moduleResolution and any \"ts-node\" block. Install dependencies from the lockfile and run each of those scripts; save the full error and the Node version that produced it. Then repeat on every Node major version the engines field or the CI matrix allows, installing each with a version manager, because newer Node releases load .ts files differently and the error text changes. Do not remove \"type\": \"module\" and do not rename source files to .cts or .mts. Fix the scripts instead: try ts-node --esm, node --loader ts-node/esm, node --import with register(), and tsx, and keep the one that starts cleanly on every supported Node version with the fewest new dependencies. If relative imports use .js specifiers for .ts files, make sure the chosen command resolves them. If the entry point is a long-running server, start it with stdin held open, confirm it stays up for ten seconds and answers one request, then stop it. Run the build and the test script before and after and report any difference. Open a pull request whose description has a table of command, Node version and result for everything you tried, and says which Node versions you could not test.","resources":[{"url":"https://github.com/your-org/your-app"}]}