LivePlanSession class

A session for interactively planning a LiveSpec via AI.

This wraps a bidirectional gRPC stream for the Live Plan API, allowing you to submit a query, refine the proposed spec, and accept the final result.

Signature:

export declare class LivePlanSession

Methods

Method Modifiers Description

accept()

Accept the current proposed spec, returning the final LiveSpec

close()

Close the live plan session

refine(feedback)

Send feedback to refine the proposed spec