octocode-mcp 7.0.15-alpha.2 → 7.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.
@@ -45,12 +45,25 @@ type ToolNamesValue = CompleteMetadata['toolNames'][keyof CompleteMetadata['tool
45
45
  export type ToolName = ToolNamesValue;
46
46
  export declare function initializeToolMetadata(): Promise<void>;
47
47
  export declare function loadToolContent(): Promise<CompleteMetadata>;
48
+ export declare function getInstructionsSync(): string;
49
+ export declare function getPromptsSync(): CompleteMetadata['prompts'];
48
50
  export declare const TOOL_NAMES: CompleteMetadata["toolNames"];
49
51
  export declare const BASE_SCHEMA: CompleteMetadata["baseSchema"];
50
52
  export declare const GENERIC_ERROR_HINTS: readonly string[];
53
+ export declare function getCompleteMetadata(): Promise<CompleteMetadata>;
54
+ export declare function getToolsMetadata(): Promise<Record<string, ToolMetadata>>;
55
+ export declare function getToolMetadata(toolName: string): Promise<ToolMetadata | undefined>;
56
+ export declare function getToolDescription(toolName: string): Promise<string>;
57
+ export declare function getToolSchema(toolName: string): Promise<Record<string, string>>;
51
58
  export declare function isToolAvailableSync(toolName: string): boolean;
59
+ export declare function getToolHints(toolName: string, resultType: 'hasResults' | 'empty'): Promise<readonly string[]>;
52
60
  export declare function getToolHintsSync(toolName: string, resultType: 'hasResults' | 'empty'): readonly string[];
61
+ export declare function getGenericErrorHints(): Promise<readonly string[]>;
53
62
  export declare function getGenericErrorHintsSync(): readonly string[];
63
+ export declare function getBaseHints(): Promise<{
64
+ hasResults: readonly string[];
65
+ empty: readonly string[];
66
+ }>;
54
67
  export declare function getDynamicHints(toolName: string, hintType: 'topicsHasResults' | 'topicsEmpty' | 'keywordsEmpty'): readonly string[];
55
68
  export declare function getBulkOperationsInstructions(): {
56
69
  base: string;
@@ -30,3 +30,7 @@ export declare function getCacheStats(): CacheStats & {
30
30
  hitRate: number;
31
31
  cacheSize: number;
32
32
  };
33
+ /**
34
+ * Perform periodic cleanup (simplified - NodeCache handles this automatically)
35
+ */
36
+ export declare function performPeriodicCleanup(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "octocode-mcp",
3
- "version": "7.0.15-alpha.2",
3
+ "version": "7.0.15",
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",
@@ -74,10 +74,10 @@
74
74
  "rollup-plugin-string": "^3.0.0",
75
75
  "rollup-plugin-terser": "^7.0.2",
76
76
  "typescript": "^5.9.2",
77
- "vitest": "^4.0.13"
77
+ "vitest": "^4.0.4"
78
78
  },
79
79
  "engines": {
80
- "node": ">=20.0.0"
80
+ "node": ">=18.12.0"
81
81
  },
82
82
  "files": [
83
83
  "dist/**/*.js",
@@ -103,8 +103,8 @@
103
103
  "lint:fix": "eslint src/**/*.ts tests/**/*.ts --fix",
104
104
  "prepack": "yarn build",
105
105
  "prepublishOnly": "yarn lint && yarn test && rollup -c",
106
- "test": "vitest run --coverage",
107
- "test:coverage": "vitest run --coverage",
106
+ "test": "vitest run",
107
+ "test:coverage": "vitest run --coverage --coverage.include=\"src/**\"",
108
108
  "test:ui": "vitest --ui",
109
109
  "test:watch": "vitest --watch"
110
110
  },
@@ -113,6 +113,5 @@
113
113
  "type": "stdio",
114
114
  "command": "octocode-mcp",
115
115
  "args": []
116
- },
117
- "stableVersion": "7.0.15"
118
- }
116
+ }
117
+ }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};