Urgent.News

What's breaking now, across thousands of outlets.

AI

ErrorCopy: AI Error Explainer

Originally published at gidadomukhta.me . Install it from the VS Code Marketplace or read the source on GitHub . Most error messages are only half the story. A TypeScript message such as "Type 'string' is not assignable to type 'number'" tells you that two types disagree, but not which value caused it, which call produced it, or what the code around it is doing. To get a useful answer from an AI…

ErrorCopy: AI Error Explainer is a VS Code extension designed to simplify the process of obtaining useful information from AI assistants when debugging TypeScript-related errors. Instead of manually copying error messages and pasting them into a chat window, the extension automates this step by reading diagnostic information directly from VS Code's language diagnostics API.

This ensures that the full context of the error is captured, including the diagnostic message, severity, source, code range, related information, selected text, surrounding code, language identifier, and line number.

The extension provides two commands, Copy Error with Context and Explain This Error, both of which generate a Markdown prompt containing the collected information. The prompt is then sent to an AI tool of the user's choice, such as GitHub Copilot, Claude, or ChatGPT. The output can be viewed within the editor using VS Code's Language Model API for Copilot or opened in a browser for other AI providers. In case Copilot is not available, the prompt is kept on the clipboard for the user to paste manually.

Privacy is a key concern for ErrorCopy, and the extension takes steps to protect user data. It masks common secret patterns like API keys, tokens, passwords, and Bearer credentials before sending the prompt. The extension also excludes file paths by default to prevent the unintentional disclosure of sensitive information such as usernames, company names, or private repository layouts. Users can choose to include file paths in the prompt by enabling a specific setting.

The extension supports three types of AI providers: Copilot, browser-based providers, and Stack Overflow. Copilot offers the most integrated experience but is limited to users with a subscription and signed-in VS Code account. Browser-based providers require a manual step, while Stack Overflow provides a non-AI alternative by searching for common errors using the diagnostic text. This multi-approach design allows ErrorCopy to cater to a wide range of users and scenarios without depending on a single AI vendor.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

What broke when I put an AI voice agent on real phone lines

I build AI phone agents for home service companies. A voice agent (Retell) answers the call, and n8n workflows do the work behind it: checking a calendar, booking, writing to the CRM.

  • AI voice agents struggled to determine business open/closed status accurately.
  • Agent incorrectly claimed booked appointments, causing caller inconvenience.
  • Dead air during tool calls lasted up to 27 seconds, frustrating callers.

Node.js Storage Pattern for AI-Generation Apps: Private Originals, Thumbnails, and Expiry

Short answer: use private object storage with a tenant-owned key namespace, keep originals and derived images as separate records, issue short-lived signed links, and make deletion a state transition…

  • Use private object storage with tenant-owned key namespace for AI image-generation apps.
  • Organize images in predictable hierarchy with tenant, asset, and variant IDs.
  • Implement disciplined deletion with row status, enqueueing, and idempotent object removal.

European Commission Confirms AI-Assisted ARTEX Hack That Took HR Systems Offline for 10 Days

For more than a week, European Commission staff could not check a payslip, file for leave, submit a timesheet or claim a medical reimbursement through the internal platforms they normally rely on. The outage was not caused by a budget dispute or a migration gone wrong.

  • European Commission's HR systems offline for 10 days due to AI-assisted hack.
  • Attack exploited open-source AI-powered penetration-testing tool ARTEX.
  • Commission acknowledged incident on November 19, 2026, after services restored.

More from Friday 20 November →