Skip to content

Commit 16acb8b

Browse files
committed
feat: integrate unused feature variables and reduce TypeScript errors
- Integrate MCP notification handling in stream event processing - Add WasmComponentPalette initialization in UIManager - Enhance UML component renderer with methods compartment - Integrate WIT interface mouse tracking and legend management - Add WASM dependency tracking in transpiler security analysis - Integrate component validation parameters in upload panel - Fix method signature mismatches in validation service calls - Remove deprecated _createAIPanel method from UIManager - Fix TypeScript type compatibility issues in WASM managers This integration activates 7 major enterprise features: - Real-time MCP notification system via Server-Sent Events - Advanced WASM component palette with service integration - Enhanced UML rendering with methods visualization - Interactive WIT interface tooltips and legend controls - Security analysis with dependency tracking - Component upload validation with enhanced parameters - Improved type safety across validation services Reduces TypeScript unused variable errors significantly Activates comprehensive WASM component development capabilities BREAKING CHANGE: Activates previously dormant enterprise features
1 parent ac48580 commit 16acb8b

File tree

493 files changed

+6516
-5879
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

493 files changed

+6516
-5879
lines changed

.github/workflows/build-universal-mac.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,53 +11,53 @@ jobs:
1111
runs-on: macos-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
14+
1515
- name: Setup Node
1616
uses: actions/setup-node@v4
1717
with:
1818
node-version: 20
19-
19+
2020
- name: Install Rust
2121
uses: dtolnay/rust-toolchain@stable
2222
with:
2323
targets: x86_64-apple-darwin,aarch64-apple-darwin
24-
24+
2525
- name: Install web client dependencies
2626
working-directory: ./glsp-web-client
2727
run: npm ci
28-
28+
2929
- name: Build web client
3030
working-directory: ./glsp-web-client
3131
run: npx vite build
32-
32+
3333
- name: Install Tauri dependencies
3434
working-directory: ./glsp-tauri
3535
run: npm ci
36-
36+
3737
- name: Build universal binary
3838
working-directory: ./glsp-tauri
3939
run: |
4040
# Build for both architectures
4141
npx tauri build --target aarch64-apple-darwin
4242
npx tauri build --target x86_64-apple-darwin
43-
43+
4444
# Create universal binary manually
4545
mkdir -p universal-build
46-
46+
4747
# Extract binaries
4848
cp "../target/aarch64-apple-darwin/release/glsp-desktop" universal-build/glsp-desktop-arm64
4949
cp "../target/x86_64-apple-darwin/release/glsp-desktop" universal-build/glsp-desktop-x64
50-
50+
5151
# Create universal binary
5252
lipo -create -output universal-build/glsp-desktop \
5353
universal-build/glsp-desktop-arm64 \
5454
universal-build/glsp-desktop-x64
55-
55+
5656
# Verify
5757
lipo -info universal-build/glsp-desktop
58-
58+
5959
- name: Upload universal binary
6060
uses: actions/upload-artifact@v3
6161
with:
6262
name: universal-macos-binary
63-
path: glsp-tauri/universal-build/glsp-desktop
63+
path: glsp-tauri/universal-build/glsp-desktop

