@veilio-inc/mcp 0.6.1 → 0.6.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 +8 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -137,9 +137,12 @@ result from this server states which namespace produced its placeholders:
|
|
|
137
137
|
|
|
138
138
|
- **`team`** — resolved against the team's shared dictionary, read at startup,
|
|
139
139
|
so every teammate's agent produces the same placeholder for the same
|
|
140
|
-
identifier.
|
|
141
|
-
`veilio team unlock`
|
|
142
|
-
loading the team's maps
|
|
140
|
+
identifier. Kept for the life of the process, and read again when it no
|
|
141
|
+
longer matches: after `veilio team unlock` is run while the server is up
|
|
142
|
+
(the next call says it is loading the team's maps), after a team map is
|
|
143
|
+
created or updated, or any map removed, through this server, after `projects_use`
|
|
144
|
+
changes the project, and, with `VEILIO_PROJECT` set, when the project that
|
|
145
|
+
name points to changes (checked at most every 30 seconds).
|
|
143
146
|
- **`local`** — resolved locally: not signed in, no team key unlocked on this
|
|
144
147
|
machine, offline, or the plan doesn't include shared dictionaries. This is the
|
|
145
148
|
normal, fully-functional state for anyone not on a paid team — the server never
|
|
@@ -230,9 +233,10 @@ to restore it — but they are not handed to a teammate as the team's meaning.
|
|
|
230
233
|
|
|
231
234
|
## Design properties
|
|
232
235
|
|
|
233
|
-
- **
|
|
236
|
+
- **No third-party runtime dependencies.** The only two are `@veilio-inc/engine` and `@veilio-inc/cli`, both from this repository. JSON-RPC framing is implemented directly. Pulling a transitive tree into the component that reads your source would undercut the product's own claim.
|
|
234
237
|
- **stdout is protocol only.** Diagnostics go to stderr; a stray write to stdout corrupts the stream.
|
|
235
238
|
- **Tool errors, not protocol errors.** Failures come back as `isError` content so the model can correct itself, rather than aborting the call.
|
|
236
239
|
- **Redaction is one-way.** Credentials never enter the symbol map, so `restore_text` cannot bring them back.
|
|
240
|
+
- **Every file is judged strictly.** `anonymize_file` and `scan_secrets` read every file as real source, test, fixture and example files included: a weak password in a secret position (`PGPASSWORD=Summer24`, a password flag, the password in a URL, an auth header) is redacted wherever it is. The CLI and the Claude Code guard do the same. A committed fixture cannot be told from a copy of `.env` in `tests/` safely enough to leave its passwords in place, so no Veilio client tries.
|
|
237
241
|
|
|
238
242
|
The symbol map is shared with the `veilio` CLI, so you can mask in an agent and restore from a terminal, or the reverse.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veilio-inc/mcp",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "MCP server exposing the anonymizer to coding agents, so a model can work on masked code without the real identifiers ever entering its context.",
|
|
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.
|
|
31
|
-
"@veilio-inc/cli": "^0.
|
|
30
|
+
"@veilio-inc/engine": "^1.12.1",
|
|
31
|
+
"@veilio-inc/cli": "^0.7.0"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "tsc",
|