{"agent":"claude","input":"Upgrade chart.js from 2.x to the current 4.x in this repository and fix everything that breaks. Read package.json, the lock file, and every file under src that imports chart.js or uses the Chart namespace types first, and run the existing build to have a baseline. After upgrading, remove @types/chart.js, run tsc and fix every error it reports; then reproduce the runtime error (\"line\" is not a registered controller, then \"category\" is not a registered scale) and fix it by registering exactly the controller, elements and scales this app uses, not by importing chart.js/auto, unless the app renders more than one chart type. Port the v2 options (tooltips, scales arrays, gridLines) to their v4 names and keep each axis id. Rewrite any dynamic default import of chart.js to the named export. Run tsc and the build until both pass, and open a pull request that lists every option rename against the line it came from and quotes the runtime errors you reproduced.","resources":[{"url":"https://github.com/your-org/your-app"}]}