Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
pi
command
Command pi runs the Earendil coding agent CLI.
|
Command pi runs the Earendil coding agent CLI. |
|
packages
|
|
|
agent
Package agent contains the reusable agent loop kernel, event model, stream adapters, and stateful Agent wrapper.
|
Package agent contains the reusable agent loop kernel, event model, stream adapters, and stateful Agent wrapper. |
|
agent/gitignore
Package gitignore implements a small subset of git's ignore matching, shared by skill discovery and the find/grep tools so both honour .gitignore/.ignore rules consistently.
|
Package gitignore implements a small subset of git's ignore matching, shared by skill discovery and the find/grep tools so both honour .gitignore/.ignore rules consistently. |
|
agent/harness
Package harness provides persistent-session and resource helpers for the agent runtime.
|
Package harness provides persistent-session and resource helpers for the agent runtime. |
|
agent/harness/compaction
Package compaction prepares and summarizes session history for AgentHarness.
|
Package compaction prepares and summarizes session history for AgentHarness. |
|
agent/harness/env
Package harnessenv provides filesystem and shell abstractions for agent harnesses.
|
Package harnessenv provides filesystem and shell abstractions for agent harnesses. |
|
agent/harness/session
Package session provides session-tree storage for agent harnesses.
|
Package session provides session-tree storage for agent harnesses. |
|
agent/harness/utils
Package harnessutils provides shell-output and truncation helpers for agent harnesses.
|
Package harnessutils provides shell-output and truncation helpers for agent harnesses. |
|
agent/messagequeue
Package messagequeue implements the steering and follow-up message queues used by the agent loop.
|
Package messagequeue implements the steering and follow-up message queues used by the agent loop. |
|
ai
Package ai provides shared model metadata, provider registries, auth helpers, message types, completion helpers, image generation, and validation utilities.
|
Package ai provides shared model metadata, provider registries, auth helpers, message types, completion helpers, image generation, and validation utilities. |
|
ai/filelock
Package filelock provides a small cross-process advisory lock used to serialize writes to shared on-disk state (notably auth.json).
|
Package filelock provides a small cross-process advisory lock used to serialize writes to shared on-disk state (notably auth.json). |
|
ai/imageresize
Package imageresize shrinks inline images to fit the provider request-size limits, mirroring the upstream coding-agent image-resize behaviour with a stdlib-only implementation (PNG/JPEG/GIF decode, area-averaging downscale, PNG/JPEG re-encode).
|
Package imageresize shrinks inline images to fit the provider request-size limits, mirroring the upstream coding-agent image-resize behaviour with a stdlib-only implementation (PNG/JPEG/GIF decode, area-averaging downscale, PNG/JPEG re-encode). |
|
ai/openaicodexauth
Package openaicodexauth implements the OpenAI Codex device authorization helper flow used by the root ai OAuth provider.
|
Package openaicodexauth implements the OpenAI Codex device authorization helper flow used by the root ai OAuth provider. |
|
ai/providers
Package providers contains provider-specific implementation helpers.
|
Package providers contains provider-specific implementation helpers. |
|
ai/providers/images
Package imageproviders contains image-provider protocol helpers.
|
Package imageproviders contains image-provider protocol helpers. |
|
ai/providers/openaichat
Package openaichat contains OpenAI Chat streaming helpers.
|
Package openaichat contains OpenAI Chat streaming helpers. |
|
ai/providers/openairesponses
Package openairesponses contains OpenAI Responses streaming helpers.
|
Package openairesponses contains OpenAI Responses streaming helpers. |
|
ai/utils
Package utils contains reusable support code for the ai package.
|
Package utils contains reusable support code for the ai package. |
|
ai/utils/oauth
Package oauth contains reusable OAuth flow helpers for ai providers.
|
Package oauth contains reusable OAuth flow helpers for ai providers. |
|
coding-agent
Package codingagent provides the Go port of @earendil-works/pi-coding-agent.
|
Package codingagent provides the Go port of @earendil-works/pi-coding-agent. |
|
coding-agent/cli
Package cli parses command-line flags and formats CLI help text.
|
Package cli parses command-line flags and formats CLI help text. |
|
coding-agent/core
Package core owns the coding-agent runtime: settings, sessions, resources, modes, model selection, and built-in tool orchestration.
|
Package core owns the coding-agent runtime: settings, sessions, resources, modes, model selection, and built-in tool orchestration. |
|
coding-agent/core/extensions
Package extensions defines the runtime contract for coding-agent extensions: the event bus, lifecycle event types, tool and slash-command definitions, and the Runner that dispatches session events to registered extension handlers.
|
Package extensions defines the runtime contract for coding-agent extensions: the event bus, lifecycle event types, tool and slash-command definitions, and the Runner that dispatches session events to registered extension handlers. |
|
coding-agent/core/tools
Package tools implements the built-in coding tools used by the agent runtime.
|
Package tools implements the built-in coding tools used by the agent runtime. |
|
coding-agent/utils
Package cautils contains small coding-agent utilities that do not own session or runtime state.
|
Package cautils contains small coding-agent utilities that do not own session or runtime state. |
|
tui
Package tui provides the Go port of @earendil-works/pi-tui — a small set of terminal primitives, input parsers, and leaf components that pi-go shares with its TypeScript upstream.
|
Package tui provides the Go port of @earendil-works/pi-tui — a small set of terminal primitives, input parsers, and leaf components that pi-go shares with its TypeScript upstream. |
Click to show internal directories.
Click to hide internal directories.