@newheap/platform-ai-chat 0.7.0 → 0.8.0
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/README.md +15 -3
- package/fesm2022/newheap-platform-ai-chat.mjs +251 -20
- package/fesm2022/newheap-platform-ai-chat.mjs.map +1 -1
- package/i18n/en.json +19 -2
- package/i18n/nl.json +19 -2
- package/index.d.ts +46 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -111,8 +111,19 @@ inject(NhAssistantPanelService).open(conversationId);
|
|
|
111
111
|
The drawer is 420 px wide on the right and fills the screen below 600 px. Escape
|
|
112
112
|
closes it and focus returns to the element that opened it.
|
|
113
113
|
|
|
114
|
-
The composer stays editable while a turn runs or waits for approval.
|
|
115
|
-
|
|
114
|
+
The panel's composer stays editable while a turn runs or waits for approval. Enter
|
|
115
|
+
adds follow-ups to a visible FIFO queue; they send after the current turn finishes.
|
|
116
|
+
Queued messages can be edited or removed without replacing the current draft.
|
|
117
|
+
**Steer now** prioritizes one message, cancels the current turn and waits for confirmed
|
|
118
|
+
idle state before sending the correction in the same conversation. It does not modify
|
|
119
|
+
a running model request or approve tools. Stop pauses the queue; **Resume queue** is
|
|
120
|
+
explicit after Stop or failure. Failed sends stay queued for retry. Queues retain the
|
|
121
|
+
original conversation and page context, continue when the drawer closes or another
|
|
122
|
+
conversation opens, and live only in this tab's memory. They clear on account changes,
|
|
123
|
+
loss of access, deletion or leaving a conversation. Standalone composers preserve their
|
|
124
|
+
default behavior; opt into the extra send button with `[queueWhileBusy]="true"` and
|
|
125
|
+
connect it to `NhAssistantStore.submit` using `canSubmit`.
|
|
126
|
+
Explicit send returns focus to the
|
|
116
127
|
editor. Automatic focus restoration happens only when a disappearing composer control
|
|
117
128
|
owned focus, never after the user chose another control, and is skipped for coarse
|
|
118
129
|
pointer devices to avoid opening a mobile keyboard unexpectedly.
|
|
@@ -125,7 +136,8 @@ authorization basis.
|
|
|
125
136
|
|
|
126
137
|
`NhAssistantStore` exposes the state as signals (`enabled`, `agents`,
|
|
127
138
|
`conversations`, `activeConversation`, `streaming`, `pendingApproval`, `error` and
|
|
128
|
-
more) and the actions `send`, `
|
|
139
|
+
more) and the actions `send`, `submit`, `pauseQueue`, `resumeQueue`,
|
|
140
|
+
`updateQueuedMessage`, `removeQueuedMessage`, `steerQueuedMessage`, `decide`, `cancel`, `openConversation`,
|
|
129
141
|
`startNewConversation` and `selectAgent`. The building blocks
|
|
130
142
|
`nh-assistant-thread`, `nh-assistant-composer`, `nh-assistant-conversation-list`,
|
|
131
143
|
`nh-assistant-tool-call-card`, `nh-assistant-approval-card` and
|