Expand description
Pack IR and validation
Structsยง
Enumsยง
Constantsยง
- MAX_
PACK_ ๐INJECTION_ PRIORITY - Maximum priority allowed for pack injections. Priorities 900+ are reserved for platform-level injections.
Functionsยง
- ast_
from_ ir - Builds a CELLSTATE AST from a pack intermediate representation.
- build_
adapters ๐ - build_
injections ๐ - build_
policies ๐ - build_
providers ๐ - check_
markdown_ ๐duplicates - Validates that Markdown-extracted adapters, policies, injections, and providers contain no duplicate definitions.
- collect_
tool_ ๐ids - compile_
injection_ ๐mode_ compiled - compile_
pack_ agents - Compile pack agent bindings to toolsets with extracted markdown metadata.
- compile_
pack_ injections - Compile pack injection metadata for runtime wiring.
- compile_
pack_ routing - Compile pack provider routing hints.
- compile_
tools - Compile pack tool registry into runtime tool configs.
contractsmaps contract paths to their JSON content. - compile_
toolsets - Compile pack toolsets into runtime toolset configs.
- extract_
flows_ ๐from_ markdown - Extract flow definitions from Markdown fence blocks.
- extract_
from_ ๐markdown - Generic helper that extracts items from Markdown fence blocks.
- is_
valid_ ๐executable_ path - Validate that a tool command is a safe executable path.
- parse_
action ๐ - parse_
env_ ๐value - parse_
injection_ ๐mode - parse_
trigger ๐ - profile_
key ๐ - validate_
agents ๐ - validate_
defaults ๐ - validate_
injections ๐ - validate_
meta ๐ - validate_
profile_ ๐cross_ refs - validate_
profiles ๐ - validate_
routing ๐ - validate_
tools ๐ - validate_
toolsets ๐
Type Aliasesยง
- Contract
Files - Contract files loaded from the pack for schema compilation.