xiaozuoassistant 0.1.43 → 0.1.44

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 +8 -0
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -409,6 +409,14 @@ if (command === 'start') {
409
409
  }
410
410
  } else if (command === 'doctor') {
411
411
  console.log('Running doctor check...');
412
+ try {
413
+ const pkgPath = path.join(packageRoot, 'package.json');
414
+ const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8'));
415
+ console.log('Package Name:', pkg.name);
416
+ console.log('Package Version:', pkg.version);
417
+ } catch (e) {
418
+ console.log('Package Version: Unknown');
419
+ }
412
420
  console.log('Package Root:', packageRoot);
413
421
  console.log('Node Version:', process.version);
414
422
  console.log('Doctor check complete.');
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "xiaozuoassistant",
3
3
  "private": false,
4
4
  "description": "Your personal, locally-hosted AI assistant for office productivity.",
5
- "version": "0.1.43",
5
+ "version": "0.1.44",
6
6
  "author": "mantle.lau",
7
7
  "license": "MIT",
8
8
  "repository": {