internal/

directory
v0.0.81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: MIT

Directories

Path Synopsis
acp
client/claudecode
Package claudecode provides an ACP client for Claude Code via the @agentclientprotocol/claude-agent-acp subprocess adapter.
Package claudecode provides an ACP client for Claude Code via the @agentclientprotocol/claude-agent-acp subprocess adapter.
client/copilot
Package copilot provides an ACP client for GitHub Copilot CLI via its `copilot --acp --stdio` subprocess.
Package copilot provides an ACP client for GitHub Copilot CLI via its `copilot --acp --stdio` subprocess.
client/cursor
Package cursor provides an ACP client for Cursor CLI via its `agent acp` subprocess (https://cursor.com/docs/cli/acp).
Package cursor provides an ACP client for Cursor CLI via its `agent acp` subprocess (https://cursor.com/docs/cli/acp).
client/gemini
Package gemini provides an ACP client for Google Gemini CLI via the Gemini CLI subprocess adapter.
Package gemini provides an ACP client for Google Gemini CLI via the Gemini CLI subprocess adapter.
server/adapter
Package adapter translates pi runtime (ADK) events into ACP session updates.
Package adapter translates pi runtime (ADK) events into ACP session updates.
Package agent sets up the ADK Go agent loop with tools, system prompt, and runner for the pi-go coding agent.
Package agent sets up the ADK Go agent loop with tools, system prompt, and runner for the pi-go coding agent.
Package atif provides ATIF (Agent Trajectory Interchange Format) v1.6 export support.
Package atif provides ATIF (Agent Trajectory Interchange Format) v1.6 export support.
Package attest verifies the Sigstore artifact attestations that pi-go's release workflow publishes.
Package attest verifies the Sigstore artifact attestations that pi-go's release workflow publishes.
Package auth implements OAuth PKCE and device-code flows for SSO login.
Package auth implements OAuth PKCE and device-code flows for SSO login.
Package browser opens URLs in whatever browser the user can actually see.
Package browser opens URLs in whatever browser the user can actually see.
Package codex implements a minimal client for the Codex CLI's app-server, which speaks JSON-RPC 2.0 over newline-delimited JSON on stdin/stdout.
Package codex implements a minimal client for the Codex CLI's app-server, which speaks JSON-RPC 2.0 over newline-delimited JSON on stdin/stdout.
Package eval measures a real /run end-to-end: the ATIF trajectories it wrote, the subagent concurrency it reached, and how efficiently its tools were used.
Package eval measures a real /run end-to-end: the ATIF trajectories it wrote, the subagent concurrency it reached, and how efficiently its tools were used.
scenarios
Package scenarios is the tool-coverage eval suite for the pi coding agent: one declarative scenario per tool family, each seeding a workspace and asking for something a competent agent does with specific tools, plus deterministic assertions over the trajectory and filesystem.
Package scenarios is the tool-coverage eval suite for the pi coding agent: one declarative scenario per tool family, each seeding a workspace and asking for something a competent agent does with specific tools, plus deterministic assertions over the trajectory and filesystem.
Package extension provides hooks (before/after tool call), skill loading, and MCP tool integration for the pi-go agent.
Package extension provides hooks (before/after tool call), skill loading, and MCP tool integration for the pi-go agent.
Package guardrail tracks daily token usage and enforces limits.
Package guardrail tracks daily token usage and enforces limits.
Package httplog carries raw HTTP request/response traces from the provider transports to whichever sinks are active — the JSONL session log, OpenTelemetry span events, or both.
Package httplog carries raw HTTP request/response traces from the provider transports to whichever sinks are active — the JSONL session log, OpenTelemetry span events, or both.
Package jsonrpc implements a Unix socket JSON-RPC server for pi-go.
Package jsonrpc implements a Unix socket JSON-RPC server for pi-go.
Package logger provides session logging for pi-go.
Package logger provides session logging for pi-go.
Package notice carries short, user-facing messages raised while pi-go starts up or reconfigures itself — a skipped MCP server, a rerouted docs source, a blocked skill, an OAuth re-login.
Package notice carries short, user-facing messages raised while pi-go starts up or reconfigures itself — a skipped MCP server, a rerouted docs source, a blocked skill, an OAuth re-login.
Package otel provides lightweight OpenTelemetry setup for pi-go, driven entirely by environment variables sourced from ~/.pi-go/.env so secrets never appear in the process environment.
Package otel provides lightweight OpenTelemetry setup for pi-go, driven entirely by environment variables sourced from ~/.pi-go/.env so secrets never appear in the process environment.
Package pirpc implements the stdio NDJSON RPC protocol spoken by upstream pi's `--mode rpc`, so that the `pi-acp` ACP adapter (https://github.com/svkozak/pi-acp) can drive pi-go unmodified.
Package pirpc implements the stdio NDJSON RPC protocol spoken by upstream pi's `--mode rpc`, so that the `pi-acp` ACP adapter (https://github.com/svkozak/pi-acp) can drive pi-go unmodified.
Package procs runs child processes so that canceling them actually stops them.
Package procs runs child processes so that canceling them actually stops them.
Package provider — Anthropic prompt-cache breakpoint helpers.
Package provider — Anthropic prompt-cache breakpoint helpers.
Package retry classifies provider failures as retryable or terminal and paces the re-attempts.
Package retry classifies provider failures as retryable or terminal and paces the re-attempts.
Package session — branch.go implements session branching.
Package session — branch.go implements session branching.
Package testenv holds small helpers that keep tests portable across operating systems.
Package testenv holds small helpers that keep tests portable across operating systems.
tui
Package tui implements the interactive terminal UI using Bubble Tea v2.
Package tui implements the interactive terminal UI using Bubble Tea v2.
refs
Package refs implements context reference expansion for the TUI.
Package refs implements context reference expansion for the TUI.
Package voice holds the provider-neutral contracts for pi's live voice sessions in the web server.
Package voice holds the provider-neutral contracts for pi's live voice sessions in the web server.
Package voicegemini implements the Gemini Live half of pi's web voice session: key/model verification, the BidiGenerateContent wire shapes, and the setup message the server-side relay opens every session with.
Package voicegemini implements the Gemini Live half of pi's web voice session: key/model verification, the BidiGenerateContent wire shapes, and the setup message the server-side relay opens every session with.
Package webserver provides a web-based terminal interface for pi-go.
Package webserver provides a web-based terminal interface for pi-go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL