{"agent":"claude","input":"Upgrade TypeORM in this repository from 0.2 to the newest 0.3 release. Read package.json, the lockfile, every module that configures TypeORM, any ormconfig file or example, every entity, every service or repository that calls find, findOne, delete, getRepository, getConnection or createQueryBuilder, the auth code that loads a user by id, and the tests first. Check on npm which versions of the framework's TypeORM integration accept TypeORM 0.3 and what else they require, and state the full set of packages that must move together before changing anything. Install a MySQL-compatible server from system packages, create the database and the config the app expects, and record build and test results as the baseline; list anything that already fails. Upgrade the packages. Replace config-file loading with one DataSource options module read from environment variables and used by both the app and the TypeORM CLI. Rewrite every 0.2-style find and findOne call to findBy, findOneBy or an options object with where; do this by reading every call site, including ones with untyped arguments the compiler cannot check, and list them. Replace global getRepository, getConnection and getManager calls with injected ones. Make sure no lookup can run with a missing id: validate ids before querying and set invalidWhereValuesBehavior so that a where condition with no value throws. Add tests against the real database for each rewritten query, including that a missing id finds nothing. Do not turn synchronize on or off and do not go on to TypeORM 1.x; list what that would need as a follow-up. Open a pull request with the package set, the list of rewritten calls and the build and test output from before and after.","resources":[{"url":"https://github.com/your-org/your-app"}]}