claw-subagent-service 0.0.32 → 0.0.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claw-subagent-service",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "虾说静态服务",
5
5
  "main": "cli.js",
6
6
  "bin": {
@@ -212,7 +212,7 @@ After=network.target
212
212
  [Service]
213
213
  Type=simple
214
214
  User=root
215
- ExecStart=/usr/bin/node ${this.scriptPath}
215
+ ExecStart=${process.execPath} ${this.scriptPath}
216
216
  Restart=always
217
217
  RestartSec=10
218
218
  Environment=NODE_ENV=production
@@ -241,7 +241,7 @@ WantedBy=multi-user.target
241
241
  <string>${this.serviceName}</string>
242
242
  <key>ProgramArguments</key>
243
243
  <array>
244
- <string>/usr/local/bin/node</string>
244
+ <string>${process.execPath}</string>
245
245
  <string>${this.scriptPath}</string>
246
246
  </array>
247
247
  <key>RunAtLoad</key>
@@ -46,7 +46,7 @@ class MessageHandler {
46
46
  if (msg.mentionedInfo && Array.isArray(msg.mentionedInfo.userIdList)) {
47
47
  mentions = msg.mentionedInfo.userIdList;
48
48
  if (mentions.length > 0) {
49
- this.log?.info(`[MessageHandler] 融云 mentionedInfo: ${mentions.join(', ')}`);
49
+ this.log?.info(`[MessageHandler] 融云 mentionedInfo: ${mentions.join(', ')},本节点: ${this.nodeId}`);
50
50
  }
51
51
  }
52
52