setup

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factories

func Factories(libdirs []string, allowedPaths []string, secretRegistry *secretprovider.Registry, log logger.Logger)

Factories configures the global sandbox and background factories. Call this once at startup, before any scripts execute.

func Scriptling

func Scriptling(p *scriptling.Scriptling, libdirs []string, registerInteract bool, allowedPaths []string, secretRegistry *secretprovider.Registry, log logger.Logger)

Scriptling configures a Scriptling instance with the built-in CLI libraries. libdirs: Directories for on-demand library loading (first entry is typically the script dir or cwd) registerInteract: Whether to register the agent interact library allowedPaths: Filesystem path restrictions for os, pathlib, glob, sandbox (nil = no restrictions) log: Logger instance for the logging library

Types

This section is empty.

Jump to

Keyboard shortcuts

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