import Card from '~/components/Card'; import StatusCircle from '~/components/StatusCircle'; import type { HostInfo } from '~/types'; import * as hinfo from '~/utils/host-info'; export type Props = { reachable: boolean; hostInfo: HostInfo; }; export default function AgentManagement({ reachable, hostInfo }: Props) { console.log('hostInfo:', hostInfo); return (
A local agent has already been configured for this Headplane instance. You can manage the agent settings here.
{hostInfo.Hostname ?? 'Unknown'}
{hinfo.getTSVersion(hostInfo)} {hinfo.getOSInfo(hostInfo)}