@artooi/ag-ui-web-component 0.26.1 → 0.28.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 +291 -1
- package/README.md +191 -8
- package/dist/ag-ui-web-component.bundle.js +50 -50
- package/dist/ag-ui-web-component.bundle.js.map +4 -4
- package/dist/core/ag_ui_chat.d.ts +61 -3
- package/dist/core/ag_ui_chat.d.ts.map +1 -1
- package/dist/core/agui_client.d.ts +8 -1
- package/dist/core/agui_client.d.ts.map +1 -1
- package/dist/core/conversation_store.d.ts +58 -3
- package/dist/core/conversation_store.d.ts.map +1 -1
- package/dist/core/create_http_agent.d.ts +13 -0
- package/dist/core/create_http_agent.d.ts.map +1 -1
- package/dist/core/remote_conversation_store.d.ts +29 -1
- package/dist/core/remote_conversation_store.d.ts.map +1 -1
- package/dist/core/utils.d.ts +42 -0
- package/dist/core/utils.d.ts.map +1 -1
- package/dist/index.js +602 -104
- package/dist/index.js.map +4 -4
- package/dist/tools/is_destructive.d.ts +8 -2
- package/dist/tools/is_destructive.d.ts.map +1 -1
- package/dist/tools/parse_tool_catalog.d.ts +11 -4
- package/dist/tools/parse_tool_catalog.d.ts.map +1 -1
- package/dist/ui/render_markdown.d.ts +23 -5
- package/dist/ui/render_markdown.d.ts.map +1 -1
- package/dist/ui/resize_handle.d.ts +5 -1
- package/dist/ui/resize_handle.d.ts.map +1 -1
- package/dist/ui/ui_strings.d.ts +13 -7
- package/dist/ui/ui_strings.d.ts.map +1 -1
- package/dist/ui/voice_input.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/core/ag_ui_chat.ts +444 -45
- package/src/core/agui_client.ts +43 -2
- package/src/core/conversation_store.ts +146 -49
- package/src/core/create_http_agent.ts +24 -2
- package/src/core/remote_conversation_store.ts +45 -3
- package/src/core/utils.ts +83 -1
- package/src/tools/is_destructive.ts +8 -2
- package/src/tools/parse_tool_catalog.ts +18 -6
- package/src/ui/render_markdown.ts +111 -21
- package/src/ui/resize_handle.ts +32 -2
- package/src/ui/ui_strings.ts +19 -8
- package/src/ui/voice_input.ts +43 -0
- package/src/version.ts +1 -1
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Whether a tool's JSON-Schema `parameters` marks it destructive.
|
|
3
3
|
*
|
|
4
|
-
* Reads the `x-destructive` extension
|
|
5
|
-
* `
|
|
4
|
+
* Reads the `x-destructive` extension off a schema the **host** declared —
|
|
5
|
+
* a tool passed to `registerTool`, or one of the built-ins. A server-side
|
|
6
|
+
* tool's schema never reaches the browser: tool definitions travel
|
|
7
|
+
* client-to-server on `RunAgentInput.tools`, and the only channel coming the
|
|
8
|
+
* other way is the tool catalog (`data-tools-url`), which carries labels, not
|
|
9
|
+
* schemas. So a server tool marked destructive there is not gated here, and
|
|
10
|
+
* must be gated server-side instead — the confirmation this flag drives is a
|
|
11
|
+
* property of tools the browser itself executes.
|
|
6
12
|
*/
|
|
7
13
|
export declare function isDestructive(parameters: Record<string, unknown>): boolean;
|
|
8
14
|
//# sourceMappingURL=is_destructive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is_destructive.d.ts","sourceRoot":"","sources":["../../src/tools/is_destructive.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"is_destructive.d.ts","sourceRoot":"","sources":["../../src/tools/is_destructive.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAE1E"}
|
|
@@ -7,13 +7,20 @@ export interface ToolCatalogEntry {
|
|
|
7
7
|
readonly name: string;
|
|
8
8
|
/** A friendly card label for the tool. */
|
|
9
9
|
readonly summary: string;
|
|
10
|
-
/** Optional longer blurb (e.g. for a
|
|
10
|
+
/** Optional longer blurb (e.g. for a tooltip). */
|
|
11
11
|
readonly description?: string;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* Parse a fetched tool catalog into a `name →
|
|
14
|
+
* Parse a fetched tool catalog into a `name → entry` map, skipping any entry
|
|
15
15
|
* that isn't a `{ name: string, summary: string }` object. Tolerant by design:
|
|
16
|
-
* a malformed payload yields an empty map rather than throwing
|
|
16
|
+
* a malformed payload yields an empty map rather than throwing, and an
|
|
17
|
+
* optional field of the wrong type costs that field rather than the entry.
|
|
18
|
+
*
|
|
19
|
+
* Whole entries rather than bare summaries, even though the element itself
|
|
20
|
+
* only labels cards with `summary`: the map is what a caller gets, so
|
|
21
|
+
* narrowing it here would put `description` on the wire with nowhere to
|
|
22
|
+
* arrive, and no consumer could recover it without changing this signature
|
|
23
|
+
* first.
|
|
17
24
|
*/
|
|
18
|
-
export declare function parseToolCatalog(data: unknown): Record<string,
|
|
25
|
+
export declare function parseToolCatalog(data: unknown): Record<string, ToolCatalogEntry>;
|
|
19
26
|
//# sourceMappingURL=parse_tool_catalog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse_tool_catalog.d.ts","sourceRoot":"","sources":["../../src/tools/parse_tool_catalog.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oEAAoE;IACpE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,0CAA0C;IAC1C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,
|
|
1
|
+
{"version":3,"file":"parse_tool_catalog.d.ts","sourceRoot":"","sources":["../../src/tools/parse_tool_catalog.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oEAAoE;IACpE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,0CAA0C;IAC1C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,kDAAkD;IAClD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAsBhF"}
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
import { type Config } from "dompurify";
|
|
2
|
+
/**
|
|
3
|
+
* The sanitiser's declared allowlist — and, because {@link harden} runs inside
|
|
4
|
+
* the sanitiser rather than after it, its *effective* one too.
|
|
5
|
+
*
|
|
6
|
+
* `ALLOW_DATA_ATTR` and `ALLOW_ARIA_ATTR` default to `true`, which would admit
|
|
7
|
+
* every `data-*` and `aria-*` attribute on top of the five named above. Both
|
|
8
|
+
* matter here: the cards drive their resolved / expanded / status appearance off
|
|
9
|
+
* `[data-resolved]`, `[data-status]` and `[data-expanded]`, and an `aria-label`
|
|
10
|
+
* on model output makes a screen reader announce something other than what is on
|
|
11
|
+
* screen. Turning them off is what makes the declared list the real one.
|
|
12
|
+
*
|
|
13
|
+
* Exported so a test can assert the returned markup is a fixed point of it.
|
|
14
|
+
*/
|
|
15
|
+
export declare const SANITIZE_CONFIG: Config;
|
|
16
|
+
/** {@link SANITIZE_CONFIG} plus the images a host opts into. */
|
|
17
|
+
export declare const SANITIZE_CONFIG_WITH_IMAGES: Config;
|
|
1
18
|
/** Options for {@link renderMarkdown}. */
|
|
2
19
|
export interface RenderMarkdownOptions {
|
|
3
20
|
/**
|
|
@@ -11,12 +28,13 @@ export interface RenderMarkdownOptions {
|
|
|
11
28
|
* Render markdown (and any embedded raw HTML) to a sanitised HTML string.
|
|
12
29
|
*
|
|
13
30
|
* Markdown syntax and literal HTML share one path: `marked` emits HTML, then
|
|
14
|
-
* DOMPurify strips everything outside {@link
|
|
15
|
-
*
|
|
16
|
-
*
|
|
31
|
+
* DOMPurify strips everything outside {@link SANITIZE_CONFIG} — scripts, event
|
|
32
|
+
* handlers, `javascript:` URLs, `data-*`/`aria-*`, and every class but a code
|
|
33
|
+
* fence's `language-*` hint. Links come out with `target="_blank"` and
|
|
34
|
+
* `rel="noopener noreferrer"`.
|
|
17
35
|
*
|
|
18
|
-
* The
|
|
19
|
-
*
|
|
36
|
+
* The returned string is the sanitiser's own output, trimmed. Nothing edits it
|
|
37
|
+
* afterwards, so what a caller inserts is what DOMPurify approved.
|
|
20
38
|
*/
|
|
21
39
|
export declare function renderMarkdown(text: string, options?: RenderMarkdownOptions): string;
|
|
22
40
|
//# sourceMappingURL=render_markdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render_markdown.d.ts","sourceRoot":"","sources":["../../src/ui/render_markdown.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"render_markdown.d.ts","sourceRoot":"","sources":["../../src/ui/render_markdown.ts"],"names":[],"mappings":"AAMA,OAAkB,EAAE,KAAK,MAAM,EAA8B,MAAM,WAAW,CAAC;AA+D/E;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,EAAE,MAK7B,CAAC;AAEF,gEAAgE;AAChE,eAAO,MAAM,2BAA2B,EAAE,MAIzC,CAAC;AAiEF,0CAA0C;AAC1C,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,MAAM,CAMpF"}
|
|
@@ -41,7 +41,11 @@ export interface ResizeOptions {
|
|
|
41
41
|
readonly rect: () => PanelRect;
|
|
42
42
|
/** Apply a size (the host writes the custom properties). */
|
|
43
43
|
readonly apply: (size: ResizeSize) => void;
|
|
44
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* Called once per completed resize, for persistence: on `pointerup` for a
|
|
46
|
+
* drag, and when the key comes up (or focus leaves the handle) for a key
|
|
47
|
+
* press. Never per pointer move, and never per key repeat.
|
|
48
|
+
*/
|
|
45
49
|
readonly commit: (size: ResizeSize) => void;
|
|
46
50
|
/** Accessible label. */
|
|
47
51
|
readonly label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resize_handle.d.ts","sourceRoot":"","sources":["../../src/ui/resize_handle.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,MAAM,WAAW,YAAY;IAC3B,8CAA8C;IAC9C,QAAQ,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,4CAA4C;IAC5C,QAAQ,CAAC,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAEnD,gEAAgE;AAChE,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,kEAAkE;AAClE,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,yDAAyD;AACzD,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,UAAU,CAAC;IAChC;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,YAAY,CAAC;IACpC,wCAAwC;IACxC,QAAQ,CAAC,IAAI,EAAE,MAAM,SAAS,CAAC;IAC/B,4DAA4D;IAC5D,QAAQ,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C
|
|
1
|
+
{"version":3,"file":"resize_handle.d.ts","sourceRoot":"","sources":["../../src/ui/resize_handle.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,MAAM,WA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 export interface UiStrings {
|
|
|
75
75
|
transcribing: string;
|
|
76
76
|
/** Mic button fallback message when transcription fails. */
|
|
77
77
|
transcriptionFailed: string;
|
|
78
|
+
/**
|
|
79
|
+
* Mic button message after a recording hit its length cap and stopped itself.
|
|
80
|
+
* The clip is kept and transcribed, so this explains the silence rather than
|
|
81
|
+
* reporting a loss. Token: `{n}` (the cap, in minutes).
|
|
82
|
+
*/
|
|
83
|
+
recordingLimit: string;
|
|
78
84
|
/** Status pill while the call runs. */
|
|
79
85
|
toolRunning: string;
|
|
80
86
|
/** Status pill on a gated call the run deferred, waiting on a person. */
|
|
@@ -153,19 +159,13 @@ export interface UiStrings {
|
|
|
153
159
|
remove: string;
|
|
154
160
|
/** Remove-attachment button `aria-label`. */
|
|
155
161
|
removeAttachment: string;
|
|
156
|
-
/** Under a minute ago. */
|
|
157
|
-
justNow: string;
|
|
158
|
-
/** Minutes ago. Token: `{n}`. */
|
|
159
|
-
minutesAgo: string;
|
|
160
|
-
/** Hours ago. Token: `{n}`. */
|
|
161
|
-
hoursAgo: string;
|
|
162
|
-
/** Title of the checkpoint panel. */
|
|
163
162
|
/** Label on a code block's copy button. */
|
|
164
163
|
copyCode: string;
|
|
165
164
|
/** Shown on the copy button after the code reached the clipboard. */
|
|
166
165
|
copied: string;
|
|
167
166
|
/** Shown when the clipboard was unavailable or refused the write. */
|
|
168
167
|
copyFailed: string;
|
|
168
|
+
/** Title of the checkpoint panel. */
|
|
169
169
|
checkpoints: string;
|
|
170
170
|
/** Empty state when no run can be continued. */
|
|
171
171
|
noCheckpoints: string;
|
|
@@ -175,6 +175,12 @@ export interface UiStrings {
|
|
|
175
175
|
forkRun: string;
|
|
176
176
|
/** Badge on a run that branched from another. */
|
|
177
177
|
forkedRun: string;
|
|
178
|
+
/** Under a minute ago. */
|
|
179
|
+
justNow: string;
|
|
180
|
+
/** Minutes ago. Token: `{n}`. */
|
|
181
|
+
minutesAgo: string;
|
|
182
|
+
/** Hours ago. Token: `{n}`. */
|
|
183
|
+
hoursAgo: string;
|
|
178
184
|
/** Days ago. Token: `{n}`. */
|
|
179
185
|
daysAgo: string;
|
|
180
186
|
/** Weeks ago. Token: `{n}`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui_strings.d.ts","sourceRoot":"","sources":["../../src/ui/ui_strings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,SAAS;IAExB,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,yCAAyC;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,uBAAuB;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,8DAA8D;IAC9D,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,mDAAmD;IACnD,WAAW,EAAE,MAAM,CAAC;IAGpB,iDAAiD;IACjD,YAAY,EAAE,MAAM,CAAC;IACrB;oDACgD;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,kFAAkF;IAClF,QAAQ,EAAE,MAAM,CAAC;IACjB,4CAA4C;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,wEAAwE;IACxE,cAAc,EAAE,MAAM,CAAC;IACvB,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,qEAAqE;IACrE,cAAc,EAAE,MAAM,CAAC;IACvB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,qEAAqE;IACrE,UAAU,EAAE,MAAM,CAAC;IACnB,6EAA6E;IAC7E,gBAAgB,EAAE,MAAM,CAAC;IACzB,yEAAyE;IACzE,UAAU,EAAE,MAAM,CAAC;IACnB,6EAA6E;IAC7E,cAAc,EAAE,MAAM,CAAC;IACvB,uEAAuE;IACvE,SAAS,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,yBAAyB,EAAE,MAAM,CAAC;IAGlC,4CA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,MAAM,CAAC;IAGzB,2CAA2C;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,UAAU,EAAE,MAAM,CAAC;IAGnB,qCAAqC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,aAAa,EAAE,MAAM,CAAC;IACtB,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,iDAAiD;IACjD,SAAS,EAAE,MAAM,CAAC;IAGlB,0BAA0B;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,iCAAiC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,+BAA+B;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,8EAA8E;AAC9E,eAAO,MAAM,kBAAkB,EAAE,SA+FhC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,CASvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice_input.d.ts","sourceRoot":"","sources":["../../src/ui/voice_input.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"voice_input.d.ts","sourceRoot":"","sources":["../../src/ui/voice_input.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAoBrE,mDAAmD;AACnD,MAAM,WAAW,iBAAiB;IAChC,4EAA4E;IAC5E,QAAQ,CAAC,UAAU,EAAE,iBAAiB,CAAC;IACvC,4EAA4E;IAC5E,QAAQ,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,yCAAyC;IACzC,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC;CAC9B;AAED;;;;;;;;;;;;GAYG;AACH,qBAAa,UAAU;;IACrB,kDAAkD;IAClD,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;IAapC,YAAY,OAAO,EAAE,iBAAiB,EAmBrC;IAED,uEAAuE;IACjE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAS5B;IA6CD;;;;;OAKG;IACH,OAAO,IAAI,IAAI,CAQd;CAkEF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artooi/ag-ui-web-component",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
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",
|