{"agent":"claude","input":"Starting the webpack dev server in this repository fails with: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options has an unknown property 'contentBase'. Read package.json and the lockfile if there is one, and report the installed versions of webpack, webpack-cli and webpack-dev-server and every script that starts the dev server (webpack serve, webpack-dev-server, or a Node script that constructs the server). If no script starts it, say so. Find every webpack config, including ones merged with webpack-merge, and list each key under devServer. Install dependencies, run the dev server, and save the full error including the list of valid properties it prints. Rewrite the devServer block for the installed major version using that list: contentBase and its related options to static, middleware options to devMiddleware, client options to client, removed hooks to setupMiddlewares. Do not downgrade webpack-dev-server. After each change start the server again until it prints its listening address, then fetch the main bundle and the index page once and stop it. Report every warning the server prints at startup and fix the ones caused by the config, such as a HotModuleReplacementPlugin added by hand next to hot: true. Check that every static directory named in the config exists and report any that does not. Run the production build and the test script before and after to show they are unchanged. Open a pull request with a before and after table of the devServer options and the startup output.","resources":[{"url":"https://github.com/your-org/your-app"}]}