Skip to content

basalt / ai/src / createPlan

Function: createPlan() ​

> createPlan(provider, ctx, request, options?): Promise<ArchitecturePlan>

Defined in: ai/src/plan/plan.ts:36

Turn a natural-language request into a grounded ArchitecturePlan. The project context keeps the plan on-convention and collision-free. Read-only — it produces a plan, it changes nothing.

Parameters ​

provider ​

AIProvider

ctx ​

ProjectContext

request ​

string

options? ​

CreatePlanOptions = {}

Returns ​

Promise<ArchitecturePlan>

Released under the MIT License.