@newheap/platform-ai-chat 0.7.0 → 0.8.1

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 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. Sending is
115
- temporarily blocked, so Enter preserves the draft; explicit send returns focus to the
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`, `decide`, `cancel`, `openConversation`,
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
@@ -133,7 +145,8 @@ more) and the actions `send`, `decide`, `cancel`, `openConversation`,
133
145
  standalone and use `OnPush`.
134
146
 
135
147
  The panel selects the assistant in the prompt bar below the message field, alongside
136
- the send/stop action. Custom composer layouts can project controls marked with
148
+ the send/stop action. The picker is hidden when only one assistant is available;
149
+ that assistant stays automatically selected. Custom composer layouts can project controls marked with
137
150
  `nhAssistantComposerControls`; use `[compact]="true"` on `nh-assistant-agent-picker`
138
151
  for the same appearance. Capability information stays available in its tooltip and
139
152
  accessible description. Changing the agent keeps the draft and selects the agent for