Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
codex
command
|
|
|
examples
|
|
|
streaming
command
|
|
|
internal
|
|
|
client
Package client provides interfaces and types for interacting with AI model APIs.
|
Package client provides interfaces and types for interacting with AI model APIs. |
|
client/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
client/openai
Package openai provides an OpenAI-compatible client implementation.
|
Package openai provides an OpenAI-compatible client implementation. |
|
config
Package config provides configuration loading and management for Codex.
|
Package config provides configuration loading and management for Codex. |
|
conversation/manager
Package manager provides the conversation manager for coordinating AI-assisted coding sessions.
|
Package manager provides the conversation manager for coordinating AI-assisted coding sessions. |
|
conversation/state
Package state provides conversation state tracking with thread-safe operations.
|
Package state provides conversation state tracking with thread-safe operations. |
|
errors
Package errors provides error types and utilities for Codex Go.
|
Package errors provides error types and utilities for Codex Go. |
|
history/compaction
Package compaction provides history compaction for managing conversation context.
|
Package compaction provides history compaction for managing conversation context. |
|
history/persistence
Package persistence provides history persistence functionality for Codex sessions.
|
Package persistence provides history persistence functionality for Codex sessions. |
|
models
Package models provides model definitions, registry, and validation for supported AI models.
|
Package models provides model definitions, registry, and validation for supported AI models. |
|
notify
Package notify provides notification functionality for Codex events.
|
Package notify provides notification functionality for Codex events. |
|
progress
Package progress provides progress tracking for long-running operations in Codex.
|
Package progress provides progress tracking for long-running operations in Codex. |
|
protocol
Package protocol defines the core protocol types for Codex sessions.
|
Package protocol defines the core protocol types for Codex sessions. |
|
sandbox
Package sandbox provides policy enforcement and OS-specific sandbox selection.
|
Package sandbox provides policy enforcement and OS-specific sandbox selection. |
|
sandbox/docker
Package docker provides Docker container-based command execution sandbox.
|
Package docker provides Docker container-based command execution sandbox. |
|
sandbox/kubernetes
Package kubernetes provides Kubernetes pod-based command execution sandbox.
|
Package kubernetes provides Kubernetes pod-based command execution sandbox. |
|
sandbox/landlock
Package landlock provides Linux Landlock LSM (Linux Security Module) support for filesystem access control.
|
Package landlock provides Linux Landlock LSM (Linux Security Module) support for filesystem access control. |
|
sandbox/native
Package native provides a native (non-isolated) sandbox implementation.
|
Package native provides a native (non-isolated) sandbox implementation. |
|
sandbox/network
Package network provides Linux network namespace isolation.
|
Package network provides Linux network namespace isolation. |
|
sandbox/seccomp
Package seccomp provides Linux Seccomp-BPF (Berkeley Packet Filter) syscall filtering.
|
Package seccomp provides Linux Seccomp-BPF (Berkeley Packet Filter) syscall filtering. |
|
tokencount
Package tokencount provides token counting functionality with caching.
|
Package tokencount provides token counting functionality with caching. |
|
tools
Package tools provides helper functions for initializing the tool registry with all available tools.
|
Package tools provides helper functions for initializing the tool registry with all available tools. |
|
tools/file
Package file provides file operation tool runtimes.
|
Package file provides file operation tool runtimes. |
|
tools/git
Package git provides git repository management tools for Codex Go.
|
Package git provides git repository management tools for Codex Go. |
|
tools/image
Package image provides the view_image tool for attaching local images to conversations.
|
Package image provides the view_image tool for attaching local images to conversations. |
|
tools/mcp
Package mcp provides Model Context Protocol (MCP) server integration for Codex.
|
Package mcp provides Model Context Protocol (MCP) server integration for Codex. |
|
tools/mcp/oauth
Package oauth provides OAuth 2.0 authentication support for MCP servers.
|
Package oauth provides OAuth 2.0 authentication support for MCP servers. |
|
tools/orchestrator
Package orchestrator provides the core tool orchestration system for Codex.
|
Package orchestrator provides the core tool orchestration system for Codex. |
|
tools/patch
Package patch provides the apply_patch tool runtime.
|
Package patch provides the apply_patch tool runtime. |
|
tools/plan
Package plan provides task/todo management functionality for Codex Go.
|
Package plan provides task/todo management functionality for Codex Go. |
|
tools/runtime
Package runtime provides the core abstraction for tool execution in Codex Go.
|
Package runtime provides the core abstraction for tool execution in Codex Go. |
|
tools/schema
Package schema provides utilities for converting tool runtime definitions to API client tool schemas (JSON Schema format).
|
Package schema provides utilities for converting tool runtime definitions to API client tool schemas (JSON Schema format). |
|
tools/shell
Package shell provides the shell command execution tool runtime.
|
Package shell provides the shell command execution tool runtime. |
|
pkg
|
|
|
sdk
Package sdk provides a high-level, ergonomic API for using Codex programmatically.
|
Package sdk provides a high-level, ergonomic API for using Codex programmatically. |
|
sdk/client
Package client provides convenience helpers for creating OpenAI-compatible clients for use with the Codex SDK.
|
Package client provides convenience helpers for creating OpenAI-compatible clients for use with the Codex SDK. |
Click to show internal directories.
Click to hide internal directories.