vault-cortex 0.10.5 → 0.10.6

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/dist/env.js +24 -0
  2. package/package.json +1 -1
package/dist/env.js CHANGED
@@ -94,6 +94,18 @@ MEMORY_DIR=About Me
94
94
  # Host port to expose (default: 8000).
95
95
  PORT=8000
96
96
 
97
+ # Client-IP trust for OAuth rate limiting and logs (defaults shown).
98
+ # With nothing in front of the server, leave both untouched — each visitor
99
+ # is identified by their own connection, and faked Forwarded/X-Forwarded-For
100
+ # headers are ignored.
101
+ # With a proxy or tunnel you control in front (Caddy, nginx, Cloudflare
102
+ # Tunnel), set TRUST_PROXY_HOPS=1 so visitors are told apart by their real
103
+ # IP — otherwise they all share one rate-limit budget.
104
+ # Set TRUST_FORWARDED_HEADER=true only if the proxy reports each visitor's
105
+ # IP in the RFC 7239 Forwarded header (e.g. AWS API Gateway).
106
+ # TRUST_PROXY_HOPS=0
107
+ # TRUST_FORWARDED_HEADER=false
108
+
97
109
  # Log verbosity: debug | info | warn | error (default: info).
98
110
  LOG_LEVEL=info
99
111
 
@@ -206,6 +218,18 @@ MEMORY_DIR=About Me
206
218
  # Host port to expose (default: 8000).
207
219
  PORT=8000
208
220
 
221
+ # Client-IP trust for OAuth rate limiting and logs (defaults shown).
222
+ # With nothing in front of the server, leave both untouched — each visitor
223
+ # is identified by their own connection, and faked Forwarded/X-Forwarded-For
224
+ # headers are ignored.
225
+ # With a proxy or tunnel you control in front (Caddy, nginx, Cloudflare
226
+ # Tunnel), set TRUST_PROXY_HOPS=1 so visitors are told apart by their real
227
+ # IP — otherwise they all share one rate-limit budget.
228
+ # Set TRUST_FORWARDED_HEADER=true only if the proxy reports each visitor's
229
+ # IP in the RFC 7239 Forwarded header (e.g. AWS API Gateway).
230
+ # TRUST_PROXY_HOPS=0
231
+ # TRUST_FORWARDED_HEADER=false
232
+
209
233
  # Log verbosity: debug | info | warn | error (default: info).
210
234
  LOG_LEVEL=info
211
235
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vault-cortex",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "description": "Set up a Vault Cortex MCP server for your Obsidian vault in one command: npx vault-cortex@latest init",
5
5
  "license": "MIT",
6
6
  "type": "module",