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.
Click to show internal directories.
Click to hide internal directories.