@next/codemod agents-md writes docs `root` relative to cwd instead of `--output` directory
The @next/codemod agents-md command computes the docs root path relative to the current working directory rather than the directory of the `--output` AGENTS.md file. In monorepos where the output file is at a different location (e.g. repo root) and Next.js is installed only in a workspace package, the generated root path is broken, causing agent tools to read nonexistent documentation paths.
