ExecutionPlane.Contracts.ExecutionIntentEnvelope.V1 (execution_plane v0.1.0)

Copy Markdown View Source

Spine-to-Execution neutral intent envelope.

Summary

Types

t()

@type t() :: %ExecutionPlane.Contracts.ExecutionIntentEnvelope.V1{
  attach_grant_ref: String.t(),
  attempt_ref: String.t() | nil,
  boundary_session_id: String.t(),
  cancellation_ref: String.t() | nil,
  contract_version: String.t(),
  credential_handle_refs: [String.t()],
  deadline_at: String.t() | nil,
  decision_id: String.t(),
  extensions: map(),
  family: String.t(),
  idempotency_key: String.t(),
  intent_id: String.t(),
  lease_ref: String.t() | nil,
  no_egress_posture_ref: String.t(),
  process_target_identity_ref: String.t() | nil,
  protocol: String.t(),
  requested_capabilities: [String.t()],
  route_template_ref: String.t() | nil,
  stream_target_identity_ref: String.t() | nil,
  target_auth_posture_ref: String.t(),
  target_ref: String.t(),
  trace_id: String.t() | nil,
  workspace_ref: String.t()
}

Functions

contract_version()

@spec contract_version() :: String.t()

dump(envelope)

@spec dump(t()) :: map()

new(value)

@spec new(map() | keyword() | t()) :: {:ok, t()} | {:error, Exception.t()}

new!(value)

@spec new!(map() | keyword() | t()) :: t()