internal/

directory
v0.0.0-...-50f9a76 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0

Directories

Path Synopsis
llm
Package llm defines Wright's model-agnostic LLM contract.
Package llm defines Wright's model-agnostic LLM contract.
llm/logging
Package logging decorates an llm.LLMProvider with structured logging of every call: the request shape on entry, and the duration plus outcome (a brief usage summary, or the full error chain) on exit.
Package logging decorates an llm.LLMProvider with structured logging of every call: the request shape on entry, and the duration plus outcome (a brief usage summary, or the full error chain) on exit.
llm/openrouter
Package openrouter implements an llm.LLMProvider backed by OpenRouter's OpenAI-compatible Chat Completions API (https://openrouter.ai/api/v1).
Package openrouter implements an llm.LLMProvider backed by OpenRouter's OpenAI-compatible Chat Completions API (https://openrouter.ai/api/v1).
llm/retrying
Package retrying decorates an llm.LLMProvider with configurable retries around each connection attempt to the model API.
Package retrying decorates an llm.LLMProvider with configurable retries around each connection attempt to the model API.
Package cli implements the wright command-line interface using cobra.
Package cli implements the wright command-line interface using cobra.
Package config defines Wright's YAML configuration format and the routines to load and validate it.
Package config defines Wright's YAML configuration format and the routines to load and validate it.
Package cost tracks token usage across agent runs.
Package cost tracks token usage across agent runs.
Package gate performs info-sufficiency triage for issues.
Package gate performs info-sufficiency triage for issues.
Package gitops performs deterministic git operations inside the sandbox clone.
Package gitops performs deterministic git operations inside the sandbox clone.
Package logging sets up wright's optional diagnostic logger.
Package logging sets up wright's optional diagnostic logger.
Package pipeline wires poll -> gate -> execution -> failure reporting.
Package pipeline wires poll -> gate -> execution -> failure reporting.
Package poller fetches labeled issues from a provider.
Package poller fetches labeled issues from a provider.
Package provider defines Wright's provider-agnostic interface for hosting services (GitHub, GitLab) along with the domain types and sentinel errors that adapters map onto.
Package provider defines Wright's provider-agnostic interface for hosting services (GitHub, GitLab) along with the domain types and sentinel errors that adapters map onto.
factory
Package factory constructs a provider.Provider from a repo's config entry.
Package factory constructs a provider.Provider from a repo's config entry.
github
Package github implements provider.Provider against the GitHub REST API using google/go-github.
Package github implements provider.Provider against the GitHub REST API using google/go-github.
gitlab
Package gitlab implements provider.Provider against the GitLab REST API using the official gitlab.com/gitlab-org/api/client-go (the successor to the archived xanzy/go-gitlab).
Package gitlab implements provider.Provider against the GitLab REST API using the official gitlab.com/gitlab-org/api/client-go (the successor to the archived xanzy/go-gitlab).
logging
Package logging decorates a provider.Provider with structured logging of every call: the method and its key arguments on entry, and the duration plus outcome (a brief result summary, or the full error chain) on exit.
Package logging decorates a provider.Provider with structured logging of every call: the method and its key arguments on entry, and the duration plus outcome (a brief result summary, or the full error chain) on exit.
providertest
Package providertest holds shared, provider-agnostic assertions that both the GitHub and GitLab adapter test suites run against their own httptest fakes.
Package providertest holds shared, provider-agnostic assertions that both the GitHub and GitLab adapter test suites run against their own httptest fakes.
retrying
Package retrying decorates a provider.Provider with configurable retries around every connection attempt to the hosting API.
Package retrying decorates a provider.Provider with configurable retries around every connection attempt to the hosting API.
Package retry implements configurable retry-with-backoff for connection attempts to external services: provider APIs (GitHub/GitLab), the LLM API, the Docker daemon, and git network operations.
Package retry implements configurable retry-with-backoff for connection attempts to external services: provider APIs (GitHub/GitLab), the LLM API, the Docker daemon, and git network operations.
Package sandbox defines the isolated tool-execution abstraction used by the agent and verifier.
Package sandbox defines the isolated tool-execution abstraction used by the agent and verifier.
Package verifier detects and runs a repository's native test command.
Package verifier detects and runs a repository's native test command.
Package version exposes the build version of the wright binary.
Package version exposes the build version of the wright binary.

Jump to

Keyboard shortcuts

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