Copilot issues:
- Add missing 'import $ from jquery' to backend-api.ts
- Add contentType: 'application/json' to popularArguments (missing vs compile/compileCMake)
- Use makeError() in shortenUrl for consistent structured error messages
- Fix getAssemblyDocumentation: check response.ok before parsing JSON body
to handle non-JSON error responses (e.g. HTML proxy error pages)
Behavioural discrepancies vs original noted and accepted:
- editor.ts now sends tabWidth + useSpaces to format endpoint (strict
improvement; consistent with formatter-registry.ts which always sent them)
- editor.ts HTTP format error now shows HTTP status/statusText rather than
attempting to parse xhr.responseText for an answer field; acceptable as
the format endpoint returns HTTP 200 in all non-network-error cases
🤖 Generated by LLM (Claude, via OpenClaw)