sigmap 6.10.11 → 6.10.12

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.10.12] — 2026-05-27
14
+
15
+ ### Added
16
+
17
+ - **Portable `.mcp.json` support** — MCP server registration now detects and prioritizes `.mcp.json` at the project root, making MCP configuration portable across multiple agentic harnesses (Claude, Cursor, Windsurf, etc.). Falls back to `.claude/settings.json` if `.mcp.json` doesn't exist (closes #209).
18
+
19
+ ---
20
+
13
21
  ## [6.10.11] — 2026-05-22
14
22
 
15
23
  ### Fixed
package/gen-context.js CHANGED
@@ -5901,7 +5901,7 @@ __factories["./src/mcp/server"] = function(module, exports) {
5901
5901
 
5902
5902
  const SERVER_INFO = {
5903
5903
  name: 'sigmap',
5904
- version: '6.10.11',
5904
+ version: '6.10.12',
5905
5905
  description: 'SigMap MCP server — code signatures on demand',
5906
5906
  };
5907
5907
 
@@ -8655,7 +8655,7 @@ const path = require('path');
8655
8655
  const os = require('os');
8656
8656
  const { execSync } = require('child_process');
8657
8657
 
8658
- const VERSION = '6.10.11';
8658
+ const VERSION = '6.10.12';
8659
8659
  const MARKER = '\n\n## Auto-generated signatures\n<!-- Updated by gen-context.js -->\n';
8660
8660
 
8661
8661
  function requireSourceOrBundled(key) {
@@ -10455,9 +10455,11 @@ function registerMcp(cwd, scriptPath) {
10455
10455
  args: [path.resolve(scriptPath), '--mcp'],
10456
10456
  };
10457
10457
 
10458
- // JSON mcpServers targets: Claude, Cursor, Windsurf project, Windsurf global,
10459
- // VS Code (GitHub Copilot 1.99+), OpenCode project, OpenCode global, Gemini CLI
10458
+ // JSON mcpServers targets: portable .mcp.json (priority), Claude, Cursor,
10459
+ // Windsurf project, Windsurf global, VS Code (GitHub Copilot 1.99+),
10460
+ // OpenCode project, OpenCode global, Gemini CLI
10460
10461
  const jsonTargets = [
10462
+ path.join(cwd, '.mcp.json'),
10461
10463
  path.join(cwd, '.claude', 'settings.json'),
10462
10464
  path.join(cwd, '.cursor', 'mcp.json'),
10463
10465
  path.join(cwd, '.windsurf', 'mcp.json'),
@@ -10496,6 +10498,8 @@ function registerMcp(cwd, scriptPath) {
10496
10498
 
10497
10499
  // Print manual snippets for all targets
10498
10500
  console.warn('[sigmap] MCP / context server config snippets:');
10501
+ console.warn(' .mcp.json (portable, recommended):');
10502
+ console.warn(JSON.stringify({ mcpServers: { sigmap: serverEntry } }, null, 2));
10499
10503
  console.warn(' Claude / Cursor / Windsurf / VS Code / OpenCode / Gemini CLI:');
10500
10504
  console.warn(JSON.stringify({ mcpServers: { sigmap: serverEntry } }, null, 2));
10501
10505
  console.warn(' Zed (~/.config/zed/settings.json):');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigmap",
3
- "version": "6.10.11",
3
+ "version": "6.10.12",
4
4
  "description": "Zero-dependency AI context engine — 97% token reduction. No npm install. Runs on Node 18+.",
5
5
  "main": "gen-context.js",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigmap-cli",
3
- "version": "6.10.11",
3
+ "version": "6.10.12",
4
4
  "description": "SigMap CLI wrapper — thin adapter for programmatic CLI invocation",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigmap-core",
3
- "version": "6.10.11",
3
+ "version": "6.10.12",
4
4
  "description": "SigMap core library — zero-dependency code signature extraction, retrieval, and security scanning",
5
5
  "main": "index.js",
6
6
  "keywords": [
package/src/mcp/server.js CHANGED
@@ -18,7 +18,7 @@ const { readContext, searchSignatures, getMap, createCheckpoint, getRouting, exp
18
18
 
19
19
  const SERVER_INFO = {
20
20
  name: 'sigmap',
21
- version: '6.10.11',
21
+ version: '6.10.12',
22
22
  description: 'SigMap MCP server — code signatures on demand',
23
23
  };
24
24