ASM.Extensions.ProviderSDK.Amp (ASM v0.10.0)

Copy Markdown View Source

Discovery metadata and strict derivation helpers for the optional Amp-native ASM extension namespace.

This namespace derives only common ASM placement/session data into AmpSdk.Types.Options. Amp-native controls such as permissions, MCP, skills, thread controls, labels, IDE behavior, and notification behavior must be passed explicitly through :native_overrides or through direct amp_sdk APIs.

Summary

Functions

available?()

@spec available?() :: boolean()

derive_options(asm_common, opts \\ [])

@spec derive_options(keyword(), keyword()) :: {:ok, struct()} | {:error, term()}

Derives AmpSdk.Types.Options from strict common ASM options.

Provider-native Amp options must be supplied in :native_overrides; they are never read from the generic ASM option map.

extension()

native_capabilities()

@spec native_capabilities() :: [atom()]

native_surface_modules()

@spec native_surface_modules() :: [module()]

sdk_app()

@spec sdk_app() :: atom()

sdk_module()

@spec sdk_module() :: module()