@veilio-inc/mcp 0.11.1 → 0.11.2

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
@@ -102,8 +102,14 @@ the server's variable overrides it.
102
102
  that would drop entries (`allowDrop: true`), and a `maps_pull` with `force`
103
103
  that would overwrite local entries, are refused unless you start the
104
104
  server with `VEILIO_MCP_DESTRUCTIVE=1` in its environment - a setting only you
105
- can make: the server ignores it when the project's own `.mcp.json` sets it, so
106
- a repository cannot turn it on for you. An agent that can change your shell
105
+ can make: the server ignores it when a configuration file in the project
106
+ (`.mcp.json`, `.cursor/mcp.json`, `.vscode/mcp.json`, `.claude/settings.json`,
107
+ `.claude/settings.local.json`) names it in any spelling, or cannot be read as
108
+ JSON, so a repository cannot turn it on for you by naming it. A project file
109
+ with JSON comments or a trailing comma cannot be read as JSON and counts as
110
+ naming both switches, so they stay off. A project entry that starts the server
111
+ through a command which builds the variable's name cannot be detected; approve
112
+ a project's server entry only if you would run its command yourself. An agent that can change your shell
107
113
  environment or your user-level MCP configuration can still set it. Removal is
108
114
  allowed only when the server was started with
109
115
  `VEILIO_MCP_DESTRUCTIVE=1`. `confirmName` catches a wrong id; it is not proof
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAK7C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACrF,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAEnF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,GAAG,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAe,EACrD,SAAS,GAAE,MAAsB,GAChC,WAAW,CAWb"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAK7C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACrF,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAEnF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,GAAG,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAe,EACrD,SAAS,GAAE,MAAsB,GAChC,WAAW,CAYb"}
package/dist/index.js CHANGED
@@ -31,18 +31,20 @@ export { TOOLS, CLOUD_TOOLS, callTool, callToolAsync, listTools } from './tools.
31
31
  */
32
32
  export function contextFromArgv(argv, env = process.env, startedIn = process.cwd()) {
33
33
  const cli = parseCliContext(argv, startedIn);
34
- const ignored = [startedIn, cli.cwd].some(projectSetsSwitch);
34
+ const naming = projectSetsSwitch(startedIn) ?? projectSetsSwitch(cli.cwd);
35
+ const ignored = naming !== null;
35
36
  return {
36
37
  ...cli,
37
38
  destructive: !ignored && env.VEILIO_MCP_DESTRUCTIVE === '1',
38
39
  // Spec 078 FR-018: the same pattern, read once here.
39
40
  restoreText: !ignored && env.VEILIO_MCP_RESTORE === '1',
40
41
  env,
41
- ...(ignored ? { switchesIgnored: SWITCHES_IGNORED } : {}),
42
+ ...(naming !== null ? { switchesIgnored: switchesIgnored(naming) } : {}),
42
43
  };
43
44
  }
44
- /** strings.md #4 (spec 093, approved 2026-11-13). */
45
- const SWITCHES_IGNORED = "veilio-mcp: this project's .mcp.json sets VEILIO_MCP_RESTORE / VEILIO_MCP_DESTRUCTIVE. Settings from a project file are ignored; set them in your own environment to use them.";
45
+ /** Said on stderr when the two switches are ignored. `file`: one of
46
+ * PROJECT_FILES, never text from the project. */
47
+ const switchesIgnored = (file) => `veilio-mcp: a configuration file in this project (${file}) sets VEILIO_MCP_RESTORE / VEILIO_MCP_DESTRUCTIVE, or could not be read as JSON. These two settings are ignored; set them in your own environment, outside the project, to use them.`;
46
48
  // The files in a project that can start this server or set its environment:
47
49
  // Claude Code's, Cursor's and VS Code's.
