Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
claw-code-go
command
|
|
|
claw-store-init
command
Command claw-store-init scaffolds a local plugin marketplace directory the user can serve via static HTTP for team-internal plugin distribution without a public registry.
|
Command claw-store-init scaffolds a local plugin marketplace directory the user can serve via static HTTP for team-internal plugin distribution without a public registry. |
|
internal
|
|
|
api/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, ...). |
|
api/providers/anthropic
Package anthropic implements the Anthropic direct API provider.
|
Package anthropic implements the Anthropic direct API provider. |
|
api/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. |
|
api/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. |
|
api/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. |
|
api/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. |
|
api/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. |
|
api/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. |
|
apikit
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. |
|
apikit/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. |
|
apikit/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). |
|
auth
Package auth — multi-provider credential storage.
|
Package auth — multi-provider credential storage. |
|
hooks
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. |
|
hooks/hookstesting
Package hookstesting provides test helpers for the hooks package.
|
Package hookstesting provides test helpers for the hooks package. |
|
mcp/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. |
|
plugins
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. |
|
runtime/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. |
|
runtime/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. |
|
runtime/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. |
|
runtime/trust
Package trust implements centralized trust-prompt detection and resolution.
|
Package trust implements centralized trust-prompt detection and resolution. |
|
strutil
Package strutil provides small string helpers shared across packages.
|
Package strutil provides small string helpers shared across packages. |
|
tools
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. |
|
usage
Package usage provides token usage tracking and best-effort cost estimation.
|
Package usage provides token usage tracking and best-effort cost estimation. |
|
pkg
|
|
|
api
Package api re-exports the internal/api surface via type aliases.
|
Package api re-exports the internal/api surface via type aliases. |
|
api/hooks
Package hooks is the public façade over the internal lifecycle hooks runner.
|
Package hooks is the public façade over the internal lifecycle hooks runner. |
|
api/lsp
Package lsp is the public façade over the internal LSP subsystem that backs the `lsp` tool.
|
Package lsp is the public façade over the internal LSP subsystem that backs the `lsp` tool. |
|
api/mcp
Package mcp is the public façade over the internal MCP subsystem that backs the list_mcp_resources / read_mcp_resource / mcp_auth tools and the SSE/HTTP transports.
|
Package mcp is the public façade over the internal MCP subsystem that backs the list_mcp_resources / read_mcp_resource / mcp_auth tools and the SSE/HTTP transports. |
|
api/mcp/oauth
Package oauth is the public façade over the internal MCP OAuth broker.
|
Package oauth is the public façade over the internal MCP OAuth broker. |
|
api/providers/anthropic
Package anthropic re-exports the internal Anthropic provider via type alias.
|
Package anthropic re-exports the internal Anthropic provider via type alias. |
|
api/providers/bedrock
Package bedrock re-exports the internal Bedrock provider via type alias.
|
Package bedrock re-exports the internal Bedrock provider via type alias. |
|
api/providers/foundry
Package foundry re-exports the internal Azure AI Foundry provider via type alias.
|
Package foundry re-exports the internal Azure AI Foundry provider via type alias. |
|
api/providers/openai
Package openai re-exports the internal OpenAI provider via type alias.
|
Package openai re-exports the internal OpenAI provider via type alias. |
|
api/providers/vertex
Package vertex re-exports the internal Vertex AI provider via type alias.
|
Package vertex re-exports the internal Vertex AI provider via type alias. |
|
api/task
Package task is the public façade over the internal task subsystem that backs the task_* tools.
|
Package task is the public façade over the internal task subsystem that backs the task_* tools. |
|
api/team
Package team is the public façade over the internal team subsystem that backs the team_* and cron_* tools.
|
Package team is the public façade over the internal team subsystem that backs the team_* and cron_* tools. |
|
api/tools
Package tools exposes a stable public-API surface over the built-in tool implementations that ship with claw-code-go.
|
Package tools exposes a stable public-API surface over the built-in tool implementations that ship with claw-code-go. |
|
api/worker
Package worker is the public façade over the internal worker subsystem that backs the worker_* tools.
|
Package worker is the public façade over the internal worker subsystem that backs the worker_* tools. |
|
apikit
Package apikit re-exports selected symbols from internal/apikit via type aliases.
|
Package apikit re-exports selected symbols from internal/apikit via type aliases. |
|
apikit/telemetry/otlpgrpc
Package otlpgrpc is the public façade over the OTLP/gRPC log exporter implemented in internal/apikit/telemetry/otlpgrpc.
|
Package otlpgrpc is the public façade over the OTLP/gRPC log exporter implemented in internal/apikit/telemetry/otlpgrpc. |
|
permissions
Package permissions re-exports the internal permissions package via type aliases so external consumers (e.g.
|
Package permissions re-exports the internal permissions package via type aliases so external consumers (e.g. |
|
runtime
Package runtime re-exports selected provider factory functions from claw-code-go's internal runtime.
|
Package runtime re-exports selected provider factory functions from claw-code-go's internal runtime. |
|
Package plugin: remote marketplace fetch + verify.
|
Package plugin: remote marketplace fetch + verify. |
Click to show internal directories.
Click to hide internal directories.