Directories
¶
| Path | Synopsis |
|---|---|
|
httputil
Package httputil holds tiny formatting helpers shared by every HTTP-based provider (openai, foundry, vertex, bedrock-on-HTTP, ...).
|
Package httputil holds tiny formatting helpers shared by every HTTP-based provider (openai, foundry, vertex, bedrock-on-HTTP, ...). |
|
providers/anthropic
Package anthropic implements the Anthropic direct API provider.
|
Package anthropic implements the Anthropic direct API provider. |
|
providers/bedrock
Package bedrock implements the AWS Bedrock provider using the Anthropic "Messages" payload shape via InvokeModelWithResponseStream.
|
Package bedrock implements the AWS Bedrock provider using the Anthropic "Messages" payload shape via InvokeModelWithResponseStream. |
|
providers/foundry
Package foundry implements the Microsoft Azure AI Foundry / Azure OpenAI Service provider.
|
Package foundry implements the Microsoft Azure AI Foundry / Azure OpenAI Service provider. |
|
providers/openai
Package openai implements the api.Provider and api.APIClient interfaces for OpenAI's chat completions API with streaming support.
|
Package openai implements the api.Provider and api.APIClient interfaces for OpenAI's chat completions API with streaming support. |
|
providers/openaiwire
Package openaiwire holds the wire-level JSON types shared by every provider that speaks the OpenAI Chat Completions protocol.
|
Package openaiwire holds the wire-level JSON types shared by every provider that speaks the OpenAI Chat Completions protocol. |
|
providers/vertex
Package vertex implements the Google Cloud Vertex AI provider for Anthropic models.
|
Package vertex implements the Google Cloud Vertex AI provider for Anthropic models. |
|
sseutil
Package sseutil holds tiny helpers shared between providers that translate OpenAI-style SSE tool_call streams into the Anthropic-shaped api.StreamEvent vocabulary.
|
Package sseutil holds tiny helpers shared between providers that translate OpenAI-style SSE tool_call streams into the Anthropic-shaped api.StreamEvent vocabulary. |
|
Package apikit provides API transport infrastructure: telemetry, error classification, retry logic, context-window preflight checks, proxy support, and prompt caching.
|
Package apikit provides API transport infrastructure: telemetry, error classification, retry logic, context-window preflight checks, proxy support, and prompt caching. |
|
telemetry/otlp
Package otlp implements an OTLP/HTTP exporter for apikit.TelemetryEvent using the JSON wire format.
|
Package otlp implements an OTLP/HTTP exporter for apikit.TelemetryEvent using the JSON wire format. |
|
telemetry/otlpgrpc
Package otlpgrpc implements an OTLP/gRPC exporter for apikit.TelemetryEvent using the official OpenTelemetry SDK (sdk/log + otlploggrpc).
|
Package otlpgrpc implements an OTLP/gRPC exporter for apikit.TelemetryEvent using the official OpenTelemetry SDK (sdk/log + otlploggrpc). |
|
Package auth — multi-provider credential storage.
|
Package auth — multi-provider credential storage. |
|
Package hooks provides an in-process programmatic hook system for the claw-code-go runtime.
|
Package hooks provides an in-process programmatic hook system for the claw-code-go runtime. |
|
hookstesting
Package hookstesting provides test helpers for the hooks package.
|
Package hookstesting provides test helpers for the hooks package. |
|
oauth
Package oauth implements an OAuth 2.0 Authorization Code + PKCE broker for authenticated remote MCP servers, with an on-disk token cache.
|
Package oauth implements an OAuth 2.0 Authorization Code + PKCE broker for authenticated remote MCP servers, with an on-disk token cache. |
|
Package plugins implements the plugin lifecycle: discovery via a remote marketplace, fetch + checksum verification, install/uninstall state on disk, and the slash commands that drive it.
|
Package plugins implements the plugin lifecycle: discovery via a remote marketplace, fetch + checksum verification, install/uninstall state on disk, and the slash commands that drive it. |
|
lane
Package lane implements lane-level event tracking, commit provenance, branch locking, and freshness analysis for multi-lane orchestration.
|
Package lane implements lane-level event tracking, commit provenance, branch locking, and freshness analysis for multi-lane orchestration. |
|
policy
Package policy implements a declarative rule engine for lane-level runtime policy evaluation.
|
Package policy implements a declarative rule engine for lane-level runtime policy evaluation. |
|
sandbox
Package sandbox implements Linux namespace-based sandboxing with container detection and fallback degradation for non-Linux platforms.
|
Package sandbox implements Linux namespace-based sandboxing with container detection and fallback degradation for non-Linux platforms. |
|
trust
Package trust implements centralized trust-prompt detection and resolution.
|
Package trust implements centralized trust-prompt detection and resolution. |
|
Package strutil provides small string helpers shared across packages.
|
Package strutil provides small string helpers shared across packages. |
|
Ported from rust/crates/runtime/src/bash_validation.rs — pipeline and security gate extensions.
|
Ported from rust/crates/runtime/src/bash_validation.rs — pipeline and security gate extensions. |
|
Package usage provides token usage tracking and best-effort cost estimation.
|
Package usage provides token usage tracking and best-effort cost estimation. |
Click to show internal directories.
Click to hide internal directories.