@exorcist-98/mcp-server 0.3.6 → 0.3.7

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
@@ -37,7 +37,7 @@ out of results unless you ask for it, and is then marked as untrusted.
37
37
  ```json
38
38
  {
39
39
  "mcpServers": {
40
- "exorcist": { "command": "npx", "args": ["-y", "@exorcist-98/mcp-server@0.3.6"] }
40
+ "exorcist": { "command": "npx", "args": ["-y", "@exorcist-98/mcp-server@0.3.7"] }
41
41
  }
42
42
  }
43
43
  ```
package/dist/index.mjs CHANGED
@@ -32138,8 +32138,7 @@ function envFamilyOwners(name) {
32138
32138
  for (const [re2, owners] of ENV_FAMILIES) if (re2.test(name)) return owners;
32139
32139
  return null;
32140
32140
  }
32141
- var PATH_VAR = /(?:CONFIG|_FILES?|_DIR|_HOME|_PATH|_PLUGINS?|CACHEDIR|_CERT\w*|_CA\w*)$/;
32142
- var PROGRAM_VAR = /(?:EDITOR|PAGER|BROWSER|_CMD|_COMMAND|_HELPER|_PROGRAM|_EXEC|_SHELL|_ARGS(?:_\w+)?)$/u;
32141
+ var PLAIN_VAR = /(?:_LOG|_LOG_LEVEL|_DEBUG|_VERBOSE|_COLOR|_NO_COLOR|_IN_AUTOMATION|_INPUT|_WORKSPACE|_NAMESPACE|_CONTEXT|_REGION|_VAR_[A-Za-z0-9_]+|EDITOR|PAGER|BROWSER|_CLI_ARGS(?:_[a-z]+)?)$/u;
32143
32142
  var ENDPOINT_VAR = /(?:_HOST|_URL|_ENDPOINT|_SERVER)$/;
32144
32143
  function unlockedValueRisk(name, value, cwd, dynamic) {
32145
32144
  const runtime = dynamic || /[$`]/.test(value);
@@ -32152,12 +32151,11 @@ function unlockedValueRisk(name, value, cwd, dynamic) {
32152
32151
  }
32153
32152
  let v = value.trim();
32154
32153
  if (v.startsWith("~")) v = expandTilde(v, cwd) ?? v;
32155
- const one = `${name} takes one plain word here: an absolute path outside the project, or a name with no dot, slash or tilde (a value that could be a file in the project is refused)`;
32154
+ const one = `${name} takes one word here: an absolute path outside the project, or, for a variable that holds a plain value, a name with no dot, slash or tilde`;
32156
32155
  if (v === "") return null;
32157
32156
  if (/[\s:,;=]/u.test(v)) return one;
32158
32157
  if (isAbsolute5(v)) return insideProject(v, cwd) ? say : null;
32159
- if (PATH_VAR.test(name) || PROGRAM_VAR.test(name)) return /^[A-Za-z0-9_-]+$/u.test(v) && !PATH_VAR.test(name) ? null : one;
32160
- return /[./\\~]/u.test(v) ? one : null;
32158
+ return PLAIN_VAR.test(name) && !/[./\\~]/u.test(v) ? null : one;
32161
32159
  }
32162
32160
  function envAssignRisk(name, value, cwd, dynamic = false, known, prog) {
32163
32161
  const owners = envFamilyOwners(name);
@@ -36405,7 +36403,7 @@ Tell the user. They can undo this with: exorcist vault restore ${r.value.id}`
36405
36403
  }
36406
36404
 
36407
36405
  // src/index.ts
36408
- var VERSION = "0.3.6";
36406
+ var VERSION = "0.3.7";
36409
36407
  var ctx = {
36410
36408
  cwd: process.cwd(),
36411
36409
  approved: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exorcist-98/mcp-server",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "MCP server for Exorcist 98: scan repos and MCP configs, explain findings, quarantine servers.",