vault-cortex 0.6.4 → 0.6.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 (3) hide show
  1. package/README.md +5 -5
  2. package/dist/env.js +16 -6
  3. package/package.json +4 -3
package/README.md CHANGED
@@ -9,8 +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 — plus read-only access to its images,
13
- canvases, and data files — see the
12
+ access to your Obsidian vault — including its images, PDFs, canvases,
13
+ and data files — see the
14
14
  [full feature overview](https://github.com/aliasunder/vault-cortex#what-you-get).
15
15
  The server runs as a Docker container; this CLI scaffolds the config and
16
16
  manages the container so you don't have to.
@@ -68,7 +68,7 @@ npx vault-cortex@latest init --yes --vault-path /path/to/YourVault
68
68
  Pull the latest image, re-create the container, and verify health:
69
69
 
70
70
  ```bash
71
- npx vault-cortex upgrade
71
+ npx vault-cortex@latest upgrade
72
72
  ```
73
73
 
74
74
  Run it from the same directory where you ran `init` — it looks for your
@@ -94,7 +94,7 @@ Generate an [Obsidian Sync](https://obsidian.md/sync) auth token — needed for
94
94
  remote setups — without leaving the CLI:
95
95
 
96
96
  ```bash
97
- npx vault-cortex get-sync-token
97
+ npx vault-cortex@latest get-sync-token
98
98
  ```
99
99
 
100
100
  The command opens the Obsidian login inside Docker. Once you've signed in, it
@@ -103,7 +103,7 @@ Use `--dir <path>` to write the token straight into an existing `.env`
103
103
  instead:
104
104
 
105
105
  ```bash
106
- npx vault-cortex get-sync-token --dir ./vault-cortex
106
+ npx vault-cortex@latest get-sync-token --dir ./vault-cortex
107
107
  ```
108
108
 
109
109
  During `init --mode remote`, this flow is offered automatically when Docker
package/dist/env.js CHANGED
@@ -18,16 +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).
21
+ # Largest file vault_read_file will read, in bytes (default: 52428800 = 50 MiB).
22
22
  # Reading a larger file returns an error instead of content.
23
- MAX_ASSET_BYTES=52428800
23
+ MAX_FILE_BYTES=52428800
24
24
 
25
- # Byte budget for images returned by vault_read_asset, in binary bytes before
25
+ # Byte budget for images returned by vault_read_file, in binary bytes before
26
26
  # base64 encoding (default: 49152 = 48 KiB, sized for Claude Code's response cap).
27
27
  # Images exceeding the budget are downscaled/recompressed to fit. Raise it for clients
28
28
  # that accept larger tool responses.
29
29
  MAX_IMAGE_OUTPUT_BYTES=49152
30
30
 
31
+ # Maximum number of PDF pages to render as images when raw: true is set on
32
+ # vault_read_file (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
+
31
36
  # Your IANA timezone — affects daily note resolution and memory timestamps.
32
37
  # TZ=America/New_York
33
38
 
@@ -120,16 +125,21 @@ RERANK_MODE=blended
120
125
  # the Docker Desktop/WSL2 bridge.
121
126
  WINDOWS_MODE=false
122
127
 
123
- # Largest asset file vault_read_asset will read, in bytes (default: 52428800 = 50 MiB).
128
+ # Largest file vault_read_file will read, in bytes (default: 52428800 = 50 MiB).
124
129
  # Reading a larger file returns an error instead of content.
125
- MAX_ASSET_BYTES=52428800
130
+ MAX_FILE_BYTES=52428800
126
131
 
127
- # Byte budget for images returned by vault_read_asset, in binary bytes before
132
+ # Byte budget for images returned by vault_read_file, in binary bytes before
128
133
  # base64 encoding (default: 49152 = 48 KiB, sized for Claude Code's response cap).
129
134
  # Images exceeding the budget are downscaled/recompressed to fit. Raise it for clients
130
135
  # that accept larger tool responses.
131
136
  MAX_IMAGE_OUTPUT_BYTES=49152
132
137
 
138
+ # Maximum number of PDF pages to render as images when raw: true is set on
139
+ # vault_read_file (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
+
133
143
  # Enable or disable the memory layer (default: true).
134
144
  # Set to false to hide memory tools and skip About Me/ creation.
135
145
  MEMORY_ENABLED=true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vault-cortex",
3
- "version": "0.6.4",
3
+ "version": "0.6.6",
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": {