@c5t8fbt-wy/winforms-mcp 1.2.9 → 1.2.10
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/dist/{Rhombus.WinFormsMcp.Server.deps.json → C5T8fBtWY.WinFormsMcp.Server.deps.json} +3 -3
- package/dist/{Rhombus.WinFormsMcp.Server.dll → C5T8fBtWY.WinFormsMcp.Server.dll} +0 -0
- package/dist/{Rhombus.WinFormsMcp.Server.exe → C5T8fBtWY.WinFormsMcp.Server.exe} +0 -0
- package/index.js +4 -4
- package/install.js +2 -2
- package/package.json +1 -1
- /package/dist/{Rhombus.WinFormsMcp.Server.runtimeconfig.json → C5T8fBtWY.WinFormsMcp.Server.runtimeconfig.json} +0 -0
package/dist/{Rhombus.WinFormsMcp.Server.deps.json → C5T8fBtWY.WinFormsMcp.Server.deps.json}
RENAMED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v8.0": {
|
|
9
|
-
"
|
|
9
|
+
"C5T8fBtWY.WinFormsMcp.Server/1.2.10": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"FlaUI.Core": "4.0.0",
|
|
12
12
|
"FlaUI.UIA2": "4.0.0"
|
|
13
13
|
},
|
|
14
14
|
"runtime": {
|
|
15
|
-
"
|
|
15
|
+
"C5T8fBtWY.WinFormsMcp.Server.dll": {}
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"FlaUI.Core/4.0.0": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"libraries": {
|
|
59
|
-
"
|
|
59
|
+
"C5T8fBtWY.WinFormsMcp.Server/1.2.10": {
|
|
60
60
|
"type": "project",
|
|
61
61
|
"serviceable": false,
|
|
62
62
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* C5T8fBtWY.WinFormsMcp NPM Wrapper
|
|
5
5
|
*
|
|
6
6
|
* This module provides a Node.js wrapper for the .NET-based WinForms automation MCP server.
|
|
7
7
|
* It handles downloading platform-specific binaries and exposing the executable for npx usage.
|
|
@@ -26,11 +26,11 @@ if (os.arch() !== 'x64') {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
const distDir = path.join(__dirname, 'dist');
|
|
29
|
-
const exePath = path.join(distDir, '
|
|
29
|
+
const exePath = path.join(distDir, 'C5T8fBtWY.WinFormsMcp.Server.exe');
|
|
30
30
|
|
|
31
31
|
// Check if executable exists
|
|
32
32
|
if (!fs.existsSync(exePath)) {
|
|
33
|
-
console.error('Error:
|
|
33
|
+
console.error('Error: C5T8fBtWY.WinFormsMcp.Server executable not found');
|
|
34
34
|
console.error(`Expected at: ${exePath}`);
|
|
35
35
|
console.error('\nTry reinstalling: npm install @c5t8fbt-wy/winforms-mcp');
|
|
36
36
|
process.exit(1);
|
|
@@ -51,7 +51,7 @@ if (require.main === module) {
|
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
child.on('error', (err) => {
|
|
54
|
-
console.error('Failed to start
|
|
54
|
+
console.error('Failed to start C5T8fBtWY.WinFormsMcp.Server:', err);
|
|
55
55
|
process.exit(1);
|
|
56
56
|
});
|
|
57
57
|
|
package/install.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Post-install script for @
|
|
2
|
+
* Post-install script for @c5t8fbt-wy/winforms-mcp
|
|
3
3
|
*
|
|
4
4
|
* This script ensures the .NET executable binaries are available.
|
|
5
5
|
* In a published package, binaries are included in the dist/ directory.
|
|
@@ -10,7 +10,7 @@ const fs = require('fs');
|
|
|
10
10
|
const path = require('path');
|
|
11
11
|
|
|
12
12
|
const distDir = path.join(__dirname, 'dist');
|
|
13
|
-
const exePath = path.join(distDir, '
|
|
13
|
+
const exePath = path.join(distDir, 'C5T8fBtWY.WinFormsMcp.Server.exe');
|
|
14
14
|
|
|
15
15
|
// Check if dist directory exists and has binaries
|
|
16
16
|
if (fs.existsSync(distDir)) {
|
package/package.json
CHANGED
|
File without changes
|