sysml-v2-lsp 0.8.0 → 0.10.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 +35 -1
- package/dist/server/mcpServer.js +5 -4
- package/dist/server/parseWorker.js +1079 -0
- package/dist/server/server.js +23 -18
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.10.0]
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Off-main-thread parsing via worker thread — diagnostics arrive faster while hover/completion stay responsive
|
|
8
|
+
- Early-open document queue: files opened before server initialisation are re-validated once the DFA is ready
|
|
9
|
+
- Enum value recognition (`enum red;` and bare `red;`) modelled as `EnumUsage` children in the symbol table
|
|
10
|
+
- DFA loader module for worker-side snapshot hydration
|
|
11
|
+
- Expanded warm-up text with `import` and `import all` variants
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Parse-retry comment trimmed to a concise one-liner
|
|
16
|
+
- `empty-enum` diagnostic no longer fires when the enum body contains explicit or implicit values
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- False-positive syntax errors on `import` statements inside package bodies
|
|
21
|
+
|
|
22
|
+
## [0.9.0]
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- Semantic rules: circular specialization, circular containment, unsatisfied requirements, unverified requirements
|
|
27
|
+
- Syntax error suppression for known grammar limitation zones (constraint bodies, calc/analysis expressions)
|
|
28
|
+
- Workspace file scanning improvements
|
|
29
|
+
- Document formatting provider
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- Parser self-healing DFA: SLL→LL fallback builds correct DFA states in-place instead of clearing the entire snapshot
|
|
34
|
+
- Library index handles `<shortName>` and quoted long-name syntax
|
|
35
|
+
- Satisfy/verify caches on `SemanticValidator` avoid redundant workspace scans
|
|
36
|
+
- Type-name extraction strips leaked keyword concatenations from `getText()`
|
|
37
|
+
|
|
3
38
|
## [0.8.0]
|
|
4
39
|
|
|
5
40
|
### Added
|
|
@@ -7,7 +42,6 @@
|
|
|
7
42
|
- Update grammar files with Full OMG SysML v2 spec conformance: grammar now passes all official training, validation, and example files (309 .sysml files across 4 suites)
|
|
8
43
|
- `make update-grammar` now automatically rebuilds parser and regenerates DFA snapshot
|
|
9
44
|
- Standard library smoke test retained in LSP repo (`test/unit/conformance.test.ts`)
|
|
10
|
-
- 12 new grammar patches (Fix 40–51) in the grammar generator for spec conformance
|
|
11
45
|
|
|
12
46
|
### Changed
|
|
13
47
|
|