local

package
v0.3.0-beta.26 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package local implements the daemon-host execution sandbox provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(opts ...Option) sandbox.Provider

NewProvider returns the local daemon-host sandbox provider.

func NewRegistry

func NewRegistry(opts ...Option) (*sandbox.Registry, error)

NewRegistry returns a provider registry with local registered as the default backend.

Types

type Option

type Option func(*localProvider)

Option customizes the local provider.

func WithLogger

func WithLogger(logger *slog.Logger) Option

WithLogger directs provider-created launcher and tool-host diagnostics to logger.

func WithPermissionMode

func WithPermissionMode(mode compozyconfig.PermissionMode) Option

WithPermissionMode configures the local tool host permission policy.

func WithStopTimeout

func WithStopTimeout(timeout time.Duration) Option

WithStopTimeout configures how long local launcher stop waits before escalation.

func WithTerminalManager

func WithTerminalManager(manager acp.TerminalHost) Option

WithTerminalManager injects the daemon-owned terminal authority.

Jump to

Keyboard shortcuts

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