basalt / ai/src / assertSafePlan
Function: assertSafePlan()
> assertSafePlan(plan): void
Defined in: ai/src/plan/identifiers.ts:31
Throws UnsafePlanError if any name in the plan could inject code into the generated sources. Enum VALUES are free text: they are always emitted as escaped string literals (see tsStringLiteral), never raw.
Parameters
plan
Returns
void