@artooi/ag-ui-web-component 0.35.2 → 0.37.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/CHANGELOG.md +112 -1
- package/README.md +53 -5
- package/dist/ag-ui-web-component.bundle.js +37 -37
- package/dist/ag-ui-web-component.bundle.js.map +4 -4
- package/dist/constants.d.ts +25 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/core/ag_ui_chat.d.ts.map +1 -1
- package/dist/core/agui_client.d.ts +25 -1
- package/dist/core/agui_client.d.ts.map +1 -1
- package/dist/core/tool_outcome.d.ts +27 -0
- package/dist/core/tool_outcome.d.ts.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +174 -44
- package/dist/index.js.map +3 -3
- package/dist/ui/ui_strings.d.ts +4 -0
- package/dist/ui/ui_strings.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/constants.ts +26 -0
- package/src/core/ag_ui_chat.ts +148 -39
- package/src/core/agui_client.ts +105 -8
- package/src/core/tool_outcome.ts +36 -0
- package/src/index.ts +2 -0
- package/src/ui/ui_strings.ts +6 -0
- package/src/version.ts +1 -1
package/src/index.ts
CHANGED
|
@@ -20,6 +20,7 @@ export {
|
|
|
20
20
|
TOGGLE_EVENT,
|
|
21
21
|
TOOL_CALL_STATUS,
|
|
22
22
|
TOOL_DISPLAY,
|
|
23
|
+
TOOL_OUTCOME,
|
|
23
24
|
UNREAD_EVENT,
|
|
24
25
|
X_CONFIRM_KEY,
|
|
25
26
|
X_DESTRUCTIVE_KEY,
|
|
@@ -69,6 +70,7 @@ export {
|
|
|
69
70
|
export { defineAgUiChat } from "./core/define_ag_ui_chat.js";
|
|
70
71
|
export { RemoteConversationStore } from "./core/remote_conversation_store.js";
|
|
71
72
|
export { RunIndex, type RunRow } from "./core/run_index.js";
|
|
73
|
+
export { type ToolOutcome, toolStatusFromOutcome } from "./core/tool_outcome.js";
|
|
72
74
|
export {
|
|
73
75
|
type TranscribeHandler,
|
|
74
76
|
type TranscribeOptions,
|
package/src/ui/ui_strings.ts
CHANGED
|
@@ -92,6 +92,10 @@ export interface UiStrings {
|
|
|
92
92
|
pageMoved: string;
|
|
93
93
|
/** Notice when Send ran while a file was still uploading. Token: `{n}`. */
|
|
94
94
|
attachmentsStillUploading: string;
|
|
95
|
+
/** Notice shown when a message was typed at an element with no `endpoint`. */
|
|
96
|
+
notConnected: string;
|
|
97
|
+
/** Composer hint when a run continuation was picked with an empty composer. */
|
|
98
|
+
continueNeedsTurn: string;
|
|
95
99
|
|
|
96
100
|
// ── Composer ────────────────────────────────────────────────────────────────
|
|
97
101
|
/** `aria-label` of the message textarea. */
|
|
@@ -347,6 +351,8 @@ export const DEFAULT_UI_STRINGS: UiStrings = {
|
|
|
347
351
|
"The page changed since you last looked at it. Call read_page to see the current page, then retry.",
|
|
348
352
|
attachmentsStillUploading:
|
|
349
353
|
"{n} file still uploading — it was not sent with this message and is still attached.",
|
|
354
|
+
notConnected: "This chat isn’t connected to an agent, so the message wasn’t sent.",
|
|
355
|
+
continueNeedsTurn: "Type the next turn in the composer first, then pick a run to continue.",
|
|
350
356
|
skillNeeds: "“{title}” needs {fields} — fill it in below, then send.",
|
|
351
357
|
|
|
352
358
|
message: "Message",
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION: string = "0.
|
|
1
|
+
export const VERSION: string = "0.37.0";
|