Expand description
Pack Config Compiler - Transform AST to Runtime Configuration
This module takes a parsed AST and compiles it into runtime-usable configuration structs. The compiler validates semantic rules that can’t be checked during parsing.
§Pipeline
Pack Source → Lexer → Parser → AST → Compiler → CompiledConfig → Deploy
↓
Validation (semantic)Structs§
- Adapter
Config - Compiled adapter configuration.
- Agent
Config - Compiled agent configuration.
- Cache
Config - Compiled cache configuration.
- Compiled
Agent Constraints - Compiled agent constraints.
- Compiled
Config - The complete compiled configuration from a pack file. This is the output of the compiler and can be used to configure the runtime.
- Compiled
Field Security - Compiled field security configuration.
- Compiled
Pack Agent Config - Pack agent-to-toolset bindings with extracted markdown metadata.
- Compiled
Pack Injection Config - Pack injection metadata for runtime RAG wiring.
- Compiled
Pack Routing Config - Pack provider routing hints.
- Compiled
Permission Matrix - Compiled permission matrix.
- Compiled
Policy Rule - Compiled policy rule.
- Compiled
Provider Config - Compiled provider configuration from pack config.
Note: Different from
cellstate_core::config::ProviderConfig(system bootstrap config). - Compiled
Tool Config - Compiled tool definition.
- Compiled
Toolset Config - Compiled toolset definition.
- Composio
Gateway Config - Compiled Composio MCP Gateway configuration.
- Embeddable
Config - Embeddable modifier configuration.
- Evolution
Config - Compiled evolution configuration.
- Field
Config - Compiled field configuration.
- Index
Config - Compiled index configuration.
- Injection
Config - Compiled injection configuration.
- Lockable
Config - Lockable modifier configuration.
- Memory
Config - Compiled memory configuration.
- Memory
Modifiers - Memory modifiers (embeddable, summarizable, lockable).
- Name
Registry 🔒 - Registry for tracking defined names to detect duplicates.
- Pipeline
Compiler - The Pack Config Compiler transforms a parsed AST into runtime configuration.
- Policy
Config - Compiled policy configuration.
- Summarizable
Config - Summarizable modifier configuration.
- Summarization
Policy Config - Compiled summarization policy configuration.
- Trajectory
Config - Compiled trajectory configuration.
Enums§
- Compile
Error - Errors that can occur during pack compilation.
- Compiled
Abstraction Level - Compiled abstraction levels.
- Compiled
Action - Compiled lifecycle actions.
- Compiled
Adapter Type - Compiled adapter types.
- Compiled
Cache Backend - Compiled cache backend types.
- Compiled
Credential Delivery - How server-side OAuth credentials should be delivered to an exec tool.
- Compiled
Filter - Compiled filter expression.
- Compiled
Filter Value - Compiled filter values.
- Compiled
Freshness - Compiled freshness configuration.
- Compiled
Index Type - Compiled index types.
- Compiled
Injection Mode - Compiled injection modes.
- Compiled
Lifecycle - Compiled lifecycle configuration.
- Compiled
Lock Mode - Compiled lock modes.
- Compiled
Operator - Compiled operators.
- CompiledPII
Classification - Compiled PII classification.
- Compiled
Provider Type - Compiled provider types.
- Compiled
Tool Kind - Compiled tool kind.
- Compiled
Trigger - Compiled trigger types.
- Summarize
Style - Summary styles.
Functions§
- default_
true 🔒 - Default value for enabled field (true).