sam-coder-cli 1.0.17 → 1.0.19
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.
|
@@ -650,6 +650,14 @@ class MultiplayerClient extends EventEmitter {
|
|
|
650
650
|
const client = this.clients.find(c => c.clientId === clientId || c.id === clientId);
|
|
651
651
|
return client ? (client.name || client.clientInfo?.name || 'Unknown') : 'Unknown';
|
|
652
652
|
}
|
|
653
|
+
|
|
654
|
+
printHeader() {
|
|
655
|
+
console.clear();
|
|
656
|
+
console.log(chalk.blue.bold('=== Multiplayer Mode ==='));
|
|
657
|
+
console.log(chalk.cyan(`Connected as: ${this.name} (${this.role})`));
|
|
658
|
+
console.log(chalk.cyan(`Session: ${this.sessionId || 'Not connected'}`));
|
|
659
|
+
console.log(chalk.cyan('Type /help for available commands\n'));
|
|
660
|
+
}
|
|
653
661
|
}
|
|
654
662
|
|
|
655
663
|
module.exports = MultiplayerClient;
|