octocode-mcp 7.0.11 → 7.0.12-alpha.1
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.
|
@@ -18,9 +18,5 @@
|
|
|
18
18
|
* - This makes sense: you're finding files by name, not searching their content!
|
|
19
19
|
*
|
|
20
20
|
* Test Results from Actual Octocode MCP Server (Verified):
|
|
21
|
-
* ✅ match='file' searches IN file content and returns paths WITH text_matches
|
|
22
|
-
* ✅ match='path' searches in filenames/directories and returns ONLY paths (no text_matches)
|
|
23
|
-
* ✅ Multiple paths are returned when match='path' finds multiple matches
|
|
24
|
-
* ✅ Both modes work correctly in bulk operations
|
|
25
21
|
*/
|
|
26
22
|
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Test helpers for type guards and common test utilities
|
|
3
|
+
*/
|
|
4
|
+
import type { ContentBlock } from '@modelcontextprotocol/sdk/types.js';
|
|
5
|
+
/**
|
|
6
|
+
* Type guard to check if a ContentBlock is TextContent
|
|
7
|
+
*/
|
|
8
|
+
export declare function isTextContent(content: ContentBlock | undefined): content is {
|
|
9
|
+
type: 'text';
|
|
10
|
+
text: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Extracts text from a ContentBlock array, asserting it's text content
|
|
14
|
+
* @throws Error if content is not text type
|
|
15
|
+
*/
|
|
16
|
+
export declare function getTextContent(content: ContentBlock[]): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "octocode-mcp",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.12-alpha.1",
|
|
4
4
|
"description": "Model Context Protocol (MCP) server for advanced GitHub repository analysis and code discovery. Provides AI assistants with powerful tools to search, analyze, and understand codebases across GitHub.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -39,32 +39,27 @@
|
|
|
39
39
|
"octocode-mcp-beta": "dist/index.js"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
42
|
+
"@modelcontextprotocol/sdk": "^1.22.0",
|
|
43
43
|
"@octokit/core": "^7.0.6",
|
|
44
|
-
"@octokit/openapi-types": "^
|
|
45
|
-
"@octokit/plugin-rest-endpoint-methods": "^
|
|
46
|
-
"@octokit/plugin-throttling": "^11.0.
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"dotenv": "^16.4.5",
|
|
51
|
-
"express": "^4.18.2",
|
|
52
|
-
"mcp-s-oauth": "^1.0.5",
|
|
44
|
+
"@octokit/openapi-types": "^27.0.0",
|
|
45
|
+
"@octokit/plugin-rest-endpoint-methods": "^17.0.0",
|
|
46
|
+
"@octokit/plugin-throttling": "^11.0.3",
|
|
47
|
+
"axios": "^1.13.2",
|
|
48
|
+
"dotenv": "^17.2.3",
|
|
49
|
+
"express": "^5.1.0",
|
|
53
50
|
"node-cache": "^5.1.2",
|
|
54
|
-
"
|
|
55
|
-
"octocode-utils": "^5.0.0",
|
|
51
|
+
"octocode-utils": "latest",
|
|
56
52
|
"octokit": "^5.0.5",
|
|
57
53
|
"uuid": "^13.0.0",
|
|
58
|
-
"zod": "^3.
|
|
54
|
+
"zod": "^3.23.8"
|
|
59
55
|
},
|
|
60
56
|
"devDependencies": {
|
|
61
57
|
"@rollup/plugin-commonjs": "^28.0.3",
|
|
62
58
|
"@rollup/plugin-json": "^6.1.0",
|
|
63
59
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
64
60
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
65
|
-
"@types/express": "^5
|
|
61
|
+
"@types/express": "^5",
|
|
66
62
|
"@types/node": "^22.15.29",
|
|
67
|
-
"@types/uuid": "^11.0.0",
|
|
68
63
|
"eslint": "^8.57.0",
|
|
69
64
|
"eslint-config-prettier": "^10.1.5",
|
|
70
65
|
"eslint-plugin-prettier": "^5.4.1",
|
|
@@ -112,5 +107,6 @@
|
|
|
112
107
|
"type": "stdio",
|
|
113
108
|
"command": "octocode-mcp",
|
|
114
109
|
"args": []
|
|
115
|
-
}
|
|
116
|
-
|
|
110
|
+
},
|
|
111
|
+
"stableVersion": "7.0.12"
|
|
112
|
+
}
|
package/server.json
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"url": "https://github.com/bgauryy/octocode-mcp",
|
|
9
9
|
"source": "github"
|
|
10
10
|
},
|
|
11
|
-
"version": "7.0.
|
|
11
|
+
"version": "7.0.12",
|
|
12
12
|
"packages": [
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"identifier": "octocode-mcp",
|
|
16
|
-
"version": "7.0.
|
|
16
|
+
"version": "7.0.12",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
},
|