sysml-v2-lsp 0.6.0 → 0.7.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 +25 -0
- package/dist/server/mcpServer.js +9 -4
- package/dist/server/server.js +30 -13
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.0]
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Workspace-wide semantic validation with cross-file symbol indexes (byName, byParent, byQualifiedName, definitionsByName, portsByName)
|
|
8
|
+
- Three new validation rules: redefinition multiplicity, port type compatibility, constraint body references
|
|
9
|
+
- Quick-fix code actions for all three new rules (align multiplicity, switch port endpoint, suggest nearest member)
|
|
10
|
+
- Context-aware completions: port endpoints in `connect` blocks, type annotation filtering, workspace definition symbols
|
|
11
|
+
- Semantic feedback in hover tooltips — shows diagnostics and repair hints at the hovered position
|
|
12
|
+
- Cached semantic diagnostics per document version to avoid redundant revalidation
|
|
13
|
+
- MCP preview tool falls back to cached/loaded documents when `code` parameter is omitted
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Unused-definition rule narrowed to PartDef/ActionDef, excludes types with base types, promoted from Hint to Warning, now workspace-scoped
|
|
18
|
+
- Grammar updated to OMG "2026-02 - SysML v2 Release" — removed local `end <keyword>` patch in favour of upstream `endFeatureUsage` rule
|
|
19
|
+
- MCP non-visual tools annotated with explicit "NOT Visualization" routing guidance
|
|
20
|
+
- MCP preview response stripped to minimal render data (mermaidMarkup + title)
|
|
21
|
+
- MCP tool routing guidance and aliases expanded for diagnostics, validation, and file-focused preview requests
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- Semantic validator signal quality: reduced specialization false positives and downgraded low-value unused-definition reports to warnings
|
|
26
|
+
- Document-close diagnostics race: pending validation timers are cancelled and diagnostics publishing is guarded for closed documents
|
|
27
|
+
|
|
3
28
|
## [0.6.0]
|
|
4
29
|
|
|
5
30
|
### Added
|