{"agent":"claude","input":"Replace the shortid package with nanoid in this JavaScript app. Read package.json, the lock file entry for shortid including any deprecated field and its own dependencies, .nvmrc and the engines field. List every use of shortid: generate, isValid, characters, seed and worker. If anything other than generate is used, stop and report it, because nanoid has no equivalent for those. For each generated id, trace where the value goes: state, local storage, a database key or path, a URL, a React key or effect dependency. Report anything that parses the id, checks its length or pattern, or validates it in database rules. Write a script that generates ids with both libraries and prints the set of characters and the range of lengths each produces, and check those characters against the rules of every place the ids are stored. Choose the newest nanoid major whose engines range includes the project's Node version and say which range excluded the newer one. Keep nanoid's default length unless a consumer needs the old length; say how to shorten it. Make the change, run npm install, and show that shortid and any nanoid copy it pulled in are no longer in the lock file. Do not move id generation to a different place in the code, even if it sits in a reducer; report that separately. Run the lint script and a production build and include their output. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}