@ncukondo/reference-manager 0.19.0 → 0.21.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/dist/chunks/{action-menu-BoJkH1yr.js → action-menu-CpkiDbRj.js} +3 -3
- package/dist/chunks/{action-menu-BoJkH1yr.js.map → action-menu-CpkiDbRj.js.map} +1 -1
- package/dist/chunks/{format-QgF4pmp6.js → format-n2Es_y_u.js} +2 -2
- package/dist/chunks/{format-QgF4pmp6.js.map → format-n2Es_y_u.js.map} +1 -1
- package/dist/chunks/{index-C49EfSAl.js → index-Bh6xryeS.js} +4 -4
- package/dist/chunks/{index-C49EfSAl.js.map → index-Bh6xryeS.js.map} +1 -1
- package/dist/chunks/index-CScRH8g4.js +5928 -0
- package/dist/chunks/index-CScRH8g4.js.map +1 -0
- package/dist/chunks/{index-Di6yhlFH.js → index-Cq83Elk8.js} +794 -460
- package/dist/chunks/index-Cq83Elk8.js.map +1 -0
- package/dist/chunks/{index-BJf01yMW.js → index-DiF2ezv-.js} +3 -2
- package/dist/chunks/index-DiF2ezv-.js.map +1 -0
- package/dist/chunks/{loader-BtW20O32.js → loader-BHvcats5.js} +113 -27
- package/dist/chunks/loader-BHvcats5.js.map +1 -0
- package/dist/chunks/{reference-select-D4iGJ4kA.js → reference-select-DlFG6N3o.js} +3 -3
- package/dist/chunks/{reference-select-D4iGJ4kA.js.map → reference-select-DlFG6N3o.js.map} +1 -1
- package/dist/chunks/{style-select-UWYScO8e.js → style-select-1f5zHT8h.js} +3 -3
- package/dist/chunks/{style-select-UWYScO8e.js.map → style-select-1f5zHT8h.js.map} +1 -1
- package/dist/cli/commands/add.d.ts +20 -0
- package/dist/cli/commands/add.d.ts.map +1 -1
- package/dist/cli/commands/attach.d.ts +44 -1
- package/dist/cli/commands/attach.d.ts.map +1 -1
- package/dist/cli/commands/fulltext.d.ts +86 -3
- package/dist/cli/commands/fulltext.d.ts.map +1 -1
- package/dist/cli/helpers.d.ts +18 -0
- package/dist/cli/helpers.d.ts.map +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/config/defaults.d.ts.map +1 -1
- package/dist/config/env-override.d.ts.map +1 -1
- package/dist/config/key-parser.d.ts.map +1 -1
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/schema.d.ts +65 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/features/operations/attachments/sync.d.ts +14 -0
- package/dist/features/operations/attachments/sync.d.ts.map +1 -1
- package/dist/features/operations/fulltext/convert.d.ts +22 -0
- package/dist/features/operations/fulltext/convert.d.ts.map +1 -0
- package/dist/features/operations/fulltext/discover.d.ts +35 -0
- package/dist/features/operations/fulltext/discover.d.ts.map +1 -0
- package/dist/features/operations/fulltext/fetch.d.ts +34 -0
- package/dist/features/operations/fulltext/fetch.d.ts.map +1 -0
- package/dist/features/operations/fulltext/index.d.ts +3 -0
- package/dist/features/operations/fulltext/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/tools/fulltext.d.ts +37 -0
- package/dist/mcp/tools/fulltext.d.ts.map +1 -1
- package/dist/mcp/tools/index.d.ts.map +1 -1
- package/dist/server/routes/references.d.ts +3 -1
- package/dist/server/routes/references.d.ts.map +1 -1
- package/dist/server.js +2 -2
- package/package.json +2 -1
- package/dist/chunks/index-B4gr0P83.js +0 -2081
- package/dist/chunks/index-B4gr0P83.js.map +0 -1
- package/dist/chunks/index-BJf01yMW.js.map +0 -1
- package/dist/chunks/index-Di6yhlFH.js.map +0 -1
- package/dist/chunks/loader-BtW20O32.js.map +0 -1
|
@@ -48,4 +48,41 @@ export declare function registerFulltextGetTool(server: McpServer, getLibraryOpe
|
|
|
48
48
|
* @param getConfig - Function to get the current config
|
|
49
49
|
*/
|
|
50
50
|
export declare function registerFulltextDetachTool(server: McpServer, getLibraryOperations: () => ILibraryOperations, getConfig: () => Config): void;
|
|
51
|
+
/**
|
|
52
|
+
* Parameters for the fulltext_discover tool
|
|
53
|
+
*/
|
|
54
|
+
export interface FulltextDiscoverToolParams {
|
|
55
|
+
/** Reference ID */
|
|
56
|
+
id: string;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Register the fulltext_discover tool with the MCP server.
|
|
60
|
+
*/
|
|
61
|
+
export declare function registerFulltextDiscoverTool(server: McpServer, getLibraryOperations: () => ILibraryOperations, getConfig: () => Config): void;
|
|
62
|
+
/**
|
|
63
|
+
* Parameters for the fulltext_fetch tool
|
|
64
|
+
*/
|
|
65
|
+
export interface FulltextFetchToolParams {
|
|
66
|
+
/** Reference ID */
|
|
67
|
+
id: string;
|
|
68
|
+
/** Preferred source (optional) */
|
|
69
|
+
source?: string | undefined;
|
|
70
|
+
/** Force overwrite existing (optional) */
|
|
71
|
+
force?: boolean | undefined;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Register the fulltext_fetch tool with the MCP server.
|
|
75
|
+
*/
|
|
76
|
+
export declare function registerFulltextFetchTool(server: McpServer, getLibraryOperations: () => ILibraryOperations, getConfig: () => Config): void;
|
|
77
|
+
/**
|
|
78
|
+
* Parameters for the fulltext_convert tool
|
|
79
|
+
*/
|
|
80
|
+
export interface FulltextConvertToolParams {
|
|
81
|
+
/** Reference ID */
|
|
82
|
+
id: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Register the fulltext_convert tool with the MCP server.
|
|
86
|
+
*/
|
|
87
|
+
export declare function registerFulltextConvertTool(server: McpServer, getLibraryOperations: () => ILibraryOperations, getConfig: () => Config): void;
|
|
51
88
|
//# sourceMappingURL=fulltext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fulltext.d.ts","sourceRoot":"","sources":["../../../src/mcp/tools/fulltext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;
|
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,IAAI,CA0CN;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,mBAAmB;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,0CAA0C;IAC1C,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,SAAS,EACjB,oBAAoB,EAAE,MAAM,kBAAkB,EAC9C,SAAS,EAAE,MAAM,MAAM,GACtB,IAAI,CA6CN;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,mBAAmB;IACnB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,SAAS,EACjB,oBAAoB,EAAE,MAAM,kBAAkB,EAC9C,SAAS,EAAE,MAAM,MAAM,GACtB,IAAI,CAmCN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mcp/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mcp/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AAe1F;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,SAAS,EACjB,oBAAoB,EAAE,MAAM,kBAAkB,EAC9C,SAAS,EAAE,MAAM,MAAM,GACtB,IAAI,CAYN"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
+
import type { Config } from "../../config/schema.js";
|
|
2
3
|
import type { Library } from "../../core/library.js";
|
|
3
4
|
/**
|
|
4
5
|
* Create references CRUD route with the given library.
|
|
5
6
|
* @param library - Library instance to use for operations
|
|
7
|
+
* @param config - Configuration for fulltext operations
|
|
6
8
|
* @returns Hono app with references routes
|
|
7
9
|
*/
|
|
8
|
-
export declare function createReferencesRoute(library: Library): Hono<import("hono/types").BlankEnv, import("hono/types").BlankSchema, "/">;
|
|
10
|
+
export declare function createReferencesRoute(library: Library, config?: Config): Hono<import("hono/types").BlankEnv, import("hono/types").BlankSchema, "/">;
|
|
9
11
|
//# sourceMappingURL=references.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"references.d.ts","sourceRoot":"","sources":["../../../src/server/routes/references.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"references.d.ts","sourceRoot":"","sources":["../../../src/server/routes/references.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,KAAK,EAAE,MAAM,EAAkB,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AASrD;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,MAAM,8EAyOtE"}
|
package/dist/server.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "hono";
|
|
2
2
|
import "./chunks/file-watcher-CrsNHUpz.js";
|
|
3
|
-
import {
|
|
3
|
+
import { r, s } from "./chunks/index-CScRH8g4.js";
|
|
4
4
|
export {
|
|
5
|
-
|
|
5
|
+
r as createServer,
|
|
6
6
|
s as startServerWithFileWatcher
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=server.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncukondo/reference-manager",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "A local reference management tool using CSL-JSON as the single source of truth",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"@citation-js/plugin-ris": "^0.7.21",
|
|
55
55
|
"@iarna/toml": "^2.2.5",
|
|
56
56
|
"@modelcontextprotocol/sdk": "^1.25.1",
|
|
57
|
+
"@ncukondo/academic-fulltext": "^0.1.3",
|
|
57
58
|
"chokidar": "^5.0.0",
|
|
58
59
|
"commander": "^12.1.0",
|
|
59
60
|
"env-paths": "^3.0.0",
|