@cydm/happy-elves 0.1.0-beta.87 → 0.1.0-beta.89

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.
@@ -100,6 +100,7 @@ const booleanFlags = new Set([
100
100
  "no-start",
101
101
  "no-wait",
102
102
  "repair-head",
103
+ "strict",
103
104
  "summary",
104
105
  "verbose",
105
106
  "wait",
@@ -117,6 +117,22 @@ export async function topLevelDoctor(flags) {
117
117
  });
118
118
  if (existingDaemon && snapshot) {
119
119
  const daemonMachine = snapshot.machines.find((machine) => machine.id === existingDaemon.machineId);
120
+ checks.push({
121
+ name: "daemon-projection",
122
+ ok: daemonMachine?.online === true,
123
+ severity: daemonMachine?.online === true ? "info" : "error",
124
+ layer: "compatible",
125
+ message: !daemonMachine
126
+ ? "daemon machine is not visible to this controller; daemon may be paired to a different account"
127
+ : daemonMachine.online
128
+ ? "daemon machine is online in the controller account"
129
+ : "daemon machine exists in the controller account but is offline",
130
+ details: {
131
+ machineId: existingDaemon.machineId,
132
+ controllerMachineCount: snapshot.machines.length,
133
+ ...(daemonMachine ? { online: daemonMachine.online, lastSeen: daemonMachine.lastSeen } : {}),
134
+ },
135
+ });
120
136
  const daemonVersion = daemonMachine?.capabilities.daemonVersion;
121
137
  const aligned = !daemonVersion || daemonVersion === cliPackage.version;
122
138
  checks.push({
@@ -8,7 +8,7 @@ Start or reuse a local Happy Elves controller, daemon, and invite flow.
8
8
 
9
9
  Show the current relay, daemon, machine, and latest session state.
10
10
  `,
11
- doctor: `Usage: happy-elves doctor [--relay <url>] [--json]
11
+ doctor: `Usage: happy-elves doctor [--relay <url>] [--strict] [--json]
12
12
 
13
13
  Check local controller config, relay reachability, and daemon state.
14
14
  `,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cydm/happy-elves-cli",
3
- "version": "0.1.0-beta.87",
3
+ "version": "0.1.0-beta.89",
4
4
  "private": true,
5
5
  "type": "module"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cydm/happy-elves-daemon",
3
- "version": "0.1.0-beta.87",
3
+ "version": "0.1.0-beta.89",
4
4
  "private": true,
5
5
  "type": "module"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cydm/happy-elves",
3
- "version": "0.1.0-beta.87",
3
+ "version": "0.1.0-beta.89",
4
4
  "description": "Remote controller for local coding agents with hosted or self-hosted relay support.",
5
5
  "type": "module",
6
6
  "bin": {