sigmap 2.7.0 → 2.9.0

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
@@ -6,7 +6,50 @@ Format: [Semantic Versioning](https://semver.org/)
6
6
 
7
7
  ---
8
8
 
9
- ## [2.7.0] — upcoming · [#19](https://github.com/manojmallick/sigmap/issues/19) · branch: `feat/v2.7-ranking-optimization`
9
+ ## [2.9.0] — upcoming · [#23](https://github.com/manojmallick/sigmap/issues/23) · branch: `feat/v2.9-jetbrains-plugin`
10
+
11
+ ### Planned additions
12
+ - **JetBrains plugin skeleton** — `jetbrains-plugin/` with Gradle build, plugin.xml manifest
13
+ - **Context provider integration** — integrate SigMap MCP server into JetBrains Platform SDK
14
+ - **Toolbar actions** — "Regenerate Context", "Open Context File", "View Roadmap" buttons
15
+ - **Settings panel** — configure srcDirs, exclude patterns, maxTokens, routing presets
16
+ - **File watcher integration** — auto-regenerate context on file changes (opt-in)
17
+ - **Multi-IDE support** — test on IntelliJ IDEA, WebStorm, PyCharm, GoLand, RubyMine
18
+ - **JetBrains Marketplace publishing** — automated release via GitHub Actions
19
+ - **Documentation** — `docs/JETBRAINS_SETUP.md` with installation guide
20
+
21
+ ### Go / No-go criteria
22
+ - Plugin installs successfully on IntelliJ IDEA 2024.1+
23
+ - Context regeneration works via toolbar button
24
+ - Settings panel allows configuration of all config options
25
+ - File watcher detects changes and regenerates context
26
+ - Plugin passes JetBrains Plugin Verifier
27
+ - Published to JetBrains Marketplace
28
+ - `docs/JETBRAINS_SETUP.md` covers installation and configuration
29
+
30
+ ---
31
+
32
+ ## [2.8.0] — upcoming · [#21](https://github.com/manojmallick/sigmap/issues/21) · branch: `feat/v2.8-snippet-retrieval`
33
+
34
+ ### Planned additions
35
+ - **Snippet extraction** — `src/retrieval/snippets.js`: extract relevant code blocks (functions, classes, methods) from ranked files
36
+ - **Hybrid scoring** — combine file-level relevance with snippet-level relevance; snippets inherit file score + get their own local score
37
+ - **`--query --snippets` CLI flag** — return top-k snippets (not full file sigs), with line numbers and context
38
+ - **`query_context` MCP enhancement** — add `snippets: true` option; response includes snippet text + line ranges
39
+ - **Smart context window** — include 2-3 lines before/after snippet for context
40
+ - **Configuration** — `retrieval.snippets: { enabled: true, minLines: 3, maxSnippets: 5 }`
41
+ - **`test/integration/snippets.test.js`** — 12 tests: snippet extraction, scoring, line number accuracy, context window
42
+
43
+ ### Go / No-go criteria
44
+ - All tests green (21 extractor + all integration)
45
+ - `--query "extract signatures" --snippets` returns 3-5 relevant snippets with correct line numbers
46
+ - MCP `query_context` with `snippets: true` returns snippet text
47
+ - Snippet relevance improves precision@3 by ≥10% over full-file retrieval
48
+ - Performance: <150ms for 1000-file repos with snippets enabled
49
+
50
+ ---
51
+
52
+ ## [2.7.0] — 2026-04-05 · [#19](https://github.com/manojmallick/sigmap/issues/19)
10
53
 
11
54
  ### Planned additions
12
55
  - **Fine-tuned ranking weights** — optimize `exactToken`, `symbolMatch`, `prefixMatch`, `pathMatch`, and `recencyBoost` weights in `src/retrieval/ranker.js` based on benchmark-driven evaluation
package/README.md CHANGED
@@ -110,17 +110,17 @@ AI agent session starts with full context
110
110
 
111
111
  ---
112
112
 
113
- ## 🔭 What's next — v2.7 (in progress · [#19](https://github.com/manojmallick/sigmap/issues/19))
113
+ ## 🔭 What's next — v2.9 (in progress · [#23](https://github.com/manojmallick/sigmap/issues/23))
114
114
 
115
- ### v2.7Ranking Optimization
115
+ ### v2.9IDE Expansion: JetBrains Plugin
116
116
 
117
117
  | Feature | Description |
118
118
  |---|---|
119
- | **Fine-tuned ranking weights** | Optimize weights in `src/retrieval/ranker.js` for better precision based on benchmark evaluation |
120
- | **TF-IDF scoring** | Add term frequency-inverse document frequency scoring option for better semantic relevance |
121
- | **Weight presets** | `precision`, `balanced`, `recall` presets configurable via `retrieval.preset` |
122
- | **Performance optimization** | <100ms query performance for 1000-file repos, optimized for large codebases (10K+ files) |
123
- | **Precision improvement** | Target ≥5% precision@5 improvement while maintaining hit@5 0.80 |
119
+ | **JetBrains plugin** | Install SigMap natively in IntelliJ IDEA, WebStorm, PyCharm, GoLand, RubyMine |
120
+ | **Toolbar actions** | "Regenerate Context", "Open Context File", "View Roadmap" buttons |
121
+ | **Settings panel** | Configure srcDirs, exclude patterns, maxTokens, routing presets from IDE |
122
+ | **File watcher** | Auto-regenerate context on file changes (opt-in) |
123
+ | **Marketplace publishing** | Automated publishing to JetBrains Marketplace via GitHub Actions |
124
124
 
125
125
  ---
126
126
  | **`get_impact` MCP tool** | 9th MCP tool — `{ file, depth? }` → impacted files + signatures |
package/gen-context.js CHANGED
@@ -4304,7 +4304,7 @@ const path = require('path');
4304
4304
  const os = require('os');
4305
4305
  const { execSync } = require('child_process');
4306
4306
 
4307
- const VERSION = '2.7.0';
4307
+ const VERSION = '2.9.0';
4308
4308
  const MARKER = '\n\n## Auto-generated signatures\n<!-- Updated by gen-context.js -->\n';
4309
4309
 
4310
4310
  function requireSourceOrBundled(key) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigmap",
3
- "version": "2.7.0",
3
+ "version": "2.9.0",
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": "2.7.0",
3
+ "version": "2.9.0",
4
4
  "description": "SigMap CLI wrapper — thin adapter for programmatic CLI invocation",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -128,9 +128,9 @@ const health = score('/path/to/project');
128
128
 
129
129
  All existing CLI flags (`--generate`, `--watch`, `--mcp`, `--query`, `--analyze`, `--benchmark`, `--health`, …) are unchanged.
130
130
 
131
- ## What's next — v2.7
131
+ ## What's next — v2.9
132
132
 
133
- v2.7 adds ranking optimization and fine-tuned weights for better precision in query-aware retrieval. TF-IDF scoring option, configurable weight presets (precision, balanced, recall), and performance optimization for large codebases. See [issue #19](https://github.com/manojmallick/sigmap/issues/19).
133
+ v2.9 adds JetBrains plugin support install SigMap natively in IntelliJ IDEA, WebStorm, PyCharm, GoLand, RubyMine. Includes toolbar actions, settings panel, file watcher integration, and automated JetBrains Marketplace publishing. See [issue #23](https://github.com/manojmallick/sigmap/issues/23).
134
134
 
135
135
  See the full [roadmap](https://manojmallick.github.io/sigmap/roadmap.html).
136
136
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigmap-core",
3
- "version": "2.7.0",
3
+ "version": "2.9.0",
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: '2.7.0',
21
+ version: '2.9.0',
22
22
  description: 'SigMap MCP server — code signatures on demand',
23
23
  };
24
24