pr-docent 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/host/claude.mjs +4 -1
  2. package/package.json +1 -1
package/host/claude.mjs CHANGED
@@ -53,7 +53,10 @@ export function runClaude(prompt, cwd, args, onProgress = () => {}) {
53
53
  return new Promise((resolvePromise, reject) => {
54
54
  const started = Date.now();
55
55
  let output = "";
56
- child = spawn(CONFIG.claude, ["-p", prompt, ...args], { cwd, stdio: ["ignore", "pipe", "pipe"] });
56
+ // --strict-mcp-config without --mcp-config: none of the user's MCP servers start. A tour needs
57
+ // none, and starting them is slow and can set off macOS prompts (e.g. a quarantined Python
58
+ // module in an MCP server's uv cache).
59
+ child = spawn(CONFIG.claude, ["-p", prompt, "--strict-mcp-config", ...args], { cwd, stdio: ["ignore", "pipe", "pipe"] });
57
60
  const keep = (chunk) => (output = (output + chunk).slice(-2000));
58
61
  child.stdout.on("data", keep);
59
62
  child.stderr.on("data", keep);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pr-docent",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "description": "Guided, narrated review tours on top of GitHub pull request diffs. This package installs the local tour generator for the PR Docent Chrome extension.",
6
6
  "license": "MIT",