metheus-governance-mcp-cli 0.2.32 → 0.2.33

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/cli.mjs +5 -0
  2. package/package.json +1 -1
package/cli.mjs CHANGED
@@ -516,6 +516,8 @@ function isEditorInstallDirectory(candidatePath) {
516
516
  // Guard against runtime cwd/env resolving to editor installation directory
517
517
  // instead of the actual opened workspace.
518
518
  if (normalized.includes("\\appdata\\local\\programs\\microsoft vs code")) return true;
519
+ if (normalized.includes("\\appdata\\local\\programs\\antigravity")) return true;
520
+ if (normalized.includes("\\appdata\\local\\programs\\cursor")) return true;
519
521
  if (normalized.includes("\\program files\\microsoft vs code")) return true;
520
522
  if (normalized.includes("\\program files (x86)\\microsoft vs code")) return true;
521
523
  return false;
@@ -4106,6 +4108,9 @@ async function runProxy(flags) {
4106
4108
  const currentCwdCandidate = sanitizeWorkspaceCandidate(process.cwd());
4107
4109
  if (currentCwdCandidate && !isHomeWorkspaceRoot(currentCwdCandidate)) {
4108
4110
  sessionWorkspaceDir = currentCwdCandidate;
4111
+ // VS Code forks (Antigravity, Cursor) set cwd to workspace folder
4112
+ // when spawning MCP server processes, so treat plausible cwd as trusted.
4113
+ sessionWorkspaceTrusted = true;
4109
4114
  }
4110
4115
  }
4111
4116
  if (strongEnvWorkspaceCandidate) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "metheus-governance-mcp-cli",
3
- "version": "0.2.32",
3
+ "version": "0.2.33",
4
4
  "description": "Metheus Governance MCP CLI (setup + stdio proxy)",
5
5
  "type": "module",
6
6
  "files": [