API Reference pi_bridge v#0.6.22

Copy Markdown View Source

Modules

Pi

Small eval-friendly helpers for pi-elixir.

Structured ExAST helpers for bridge tools.

Unified BEAM abstraction for top-level agents and child agents.

Supervised agent job lifecycle handle.

Dynamic supervisor for BEAM-owned agent jobs.

Agent job lifecycle manager.

Message normalization helpers for agent session history.

Result of a Pi agent run.

Structured result of an agent orchestration run.

Declarative Pi agent orchestration step.

Startup inventory for pi_bridge sessions.

Reach-backed semantic code map and reflection helpers for eval.

A mixed-effect boundary candidate.

A resolved function in a Reach project.

A Reach hotspot finding for a function.

Post-edit semantic reflection result.

A Reach smell finding normalized for eval.

Small dogfood/dev reload helpers callable from elixir_eval.

Pipeline-friendly helpers for installed BEAM docs and source slices.

A single documented module/function/macro entry.

A docs query result.

A source-code slice.

Runs bounded Elixir evals inside the project BEAM.

Per-session Livebook-style stateful Elixir evaluator.

Restricted Elixir evaluation for untrusted bridge surfaces.

Sidecar representation for durable eval session state snapshots.

Dynamic supervisor for stateful eval session evaluators.

Small RPC helpers for the current host pi session.

BEAM API for model calls backed by the active pi session.

Multiplexes BEAM-initiated LLM requests over the active pi transport.

A multiplexed LLM stream handle.

Bounded Logger capture for embedded pi-elixir sessions.

Optional built-in DuckDB mirror for pi session/plugin events.

Eval-friendly structured output helpers for pi renderers.

Converts eval-domain values into pi structured output when possible.

Behaviour for supervised pi_bridge plugins.

Callable API metadata exposed by executable skills and plugins.

Slash command metadata exposed by a BEAM plugin.

Pi-side events delivered to BEAM plugins.

Discovers and runs built-in and project-local pi_bridge plugins.

DynamicSupervisor for isolated project-local plugin workers.

Renderer-neutral UI events emitted from BEAM plugins to pi.

ETS-backed session waiter registry for interactive plugins.

Isolated GenServer wrapper for one project-local pi_bridge plugin.

Project metadata helpers for eval sessions.

Plugin or skill API exposed to pi as an extension API.

A BEAM function exposed as part of the Pi API inventory.

Runtime and extension API inventory in bridge startup info.

A module exposed as part of the Pi API inventory.

Startup inventory for a pi_bridge session.

Pi-to-BEAM tool call envelope.

BEAM-to-Pi LLM cancellation envelope.

Streaming LLM content chunk routed by request id.

Streaming LLM completion marker routed by request id.

Streaming LLM error routed by request id.

LLM message passed across the Pi bridge.

Plugin slash command metadata sent to the pi extension.

BEAM-to-pi extension event-bus envelope.

Pi-to-BEAM plugin tool hook payload.

BEAM-to-pi plugin tool hook response.

Plugin shown in bridge startup info.

BEAM-to-Pi ready event emitted by stdio startup.

BEAM-to-Pi multiplexed request envelope.

Pi-to-BEAM multiplexed response envelope.

BEAM-to-Pi tool result envelope.

Renderer-neutral session event snapshot.

Renderer-neutral snapshot of a server-owned Pi session.

Executable skill shown in bridge startup info.

Textual and syntax-aware replacement diff preview for an AST rewrite.

Structured AST search match payload.

Structured AST replace tool payload.

Arguments for AST replacement.

Structured AST replacement file payload.

Structured AST search tool payload.

Arguments for AST search.

Structured project eval tool payload.

Arguments for project eval tools.

Semantic output part for tool renderers.

Renderer-neutral semantic UI block.

Renderer-neutral tool display document.

BEAM-to-Pi UI event envelope.

Eval-friendly analytical API for the pi-elixir QuackDB session mirror.

Ecto schema for the pi-elixir QuackDB mirror pi_events table.

Ecto schema for the pi-elixir QuackDB mirror pi_session_files table.

ReqLLM-facing adapter helpers backed by the active Pi session.

ReqLLM provider for the active Pi model.

Self-introspection facade for pi-elixir eval.

Pi session APIs: host-session helpers plus server-owned BEAM sessions.

Structured event emitted by a server-owned Pi session process.

Semantic state owned by a Pi session process.

Dynamic supervisor for server-owned Pi sessions.

Server-owned Pi session process with subscribers and LLM-backed runs.

Trusted executable Elixir skill metadata.

Discovers trusted executable Elixir skills in the current Mix project.

Behaviour and DSL for trusted executable .skill.exs files.

Bridge-native tool dispatch for stdio transports.

Line-delimited JSON transport for extension-owned BEAM sessions.

Bounded, provider-neutral web fetch helpers for eval sessions.

Provider behaviour for bounded web fetch implementations.

Req-backed bounded fetch provider for Pi.Web.

Normalized result for a bounded web fetch.