Documentation
¶
Overview ¶
Package builtins provides Starlark builtin functions for the script engine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build( ctx context.Context, tools []ToolDef, stepLimit uint64, parallelMax int, ) starlark.StringDict
Build creates all Starlark globals for the script environment.
The returned globals include:
- Tool callables by sanitized name (e.g., github_fetch_prs)
- call_tool("name", ...) for name-based dispatch
- parallel([fn1, fn2, ...]) for concurrent fan-out
The caller can check for key existence in the returned globals to prevent data arguments from shadowing builtins or tools.
Types ¶
Click to show internal directories.
Click to hide internal directories.