MingaAgent.ToolPacks.ReadOnly (Minga v0.1.0)

Copy Markdown View Source

Bundled source-owned pack for low-risk read-only agent tools.

The pack keeps the long-standing tool names, schemas, descriptions, and callbacks while letting the registry treat these tools as one reloadable bundled source. That gives extension disable/reload tests a real pack boundary before higher-risk mutating tools move out of the monolithic list.

Summary

Types

Bundled read-only tool pack source.

Functions

Registers all read-only pack specs into a registry table or service.

Returns the source used for all read-only pack contributions.

Returns source-owned specs for every tool in the bundled pack.

Starts the bundled pack registrar.

Returns the stable tool names contributed by this pack.

Types

source()

@type source() :: {:bundle, :read_only_tools}

Bundled read-only tool pack source.

Functions

register(table \\ Registry)

@spec register(atom()) :: :ok | {:error, term()}

Registers all read-only pack specs into a registry table or service.

source()

@spec source() :: source()

Returns the source used for all read-only pack contributions.

specs()

@spec specs() :: [MingaAgent.Tool.Spec.t()]

Returns source-owned specs for every tool in the bundled pack.

start_link(opts \\ [])

@spec start_link(keyword()) :: GenServer.on_start()

Starts the bundled pack registrar.

tool_names()

@spec tool_names() :: [String.t()]

Returns the stable tool names contributed by this pack.