Reference
Every name each entry point exports, types included, read from its source. Anything not listed is internal and may change in any release. The root exports every name of the subpaths below; a subpath holds one part, for a page that wants to import less.
Where each is described
| Topic | Page |
|---|---|
The catalog, uiSessionNote, uiGroupReference, uiReferenceText, uiFallbackText | Compilation and streaming |
compileUi, UiCompiler, UiStream, the limits | Compilation and streaming |
| Expressions and the value helpers | Expressions |
UiState, evaluateUiBlock, bindings and actions | State and inputs |
@Query, uiQueryArguments, uiQueryFallback | Live queries |
resolveUiChoice, uiChoiceLabel, uiInputValues, uiValidatedState | Choices |
parseUiEventTime | Status |
uiLinkTargets and the link schemas | Links |
UiBlockSchema, UiNodeSchema and the types inferred from them | Getting started |
uiGroupDescription and the places option | Compilation and streaming |
uiNodeQueries | Live queries |
@adecore/intelligent-ui
Every name below, from one import.
@adecore/intelligent-ui/catalog
The components, their props and the group rules.
| Name | Kind | Source |
|---|---|---|
UI_CATALOG_VERSION | const | catalog |
UiToneSchema | const | catalog |
UiTone | type | catalog |
UI_GROUPS | const | catalog |
UI_CATALOG | const | catalog |
UiGroupName | type | catalog |
UiComponentName | type | catalog |
UiProps | type | catalog |
isUiComponent | function | catalog |
uiCatalogText | function | catalog |
@adecore/intelligent-ui/compiler
compileUi, UiCompiler and the reply and host limits.
| Name | Kind | Source |
|---|---|---|
UiBlock | type | compiler |
UiNode | type | compiler |
UiQuery | type | compiler |
UI_FENCE_LANGUAGE | const | compiler |
UI_REPLY_LIMITS | const | compiler |
UI_HOST_LIMITS | const | compiler |
uiMayReferenceHost | function | compiler |
UiCompileOptions | type | compiler |
compileUiBlock | function | compiler |
UiCompilerOptions | type | compiler |
UiCompileUpdate | type | compiler |
UiCompiler | class | compiler |
uiHasFence | function | compiler |
compileUi | function | compiler |
@adecore/intelligent-ui/stream
UiStream, the throttled compiler for a streaming reply.
| Name | Kind | Source |
|---|---|---|
UI_STREAM_INTERVAL_MS | const | stream |
UiStreamClock | type | stream |
UiStreamPreview | type | stream |
UiStreamOptions | type | stream |
UiStream | class | stream |
@adecore/intelligent-ui/syntax
The parser's intermediate tree and its diagnostics.
| Name | Kind | Source |
|---|---|---|
UiDiagnostic | type | syntax |
UiSyntaxNode | type | syntax |
UiSyntax | type | syntax |
uiDiagnostic | function | syntax |
parseUiSyntax | function | syntax |
@adecore/intelligent-ui/expression
The expression parser, the interpreter and the value helpers.
| Name | Kind | Source |
|---|---|---|
UiValue | type | expression |
UiExpression | type | expression |
parseUiExpression | function | expression |
sameUiValue | function | expression |
copyUiValue | function | expression |
evaluateUiExpression | function | expression |
@adecore/intelligent-ui/runtime
UiState, evaluateUiBlock and resolveUiChoice.
| Name | Kind | Source |
|---|---|---|
UiBinding | type | model |
UiEvaluation | type | model |
UiViewNode | type | model |
UiState | class | runtime |
evaluateUiBlock | function | runtime |
UiChoiceSelection | type | runtime |
uiInputValues | function | runtime |
uiChoiceLabel | function | runtime |
resolveUiChoice | function | runtime |
@adecore/intelligent-ui/query
Validated inputs, query arguments and the query fallback.
| Name | Kind | Source |
|---|---|---|
uiValidatedState | function | query |
uiQueryArguments | function | query |
uiQueryFallback | function | query |
@adecore/intelligent-ui/links
Link targets and the host's resolution.
| Name | Kind | Source |
|---|---|---|
UiLinkTargetSchema | const | links |
UiLinkTarget | type | links |
UiLinkResolutionSchema | const | links |
UiLinkResolution | type | links |
uiLinkTargets | function | links |
@adecore/intelligent-ui/protocol
Zod schemas of compiled blocks on the wire, and the UiBlock, UiNode, UiQuery and UiDiagnostic types inferred from them.
| Name | Kind | Source |
|---|---|---|
UiNodeSchema | const | protocol |
UiNode | type | protocol |
UiDiagnosticSchema | const | protocol |
UiDiagnostic | type | protocol |
UiQuerySchema | const | protocol |
UiQuery | type | protocol |
UiBlockSchema | const | protocol |
UiBlock | type | protocol |
UiBlocksSchema | const | protocol |
@adecore/intelligent-ui/text
The instructions for the agent and the text fallback.
| Name | Kind | Source |
|---|---|---|
uiCompactCatalog | function | text |
UiTextOptions | type | text |
uiSessionNote | function | text |
UiComponentReference | type | text |
UiGroupDescription | type | text |
uiGroupDescription | function | text |
uiGroupReference | function | text |
uiReferenceText | function | text |
uiFallbackText | function | text |
@adecore/intelligent-ui/event-time
The time of an Event, read from its text.
| Name | Kind | Source |
|---|---|---|
UiEventTime | type | event-time |
parseUiEventTime | function | event-time |
@adecore/intelligent-ui/budget
The work limits and the refusal type.
| Name | Kind | Source |
|---|---|---|
UiLimits | type | budget |
UI_LIMITS | const | budget |
UiFailure | class | budget |
UiBudget | class | budget |
safeKey | function | budget |