Skip to content

Interface: UIGenerateResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / UI / UIGenerateResponse

Interface: UIGenerateResponse

Defined in: src/types/ui.ts:297

Certified prompt-to-UI generation response.

Remarks

verdict is "certified", "repaired", or "abstained". On abstention the descriptor and layout are absent and suggestions carries live-schema alternatives.

Properties

certificateId?

optional certificateId: string

Defined in: src/types/ui.ts:299

Content-addressed certificate id for the accepted spec.


data?

optional data: object

Defined in: src/types/ui.ts:301

Engine-loaded data payload — always produced by OSFQL execution, never by the model.


descriptor?

optional descriptor: UIDescriptorDto

Defined in: src/types/ui.ts:303

The certified component tree. Absent when the verdict is "abstained".


diagnostics?

optional diagnostics: unknown[]

Defined in: src/types/ui.ts:305

Screening diagnostics (what was ungrounded, what the repair changed).


layout?

optional layout: LayoutSurfaceDto

Defined in: src/types/ui.ts:307

The certified layout surface. Absent when the verdict is "abstained".


pageVersion?

optional pageVersion: number

Defined in: src/types/ui.ts:309

Saved page version, when UIGenerateRequest.saveAsPage was requested.


suggestions?

optional suggestions: unknown[]

Defined in: src/types/ui.ts:311

Live-schema suggestions returned when the proposal is refused.


verdict

verdict: string

Defined in: src/types/ui.ts:313

certified | repaired | abstained.