Function: compilePrefixGroups()
ts
function compilePrefixGroups(params): Promise<ReadonlyMap<string, CompiledWirePrefix>>;Defined in: runtime/prefix/compile-wire-prefix.ts:104
Compiles all PrefixGroupNode definitions in AST declaration order at the start of a flow run (SPEC.md §3.2.1).
Resolves .sharedGrounding(), .sharedInstructions(), and .sharedRules(), snapshots groundingSnapshots, and builds wireToolSchemasByRoleKey ('role-scoped' vs 'union').
Parameters
| Parameter | Type | Description |
|---|---|---|
params | CompileWirePrefixParams | Prefix compilation parameters and runtime registry. |
Returns
Promise<ReadonlyMap<string, CompiledWirePrefix>>
Map of prefixGroupId to pinned CompiledWirePrefix.