de23e0b1c0b630377dbd35d8569b2c2ed88eb915
Component.Installed/Available come from an operator-owned external check command, which reports what version exists but has no way to know how THIS process/deployment actually installed it -- native binary, container, or embedded process. Two sources for that already exist and were previously unused for this: internal/installtype (this process's own build-time stamp) and daemon.AgentStatus (an archie-agent version observed at runtime, landed in the prior commit). Add Component.InstallType/Reference and a Service.Enrich hook that fills them in per component ID after the check command runs, without overwriting whatever a check command already reported for an ID it doesn't recognise. Wire the actual sources in cmd/archied via componentInstallTypeEnricher: the daemon's own installtype.Type(), the agent's most recently observed install type, and -- for NATS, a third-party dependency this repo doesn't build -- "embedded" or "external" (with its URL) read straight from [nats] configuration, which is already the deployment profile's own record of how NATS is run. This is wired into the single Service construction shared by Telegram and the dashboard, so both surfaces get it for free. Part 2/3 of archie-core-1786751948782-3-837a8fd0 point 4. Closes archie-core-1786751948782-3-837a8fd0.2.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.8%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%