ExperimentalReadonly ExperimentalhostHost the agent reaches the service on (from inside the run environment).
Optional Readonly ExperimentalportThe published host port — undefined for a service that exposes none.
Optional Readonly ExperimentalurlA connection URL when the runtime can form one; omitted otherwise (build your
own from host + port — the scheme differs per service, so no generic URL).
A started service, handed to
measure((ctx) => …)asctx.service(name)so a check can inspect the REAL resulting state.NOTE: ServiceHandle.exec is SYNCHRONOUS on purpose — the eval
measurecallback is synchronous (it blocks viaspawnSync, likejudge()), so state inspection must be sync too.execis the ONLY inspection primitive by design: it shells the service's own CLI (psql,redis-cli, …) so vigiles never takes a per-service client dependency.