evolclaw 2.0.2 → 2.0.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/dist/cli.js +15 -9
  2. package/package.json +2 -3
package/dist/cli.js CHANGED
@@ -341,9 +341,9 @@ async function cmdStatus() {
341
341
  'SELECT count(*) FROM sessions; SELECT count(*) FROM sessions WHERE is_active=1; SELECT count(DISTINCT channel_id) FROM sessions; SELECT count(DISTINCT project_path) FROM sessions;'
342
342
  ], { encoding: 'utf-8' }).trim().split('\n');
343
343
  if (output.length >= 4) {
344
- console.log(` 会话总数: ${output[0]} (活跃: ${output[1]})`);
345
- console.log(` 独立会话: ${output[2]} 个`);
346
- console.log(` 涉及项目: ${output[3]} 个`);
344
+ console.log(` Total sessions: ${output[0]} (active: ${output[1]})`);
345
+ console.log(` Unique chats: ${output[2]}`);
346
+ console.log(` Projects: ${output[3]}`);
347
347
  }
348
348
  }
349
349
  catch { }
@@ -382,12 +382,6 @@ async function cmdStatus() {
382
382
  else {
383
383
  console.log(' Feishu: - Not configured');
384
384
  }
385
- if (config.channels?.aun?.domain && config.channels?.aun?.agentName) {
386
- console.log(` AUN: ✓ Configured (${config.channels.aun.agentName}@${config.channels.aun.domain})`);
387
- }
388
- else {
389
- console.log(' AUN: - Not configured');
390
- }
391
385
  if (config.channels?.wechat?.token) {
392
386
  const tokenPreview = config.channels.wechat.token.slice(0, 20);
393
387
  console.log(` WeChat: ✓ Configured (Token: ${tokenPreview}...)`);
@@ -395,6 +389,18 @@ async function cmdStatus() {
395
389
  else {
396
390
  console.log(' WeChat: - Not configured');
397
391
  }
392
+ // Check AUN with placeholder detection
393
+ const aunDomain = config.channels?.aun?.domain;
394
+ const aunAgent = config.channels?.aun?.agentName;
395
+ const isAunPlaceholder = !aunDomain || !aunAgent ||
396
+ aunDomain.includes('your-') || aunDomain.includes('placeholder') ||
397
+ aunAgent.includes('your-') || aunAgent.includes('placeholder');
398
+ if (aunDomain && aunAgent && !isAunPlaceholder) {
399
+ console.log(` AUN: ✓ Configured (${aunAgent}@${aunDomain})`);
400
+ }
401
+ else {
402
+ console.log(' AUN: - Not configured');
403
+ }
398
404
  if (config.agents?.anthropic?.model) {
399
405
  console.log(` Model: ${config.agents.anthropic.model}`);
400
406
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evolclaw",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Lightweight AI Agent gateway connecting Claude Agent SDK to messaging channels (Feishu, ACP) with multi-project session management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,9 +23,8 @@
23
23
  "prepublishOnly": "npm run build && npm test"
24
24
  },
25
25
  "dependencies": {
26
- "@anthropic-ai/claude-agent-sdk": "^0.2.81",
26
+ "@anthropic-ai/claude-agent-sdk": "^0.2.75",
27
27
  "@larksuiteoapi/node-sdk": "^1.59.0",
28
- "dotenv": "^17.3.1",
29
28
  "image-type": "^6.0.0",
30
29
  "qrcode-terminal": "^0.12.0"
31
30
  },