Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

ui.ts

44 lines1013 Bytes

1export { partTypeToKey, selectChatUI } from './ui/selectors'
2export {
3 automaticPartsForMessage,
4 collectInlineToolNames,
5 resolveInterruptComponent,
6 selectMessageUI,
7} from './ui/selectors'
8export type {
9 ChatUIApprovalToolName,
10 ChatUIApprovalToolsOf,
11 ChatUIData,
12 ChatUIHasNamedInterrupts,
13 ChatUIHasNamedSubagents,
14 ChatUIHasNamedTools,
15 ChatUIInterrupt,
16 ChatUIInterruptName,
17 ChatUIInterruptOf,
18 ChatUIInterruptsOf,
19 ChatUINamedInterruptId,
20 ChatUIMessages,
21 ChatUIPartKey,
22 ChatUIPartOf,
23 ChatUIPartTypeByKey,
24 ChatUIRegisteredInterruptId,
25 ChatUISchemaOf,
26 ChatUISelectInput,
27 ChatUISelectedGenericPart,
28 ChatUISelectedMessage,
29 ChatUISelectedPart,
30 ChatUISelectedPartOf,
31 ChatUISelectedResultPart,
32 ChatUISelectedToolPart,
33 ChatUISelection,
34 ChatUISubagentName,
35 ChatUISubagentOf,
36 ChatUISubagentOptions,
37 ChatUISubagentsOf,
38 ChatUIStructuredPart,
39 ChatUIToolApproval,
40 ChatUIToolName,
41 ChatUIToolPart,
42 ChatUIToolsOf,
43 RegisteredUIInterrupt,
44} from './ui/types'