adk_runtime_service_profile (erlang_adk v0.10.0)

View Source

Strict compiler for the built-in local runtime-service profiles.

Profiles deliberately select adapters rather than accepting module names from configuration. This makes the durability promise of a named profile stable and keeps untrusted configuration from widening the code-loading boundary.

Summary

Types

plan/0

-type plan() :: map().

profile/0

-type profile() :: ephemeral_local | durable_local.

Functions

compile(Profile, Config)

-spec compile(profile(), map()) -> {ok, plan()} | {error, term()}.

profiles()

-spec profiles() -> [profile()].