Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllLibraryNames ¶ added in v0.5.7
func AllLibraryNames() []string
AllLibraryNames returns the names of all built-in CLI libraries.
func Factories ¶
func Factories(libdirs []string, allowedPaths []string, disabledLibs []string, secretRegistry *secretprovider.Registry, log logger.Logger, dockerSock, podmanSock string)
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, disabledLibs []string, secretRegistry *secretprovider.Registry, log logger.Logger, dockerSock, podmanSock string)
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) disabledLibs: Library names to skip registration (nil = all enabled) log: Logger instance for the logging library
Types ¶
This section is empty.