adk_a2a_v1_server (erlang_adk v0.7.0)
View SourceBounded, supervised A2A 1.0 task store and execution coordinator.
Protocol tasks are durable for a configured retention window while their work runs as independent adk_task children. The store retains only a hash of the authenticated principal id. Raw headers, credentials, and principal terms are captured only by the short-lived execution closure and are redacted before any result enters task history, artifacts, or events.
Summary
Functions
Test/diagnostic view. It intentionally exposes only the public Task.
Functions
-spec cancel_task(gen_server:server_ref(), binary(), map()) -> {ok, map()} | {error, term()}.
-spec card(gen_server:server_ref()) -> {ok, map()}.
-spec child_spec(map()) -> supervisor:child_spec().
-spec get_task(gen_server:server_ref(), binary(), map()) -> {ok, map()} | {error, term()}.
-spec inspect_task(gen_server:server_ref(), binary()) -> {ok, map()} | {error, not_found}.
Test/diagnostic view. It intentionally exposes only the public Task.
-spec list_tasks(gen_server:server_ref(), binary(), map()) -> {ok, map()} | {error, term()}.
-spec progress(gen_server:server_ref(), binary(), binary(), term()) -> ok | {error, term()}.
-spec send_message(gen_server:server_ref(), map(), map()) -> {ok, map()} | {error, term()}.
-spec start_link() -> gen_server:start_ret().
-spec start_link(map()) -> gen_server:start_ret().
-spec subscribe(gen_server:server_ref(), binary(), map(), pid()) -> {ok, binary(), [{non_neg_integer(), map()}]} | {error, term()}.
-spec unsubscribe(gen_server:server_ref(), binary(), pid()) -> ok.