@lorrylurui/code-intelligence-mcp 1.1.5 → 1.1.6

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.
@@ -3,7 +3,7 @@ import path from 'node:path';
3
3
  import { fileURLToPath } from 'node:url';
4
4
  import { existsSync, readFileSync } from 'node:fs';
5
5
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
6
- const projectRoot = path.resolve(__dirname, '../../');
6
+ const projectRoot = __dirname;
7
7
  // 解析命令行参数 --key=value 格式,注入到 process.env
8
8
  for (const arg of process.argv) {
9
9
  const match = arg.match(/^--([A-Z_][A-Z0-9_]*)=(.+)$/);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lorrylurui/code-intelligence-mcp",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "private": false,
5
5
  "description": "MCP server 提供仓库内可复用代码块(ts/tsx/js/jsx/css/less)的索引和查询能力,支持基于代码上下文的智能推荐。",
6
6
  "type": "module",