@debugai/mcp 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -3
- package/dist/tools/reportOutcome.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -133,6 +133,8 @@ call report_outcome so the project's error memory stays accurate.
|
|
|
133
133
|
|
|
134
134
|
You do not need this package. The [DebugAI extension](https://marketplace.visualstudio.com/items?itemName=debugai.debugai) registers the MCP server automatically (VS Code 1.101+) and adds one-click fix apply, proactive scan, and codebase indexing on top. It is on [Open VSX](https://open-vsx.org/extension/debugai/debugai) too, for Cursor, Windsurf, and VSCodium.
|
|
135
135
|
|
|
136
|
+
The two servers are the same protocol surface and are kept in step by a test that reads both copies as text, because a comment saying "keep these in sync" has failed here before. From extension 2.8.1 the bundled server also does local source resolution, which this package has had since 2.2.0. Until then, an agent on the bundled server that pasted a traceback into a workspace nobody had indexed still got "Insufficient context for specific fix" at 20% confidence, which is the exact answer this feature exists to remove.
|
|
137
|
+
|
|
136
138
|
## Manual setup
|
|
137
139
|
|
|
138
140
|
`setup` covers this, and `install --client=<id>` covers the case where a client is installed somewhere unusual. If you would still rather edit the file yourself, the entry is the same everywhere:
|
|
@@ -197,6 +199,7 @@ Then run `npx -y @debugai/mcp login` once to store your key. If you would rather
|
|
|
197
199
|
- Simple errors route to a fast model. Ugly cross-file ones route to a stronger one on paid tiers. The `Model:` badge in each response tells you which one answered.
|
|
198
200
|
- Analyses run on DebugAI's servers. The error text, any snippet you pass, and — since 2.2 — the project source files the stack trace names are sent there, and Claude (Anthropic) does the analysis. The response lists every file that was read. Scope and limits are spelled out under [`debug_error`](#it-reads-the-source-the-trace-names-22). Privacy policy: [debugai.io/privacy](https://debugai.io/privacy?src=npm).
|
|
199
201
|
- Errors are remembered per project so a repeat hit starts from a fix that was already confirmed. The project identity is a hash of your repo root path; the path itself is never sent.
|
|
202
|
+
- The VS Code extension reads the project's `requirements.txt`, `pyproject.toml` and `package.json` and the interpreter the editor has selected, which is what lets it tell "not installed" apart from "installed under a different interpreter". This server sends none of that, so on a missing-module error you get the general answer and the check to run, not a verdict. You have a shell and it does not, so the honest division is that you run the check. Reporting those facts back through this server is planned.
|
|
200
203
|
|
|
201
204
|
## Troubleshooting
|
|
202
205
|
|
|
@@ -211,9 +214,36 @@ Run `npx -y @debugai/mcp doctor` first. It checks your Node version, whether a k
|
|
|
211
214
|
|
|
212
215
|
**Note on updates**: the analysis runs on DebugAI's servers, so improvements to
|
|
213
216
|
error parsing, retrieval and root-cause quality reach you without upgrading this
|
|
214
|
-
package.
|
|
215
|
-
|
|
216
|
-
|
|
217
|
+
package. Client releases are only for things that change on your machine.
|
|
218
|
+
|
|
219
|
+
Recent server-side work, all of it live for agents already:
|
|
220
|
+
|
|
221
|
+
- `ModuleNotFoundError` no longer opens with an install command. A read of every
|
|
222
|
+
one we had answered found five of eight rejected by the agent that received
|
|
223
|
+
them, for three different causes needing three different fixes: the package
|
|
224
|
+
was installed under another interpreter, the name was a local file, or the
|
|
225
|
+
import line was malformed. Rank 1 is now the check that tells those apart.
|
|
226
|
+
- A Python `SyntaxError` is no longer diagnosed as a JavaScript one, and the
|
|
227
|
+
framework is read from the error text rather than from what the repository
|
|
228
|
+
contains.
|
|
229
|
+
- Operating-system errors (`Access is denied.`, `No space left on device`) are
|
|
230
|
+
recognised as errors. Thirty were probed and twenty-eight had been refused.
|
|
231
|
+
- Credentials in the text you send are replaced before anything is stored or
|
|
232
|
+
reaches a model.
|
|
233
|
+
- pytest, unittest, jest, vitest and mocha output yields real file paths, so a
|
|
234
|
+
failing test gets cross-file context instead of none.
|
|
235
|
+
|
|
236
|
+
**2.4.0**: `report_outcome` gains `unused`. An agent that solved the problem its
|
|
237
|
+
own way had to report `failed`, which marks a fix as tried and beaten when
|
|
238
|
+
nothing of ours was ever run. Both tool surfaces, the npm server and the one
|
|
239
|
+
bundled in the VS Code extension, now take the same fields.
|
|
240
|
+
|
|
241
|
+
**2.3.0**: agents get the same four memory states the editor panel does.
|
|
242
|
+
`debug_error` had two branches, and a fix that had been tried and kept failing
|
|
243
|
+
read identically to one nobody had tried. To an agent those are the same
|
|
244
|
+
sentence, so the natural next move is to propose the fix that already did not
|
|
245
|
+
work. The four states now match the panel: confirmed and verified, confirmed,
|
|
246
|
+
unproven, and anti-pattern.
|
|
217
247
|
|
|
218
248
|
**2.2.0**: two things that were advertised but not delivered.
|
|
219
249
|
|
|
@@ -58,8 +58,8 @@ export function registerReportOutcome(server, config) {
|
|
|
58
58
|
.describe('"worked" = you applied a DebugAI fix and the error stopped. ' +
|
|
59
59
|
'"failed" = you applied one and it did not help (or made things worse). ' +
|
|
60
60
|
'"unused" = you did not apply any of them and resolved it another way. ' +
|
|
61
|
-
'Use "unused" rather than "failed" when nothing of ours was actually run
|
|
62
|
-
'
|
|
61
|
+
'Use "unused" rather than "failed" when nothing of ours was actually run. ' +
|
|
62
|
+
'They are different facts and reporting the wrong one buries a fix nobody tried.'),
|
|
63
63
|
fixRank: z
|
|
64
64
|
.number()
|
|
65
65
|
.int()
|
|
@@ -77,7 +77,7 @@ export function registerReportOutcome(server, config) {
|
|
|
77
77
|
.max(4000)
|
|
78
78
|
.optional()
|
|
79
79
|
.describe('What actually resolved the error, when it was not the fix DebugAI suggested. ' +
|
|
80
|
-
'Free text. Say what the real cause turned out to be and what you changed
|
|
80
|
+
'Free text. Say what the real cause turned out to be and what you changed, ' +
|
|
81
81
|
'especially if the cause was in a different layer than the answer addressed ' +
|
|
82
82
|
'(the shell, the runtime version, the environment, a missing package).'),
|
|
83
83
|
toolFeedback: z
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@debugai/mcp",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"mcpName": "io.github.1shizaan/debugai-mcp",
|
|
5
5
|
"description": "DebugAI MCP server. One command sets it up in Claude Desktop, Claude Code, Cursor, Zed, Windsurf, Cline or any MCP client: browser sign-in, no key pasting, no config editing.",
|
|
6
6
|
"license": "MIT",
|