@celigo/api-specs 0.2.213 → 0.2.215

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/dist/agent.yml CHANGED
@@ -743,6 +743,40 @@ components:
743
743
  type: boolean
744
744
  readOnly: true
745
745
  description: When true, the platform considers this agent offline based on heartbeat state.
746
+ workerHealthy:
747
+ type: boolean
748
+ readOnly: true
749
+ description: |-
750
+ Whether the agent's worker reported healthy on its last heartbeat.
751
+ Absent means never reported (older agents). Only an explicit
752
+ `false` means the worker is down. The Agents page reads this field
753
+ and `offlineReason` for the status badge and its reason. Source-only:
754
+ the semantics are read from the platform's agent-eligibility rule;
755
+ the probe account has no agents, so no live response has shown the
756
+ field yet.
757
+ examples:
758
+ - true
759
+ offlineReason:
760
+ type: string
761
+ readOnly: true
762
+ enum:
763
+ - agent_unauthorized
764
+ - agent_unreachable
765
+ - heartbeat_stale
766
+ - worker_unhealthy
767
+ x-enumDescriptions:
768
+ agent_unauthorized: The agent's credentials were rejected, so its heartbeats and tunnel are refused.
769
+ agent_unreachable: The platform could not reach the agent over its tunnel.
770
+ heartbeat_stale: No heartbeat arrived within the freshness window.
771
+ worker_unhealthy: 'The agent''s last heartbeat reported `workerHealthy: false`.'
772
+ description: |-
773
+ Why the platform last marked this agent offline. Absent when the
774
+ agent is online or was marked offline before this field existed.
775
+ Source-only, as `workerHealthy`: the values and their meanings are
776
+ read from the platform's heartbeat handling and have not been
777
+ observed in a live response on the probe account.
778
+ examples:
779
+ - heartbeat_stale
746
780
  _accessLevel:
747
781
  type: string
748
782
  readOnly: true