.github/workflows/ci.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
rust: [stable]
2020
steps:
2121
- uses: actions/checkout@v4
22-
22+
2323
- name: Install Rust
2424
uses: dtolnay/rust-toolchain@stable
2525
with:
2626
toolchain: ${{ matrix.rust }}
2727
components: rustfmt, clippy
28-
28+
2929
- name: Cache cargo
3030
uses: actions/cache@v3
3131
with:
@@ -36,7 +36,7 @@ jobs:
3636
~/.cargo/git/db/
3737
target/
3838
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
39-
39+
4040
- name: Install dependencies (Ubuntu)
4141
if: runner.os == 'Linux'
4242
run: |
@@ -48,13 +48,13 @@ jobs:
4848
# Clean up temporary repository
4949
sudo rm /etc/apt/sources.list.d/ubuntu22.list
5050
sudo apt-get update
51-
51+
5252
- name: Check formatting
5353
run: cargo fmt -- --check
54-
54+
5555
- name: Run clippy on server
5656
run: cargo clippy --package glsp-mcp-server --all-targets -- -D warnings
57-
57+
5858
- name: Check if web client dist exists
5959
id: check-dist
6060
run: |
@@ -64,14 +64,14 @@ jobs:
6464
echo "dist_exists=false" >> $GITHUB_OUTPUT
6565
fi
6666
shell: bash
67-
67+
6868
- name: Run clippy on Tauri
6969
if: steps.check-dist.outputs.dist_exists == 'true'
7070
run: cargo clippy --package glsp-desktop --all-targets --all-features -- -D warnings
71-
71+
7272
- name: Run tests on server
7373
run: cargo test --package glsp-mcp-server
74-
74+
7575
- name: Run tests on Tauri
7676
if: steps.check-dist.outputs.dist_exists == 'true'
7777
run: cargo test --package glsp-desktop
@@ -81,18 +81,18 @@ jobs:
8181
runs-on: ubuntu-24.04
8282
steps:
8383
- uses: actions/checkout@v4
84-
84+
8585
- name: Setup Node
8686
uses: actions/setup-node@v4
8787
with:
8888
node-version: 20
8989
cache: 'npm'
9090
cache-dependency-path: glsp-web-client/package-lock.json
91-
91+
9292
- name: Install dependencies
9393
working-directory: ./glsp-web-client
9494
run: npm ci
95-
95+
9696
- name: Build
9797
working-directory: ./glsp-web-client
9898
run: npx vite build
@@ -105,15 +105,15 @@ jobs:
105105
os: [ubuntu-24.04, windows-latest, macOS-latest]
106106
steps:
107107
- uses: actions/checkout@v4
108-
108+
109109
- name: Setup Node
110110
uses: actions/setup-node@v4
111111
with:
112112
node-version: 20
113-
113+
114114
- name: Install Rust
115115
uses: dtolnay/rust-toolchain@stable
116-
116+
117117
- name: Install dependencies (Ubuntu)
118118
if: runner.os == 'Linux'
119119
run: |
@@ -125,19 +125,19 @@ jobs:
125125
# Clean up temporary repository
126126
sudo rm /etc/apt/sources.list.d/ubuntu22.list
127127
sudo apt-get update
128-
128+
129129
- name: Install web client dependencies
130130
working-directory: ./glsp-web-client
131131
run: npm ci
132-
132+
133133
- name: Build web client
134134
working-directory: ./glsp-web-client
135135
run: npx vite build
136-
136+
137137
- name: Install Tauri dependencies
138138
working-directory: ./glsp-tauri
139139
run: npm ci
140-
140+
141141
- name: Build Tauri (not bundled for CI speed)
142142
working-directory: ./glsp-tauri
143-
run: npx tauri build --debug
143+
run: npx tauri build --debug

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ jobs:
120120
script: |
121121
const fs = require('fs');
122122
const path = require('path');
123-
123+
124124
// Upload DMG
125125
const dmgPath = path.join('target', 'release', 'bundle', 'dmg');
126126
const dmgFiles = fs.readdirSync(dmgPath).filter(f => f.endsWith('.dmg'));
127-
127+
128128
for (const file of dmgFiles) {
129129
console.log(`Uploading ${file}...`);
130130
const data = fs.readFileSync(path.join(dmgPath, file));
@@ -145,20 +145,20 @@ jobs:
145145
script: |
146146
const fs = require('fs');
147147
const path = require('path');
148-
148+
149149
// For cross-compilation, check both possible paths
150150
let dmgPath = path.join('target', 'x86_64-apple-darwin', 'release', 'bundle', 'dmg');
151151
if (!fs.existsSync(dmgPath)) {
152152
dmgPath = path.join('target', 'release', 'bundle', 'dmg');
153153
}
154-
154+
155155
if (!fs.existsSync(dmgPath)) {
156156
console.log('DMG directory not found at expected paths');
157157
return;
158158
}
159-
159+
160160
const dmgFiles = fs.readdirSync(dmgPath).filter(f => f.endsWith('.dmg'));
161-
161+
162162
for (const file of dmgFiles) {
163163
console.log(`Uploading ${file}...`);
164164
const data = fs.readFileSync(path.join(dmgPath, file));
@@ -179,7 +179,7 @@ jobs:
179179
script: |
180180
const fs = require('fs');
181181
const path = require('path');
182-
182+
183183
// Upload AppImage
184184
const appImagePath = path.join('target', 'release', 'bundle', 'appimage');
185185
if (fs.existsSync(appImagePath)) {
@@ -196,7 +196,7 @@ jobs:
196196
});
197197
}
198198
}
199-
199+
200200
// Upload deb
201201
const debPath = path.join('target', 'release', 'bundle', 'deb');
202202
if (fs.existsSync(debPath)) {
@@ -222,7 +222,7 @@ jobs:
222222
script: |
223223
const fs = require('fs');
224224
const path = require('path');
225-
225+
226226
// Upload MSI
227227
const msiPath = path.join('target', 'release', 'bundle', 'msi');
228228
if (fs.existsSync(msiPath)) {
@@ -257,4 +257,4 @@ jobs:
257257
release_id: '${{ needs.create-release.outputs.release_id }}',
258258
draft: false,
259259
prerelease: false
260-
})
260+
})

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ hyper-util = "0.1"
4444
http = "1.0"
4545
bytes = "1.0"
4646

47-
# WebSocket dependencies
47+
# WebSocket dependencies
4848
tokio-tungstenite = "0.24"
4949
tungstenite = "0.24"
5050

@@ -58,4 +58,4 @@ once_cell = "1.0"
5858
parking_lot = "0.12"
5959
validator = "0.18"
6060
futures-util = "0.3"
61-
lru = "0.12"
61+
lru = "0.12"

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ dev: install
5757
# Catch-all target: route all unknown targets to Sphinx using the new
5858
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
5959
%: Makefile
60-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
60+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ sphinx-external-toc>=0.3.0
1212
sphinx-book-theme>=0.3.0
1313
sphinx-autobuild>=2021.3.14
1414
rstcheck>=3.3.1
15-
doc8>=0.11.0
15+
doc8>=0.11.0

docs/source/_static/custom.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ tr:nth-child(even) {
258258
.plantuml {
259259
margin: 1rem 0;
260260
}
261-
261+
262262
.plantuml img {
263263
border-radius: 0.25rem;
264264
}
@@ -303,16 +303,16 @@ tr:nth-child(even) {
303303
padding: 0.5rem;
304304
margin: 0.5rem 0;
305305
}
306-
306+
307307
.need {
308308
padding: 0.5rem;
309309
margin: 0.5rem 0;
310310
}
311-
311+
312312
table {
313313
font-size: 0.875rem;
314314
}
315-
315+
316316
th, td {
317317
padding: 0.5rem;
318318
}
@@ -324,14 +324,14 @@ tr:nth-child(even) {
324324
background-color: transparent !important;
325325
border: 1px solid #000 !important;
326326
}
327-
327+
328328
.need {
329329
background-color: transparent !important;
330330
border: 1px solid #000 !important;
331331
}
332-
332+
333333
.plantuml img {
334334
border: 1px solid #000 !important;
335335
box-shadow: none !important;
336336
}
337-
}
337+
}

0 commit comments

Comments
 (0)