vigiles API reference
    Preparing search index...

    Interface ServiceSessionExperimental

    A live set of started services + the teardown that disposes them. Returned by experimental_startServices; the caller wires endpoints into the run's egress allowlist and maps handles into the agent's env / into measure.

    interface ServiceSession {
        endpoints: readonly string[];
        handles: Readonly<Record<string, ServiceHandle>>;
        teardown(): Promise<void>;
    }
    Index

    Properties

    Methods

    Properties

    endpoints: readonly string[]

    host:port endpoints for the started services — where to point your task. Intended to ALSO pin an egress allowlist (composing with src/egress.ts), but that wall is a FUTURE hardening: the eval tier does NOT apply it today, so right now these just identify the services. Do not read them as a network confinement guarantee — see the SAFETY note in this module's header.

    handles: Readonly<Record<string, ServiceHandle>>

    The started services, keyed by the name declared in the services map.

    Methods

    • Experimental

      Stop + remove every started container. Always await this in a finally.

      Returns Promise<void>