Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDeprecatedNetworkKeys = errors.New("sandbox.network.allow_cidrs / allow_hosts are no longer supported; use allow_external (bool)")
View Source
var ErrInvalidToolMode = errors.New(`invalid tool_mode (must be "mcp" or "hook")`)
View Source
var ErrMissingContainerBuildContext = errors.New("missing required field: sandbox.container.build_context")
View Source
var ErrMissingContainerDockerfile = errors.New("missing required field: sandbox.container.dockerfile")
View Source
var ErrMissingContainerImage = errors.New("missing required field: sandbox.container.image")
View Source
var ErrMissingMCPCommandOutputDir = errors.New("missing required field: mcp.command_output_dir")
Functions ¶
This section is empty.
Types ¶
type CommandConfig ¶ added in v0.8.0
type Config ¶
type Config struct {
ToolMode string `toml:"tool_mode"`
MCP MCPConfig `toml:"mcp"`
Sandbox SandboxConfig `toml:"sandbox"`
}
type ContainerConfig ¶
type MCPConfig ¶ added in v0.8.0
type MCPConfig struct {
CommandOutputDir string `toml:"command_output_dir"`
}
type NetworkConfig ¶ added in v0.8.0
type NetworkConfig struct {
AllowExternal bool `toml:"allow_external"`
}
type SandboxConfig ¶
type SandboxConfig struct {
Network NetworkConfig `toml:"network"`
Command CommandConfig `toml:"command"`
Container ContainerConfig `toml:"container"`
}
Click to show internal directories.
Click to hide internal directories.