agentic-knowledge-mcp 1.0.13 → 1.0.15
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/package.json +4 -4
- package/packages/cli/dist/commands/init.js +1 -1
- package/packages/cli/package.json +4 -4
- package/packages/content-loader/dist/types.js +1 -11
- package/packages/content-loader/package.json +1 -1
- package/packages/core/package.json +1 -1
- package/packages/mcp-server/dist/bin.d.ts +1 -0
- package/packages/mcp-server/dist/bin.js +1 -0
- package/packages/mcp-server/dist/server.js +0 -1
- package/packages/mcp-server/package.json +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-knowledge-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "A Model Context Protocol server for agentic knowledge guidance with web-based documentation loading and intelligent search instructions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "packages/cli/dist/index.js",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"commander": "^12.0.0",
|
|
30
30
|
"chalk": "^5.3.0",
|
|
31
31
|
"ora": "^8.0.1",
|
|
32
|
-
"@codemcp/knowledge": "1.0.
|
|
33
|
-
"@codemcp/knowledge-content-loader": "1.0.
|
|
34
|
-
"@codemcp/knowledge
|
|
32
|
+
"@codemcp/knowledge-core": "1.0.15",
|
|
33
|
+
"@codemcp/knowledge-content-loader": "1.0.15",
|
|
34
|
+
"@codemcp/knowledge": "1.0.15"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@modelcontextprotocol/inspector": "0.16.8",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemcp/knowledge-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "Command-line interface for agentic knowledge web content management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/exports.js",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"typecheck": "tsc --noEmit"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@codemcp/knowledge-core": "^1.0.
|
|
36
|
-
"@codemcp/knowledge-content-loader": "^1.0.
|
|
37
|
-
"@codemcp/knowledge": "^1.0.
|
|
35
|
+
"@codemcp/knowledge-core": "^1.0.15",
|
|
36
|
+
"@codemcp/knowledge-content-loader": "^1.0.15",
|
|
37
|
+
"@codemcp/knowledge": "^1.0.15",
|
|
38
38
|
"commander": "^12.0.0",
|
|
39
39
|
"chalk": "^5.3.0",
|
|
40
40
|
"ora": "^8.0.1"
|
|
@@ -6,11 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export var WebSourceType;
|
|
8
8
|
(function (WebSourceType) {
|
|
9
|
-
// eslint-disable-next-line no-unused-vars
|
|
10
9
|
WebSourceType["GIT_REPO"] = "git_repo";
|
|
11
|
-
// eslint-disable-next-line no-unused-vars
|
|
12
10
|
WebSourceType["DOCUMENTATION_SITE"] = "documentation_site";
|
|
13
|
-
// eslint-disable-next-line no-unused-vars
|
|
14
11
|
WebSourceType["API_DOCUMENTATION"] = "api_documentation";
|
|
15
12
|
})(WebSourceType || (WebSourceType = {}));
|
|
16
13
|
/**
|
|
@@ -22,11 +19,8 @@ export const METADATA_FILENAME = ".agentic-metadata.json";
|
|
|
22
19
|
*/
|
|
23
20
|
export var WebSourceErrorType;
|
|
24
21
|
(function (WebSourceErrorType) {
|
|
25
|
-
// eslint-disable-next-line no-unused-vars
|
|
26
22
|
WebSourceErrorType["WEB_SOURCE_ERROR"] = "WEB_SOURCE_ERROR";
|
|
27
|
-
// eslint-disable-next-line no-unused-vars
|
|
28
23
|
WebSourceErrorType["GIT_REPO_ERROR"] = "GIT_REPO_ERROR";
|
|
29
|
-
// eslint-disable-next-line no-unused-vars
|
|
30
24
|
WebSourceErrorType["NOT_IMPLEMENTED"] = "NOT_IMPLEMENTED";
|
|
31
25
|
})(WebSourceErrorType || (WebSourceErrorType = {}));
|
|
32
26
|
/**
|
|
@@ -35,11 +29,7 @@ export var WebSourceErrorType;
|
|
|
35
29
|
export class WebSourceError extends Error {
|
|
36
30
|
type;
|
|
37
31
|
context;
|
|
38
|
-
constructor(
|
|
39
|
-
// eslint-disable-next-line no-unused-vars
|
|
40
|
-
type, message,
|
|
41
|
-
// eslint-disable-next-line no-unused-vars
|
|
42
|
-
context) {
|
|
32
|
+
constructor(type, message, context) {
|
|
43
33
|
super(message);
|
|
44
34
|
this.type = type;
|
|
45
35
|
this.context = context;
|
|
@@ -236,7 +236,6 @@ Use the path and search terms with your text search tools (grep, rg, ripgrep, fi
|
|
|
236
236
|
localPath = calculateLocalPath(docset, configPath);
|
|
237
237
|
// Check if initialized by verifying .agentic-metadata.json exists
|
|
238
238
|
const configDir = dirname(configPath);
|
|
239
|
-
const projectRoot = dirname(configDir);
|
|
240
239
|
const symlinkDir = resolve(configDir, "docsets", docset.id);
|
|
241
240
|
const metadataPath = resolve(symlinkDir, ".agentic-metadata.json");
|
|
242
241
|
if (!existsSync(metadataPath)) {
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemcp/knowledge",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "MCP server implementation for agentic knowledge guidance system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"agentic-knowledge": "./dist/bin.js"
|
|
10
|
+
},
|
|
8
11
|
"exports": {
|
|
9
12
|
".": {
|
|
10
13
|
"import": "./dist/index.js",
|
|
@@ -30,7 +33,7 @@
|
|
|
30
33
|
"typecheck": "tsc --noEmit"
|
|
31
34
|
},
|
|
32
35
|
"dependencies": {
|
|
33
|
-
"@codemcp/knowledge-core": "^1.0.
|
|
36
|
+
"@codemcp/knowledge-core": "^1.0.15",
|
|
34
37
|
"@modelcontextprotocol/sdk": "^1.19.1"
|
|
35
38
|
},
|
|
36
39
|
"devDependencies": {
|