@birthday8/doc-mcp 1.0.1 → 1.0.2

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/index.js CHANGED
@@ -80,26 +80,17 @@ function installDependencies(pythonCmd) {
80
80
  stdio: 'pipe'
81
81
  });
82
82
 
83
- let output = '';
84
- install.stdout.on('data', (data) => {
85
- output += data.toString();
86
- });
87
-
88
- install.stderr.on('data', (data) => {
89
- output += data.toString();
90
- });
91
-
92
83
  install.on('close', (code) => {
93
84
  if (code === 0) {
94
85
  console.error('[Doc Creator] Dependencies installed successfully.');
95
86
  resolve();
96
87
  } else {
97
- reject(new Error(`Failed to install dependencies: ${output}`));
88
+ reject(new Error('Failed to install dependencies'));
98
89
  }
99
90
  });
100
91
 
101
92
  install.on('error', (err) => {
102
- reject(new Error(`Failed to run pip: ${err.message}`));
93
+ reject(new Error('Failed to run pip'));
103
94
  });
104
95
  });
105
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@birthday8/doc-mcp",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Doc Creator MCP Server - Generate Word documents from HTML",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -27,8 +27,6 @@
27
27
  "files": [
28
28
  "index.js",
29
29
  "install.js",
30
- "python/server.py",
31
- "python/docx_converter.py",
32
- "python/requirements.txt"
30
+ "python/**/*"
33
31
  ]
34
32
  }