@artooi/ag-ui-web-component 0.25.1 → 0.25.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/CHANGELOG.md +21 -1
- package/dist/ag-ui-web-component.bundle.js +1 -1
- package/dist/ag-ui-web-component.bundle.js.map +2 -2
- package/dist/core/ag_ui_chat.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
- package/src/core/ag_ui_chat.ts +14 -0
- package/src/version.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artooi/ag-ui-web-component",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.2",
|
|
4
4
|
"description": "Framework-free <ag-ui-chat> Web Component over the AG-UI protocol. Drop-in chat sidebar with a pluggable client-side tool registry, DOM driver primitives, animations, and destructive-action confirmation modal.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
package/src/core/ag_ui_chat.ts
CHANGED
|
@@ -2796,6 +2796,20 @@ export class AgUiChat extends HTMLElement {
|
|
|
2796
2796
|
}
|
|
2797
2797
|
card.settle(TOOL_CALL_STATUS.DONE, content);
|
|
2798
2798
|
this.#serverSettled.add(toolCallId);
|
|
2799
|
+
// The card stops being the live thing the moment it settles, and the
|
|
2800
|
+
// server goes straight back to the model with the result -- a wait with
|
|
2801
|
+
// nothing on screen to own it, and the longest one in a run when the
|
|
2802
|
+
// result is a large inlined attachment being re-sent with every request.
|
|
2803
|
+
// The dots go back where ``onToolCall`` took them from, after the card,
|
|
2804
|
+
// and whatever comes next clears them: reasoning, the first text delta,
|
|
2805
|
+
// the round ending, or ``onSettled``'s terminal guarantee.
|
|
2806
|
+
//
|
|
2807
|
+
// Not the same case as the one ``#executeTool`` refuses to show them
|
|
2808
|
+
// for. That runs after the run has ended, so there is nothing left to
|
|
2809
|
+
// clear them and they would hang -- which is what happened before 0.2.1
|
|
2810
|
+
// and is why they were removed from here too. The terminal guarantee
|
|
2811
|
+
// that shipped in the same release is what makes showing them safe now.
|
|
2812
|
+
this.#showPending();
|
|
2799
2813
|
},
|
|
2800
2814
|
onRunEnd: () => {
|
|
2801
2815
|
// Per-round end; the button stays on Stop until the whole interaction
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION: string = "0.25.
|
|
1
|
+
export const VERSION: string = "0.25.2";
|