MingaAgent.ToolPacks.LSP (Minga v0.1.0)

Copy Markdown View Source

Bundled source-owned pack for LSP-backed agent tools.

The pack contributes LSP query and mutation tools to the source-owned registry while leaving LSP process ownership in the existing core services. Safety-critical approval and execution still flow through MingaAgent.Tool.Executor and MingaAgent.Tool.Context.

Summary

Types

Bundled LSP tool pack source.

Functions

Registers all bundled LSP specs into a registry table or service.

Returns the source used for all bundled LSP contributions.

Returns source-owned specs for every bundled LSP tool.

Starts the bundled LSP pack registrar.

Returns the stable tool names contributed by this pack.

Types

source()

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

Bundled LSP tool pack source.

Functions

register(table \\ Registry)

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

Registers all bundled LSP specs into a registry table or service.

source()

@spec source() :: source()

Returns the source used for all bundled LSP contributions.

specs()

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

Returns source-owned specs for every bundled LSP tool.

start_link(opts \\ [])

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

Starts the bundled LSP pack registrar.

tool_names()

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

Returns the stable tool names contributed by this pack.