consult-mcp 1.0.2 → 1.0.3

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 CHANGED
@@ -241,6 +241,13 @@ Releases: bump `version` in `package.json`, then push a matching tag (`git tag v
241
241
 
242
242
  The landing page is in [`site/`](site) and deploys to [getconsult.dev](https://getconsult.dev) on Vercel. The old address, consult.n3el.dev, redirects there.
243
243
 
244
+ ## Reporting bugs
245
+
246
+ 1. Run `npx -y consult-mcp@latest doctor` and copy its output. It shows the consult version, your platform, each agent CLI and what's misconfigured, with your home directory as `~`.
247
+ 2. [Open a bug report](https://github.com/neelsatyavolu/consult/issues/new?template=bug_report.yml) and paste it in.
248
+
249
+ Security problems go to [private vulnerability reporting](https://github.com/neelsatyavolu/consult/security/advisories/new) instead (see [SECURITY.md](SECURITY.md)).
250
+
244
251
  ## License
245
252
 
246
253
  [MIT](LICENSE)
package/dist/cli.js CHANGED
@@ -250,7 +250,8 @@ async function doctorCommand(argv) {
250
250
  },
251
251
  ...(values.ask ? { ping: (agent) => ask({ agent, question: "Reply with the single word OK.", cwd: homedir(), effort: "low" }) } : {}),
252
252
  });
253
- process.stdout.write(`consult ${VERSION}\n\n${formatChecks(checks)}\n`);
253
+ const platform = `${process.platform} ${process.arch}, node ${process.version}`;
254
+ process.stdout.write(`consult ${VERSION} (${platform})\n\n${formatChecks(checks, homedir())}\n`);
254
255
  if (checks.some((c) => c.status === "fail"))
255
256
  process.exitCode = 1;
256
257
  }
package/dist/doctor.js CHANGED
@@ -76,12 +76,14 @@ export async function diagnose(deps) {
76
76
  return [nodeCheck(deps.nodeVersion), ...agentChecks, ...registrations, ...settingsChecks(deps, registered), ...agy, ...pings];
77
77
  }
78
78
  const MARKS = { ok: "✓", warn: "!", fail: "✗" };
79
- export function formatChecks(checks) {
79
+ /** One line per check with its fix. `home` is shown as ~, so the output can be pasted into a public bug report. */
80
+ export function formatChecks(checks, home) {
80
81
  const lines = checks.flatMap((c) => [
81
82
  `${MARKS[c.status]} ${c.label}${c.detail ? `: ${c.detail}` : ""}`,
82
83
  ...(c.fix && c.status !== "ok" ? [` → ${c.fix}`] : []),
83
84
  ]);
84
85
  const problems = checks.filter((c) => c.status === "fail").length;
85
86
  const summary = problems === 0 ? "No problems found." : `${problems} problem${problems === 1 ? "" : "s"} found.`;
86
- return `${lines.join("\n")}\n\n${summary}`;
87
+ const text = `${lines.join("\n")}\n\n${summary}`;
88
+ return home ? text.replaceAll(home, "~") : text;
87
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "consult-mcp",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "mcpName": "io.github.neelsatyavolu/consult",
5
5
  "description": "Get a second opinion on your code from every coding agent you have. Claude Code, Codex and Grok review each other's diffs and answer each other's questions, even inside a session that's already running. Uses the CLIs you're signed in to, no API keys.",
6
6
  "keywords": [