{"agent":"claude","input":"The build script in this repository fails with TypeError: marked is not a function after marked was upgraded. Install from the lock file first and record what the script does on the old release, including any failure that is unrelated to marked. Then install the current marked, reproduce the error and quote it. Read the installed package to confirm the named export, and list every option and call form the script uses that the current release no longer honours: the callback argument, highlight, smartypants, mangle, headerIds, sanitize. For each, say whether it is ignored silently or throws, and port it: the named export or a Marked instance, parse with await, and the marked-highlight and marked-smartypants extensions where the script used those options. If the syntax highlighter the script shells out to no longer runs, replace it with one that keeps the same CSS classes the template's stylesheet expects, and say which. Rebuild the page, compare the new output with the committed one by counting headings, code blocks, highlighted spans and smart quotes, and report the differences with a reason for each. Pin marked and the extensions, set the engines field to the Node version marked requires, and open a pull request with the old-run output, the error, the diff and the comparison.","resources":[{"url":"https://github.com/your-org/your-app"}]}