episoda 0.2.96 → 0.2.97

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.
@@ -2786,7 +2786,7 @@ var require_package = __commonJS({
2786
2786
  "package.json"(exports2, module2) {
2787
2787
  module2.exports = {
2788
2788
  name: "episoda",
2789
- version: "0.2.96",
2789
+ version: "0.2.97",
2790
2790
  description: "CLI tool for Episoda local development workflow orchestration",
2791
2791
  main: "dist/index.js",
2792
2792
  types: "dist/index.d.ts",
@@ -9555,6 +9555,8 @@ var Daemon = class _Daemon {
9555
9555
  // EP1091: New preferred field name
9556
9556
  deviceId: this.machineUuid,
9557
9557
  // EP726: Kept for backward compatibility
9558
+ machineName: this.deviceName,
9559
+ // EP1186: User-friendly machine name from server
9558
9560
  hostname: os8.hostname(),
9559
9561
  platform: os8.platform(),
9560
9562
  arch: os8.arch(),
@@ -10374,6 +10376,10 @@ var Daemon = class _Daemon {
10374
10376
  client.on("machine_uuid_update", async (message) => {
10375
10377
  try {
10376
10378
  const uuidMsg = message;
10379
+ if (uuidMsg.machineName) {
10380
+ this.deviceName = uuidMsg.machineName;
10381
+ console.log(`[Daemon] EP1186: Machine name updated: ${this.deviceName}`);
10382
+ }
10377
10383
  if (uuidMsg.machineUuid) {
10378
10384
  this.machineUuid = uuidMsg.machineUuid;
10379
10385
  console.log(`[Daemon] EP1095: Machine UUID updated: ${this.machineUuid}`);