vault-cortex 0.2.3 → 0.2.4

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/messages.js +4 -1
  2. package/package.json +1 -1
package/dist/messages.js CHANGED
@@ -22,8 +22,11 @@ export const buildLocalConnectMessage = (params) => {
22
22
  const startLine = started
23
23
  ? "The server is running."
24
24
  : startServerLine(targetDir);
25
+ // When the token was written, put it alone on its own line so selecting
26
+ // that line copies just the token — no "Auth token: " prefix to trim and
27
+ // no chance of grabbing the surrounding label.
25
28
  const tokenLine = tokenWritten
26
- ? `Auth token: ${token}`
29
+ ? `Auth token:\n ${token}`
27
30
  : `Auth token: use the existing MCP_AUTH_TOKEN in ${targetDir}/.env`;
28
31
  // Flush-left on purpose: template literals keep leading whitespace, so
29
32
  // indenting these lines would indent the rendered output.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vault-cortex",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
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",