@tylertech/forge-ai-react 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ForgeAiChatbot.d.ts +1 -1
- package/dist/ForgeAiPrompt.d.ts +2 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/package.json +3 -3
package/dist/ForgeAiChatbot.d.ts
CHANGED
|
@@ -150,7 +150,7 @@ export interface ForgeAiChatbotProps extends Pick<
|
|
|
150
150
|
* - **abort(): _void_** - Aborts the current streaming response.
|
|
151
151
|
* - **scrollToBottom({ behavior }: _{ behavior?: ScrollBehavior }_): _Promise<void>_** - Scrolls the chat interface to the bottom.
|
|
152
152
|
* - **getThreadState(): __** - Gets the complete serializable thread state including threadId and messages.
|
|
153
|
-
* - **setThreadState(state: _ThreadState_):
|
|
153
|
+
* - **setThreadState(state: _ThreadState_): _Promise<void>_** - Restores thread state from a serialized ThreadState object.
|
|
154
154
|
*
|
|
155
155
|
* ### **Slots:**
|
|
156
156
|
* - **header** - Slot for custom header content
|
package/dist/ForgeAiPrompt.d.ts
CHANGED
|
@@ -116,6 +116,8 @@ export interface ForgeAiPromptProps extends Pick<
|
|
|
116
116
|
* ### **Methods:**
|
|
117
117
|
* - **addToHistory(message: _string_): _void_** - Adds a message to the input history for up/down arrow navigation.
|
|
118
118
|
* Use this when sending messages externally (e.g., from suggestions).
|
|
119
|
+
* - **setHistory(messages: _string[]_): _void_** - Replaces the entire message history with the provided messages.
|
|
120
|
+
* Use this when restoring thread state from persistence.
|
|
119
121
|
* - **closeSlashMenu(): _void_** - Closes the slash command menu
|
|
120
122
|
* - **focus(): _void_** - Focuses the textarea element
|
|
121
123
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ export * from "./ForgeAiArtifact.js";
|
|
|
4
4
|
export * from "./ForgeAiAssistantResponse.js";
|
|
5
5
|
export * from "./ForgeAiAttachment.js";
|
|
6
6
|
export * from "./ForgeAiButton.js";
|
|
7
|
-
export * from "./ForgeAiChainOfThought.js";
|
|
8
7
|
export * from "./ForgeAiChatHeader.js";
|
|
8
|
+
export * from "./ForgeAiChainOfThought.js";
|
|
9
9
|
export * from "./ForgeAiChatInterface.js";
|
|
10
10
|
export * from "./ForgeAiConfirmationPrompt.js";
|
|
11
11
|
export * from "./ForgeAiChatbotToolCall.js";
|
|
@@ -17,37 +17,37 @@ export * from "./ForgeAiDropdownMenuSeparator.js";
|
|
|
17
17
|
export * from "./ForgeAiDropdownMenu.js";
|
|
18
18
|
export * from "./ForgeAiEmbeddedChat.js";
|
|
19
19
|
export * from "./ForgeAiEmptyState.js";
|
|
20
|
-
export * from "./ForgeAiEventStreamViewer.js";
|
|
21
20
|
export * from "./ForgeAiErrorMessage.js";
|
|
21
|
+
export * from "./ForgeAiEventStreamViewer.js";
|
|
22
22
|
export * from "./ForgeAiFab.js";
|
|
23
23
|
export * from "./ForgeAiFilePicker.js";
|
|
24
24
|
export * from "./ForgeAiFloatingChat.js";
|
|
25
25
|
export * from "./ForgeAiGradientContainer.js";
|
|
26
26
|
export * from "./ForgeAiIcon.js";
|
|
27
|
-
export * from "./ForgeAiIconButton.js";
|
|
28
27
|
export * from "./ForgeAiMessageThread.js";
|
|
28
|
+
export * from "./ForgeAiIconButton.js";
|
|
29
29
|
export * from "./ForgeAiModal.js";
|
|
30
|
-
export * from "./ForgeAiReasoning.js";
|
|
31
30
|
export * from "./ForgeAiPrompt.js";
|
|
32
31
|
export * from "./ForgeAiReasoningHeader.js";
|
|
32
|
+
export * from "./ForgeAiReasoning.js";
|
|
33
33
|
export * from "./ForgeAiResponseMessage.js";
|
|
34
34
|
export * from "./ForgeAiSidebar.js";
|
|
35
35
|
export * from "./ForgeAiSidebarChat.js";
|
|
36
|
-
export * from "./ForgeAiSuggestions.js";
|
|
37
|
-
export * from "./ForgeAiSpinner.js";
|
|
38
36
|
export * from "./ForgeAiSlashCommandMenu.js";
|
|
37
|
+
export * from "./ForgeAiSpinner.js";
|
|
38
|
+
export * from "./ForgeAiSuggestions.js";
|
|
39
39
|
export * from "./ForgeAiThinkingIndicator.js";
|
|
40
|
-
export * from "./ForgeAiUserMessage.js";
|
|
41
40
|
export * from "./ForgeAiThreads.js";
|
|
42
41
|
export * from "./ForgeAiVoiceInput.js";
|
|
42
|
+
export * from "./ForgeAiUserMessage.js";
|
|
43
43
|
export * from "./ForgeAiThoughtBase.js";
|
|
44
44
|
export * from "./ForgeAiThoughtDetail.js";
|
|
45
45
|
export * from "./ForgeAiThoughtImage.js";
|
|
46
|
-
export * from "./ForgeAiReasoningContent.js";
|
|
47
46
|
export * from "./ForgeAiThoughtSearchResult.js";
|
|
48
47
|
export * from "./ForgePromptButton.js";
|
|
48
|
+
export * from "./ForgeAiReasoningContent.js";
|
|
49
49
|
export * from "./ForgeAiOverlay.js";
|
|
50
50
|
export * from "./ForgeAiPopover.js";
|
|
51
|
-
export * from "./ForgeAiToolDataTable.js";
|
|
52
51
|
export * from "./ForgeAiTooltip.js";
|
|
52
|
+
export * from "./ForgeAiToolDataTable.js";
|
|
53
53
|
export * from "./ForgeAiPaginator.js";
|
package/dist/index.js
CHANGED
|
@@ -4,8 +4,8 @@ export * from "./ForgeAiArtifact.js";
|
|
|
4
4
|
export * from "./ForgeAiAssistantResponse.js";
|
|
5
5
|
export * from "./ForgeAiAttachment.js";
|
|
6
6
|
export * from "./ForgeAiButton.js";
|
|
7
|
-
export * from "./ForgeAiChainOfThought.js";
|
|
8
7
|
export * from "./ForgeAiChatHeader.js";
|
|
8
|
+
export * from "./ForgeAiChainOfThought.js";
|
|
9
9
|
export * from "./ForgeAiChatInterface.js";
|
|
10
10
|
export * from "./ForgeAiConfirmationPrompt.js";
|
|
11
11
|
export * from "./ForgeAiChatbotToolCall.js";
|
|
@@ -17,37 +17,37 @@ export * from "./ForgeAiDropdownMenuSeparator.js";
|
|
|
17
17
|
export * from "./ForgeAiDropdownMenu.js";
|
|
18
18
|
export * from "./ForgeAiEmbeddedChat.js";
|
|
19
19
|
export * from "./ForgeAiEmptyState.js";
|
|
20
|
-
export * from "./ForgeAiEventStreamViewer.js";
|
|
21
20
|
export * from "./ForgeAiErrorMessage.js";
|
|
21
|
+
export * from "./ForgeAiEventStreamViewer.js";
|
|
22
22
|
export * from "./ForgeAiFab.js";
|
|
23
23
|
export * from "./ForgeAiFilePicker.js";
|
|
24
24
|
export * from "./ForgeAiFloatingChat.js";
|
|
25
25
|
export * from "./ForgeAiGradientContainer.js";
|
|
26
26
|
export * from "./ForgeAiIcon.js";
|
|
27
|
-
export * from "./ForgeAiIconButton.js";
|
|
28
27
|
export * from "./ForgeAiMessageThread.js";
|
|
28
|
+
export * from "./ForgeAiIconButton.js";
|
|
29
29
|
export * from "./ForgeAiModal.js";
|
|
30
|
-
export * from "./ForgeAiReasoning.js";
|
|
31
30
|
export * from "./ForgeAiPrompt.js";
|
|
32
31
|
export * from "./ForgeAiReasoningHeader.js";
|
|
32
|
+
export * from "./ForgeAiReasoning.js";
|
|
33
33
|
export * from "./ForgeAiResponseMessage.js";
|
|
34
34
|
export * from "./ForgeAiSidebar.js";
|
|
35
35
|
export * from "./ForgeAiSidebarChat.js";
|
|
36
|
-
export * from "./ForgeAiSuggestions.js";
|
|
37
|
-
export * from "./ForgeAiSpinner.js";
|
|
38
36
|
export * from "./ForgeAiSlashCommandMenu.js";
|
|
37
|
+
export * from "./ForgeAiSpinner.js";
|
|
38
|
+
export * from "./ForgeAiSuggestions.js";
|
|
39
39
|
export * from "./ForgeAiThinkingIndicator.js";
|
|
40
|
-
export * from "./ForgeAiUserMessage.js";
|
|
41
40
|
export * from "./ForgeAiThreads.js";
|
|
42
41
|
export * from "./ForgeAiVoiceInput.js";
|
|
42
|
+
export * from "./ForgeAiUserMessage.js";
|
|
43
43
|
export * from "./ForgeAiThoughtBase.js";
|
|
44
44
|
export * from "./ForgeAiThoughtDetail.js";
|
|
45
45
|
export * from "./ForgeAiThoughtImage.js";
|
|
46
|
-
export * from "./ForgeAiReasoningContent.js";
|
|
47
46
|
export * from "./ForgeAiThoughtSearchResult.js";
|
|
48
47
|
export * from "./ForgePromptButton.js";
|
|
48
|
+
export * from "./ForgeAiReasoningContent.js";
|
|
49
49
|
export * from "./ForgeAiOverlay.js";
|
|
50
50
|
export * from "./ForgeAiPopover.js";
|
|
51
|
-
export * from "./ForgeAiToolDataTable.js";
|
|
52
51
|
export * from "./ForgeAiTooltip.js";
|
|
52
|
+
export * from "./ForgeAiToolDataTable.js";
|
|
53
53
|
export * from "./ForgeAiPaginator.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tylertech/forge-ai-react",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "A React adapter for Tyler Forge™ AI Web Components.",
|
|
5
5
|
"repository": "tyler-technologies-oss/forge-ai",
|
|
6
6
|
"author": "Tyler Technologies, Inc.",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"react": ">=17.0.0",
|
|
19
|
-
"@tylertech/forge-ai": "^0.7.
|
|
19
|
+
"@tylertech/forge-ai": "^0.7.3"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@repo/prettier-config": "",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"typescript": "~5.8.3",
|
|
45
45
|
"vite": "7.3.0",
|
|
46
46
|
"vite-tsconfig-paths": "6.0.3",
|
|
47
|
-
"@tylertech/forge-ai": "^0.7.
|
|
47
|
+
"@tylertech/forge-ai": "^0.7.3"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"predev": "pnpm run build",
|