48
50
  const PROJECT_FILES = [
@@ -55,23 +57,28 @@ const PROJECT_FILES = [
55
57
  const SWITCH_NAMED = /VEILIO_MCP_(?:RESTORE|DESTRUCTIVE)/i;
56
58
  const READ_CAP = 1024 * 1024;
57
59
  /**
58
- * Whether a project file names either switch: in `dir` or a folder above it,
59
- * up to the one that holds `.git` (the project's root). Read as text, not as
60
- * JSON, so an `env` key, the arguments of a wrapper command (`env NAME=1 ...`)
61
- * and another letter case all count. The home folder and above are not read:
62
- * the files there are the person's own, where the switch is theirs to set.
63
- * A file that is missing or unreadable names none; one too large to read
64
- * whole counts as naming one, since what follows the cap was not seen.
60
+ * The project file that names either switch, or null: in `dir` or a folder
61
+ * above it, up to the one that holds `.git` (the project's root). Read as
62
+ * text, so an `env` key, the arguments of a wrapper command (`env NAME=1 ...`)
63
+ * and another letter case all count - and read again as the JSON a client
64
+ * decodes, where a name may be written with escapes (`\u0052`). A file that
65
+ * is not JSON (comments, a trailing comma, a broken file) cannot be read the
66
+ * way its client reads it, and counts as naming one. The home folder and
67
+ * above are not read: the files there are the person's own, where the switch
68
+ * is theirs to set. A file that is missing or unreadable names none; one too
69
+ * large to read whole counts as naming one, since what follows the cap was
70
+ * not seen. A wrapper command that builds the name at run time is not found.
65
71
  */
66
72
  function projectSetsSwitch(dir) {
67
73
  const home = resolve(homedir());
68
74
  for (let at = resolve(dir); at !== home; at = dirname(at)) {
69
- if (PROJECT_FILES.some((name) => namesSwitch(join(at, name))))
70
- return true;
75
+ const file = PROJECT_FILES.find((name) => namesSwitch(join(at, name)));
76
+ if (file !== undefined)
77
+ return file;
71
78
  if (existsSync(join(at, '.git')) || dirname(at) === at)
72
79
  break;
73
80
  }
74
- return false;
81
+ return null;
75
82
  }
76
83
  function namesSwitch(file) {
77
84
  let fd;
@@ -84,7 +91,9 @@ function namesSwitch(file) {
84
91
  try {
85
92
  const text = Buffer.alloc(READ_CAP + 1);
86
93
  const read = readSync(fd, text, 0, text.length, 0);
87
- return read > READ_CAP || SWITCH_NAMED.test(text.toString('latin1', 0, read));
94
+ if (read > READ_CAP || SWITCH_NAMED.test(text.toString('latin1', 0, read)))
95
+ return true;
96
+ return namedDecoded(text.toString('utf8', 0, read));
88
97
  }
89
98
  catch {
90
99
  return false;
@@ -93,6 +102,16 @@ function namesSwitch(file) {
93
102
  closeSync(fd);
94
103
  }
95
104
  }
105
+ /** Whether the JSON `text` names a switch once its escapes are decoded; text
106
+ * that is not JSON is taken to. */
107
+ function namedDecoded(text) {
108
+ try {
109
+ return SWITCH_NAMED.test(JSON.stringify(JSON.parse(text)));
110
+ }
111
+ catch {
112
+ return true;
113
+ }
114
+ }
96
115
  function parseCliContext(argv, startedIn) {
97
116
  let cwd = startedIn;
98
117
  let mapPath = null;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,0BAA0B;AAC1B,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,0DAA0D;AAE1D,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACxC,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C,KAAK,EAAE,EAAE,eAAe,CAAC,CAAC,KAAK,EAAE,CAAA;IAE3D,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;IACjC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAA;IAC/D,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE;QAC3B,KAAK,MAAM,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;IACjD,CAAC,CAAC,CAAA;IACF,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,uBAAuB,GAAG,CAAC,GAAG,IAAI,CAAC,CAAA;AAC1D,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACH,SAAS,gBAAgB;IACvB,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAC7B,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,KAAK,CAAA;IACrC,IAAI,CAAC;QACH,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA;IACpE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAA;IACd,CAAC;AACH,CAAC;AAED,IAAI,gBAAgB,EAAE,EAAE,CAAC;IACvB,KAAK,KAAK,EAAE,CAAA;AACd,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veilio-inc/mcp",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "MCP server exposing the anonymizer to coding agents: files read through it reach the model masked. It does not stop an agent reading files directly - with a coding agent, use veilio-guard (Claude Code).",
5
5
  "type": "module",
6
6
  "bin": {
@@ -27,8 +27,8 @@
27
27
  ],
28
28
  "license": "SEE LICENSE IN LICENSE",
29
29
  "dependencies": {
30
- "@veilio-inc/engine": "^1.19.1",
31
- "@veilio-inc/cli": "^0.13.1"
30
+ "@veilio-inc/engine": "^1.19.2",
31
+ "@veilio-inc/cli": "^0.13.2"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "tsc",