mstool-agent 1.0.0 → 1.0.1

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.
@@ -1,3 +1,5 @@
1
1
  #!/usr/bin/env node
2
- require('tsx/cjs');
3
- require('../src/index.ts');
2
+ const path = require('path');
3
+ const child_process = require('child_process');
4
+ const entry = path.join(__dirname, '..', 'src', 'index.ts');
5
+ child_process.execSync('npx tsx "' + entry + '"', { stdio: 'inherit', env: process.env });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mstool-agent",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "MSTool Agent Node - AI Agent 运维节点",
5
5
  "main": "src/index.ts",
6
6
  "bin": {