sigmap 2.8.0 → 2.9.1

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,6 +6,43 @@ Format: [Semantic Versioning](https://semver.org/)
6
6
 
7
7
  ---
8
8
 
9
+ ## [2.9.1] — 2026-04-06 · JetBrains Marketplace Publishing
10
+
11
+ ### Added
12
+ - **JetBrains Marketplace publishing** — automated publishing job in GitHub Actions workflow
13
+ - **Gradle wrapper** — gradlew, gradlew.bat for consistent JetBrains plugin builds
14
+ - **Publishing guide** — comprehensive [docs/JETBRAINS_PUBLISH.md](docs/JETBRAINS_PUBLISH.md)
15
+ - **JetBrains Marketplace badge** — added to README.md
16
+ - **One-time token setup** — documented in publishing guide
17
+
18
+ ### Details
19
+ - GitHub Actions workflow now includes `publish-jetbrains` job
20
+ - Publishes to JetBrains Marketplace alongside npm, GitHub Packages, VS Code, and Open VSX
21
+ - Requires `JETBRAINS_PUBLISH_TOKEN` secret for automated publishing
22
+ - Full publishing guide with manual instructions and troubleshooting
23
+
24
+ ---
25
+
26
+ ## [2.9.0] — 2026-04-05 · IDE Expansion: JetBrains Plugin
27
+
28
+ ### Added
29
+ - **JetBrains plugin** — native support for all JetBrains IDEs (IntelliJ IDEA, WebStorm, PyCharm, GoLand, RubyMine, etc.)
30
+ - **Plugin descriptor** — `jetbrains-plugin/src/main/resources/META-INF/plugin.xml` with 3 actions + status bar widget
31
+ - **Kotlin sources** — 5 action implementations (RegenerateAction, OpenContextFileAction, ViewRoadmapAction, HealthStatusBar, Factory)
32
+ - **Toolbar actions** — "Regenerate Context" (Ctrl+Alt+G), "Open Context File", "View Roadmap"
33
+ - **Status bar widget** — shows health grade (A-F) and time since last regeneration; updates every 60s
34
+ - **Gradle build** — `jetbrains-plugin/build.gradle.kts` with IntelliJ Platform 2024.1+ compatibility
35
+ - **Setup documentation** — [docs/JETBRAINS_SETUP.md](docs/JETBRAINS_SETUP.md) with installation guide, features, troubleshooting
36
+ - **Integration tests** — `test/integration/jetbrains.test.js` with 11 structure validation tests
37
+
38
+ ### Details
39
+ - Compatible with IntelliJ IDEA 2024.1 - 2024.3 (Community & Ultimate)
40
+ - One-click context regeneration from IDE toolbar
41
+ - Automatic status bar updates every 60 seconds
42
+ - Full Kotlin/Gradle plugin with proper plugin.xml structure
43
+
44
+ ---
45
+
9
46
  ## [2.8.0] — upcoming · [#21](https://github.com/manojmallick/sigmap/issues/21) · branch: `feat/v2.8-snippet-retrieval`
10
47
 
11
48
  ### Planned additions
package/README.md CHANGED
@@ -26,6 +26,7 @@
26
26
  [![Changelog](https://img.shields.io/badge/changelog-CHANGELOG.md-blue)](CHANGELOG.md)
27
27
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)
28
28
  [![VS Code](https://img.shields.io/badge/VS%20Code-extension-0078d4?logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=manojmallick.sigmap)
29
+ [![JetBrains](https://img.shields.io/badge/JetBrains-plugin-000000?logo=jetbrains)](https://plugins.jetbrains.com/plugin/sigmap)
29
30
  [![Open VSX](https://img.shields.io/open-vsx/v/manojmallick/sigmap?color=a251e3&label=Open%20VSX&logo=vscodium)](https://open-vsx.org/extension/manojmallick/sigmap)
30
31
 
31
32
  </div>
@@ -39,6 +40,7 @@
39
40
  | [What it does](#-what-it-does) | Token reduction table, pipeline overview |
40
41
  | [Quick start](#-quick-start) | Get running in 60 seconds |
41
42
  | [VS Code extension](#-vs-code-extension) | Status bar, stale alerts, commands |
43
+ | [JetBrains plugin](#-jetbrains-plugin) | IntelliJ IDEA, WebStorm, PyCharm support |
42
44
  | [Languages supported](#-languages-supported) | 21 languages |
43
45
  | [Context strategies](#-context-strategies) | full / per-module / hot-cold |
44
46
  | [MCP server](#-mcp-server) | 8 on-demand tools |
@@ -110,17 +112,17 @@ AI agent session starts with full context
110
112
 
111
113
  ---
112
114
 
113
- ## 🔭 What's next — v2.8 (in progress · [#21](https://github.com/manojmallick/sigmap/issues/21))
115
+ ## 🔭 What's next — v2.9 (in progress · [#23](https://github.com/manojmallick/sigmap/issues/23))
114
116
 
115
- ### v2.8Hybrid Depth: Snippet Retrieval
117
+ ### v2.9IDE Expansion: JetBrains Plugin
116
118
 
117
119
  | Feature | Description |
118
120
  |---|---|
119
- | **Snippet extraction** | Extract relevant code blocks (functions, classes, methods) from ranked files |
120
- | **Hybrid scoring** | Combine file-level + snippet-level relevance for precision |
121
- | **`--query --snippets`** | Return top-k snippets with line numbers and context (not full files) |
122
- | **MCP enhancement** | `query_context` with `snippets: true` returns snippet text + line ranges |
123
- | **Smart context** | Include 2-3 lines before/after each snippet for readability |
121
+ | **JetBrains plugin** | Install SigMap natively in IntelliJ IDEA, WebStorm, PyCharm, GoLand, RubyMine |
122
+ | **Toolbar actions** | "Regenerate Context", "Open Context File", "View Roadmap" buttons |
123
+ | **Settings panel** | Configure srcDirs, exclude patterns, maxTokens, routing presets from IDE |
124
+ | **File watcher** | Auto-regenerate context on file changes (opt-in) |
125
+ | **Marketplace publishing** | Automated publishing to JetBrains Marketplace via GitHub Actions |
124
126
 
125
127
  ---
126
128
  | **`get_impact` MCP tool** | 9th MCP tool — `{ file, depth? }` → impacted files + signatures |
@@ -198,6 +200,28 @@ The `vscode-extension/` directory contains a first-party VS Code extension that
198
200
 
199
201
  Activate on startup (`onStartupFinished`) — loads within 3 s, never blocks editor startup.
200
202
 
203
+ **Install:** [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=manojmallick.sigmap) | [Open VSX Registry](https://open-vsx.org/extension/manojmallick/sigmap)
204
+
205
+ ---
206
+
207
+ ## 🔧 JetBrains plugin
208
+
209
+ > Introduced in v2.9 — brings SigMap to IntelliJ IDEA, WebStorm, PyCharm, and all JetBrains IDEs.
210
+
211
+ The `jetbrains-plugin/` directory contains a Kotlin-based plugin for JetBrains IDEs with the same core features as the VS Code extension.
212
+
213
+ | Feature | Detail |
214
+ |---|---|
215
+ | **Status bar widget** | Shows health grade (`A`-`F`) + time since last regen; updates every 60 s |
216
+ | **Regenerate action** | `Tools → SigMap → Regenerate Context` or **Ctrl+Alt+G** — runs `node gen-context.js` |
217
+ | **Open context action** | `Tools → SigMap → Open Context File` — opens `.github/copilot-instructions.md` |
218
+ | **View roadmap action** | `Tools → SigMap → View Roadmap` — opens roadmap in browser |
219
+ | **One-click regen** | Click status bar widget to regenerate context instantly |
220
+
221
+ Compatible with **IntelliJ IDEA 2024.1+** (Community & Ultimate), **WebStorm**, **PyCharm**, **GoLand**, **RubyMine**, **PhpStorm**, and all other IntelliJ-based IDEs.
222
+
223
+ **Install:** [JetBrains Marketplace](https://plugins.jetbrains.com/plugin/sigmap) | [Manual setup guide](docs/JETBRAINS_SETUP.md)
224
+
201
225
  ---
202
226
 
203
227
  ## 🌐 Languages supported
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.8.0';
4307
+ const VERSION = '2.9.1';
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.8.0",
3
+ "version": "2.9.1",
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.8.0",
3
+ "version": "2.9.1",
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.8
131
+ ## What's next — v2.9
132
132
 
133
- v2.8 adds hybrid depth snippet retrieval return not just relevant files, but the exact code snippets within those files. Includes `--query --snippets` CLI flag and `snippets: true` option for MCP `query_context`. See [issue #21](https://github.com/manojmallick/sigmap/issues/21).
133
+ v2.9 adds JetBrains plugin supportinstall 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.8.0",
3
+ "version": "2.9.1",
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.8.0',
21
+ version: '2.9.1',
22
22
  description: 'SigMap MCP server — code signatures on demand',
23
23
  };
24
24