sigmap 3.0.1-rc.1 → 3.1.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 +28 -0
- package/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/core/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,12 +8,40 @@ Format: [Semantic Versioning](https://semver.org/)
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## [3.1.0] — 2026-04-07 — Global Command Detection & VS Code Prerelease Fix
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- **VS Code extension: global command auto-detection** — extension now finds `gen-context` installed via Volta, nvm, npm, or Homebrew without requiring `gen-context.js` in the project root or a manual `sigmap.scriptPath` setting
|
|
17
|
+
- Probe chain: local `node_modules/.bin` → `~/.volta/bin` → `~/.nvm/versions/node/*/bin` (newest first) → `/usr/local/bin` → `/opt/homebrew/bin` → `~/.npm-global/bin` → login-shell `which`
|
|
18
|
+
- Works on macOS GUI apps that do not inherit shell `PATH`
|
|
19
|
+
- `resolveGlobalCommand()` + unified `resolveRunner()` added to `vscode-extension/src/extension.js`
|
|
20
|
+
- **VS Code extension: actionable error message** — when command is not found, notification offers "Copy install command" (copies `npm install -g sigmap` to clipboard) and "Open settings" buttons instead of a plain warning
|
|
21
|
+
- **Prerelease GitHub Actions workflow** — new `prerelease-publish.yml` for manual alpha/beta/rc releases across all 5 platforms (npm, GitHub Packages, VS Code, Open VSX, JetBrains) without marking as @latest
|
|
22
|
+
- VS Code/Open VSX uses `major.minor.patch` versioning (VSCE prerelease constraint)
|
|
23
|
+
- npm/JetBrains use full semver prerelease suffix (e.g. `3.1.0-beta.1`)
|
|
24
|
+
|
|
11
25
|
### Fixed
|
|
12
26
|
- **`output` config key not honored for copilot adapter** · [#30](https://github.com/manojmallick/sigmap/issues/30)
|
|
13
27
|
- Custom `output` path in config now correctly used for copilot adapter instead of hard-wired `.github/copilot-instructions.md`
|
|
14
28
|
- Added `resolveAdapterPath()` helper to centralize adapter path resolution
|
|
15
29
|
- Other adapters (claude, cursor, windsurf) continue to use fixed paths as designed
|
|
16
30
|
- 5 new integration tests ensure custom paths work correctly across all config combinations
|
|
31
|
+
- **JetBrains plugin: global `gen-context` command support** · [#29](https://github.com/manojmallick/sigmap/issues/29)
|
|
32
|
+
- Plugin now resolves command via fallback chain: local `gen-context.js` → `node_modules/.bin/gen-context` → system `PATH`
|
|
33
|
+
- Enables use in Java, Rust, Go and other non-Node projects with `gen-context` installed globally via Volta/nvm/npm
|
|
34
|
+
- **VS Code prerelease versioning** — workflow previously failed publishing because semver-suffixed versions (e.g. `3.1.0-alpha.1`) are rejected by VSCE; fixed by splitting into separate `npm_version` and `vscode_version` outputs
|
|
35
|
+
|
|
36
|
+
### Technical
|
|
37
|
+
- `resolveRunner()` returns `{ type: 'script' | 'command', path }` allowing extension to run either `node "path/gen-context.js"` or `"~/.volta/bin/gen-context"` without modification to the terminal command
|
|
38
|
+
|
|
39
|
+
### How to release (tag triggers automatic publish)
|
|
40
|
+
```bash
|
|
41
|
+
git tag v3.1.0
|
|
42
|
+
git push origin v3.1.0
|
|
43
|
+
# npm-publish.yml auto-triggers and publishes to all 5 platforms
|
|
44
|
+
```
|
|
17
45
|
|
|
18
46
|
---
|
|
19
47
|
|
package/package.json
CHANGED