@swarmai/local-agent 0.1.2 → 0.1.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/package.json +1 -1
  2. package/src/cli.js +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swarmai/local-agent",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "SwarmAI Local Agent CLI - Connect your device to SwarmAI",
5
5
  "main": "index.js",
6
6
  "bin": {
package/src/cli.js CHANGED
@@ -102,9 +102,10 @@ function createCli() {
102
102
  // Check for updates (non-blocking)
103
103
  checkForUpdates(config.server || DEFAULT_SERVER).catch(() => {});
104
104
 
105
- console.log(chalk.cyan.bold('\n SwarmAI Local Agent\n'));
106
- console.log(chalk.gray(` Server: ${config.server}`));
107
- console.log(chalk.gray(` Device: ${config.deviceName || 'Unknown'}`));
105
+ const pkg = require('../package.json');
106
+ console.log(chalk.cyan.bold(`\n SwarmAI Local Agent ${chalk.white('v' + pkg.version)}\n`));
107
+ console.log(chalk.gray(` Server: ${config.server}`));
108
+ console.log(chalk.gray(` Device: ${config.deviceName || 'Unknown'}`));
108
109
  console.log(chalk.gray(` Agent ID: ${config.agentId}\n`));
109
110
 
110
111
  const connection = new AgentConnection(config.server, config.apiKey, {