chaimi-bookkeeping-mcp 2.2.2 → 2.2.3

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.
Files changed (2) hide show
  1. package/bin/cli.js +2 -2
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -195,8 +195,8 @@ function showWelcome() {
195
195
  showWelcome();
196
196
  configureAllAgents();
197
197
 
198
- // 启动 server.js
199
- const child = spawn('node', [serverPath], {
198
+ // 启动 server.js - 使用当前 Node.js 可执行文件路径,解决跨平台兼容性问题
199
+ const child = spawn(process.execPath, [serverPath], {
200
200
  stdio: 'inherit',
201
201
  env: process.env
202
202
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chaimi-bookkeeping-mcp",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "柴米记账 MCP Server - 支持 Claude、Cursor、OpenClaw、WorkBuddy 等 AI 工具直接记账",
5
5
  "main": "server.js",
6
6
  "bin": {