vault-cortex 0.6.3 → 0.6.5

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 (3) hide show
  1. package/README.md +5 -4
  2. package/dist/env.js +30 -0
  3. package/package.json +4 -3
package/README.md CHANGED
@@ -9,7 +9,8 @@ npx vault-cortex@latest init
9
9
 
10
10
  Vault Cortex is a standalone, remote-capable MCP server that gives any AI
11
11
  agent hybrid search, task management, structured memory, and read/write
12
- access to your Obsidian vault — see the
12
+ access to your Obsidian vault — including its images, PDFs, canvases,
13
+ and data files — see the
13
14
  [full feature overview](https://github.com/aliasunder/vault-cortex#what-you-get).
14
15
  The server runs as a Docker container; this CLI scaffolds the config and
15
16
  manages the container so you don't have to.
@@ -67,7 +68,7 @@ npx vault-cortex@latest init --yes --vault-path /path/to/YourVault
67
68
  Pull the latest image, re-create the container, and verify health:
68
69
 
69
70
  ```bash
70
- npx vault-cortex upgrade
71
+ npx vault-cortex@latest upgrade
71
72
  ```
72
73
 
73
74
  Run it from the same directory where you ran `init` — it looks for your
@@ -93,7 +94,7 @@ Generate an [Obsidian Sync](https://obsidian.md/sync) auth token — needed for
93
94
  remote setups — without leaving the CLI:
94
95
 
95
96
  ```bash
96
- npx vault-cortex get-sync-token
97
+ npx vault-cortex@latest get-sync-token
97
98
  ```
98
99
 
99
100
  The command opens the Obsidian login inside Docker. Once you've signed in, it
@@ -102,7 +103,7 @@ Use `--dir <path>` to write the token straight into an existing `.env`
102
103
  instead:
103
104
 
104
105
  ```bash
105
- npx vault-cortex get-sync-token --dir ./vault-cortex
106
+ npx vault-cortex@latest get-sync-token --dir ./vault-cortex
106
107
  ```
107
108
 
108
109
  During `init --mode remote`, this flow is offered automatically when Docker
package/dist/env.js CHANGED
@@ -18,6 +18,21 @@ const LOCAL_OPTIONAL_BLOCK = `# Optional ─────────────
18
18
  # Override if you expose the server on a different URL (e.g. via a reverse proxy).
19
19
  PUBLIC_URL=http://localhost:8000
20
20
 
21
+ # Largest asset file vault_read_asset will read, in bytes (default: 52428800 = 50 MiB).
22
+ # Reading a larger file returns an error instead of content.
23
+ MAX_ASSET_BYTES=52428800
24
+
25
+ # Byte budget for images returned by vault_read_asset, in binary bytes before
26
+ # base64 encoding (default: 49152 = 48 KiB, sized for Claude Code's response cap).
27
+ # Images exceeding the budget are downscaled/recompressed to fit. Raise it for clients
28
+ # that accept larger tool responses.
29
+ MAX_IMAGE_OUTPUT_BYTES=49152
30
+
31
+ # Maximum number of PDF pages to render as images when raw: true is set on
32
+ # vault_read_asset (default: 5). The per-page byte budget is MAX_IMAGE_OUTPUT_BYTES
33
+ # divided evenly across the rendered pages. Fewer pages = higher quality each.
34
+ MAX_PDF_RENDER_PAGES=5
35
+
21
36
  # Your IANA timezone — affects daily note resolution and memory timestamps.
22
37
  # TZ=America/New_York
23
38
 
@@ -110,6 +125,21 @@ RERANK_MODE=blended
110
125
  # the Docker Desktop/WSL2 bridge.
111
126
  WINDOWS_MODE=false
112
127
 
128
+ # Largest asset file vault_read_asset will read, in bytes (default: 52428800 = 50 MiB).
129
+ # Reading a larger file returns an error instead of content.
130
+ MAX_ASSET_BYTES=52428800
131
+
132
+ # Byte budget for images returned by vault_read_asset, in binary bytes before
133
+ # base64 encoding (default: 49152 = 48 KiB, sized for Claude Code's response cap).
134
+ # Images exceeding the budget are downscaled/recompressed to fit. Raise it for clients
135
+ # that accept larger tool responses.
136
+ MAX_IMAGE_OUTPUT_BYTES=49152
137
+
138
+ # Maximum number of PDF pages to render as images when raw: true is set on
139
+ # vault_read_asset (default: 5). The per-page byte budget is MAX_IMAGE_OUTPUT_BYTES
140
+ # divided evenly across the rendered pages. Fewer pages = higher quality each.
141
+ MAX_PDF_RENDER_PAGES=5
142
+
113
143
  # Enable or disable the memory layer (default: true).
114
144
  # Set to false to hide memory tools and skip About Me/ creation.
115
145
  MEMORY_ENABLED=true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vault-cortex",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "description": "Set up a Vault Cortex MCP server for your Obsidian vault in one command: npx vault-cortex init",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -38,8 +38,9 @@
38
38
  "hybrid-search",
39
39
  "task-management",
40
40
  "semantic-search",
41
- "cross-encoder",
42
- "reranking",
41
+ "attachments",
42
+ "pdf",
43
+ "claude",
43
44
  "cli"
44
45
  ],
45
46
  "dependencies": {