@ncukondo/reference-manager 0.4.0 → 0.5.0

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 CHANGED
@@ -132,6 +132,23 @@ claude mcp add reference-manager -- npx -y @ncukondo/reference-manager mcp --lib
132
132
 
133
133
  ### Claude Desktop Setup
134
134
 
135
+ #### Option 1: MCPB Bundle (Recommended)
136
+
137
+ Download the `.mcpb` file from the [latest release](https://github.com/ncukondo/reference-manager/releases/latest) and install it via Claude Desktop:
138
+
139
+ 1. Download `reference-manager.mcpb` from the release page
140
+ 2. Open Claude Desktop and go to **Settings** → **Extensions**
141
+ 3. Click **Install from file** and select the downloaded `.mcpb` file
142
+ 4. Configure the **Config File Path** when prompted (e.g., `~/.reference-manager/config.toml`)
143
+
144
+ The config file should contain at minimum:
145
+
146
+ ```toml
147
+ library = "~/.reference-manager/csl.library.json"
148
+ ```
149
+
150
+ #### Option 2: Manual Configuration
151
+
135
152
  Add to your Claude Desktop configuration file:
136
153
 
137
154
  **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoDpC;;GAEG;AACH,wBAAgB,aAAa,IAAI,OAAO,CA8BvC;AAkwBD;;GAEG;AACH,wBAAsB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAaxD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoDpC;;GAEG;AACH,wBAAgB,aAAa,IAAI,OAAO,CA8BvC;AAmwBD;;GAEG;AACH,wBAAsB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAaxD"}
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import { l as loadConfig } from "./chunks/loader-DuzyKV70.js";
13
13
  import { spawn } from "node:child_process";
14
14
  import { serve } from "@hono/node-server";
15
15
  const name = "@ncukondo/reference-manager";
16
- const version$1 = "0.4.0";
16
+ const version$1 = "0.5.0";
17
17
  const description$1 = "A local reference management tool using CSL-JSON as the single source of truth";
18
18
  const packageJson = {
19
19
  name,
@@ -22243,7 +22243,8 @@ function registerMcpCommand(program) {
22243
22243
  try {
22244
22244
  const globalOpts = program.opts();
22245
22245
  const mcpOptions = {
22246
- configPath: globalOpts.config ?? ""
22246
+ // Treat empty string as undefined to use default config path
22247
+ configPath: globalOpts.config || void 0
22247
22248
  };
22248
22249
  if (globalOpts.library !== void 0) {
22249
22250
  mcpOptions.libraryPath = globalOpts.library;