Directories
¶
| Path | Synopsis |
|---|---|
|
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. |
|
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. |
|
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. |
|
harness/compaction
Package compaction prepares and summarizes session history for AgentHarness.
|
Package compaction prepares and summarizes session history for AgentHarness. |
|
harness/env
Package harnessenv provides filesystem and shell abstractions for agent harnesses.
|
Package harnessenv provides filesystem and shell abstractions for agent harnesses. |
|
harness/session
Package session provides session-tree storage for agent harnesses.
|
Package session provides session-tree storage for agent harnesses. |
|
harness/utils
Package harnessutils provides shell-output and truncation helpers for agent harnesses.
|
Package harnessutils provides shell-output and truncation helpers for agent harnesses. |
|
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. |
|
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. |
|
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). |
|
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). |
|
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. |
|
providers
Package providers contains provider-specific implementation helpers.
|
Package providers contains provider-specific implementation helpers. |
|
providers/images
Package imageproviders contains image-provider protocol helpers.
|
Package imageproviders contains image-provider protocol helpers. |
|
providers/openaichat
Package openaichat contains OpenAI Chat streaming helpers.
|
Package openaichat contains OpenAI Chat streaming helpers. |
|
providers/openairesponses
Package openairesponses contains OpenAI Responses streaming helpers.
|
Package openairesponses contains OpenAI Responses streaming helpers. |
|
utils
Package utils contains reusable support code for the ai package.
|
Package utils contains reusable support code for the ai package. |
|
utils/oauth
Package oauth contains reusable OAuth flow helpers for ai providers.
|
Package oauth contains reusable OAuth flow helpers for ai providers. |
|
Package codingagent provides the Go port of @earendil-works/pi-coding-agent.
|
Package codingagent provides the Go port of @earendil-works/pi-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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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.