@xyd-js/mcp 0.0.0-build-be800ef-20251021211339 → 0.0.0-build-66ba948-20251024195101
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/index.js +93652 -51885
- package/dist/lib/index.d.ts +3 -0
- package/dist/lib/llms-parser.d.ts +13 -0
- package/dist/lib/mcpLLMsResources.d.ts +2 -0
- package/dist/lib/mcpLLMsTools.d.ts +2 -0
- package/package.json +16 -11
package/dist/lib/index.d.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface LLMsContent {
|
|
2
|
+
content: string;
|
|
3
|
+
links: string[];
|
|
4
|
+
linkedContent: {
|
|
5
|
+
[url: string]: string;
|
|
6
|
+
};
|
|
7
|
+
metadata?: Record<string, any>;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Parse llms.txt content using remark
|
|
11
|
+
* Supports both string and string[] inputs for llms.txt paths
|
|
12
|
+
*/
|
|
13
|
+
export declare function parseLLMsContent(llmsPaths: string | string[]): Promise<LLMsContent[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyd-js/mcp",
|
|
3
|
-
"version": "0.0.0-build-
|
|
3
|
+
"version": "0.0.0-build-66ba948-20251024195101",
|
|
4
4
|
"description": "Model Context Protocol (MCP) utilities for xyd (library mode)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -15,8 +15,13 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
+
"@langchain/classic": "^1.0.0",
|
|
19
|
+
"@langchain/community": "^1.0.0",
|
|
20
|
+
"@langchain/openai": "^1.0.0",
|
|
21
|
+
"@langchain/textsplitters": "^1.0.0",
|
|
18
22
|
"@modelcontextprotocol/sdk": "^1.18.1",
|
|
19
23
|
"json-schema-to-zod": "^2.6.1",
|
|
24
|
+
"langchain": "^1.0.1",
|
|
20
25
|
"openux-js": "^0.0.0-pre.0",
|
|
21
26
|
"remark": "^15.0.1",
|
|
22
27
|
"remark-gfm": "^4.0.1",
|
|
@@ -25,20 +30,20 @@
|
|
|
25
30
|
"turndown-plugin-gfm": "^1.0.2",
|
|
26
31
|
"unist-builder": "^4.0.0",
|
|
27
32
|
"zod": "^3.25.76",
|
|
28
|
-
"@xyd-js/atlas": "0.0.0-build-
|
|
29
|
-
"@xyd-js/components": "0.0.0-build-
|
|
30
|
-
"@xyd-js/core": "0.0.0-build-
|
|
31
|
-
"@xyd-js/framework": "0.0.0-build-
|
|
32
|
-
"@xyd-js/gql": "0.0.0-build-
|
|
33
|
-
"@xyd-js/openapi": "0.0.0-build-
|
|
34
|
-
"@xyd-js/plugins": "0.0.0-build-
|
|
35
|
-
"@xyd-js/uniform": "0.0.0-build-
|
|
33
|
+
"@xyd-js/atlas": "0.0.0-build-66ba948-20251024195101",
|
|
34
|
+
"@xyd-js/components": "0.0.0-build-66ba948-20251024195101",
|
|
35
|
+
"@xyd-js/core": "0.0.0-build-66ba948-20251024195101",
|
|
36
|
+
"@xyd-js/framework": "0.0.0-build-66ba948-20251024195101",
|
|
37
|
+
"@xyd-js/gql": "0.0.0-build-66ba948-20251024195101",
|
|
38
|
+
"@xyd-js/openapi": "0.0.0-build-66ba948-20251024195101",
|
|
39
|
+
"@xyd-js/plugins": "0.0.0-build-66ba948-20251024195101",
|
|
40
|
+
"@xyd-js/uniform": "0.0.0-build-66ba948-20251024195101"
|
|
36
41
|
},
|
|
37
42
|
"devDependencies": {
|
|
38
43
|
"@types/node": "^20.9.0",
|
|
39
44
|
"@types/turndown": "^5.0.5",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
45
|
+
"rimraf": "^3.0.2",
|
|
46
|
+
"typescript": "^5.6.2"
|
|
42
47
|
},
|
|
43
48
|
"scripts": {
|
|
44
49
|
"build": "bun build index.ts --outdir dist --target node --format esm && bun build:types",
|