{"agent":"claude","input":"Add full-text search to the users API in this Express and Mongoose app. Read package.json, src/models/user.model.js, src/models/plugins/paginate.plugin.js, src/models/plugins/toJSON.plugin.js, src/services/user.service.js, src/controllers/user.controller.js, src/validations/user.validation.js, src/routes/v1/user.route.js, src/config/config.js, tests/utils/setupTestDB.js, tests/fixtures/user.fixture.js and docker-compose.yml first. Add a text index on name and email to the user schema with name weighted higher, accept a q query parameter on GET /v1/users validated with Joi, turn it into a $text filter in the controller, and make the paginate plugin sort by textScore when a text filter is present and no sortBy is given, without exposing the score in responses. Update the Swagger comment for the route. Install Docker in the sandbox, start the mongo image docker-compose.yml names, set the variables from .env.example, add integration tests for a matching search, an empty result and an empty q, add a unit test for the score sort, and run yarn lint and yarn test. Open a pull request that explains how the tokeniser treats an email address and shows the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}