@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.
- package/package.json +1 -1
- package/src/cli.js +4 -3
package/package.json
CHANGED
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
|
-
|
|
106
|
-
console.log(chalk.
|
|
107
|
-
console.log(chalk.gray(`
|
|
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, {
|