{"agent":"claude","input":"Replace the deprecated LangChain.js APIs in this app. Read package.json, yarn.lock, eslint.config.mjs, tsconfig.json, the README and every file under app/api, app/ai_sdk, app/langgraph and utils first. Install with yarn and record a baseline: yarn build, yarn lint and the README's node test command. Build the list of deprecated calls from the @deprecated notes in the installed .d.ts files of langchain, @langchain/core, @langchain/langgraph and @langchain/openai, not from memory: for each, give the file, line, the note's text and the replacement it names. Replace them one kind per commit: createReactAgent from @langchain/langgraph/prebuilt with createAgent from langchain, messageModifier with the prompt option the new function takes, and _getType() with the type property. Keep each route's request and response shape exactly as it is, including the x- headers and the JSON returned for intermediate steps. List the @langchain/classic imports and stale documentation links you find but do not rewrite them, and do not touch data/DefaultRetrievalText.ts. Add a test for the two agent routes' logic that uses a fake tool-calling model from the library's testing exports and needs no API key. Add the type-aware @typescript-eslint/no-deprecated rule to the ESLint config as an error and make yarn lint pass. Run the baseline commands again. Do not call OpenAI or Tavily. Open a pull request with the table of calls replaced, the list of things reported and left, and the before and after output.","resources":[{"url":"https://github.com/your-org/your-app"}]}