MingaAgent.SubagentContext (Minga v0.1.0)

Copy Markdown View Source

Configuration context inherited by child subagent sessions.

The subagent tool uses this struct to carry the parent session's provider, model, thinking level, active skills, and project root across module boundaries without relying on a raw map shape.

Summary

Types

t()

Inherited context for a child subagent session.

Functions

Returns the default context used when no parent session is available.

Builds a context from the given attributes.

Types

t()

@type t() :: %MingaAgent.SubagentContext{
  active_skill_names: [String.t()],
  model: String.t() | nil,
  project_root: String.t() | nil,
  provider_id: String.t(),
  provider_module: module(),
  provider_name: String.t(),
  provider_source: Minga.Extension.ContributionCleanup.contribution_source(),
  thinking_level: String.t() | nil
}

Inherited context for a child subagent session.

Functions

default()

@spec default() :: t()

Returns the default context used when no parent session is available.

new(attrs)

@spec new(keyword()) :: t()

Builds a context from the given attributes.