@newheap/platform-ai-chat 0.5.0 → 0.7.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 CHANGED
@@ -132,6 +132,13 @@ more) and the actions `send`, `decide`, `cancel`, `openConversation`,
132
132
  `nh-assistant-agent-picker` are exported for custom layouts. All components are
133
133
  standalone and use `OnPush`.
134
134
 
135
+ 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
137
+ `nhAssistantComposerControls`; use `[compact]="true"` on `nh-assistant-agent-picker`
138
+ for the same appearance. Capability information stays available in its tooltip and
139
+ accessible description. Changing the agent keeps the draft and selects the agent for
140
+ the next new conversation.
141
+
135
142
  Assistant text is rendered as Markdown with `marked` and sanitized with DOMPurify
136
143
  against a small allow-list. Inline HTML in model text is shown as text, images
137
144
  render as their alt text, `javascript:` and `data:` links lose their target, and
@@ -159,8 +166,8 @@ The library validates and truncates the result: route at most 200 characters, ti
159
166
  and labels at most 120, at most five entities with a dash-case `type` and an `id` of
160
167
  at most 64 characters. Entities with an invalid type or id are dropped rather than
161
168
  truncated. An invalid shape, an exception or a rejected promise leaves the context out
162
- of that message; sending continues. A chip above the message box shows what is sent;
163
- its close button leaves the context out of the next message, which then sends
169
+ of that message; sending continues. The page icon beside the composer actions describes
170
+ the included context in its tooltip; clicking it leaves context out of the next message, which sends
164
171
  `clientContext: null`. Page context is untrusted data: the server treats entity ids as
165
172
  search hints and still authorizes every tool call.
166
173
 
@@ -174,6 +181,17 @@ Preferences steer the style only; the server keeps them below the application
174
181
  context and the agent instructions and never lets them change approvals or tool
175
182
  access.
176
183
 
184
+ The header bell turns desktop notifications on or off when the server, host and browser
185
+ support Web Push. Its tooltip explains the current browser state; an off bell has a slash
186
+ and a blocked permission uses the warning color. Updates disable the control while pending
187
+ and report failures in the panel's localized error bar. The preferences retain the detailed setting.
188
+
189
+ Separate link and people icons above the composer open the invitation-link and participant
190
+ views. They become usable after a conversation has been created. The owner can invite
191
+ colleagues when the server offers a directory; otherwise the participant view offers the
192
+ invitation link. Participants can view members and leave. Custom hosts using
193
+ `nh-assistant-share` can select `section="link"` or `section="members"`; the default shows both.
194
+
177
195
  ## Administration
178
196
 
179
197
  The administration page is a separate entry point, so it stays out of the initial