sigmap 6.6.4 → 6.6.5
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/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,14 @@ Format: [Semantic Versioning](https://semver.org/)
|
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
## [6.6.5] — 2026-04-30
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **Monorepo JVM project detection** — Enhanced source root resolver to detect `src/main/{java,kotlin,scala}` and `app/src/main/{java,kotlin,scala}` in monorepo workspace packages (packages/*, apps/*, services/*, modules/*). Added `src/test/{java,kotlin}` and `app/src/main/scala` to DEEP_PATHS for consistent detection across monorepo and non-monorepo structures.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
13
21
|
## [6.6.4] — 2026-04-29
|
|
14
22
|
|
|
15
23
|
### Changed
|
package/gen-context.js
CHANGED
|
@@ -5387,7 +5387,7 @@ __factories["./src/mcp/server"] = function(module, exports) {
|
|
|
5387
5387
|
|
|
5388
5388
|
const SERVER_INFO = {
|
|
5389
5389
|
name: 'sigmap',
|
|
5390
|
-
version: '6.6.
|
|
5390
|
+
version: '6.6.5',
|
|
5391
5391
|
description: 'SigMap MCP server — code signatures on demand',
|
|
5392
5392
|
};
|
|
5393
5393
|
|
|
@@ -7855,7 +7855,7 @@ const path = require('path');
|
|
|
7855
7855
|
const os = require('os');
|
|
7856
7856
|
const { execSync } = require('child_process');
|
|
7857
7857
|
|
|
7858
|
-
const VERSION = '6.6.
|
|
7858
|
+
const VERSION = '6.6.5';
|
|
7859
7859
|
const MARKER = '\n\n## Auto-generated signatures\n<!-- Updated by gen-context.js -->\n';
|
|
7860
7860
|
|
|
7861
7861
|
function requireSourceOrBundled(key) {
|
package/package.json
CHANGED
|
@@ -110,6 +110,18 @@ function _enumerateCandidates(cwd, isMonorepo, ignorePatterns, excludeList) {
|
|
|
110
110
|
}
|
|
111
111
|
// Also consider the package root itself
|
|
112
112
|
candidates.push({ name: `${top}/${pkg.name}`, full: path.join(topFull, pkg.name) });
|
|
113
|
+
|
|
114
|
+
// JVM project structures in monorepo packages (Java, Kotlin, Scala)
|
|
115
|
+
for (const jvmLang of ['java', 'kotlin', 'scala']) {
|
|
116
|
+
const srcMainJvm = path.join(topFull, pkg.name, 'src', 'main', jvmLang);
|
|
117
|
+
if (fs.existsSync(srcMainJvm)) {
|
|
118
|
+
candidates.push({ name: `${top}/${pkg.name}/src/main/${jvmLang}`, full: srcMainJvm });
|
|
119
|
+
}
|
|
120
|
+
const appSrcMainJvm = path.join(topFull, pkg.name, 'app', 'src', 'main', jvmLang);
|
|
121
|
+
if (fs.existsSync(appSrcMainJvm)) {
|
|
122
|
+
candidates.push({ name: `${top}/${pkg.name}/app/src/main/${jvmLang}`, full: appSrcMainJvm });
|
|
123
|
+
}
|
|
124
|
+
}
|
|
113
125
|
}
|
|
114
126
|
} catch (_) {}
|
|
115
127
|
}
|
|
@@ -118,7 +130,8 @@ function _enumerateCandidates(cwd, isMonorepo, ignorePatterns, excludeList) {
|
|
|
118
130
|
// Deep paths known by language/framework (e.g. src/main/java, src-tauri/src)
|
|
119
131
|
const DEEP_PATHS = [
|
|
120
132
|
'src/main/java','src/main/kotlin','src/main/scala',
|
|
121
|
-
'src-tauri/src','Sources/App','app/src/main/java','app/src/main/kotlin',
|
|
133
|
+
'src-tauri/src','Sources/App','app/src/main/java','app/src/main/kotlin','app/src/main/scala',
|
|
134
|
+
'src/test/java','src/test/kotlin',
|
|
122
135
|
];
|
|
123
136
|
for (const dp of DEEP_PATHS) {
|
|
124
137
|
const full = path.join(cwd, dp);
|
package/src/mcp/server.js
CHANGED