@runtypelabs/persona 4.32.2 → 4.34.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/dist/activity-ui.d.cts +3 -15
- package/dist/activity-ui.d.ts +3 -15
- package/dist/animations/glyph-cycle.d.cts +1 -3
- package/dist/animations/glyph-cycle.d.ts +1 -3
- package/dist/animations/wipe.d.cts +1 -3
- package/dist/animations/wipe.d.ts +1 -3
- package/dist/approval-ui.cjs +2 -2
- package/dist/approval-ui.d.cts +3 -15
- package/dist/approval-ui.d.ts +3 -15
- package/dist/approval-ui.js +1 -1
- package/dist/artifacts-ui.cjs +1 -1
- package/dist/artifacts-ui.d.cts +3 -21
- package/dist/artifacts-ui.d.ts +3 -21
- package/dist/background-runtime.d.cts +2 -3
- package/dist/background-runtime.d.ts +2 -3
- package/dist/{chunk-BbXc58OA.js → chunk-6CUrH_jm.js} +1 -1
- package/dist/{chunk-B_H0l3u2.js → chunk-BRM3bHcJ.js} +1 -1
- package/dist/{chunk-DNdeIFJ6.js → chunk-Brdx4NCz.js} +1 -1
- package/dist/chunk-C-rux8Q9.js +1 -0
- package/dist/{chunk-Ds_twaZn.js → chunk-C4v-HNhS.js} +1 -1
- package/dist/{chunk-Bkma5hIU.js → chunk-CE4seJxF.js} +1 -1
- package/dist/chunk-CEPM3FOp.js +1 -0
- package/dist/{chunk-BpjtKnGI.js → chunk-CV8EPIhT.js} +1 -1
- package/dist/{chunk-DVZ8ri1z.js → chunk-CWzHNuVK.js} +1 -1
- package/dist/{chunk-B3l7TOOv.js → chunk-CYpt7PsO.js} +1 -1
- package/dist/{chunk-2FnmZ9AA.js → chunk-Csr59G5V.js} +1 -1
- package/dist/{chunk-B9Zu-wrk.js → chunk-CxNPSY-b.js} +1 -1
- package/dist/{chunk-UWMfWW2a.js → chunk-D1G8tgYc.js} +1 -1
- package/dist/{chunk-DTGvDx8o.js → chunk-Dj2a9f9w.js} +1 -1
- package/dist/chunk-Dqa_GOcj.js +1 -0
- package/dist/chunk-DsWv3EGF.js +1 -0
- package/dist/{chunk-C7-m0EmI.js → chunk-NUNdcnAZ.js} +1 -1
- package/dist/{chunk-D0tcIZJM.js → chunk-YMkMvAsa.js} +2 -2
- package/dist/{chunk-C-EHtpbB.js → chunk-h5aOI_Pa.js} +1 -1
- package/dist/chunk-i4qGOJAL.js +1 -0
- package/dist/chunk-kizhspe5.js +1 -0
- package/dist/client-dispatch.js +1 -1
- package/dist/client-history.js +1 -1
- package/dist/client-stream.js +1 -1
- package/dist/{code-generators-DqauYyfX.d.cts → code-generators-DPAqTcAz.d.cts} +0 -2
- package/dist/{code-generators-DqauYyfX.d.ts → code-generators-DPAqTcAz.d.ts} +0 -2
- package/dist/codegen.cjs +1 -1
- package/dist/codegen.d.cts +1 -1
- package/dist/codegen.d.ts +1 -1
- package/dist/codegen.js +1 -1
- package/dist/composer-actions-runtime.cjs +1 -1
- package/dist/composer-actions-runtime.d.cts +4 -20
- package/dist/composer-actions-runtime.d.ts +4 -20
- package/dist/composer-actions-runtime.js +1 -1
- package/dist/{composer-input-dwg_o9Z-.d.ts → composer-input-i_FiUp6J.d.cts} +1 -7
- package/dist/{composer-input-dwg_o9Z-.d.cts → composer-input-i_FiUp6J.d.ts} +1 -7
- package/dist/{composer-store-Dw7Zbqxr.d.ts → composer-store-DhGNgG7Z.d.cts} +1 -3
- package/dist/{composer-store-Dw7Zbqxr.d.cts → composer-store-DhGNgG7Z.d.ts} +1 -3
- package/dist/config-diagnostics.d.cts +0 -2
- package/dist/config-diagnostics.d.ts +0 -2
- package/dist/{context-mention-manager-D2p0-JH-.d.ts → context-mention-manager-DL-xwGfL.d.cts} +2 -6
- package/dist/{context-mention-manager-D2p0-JH-.d.cts → context-mention-manager-DL-xwGfL.d.ts} +2 -6
- package/dist/context-mentions-inline.cjs +1 -1
- package/dist/context-mentions-inline.d.cts +2 -4
- package/dist/context-mentions-inline.d.ts +2 -4
- package/dist/context-mentions-inline.js +1 -1
- package/dist/context-mentions.cjs +1 -1
- package/dist/context-mentions.d.cts +3 -9
- package/dist/context-mentions.d.ts +3 -9
- package/dist/{defaults-CjX0kKzb.d.ts → defaults-Bga2Xrsp.d.cts} +2 -5
- package/dist/{defaults-CjX0kKzb.d.cts → defaults-Bga2Xrsp.d.ts} +2 -5
- package/dist/dictation-runtime.cjs +1 -1
- package/dist/dictation-runtime.d.cts +4 -13
- package/dist/dictation-runtime.d.ts +4 -13
- package/dist/dictation-runtime.js +1 -1
- package/dist/{dom-context-DHTabIn7.d.ts → dom-context-Bw-_9Evh.d.cts} +0 -2
- package/dist/{dom-context-DHTabIn7.d.cts → dom-context-Bw-_9Evh.d.ts} +0 -2
- package/dist/event-stream-view.cjs +1 -1
- package/dist/event-stream-view.d.cts +3 -16
- package/dist/event-stream-view.d.ts +3 -16
- package/dist/{fallback-speech-engine-DmF7MczI.d.ts → fallback-speech-engine-kLdyPcmk.d.cts} +1 -3
- package/dist/{fallback-speech-engine-DmF7MczI.d.cts → fallback-speech-engine-kLdyPcmk.d.ts} +1 -3
- package/dist/{feature-preferences-CVFDt9Xf.d.ts → feature-preferences-CmwZGKrf.d.cts} +1 -5
- package/dist/{feature-preferences-CVFDt9Xf.d.cts → feature-preferences-CmwZGKrf.d.ts} +1 -5
- package/dist/forms-ui.d.cts +2 -4
- package/dist/forms-ui.d.ts +2 -4
- package/dist/{history-confirm-dialog-DJEXsTyE.d.cts → history-confirm-dialog-i46-lPN_.d.cts} +2 -14
- package/dist/{history-confirm-dialog-DJEXsTyE.d.ts → history-confirm-dialog-i46-lPN_.d.ts} +2 -14
- package/dist/history-shell.cjs +1 -1
- package/dist/history-shell.d.cts +8 -27
- package/dist/history-shell.d.ts +8 -27
- package/dist/history-shell.js +1 -1
- package/dist/history-view.d.cts +1 -1
- package/dist/history-view.d.ts +1 -1
- package/dist/icons-extra.cjs +1 -1
- package/dist/icons-extra.d.cts +0 -2
- package/dist/icons-extra.d.ts +0 -2
- package/dist/index.cjs +44 -44
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +46 -46
- package/dist/index.js.map +1 -1
- package/dist/install.global.js +1 -1
- package/dist/install.global.js.map +1 -1
- package/dist/launcher.global.js +2 -2
- package/dist/launcher.global.js.map +1 -1
- package/dist/{loading-label-runtime-loader-CPxnoaoi.d.ts → loading-label-runtime-loader-Ccr3ETd3.d.cts} +1 -3
- package/dist/{loading-label-runtime-loader-CPxnoaoi.d.cts → loading-label-runtime-loader-Ccr3ETd3.d.ts} +1 -3
- package/dist/loading-label-runtime.cjs +1 -1
- package/dist/loading-label-runtime.d.cts +1 -1
- package/dist/loading-label-runtime.d.ts +1 -1
- package/dist/loading-label-runtime.js +1 -1
- package/dist/markdown-parsers.js +1 -1
- package/dist/{message-bubble-CkZGlCLC.d.ts → message-bubble-C6AVaH7f.d.cts} +21 -4
- package/dist/{message-bubble-CkZGlCLC.d.cts → message-bubble-C6AVaH7f.d.ts} +21 -4
- package/dist/{plugin-kit-C1mRjLgW.d.cts → plugin-kit-BVggqE3C.d.cts} +0 -2
- package/dist/{plugin-kit-C1mRjLgW.d.ts → plugin-kit-BVggqE3C.d.ts} +0 -2
- package/dist/plugin-kit.d.cts +1 -1
- package/dist/plugin-kit.d.ts +1 -1
- package/dist/preferences-runtime.cjs +1 -1
- package/dist/preferences-runtime.d.cts +1 -1
- package/dist/preferences-runtime.d.ts +1 -1
- package/dist/preferences-runtime.js +1 -1
- package/dist/{preview-DdUvoLb4.d.cts → preview-BMdRffo4.d.cts} +2 -6
- package/dist/{preview-DdUvoLb4.d.ts → preview-BMdRffo4.d.ts} +2 -6
- package/dist/{registry-Dz4iHNST.d.ts → registry-B16l8s1b.d.cts} +1 -8
- package/dist/{registry-Dz4iHNST.d.cts → registry-B16l8s1b.d.ts} +1 -8
- package/dist/{session-Baxp9iRK.d.cts → session-CtZHe7fc.d.cts} +10 -93
- package/dist/{session-Baxp9iRK.d.ts → session-CtZHe7fc.d.ts} +10 -93
- package/dist/session-reconnect.d.cts +2 -4
- package/dist/session-reconnect.d.ts +2 -4
- package/dist/smart-dom-reader.d.cts +2 -8
- package/dist/smart-dom-reader.d.ts +2 -8
- package/dist/testing.d.cts +0 -2
- package/dist/testing.d.ts +0 -2
- package/dist/theme-editor-preview.cjs +42 -42
- package/dist/theme-editor-preview.d.cts +1 -1
- package/dist/theme-editor-preview.d.ts +1 -1
- package/dist/theme-editor-preview.js +25 -25
- package/dist/theme-editor.cjs +25 -5
- package/dist/theme-editor.d.cts +2 -22
- package/dist/theme-editor.d.ts +2 -22
- package/dist/theme-editor.js +1 -1
- package/dist/theme-reference.cjs +1 -1
- package/dist/theme-reference.d.cts +4 -4
- package/dist/theme-reference.d.ts +4 -4
- package/dist/theme-reference.js +1 -1
- package/dist/{tool-loading-animation-un3kA5Ur.d.ts → tool-loading-animation-D2cyFvmM.d.cts} +1 -7
- package/dist/{tool-loading-animation-un3kA5Ur.d.cts → tool-loading-animation-D2cyFvmM.d.ts} +1 -7
- package/dist/{tooltip-BkW-8MnD.d.cts → tooltip-DbXkAuJL.d.cts} +0 -2
- package/dist/{tooltip-BkW-8MnD.d.ts → tooltip-DbXkAuJL.d.ts} +0 -2
- package/dist/{turn-activity-ui-BGNhtMcH.d.cts → turn-activity-ui-Do1Nd-Ow.d.cts} +2 -12
- package/dist/{turn-activity-ui-BGNhtMcH.d.ts → turn-activity-ui-Do1Nd-Ow.d.ts} +2 -12
- package/dist/turn-activity-ui.d.cts +1 -1
- package/dist/turn-activity-ui.d.ts +1 -1
- package/dist/{types-BOZHQIk0.d.cts → types-BC7MRxO5.d.cts} +167 -36
- package/dist/{types-BOZHQIk0.d.ts → types-BC7MRxO5.d.ts} +167 -36
- package/dist/ui-extras.js +3 -3
- package/dist/voice-client-tools.d.cts +1 -3
- package/dist/voice-client-tools.d.ts +1 -3
- package/dist/voice-runtime.cjs +1 -1
- package/dist/voice-runtime.d.cts +2 -12
- package/dist/voice-runtime.d.ts +2 -12
- package/dist/voice-runtime.js +2 -2
- package/dist/voice-worklet-player.d.cts +2 -6
- package/dist/voice-worklet-player.d.ts +2 -6
- package/dist/{webmcp-runtime-entry-DuAG1_yF.d.ts → webmcp-runtime-entry-B8g46vS0.d.cts} +1 -5
- package/dist/{webmcp-runtime-entry-DuAG1_yF.d.cts → webmcp-runtime-entry-B8g46vS0.d.ts} +1 -5
- package/dist/webmcp-runtime.d.cts +1 -1
- package/dist/webmcp-runtime.d.ts +1 -1
- package/dist/widget.css +1 -1
- package/package.json +4 -4
- package/src/client-dispatch.ts +69 -16
- package/src/client.operator-role.test.ts +217 -0
- package/src/components/event-stream-view.test.ts +5 -0
- package/src/components/message-bubble.test.ts +169 -0
- package/src/components/message-bubble.ts +123 -34
- package/src/components/scroll-to-bottom.test.ts +135 -0
- package/src/components/scroll-to-bottom.ts +50 -13
- package/src/components/user-message-collapse.ts +117 -0
- package/src/defaults-parity.test.ts +14 -0
- package/src/defaults.ts +6 -0
- package/src/index-core.ts +7 -0
- package/src/session.resubmit-from.test.ts +27 -0
- package/src/session.test.ts +10 -0
- package/src/session.ts +8 -5
- package/src/styles/widget.css +79 -1
- package/src/theme-reference.ts +5 -3
- package/src/types/theme.ts +50 -0
- package/src/types.ts +120 -11
- package/src/ui.ask-user-question-plugin.test.ts +154 -0
- package/src/ui.operator-role.test.ts +336 -0
- package/src/ui.scroll-additive.test.ts +219 -117
- package/src/ui.scroll.test.ts +176 -13
- package/src/ui.ts +267 -119
- package/src/ui.turn-activity.test.ts +7 -7
- package/src/ui.user-message-collapse.test.ts +540 -0
- package/src/utils/__snapshots__/tokens-parity.test.ts.snap +236 -0
- package/src/utils/auto-follow.test.ts +0 -38
- package/src/utils/auto-follow.ts +0 -35
- package/src/utils/brand.test.ts +14 -0
- package/src/utils/brand.ts +8 -4
- package/src/utils/history-messages.test.ts +30 -0
- package/src/utils/history-messages.ts +26 -8
- package/src/utils/message-fingerprint.ts +4 -0
- package/src/utils/resubmit-turn.test.ts +13 -0
- package/src/utils/resubmit-turn.ts +12 -1
- package/src/utils/theme.test.ts +23 -0
- package/src/utils/tokens.ts +47 -0
- package/src/welcome.test.ts +16 -0
- package/src/welcome.ts +10 -2
- package/dist/chunk-BNE40cEG.js +0 -1
- package/dist/chunk-Bz9jAgba.js +0 -1
- package/dist/chunk-CVMIncEY.js +0 -1
- package/dist/chunk-CdpVP6LZ.js +0 -1
- package/dist/chunk-CjkechxR.js +0 -1
- package/dist/chunk-DgZZqy14.js +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/utils/tooltip.d.ts
|
|
2
1
|
interface TooltipOptions {
|
|
3
2
|
/** The control the tooltip describes and positions against. */
|
|
4
3
|
anchor: HTMLElement;
|
|
@@ -45,6 +44,5 @@ declare function hideTooltipFor(anchor: HTMLElement): void;
|
|
|
45
44
|
* previous behavior, which makes controller.update() safe and idempotent.
|
|
46
45
|
*/
|
|
47
46
|
declare function attachTooltip(options: TooltipOptions): TooltipHandle;
|
|
48
|
-
//#endregion
|
|
49
47
|
export { hideTooltipFor as i, TooltipOptions as n, attachTooltip as r, TooltipHandle as t };
|
|
50
48
|
export {}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as SessionRunActivity } from "./session-
|
|
3
|
-
//#region src/components/activity-row.d.ts
|
|
1
|
+
import { Ct as AgentWidgetMessage, It as AgentWidgetReasoning, On as AgentWidgetTurnActivity, k as AgentWidgetConfig } from "./types-BC7MRxO5.cjs";
|
|
2
|
+
import { a as SessionRunActivity } from "./session-CtZHe7fc.cjs";
|
|
4
3
|
type ActivityKind = "tool" | "reasoning";
|
|
5
4
|
/** Automatic tool timing stays quiet below a whole second; authored timers retain their format. */
|
|
6
5
|
declare function updateActivityElapsed(span: HTMLElement, now: number): void;
|
|
@@ -22,8 +21,6 @@ declare function createActivityGroup(message: AgentWidgetMessage, config: AgentW
|
|
|
22
21
|
bubble: HTMLElement;
|
|
23
22
|
body: HTMLElement;
|
|
24
23
|
};
|
|
25
|
-
//#endregion
|
|
26
|
-
//#region src/activity-groups.d.ts
|
|
27
24
|
/** Group visible tool rows only after the activity renderer has loaded. */
|
|
28
25
|
type ActivityGroupOptions = {
|
|
29
26
|
root: HTMLElement;
|
|
@@ -42,18 +39,12 @@ type ActivityGroupOptions = {
|
|
|
42
39
|
toolExpansionState: Set<string>;
|
|
43
40
|
};
|
|
44
41
|
declare function groupToolRows(options: ActivityGroupOptions): boolean;
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region src/utils/style-provenance.d.ts
|
|
47
42
|
/** Renderers keep responsibility for historical normalization and mode restrictions. */
|
|
48
43
|
declare const getExplicitLegacyStyle: (config: object | undefined, path: string) => unknown;
|
|
49
44
|
declare const hasExplicitThemeStyle: (config: object | undefined, componentPath: string, scheme?: "light" | "dark") => boolean;
|
|
50
|
-
//#endregion
|
|
51
|
-
//#region src/utils/turn-activity-display.d.ts
|
|
52
45
|
declare function classify(message: AgentWidgetMessage, config: AgentWidgetConfig): AgentWidgetTurnActivity | undefined;
|
|
53
46
|
/** Defaults are local to classified progress; authored values and preferences win. */
|
|
54
47
|
declare function presentation(config: AgentWidgetConfig, message: AgentWidgetMessage): AgentWidgetConfig;
|
|
55
|
-
//#endregion
|
|
56
|
-
//#region src/turn-activity-ui.d.ts
|
|
57
48
|
type TurnActivityDependencies = {
|
|
58
49
|
group: typeof createActivityGroup;
|
|
59
50
|
tools: (options: ActivityGroupOptions) => boolean;
|
|
@@ -66,6 +57,5 @@ interface TurnActivityRuntime {
|
|
|
66
57
|
}
|
|
67
58
|
/** Compose existing message rows; metadata never changes model content or storage. */
|
|
68
59
|
declare function render(options: ActivityGroupOptions, deps: TurnActivityDependencies): boolean;
|
|
69
|
-
//#endregion
|
|
70
60
|
export { hasExplicitThemeStyle as a, updateActivityElapsed as c, getExplicitLegacyStyle as i, TurnActivityRuntime as n, groupToolRows as o, render as r, ActivityKind as s, TurnActivityDependencies as t };
|
|
71
61
|
export {}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as SessionRunActivity } from "./session-
|
|
3
|
-
//#region src/components/activity-row.d.ts
|
|
1
|
+
import { Ct as AgentWidgetMessage, It as AgentWidgetReasoning, On as AgentWidgetTurnActivity, k as AgentWidgetConfig } from "./types-BC7MRxO5.js";
|
|
2
|
+
import { a as SessionRunActivity } from "./session-CtZHe7fc.js";
|
|
4
3
|
type ActivityKind = "tool" | "reasoning";
|
|
5
4
|
/** Automatic tool timing stays quiet below a whole second; authored timers retain their format. */
|
|
6
5
|
declare function updateActivityElapsed(span: HTMLElement, now: number): void;
|
|
@@ -22,8 +21,6 @@ declare function createActivityGroup(message: AgentWidgetMessage, config: AgentW
|
|
|
22
21
|
bubble: HTMLElement;
|
|
23
22
|
body: HTMLElement;
|
|
24
23
|
};
|
|
25
|
-
//#endregion
|
|
26
|
-
//#region src/activity-groups.d.ts
|
|
27
24
|
/** Group visible tool rows only after the activity renderer has loaded. */
|
|
28
25
|
type ActivityGroupOptions = {
|
|
29
26
|
root: HTMLElement;
|
|
@@ -42,18 +39,12 @@ type ActivityGroupOptions = {
|
|
|
42
39
|
toolExpansionState: Set<string>;
|
|
43
40
|
};
|
|
44
41
|
declare function groupToolRows(options: ActivityGroupOptions): boolean;
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region src/utils/style-provenance.d.ts
|
|
47
42
|
/** Renderers keep responsibility for historical normalization and mode restrictions. */
|
|
48
43
|
declare const getExplicitLegacyStyle: (config: object | undefined, path: string) => unknown;
|
|
49
44
|
declare const hasExplicitThemeStyle: (config: object | undefined, componentPath: string, scheme?: "light" | "dark") => boolean;
|
|
50
|
-
//#endregion
|
|
51
|
-
//#region src/utils/turn-activity-display.d.ts
|
|
52
45
|
declare function classify(message: AgentWidgetMessage, config: AgentWidgetConfig): AgentWidgetTurnActivity | undefined;
|
|
53
46
|
/** Defaults are local to classified progress; authored values and preferences win. */
|
|
54
47
|
declare function presentation(config: AgentWidgetConfig, message: AgentWidgetMessage): AgentWidgetConfig;
|
|
55
|
-
//#endregion
|
|
56
|
-
//#region src/turn-activity-ui.d.ts
|
|
57
48
|
type TurnActivityDependencies = {
|
|
58
49
|
group: typeof createActivityGroup;
|
|
59
50
|
tools: (options: ActivityGroupOptions) => boolean;
|
|
@@ -66,6 +57,5 @@ interface TurnActivityRuntime {
|
|
|
66
57
|
}
|
|
67
58
|
/** Compose existing message rows; metadata never changes model content or storage. */
|
|
68
59
|
declare function render(options: ActivityGroupOptions, deps: TurnActivityDependencies): boolean;
|
|
69
|
-
//#endregion
|
|
70
60
|
export { hasExplicitThemeStyle as a, updateActivityElapsed as c, getExplicitLegacyStyle as i, TurnActivityRuntime as n, groupToolRows as o, render as r, ActivityKind as s, TurnActivityDependencies as t };
|
|
71
61
|
export {}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as TurnActivityRuntime, r as render, t as TurnActivityDependencies } from "./turn-activity-ui-
|
|
1
|
+
import { n as TurnActivityRuntime, r as render, t as TurnActivityDependencies } from "./turn-activity-ui-Do1Nd-Ow.cjs";
|
|
2
2
|
export { TurnActivityDependencies, TurnActivityRuntime, render };
|
|
3
3
|
export {}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as TurnActivityRuntime, r as render, t as TurnActivityDependencies } from "./turn-activity-ui-
|
|
1
|
+
import { n as TurnActivityRuntime, r as render, t as TurnActivityDependencies } from "./turn-activity-ui-Do1Nd-Ow.js";
|
|
2
2
|
export { TurnActivityDependencies, TurnActivityRuntime, render };
|
|
3
3
|
export {}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IconNode } from "lucide";
|
|
2
|
-
//#region src/welcome.d.ts
|
|
3
2
|
interface ResolvedWelcomeConfig {
|
|
4
3
|
title: string;
|
|
5
4
|
/** Empty string when unset: the renderer omits the line. */
|
|
@@ -37,8 +36,6 @@ declare const resolveWelcomeConfig: (config?: AgentWidgetConfig, fullscreen?: bo
|
|
|
37
36
|
* transcript activity; `dismiss: "never"` keeps the authored surface visible.
|
|
38
37
|
*/
|
|
39
38
|
declare const isWelcomeVisible: (resolved: ResolvedWelcomeConfig, messages: readonly AgentWidgetMessage[] | undefined) => boolean;
|
|
40
|
-
//#endregion
|
|
41
|
-
//#region src/utils/plugin-storage.d.ts
|
|
42
39
|
/**
|
|
43
40
|
* Synchronous key-value store handed to plugin render hooks. Backed by
|
|
44
41
|
* `localStorage`, namespaced per plugin id. The async `storageAdapter` cannot
|
|
@@ -49,8 +46,6 @@ interface AgentWidgetPluginStorage {
|
|
|
49
46
|
set: (key: string, value: string) => void;
|
|
50
47
|
remove: (key: string) => void;
|
|
51
48
|
}
|
|
52
|
-
//#endregion
|
|
53
|
-
//#region src/utils/shortcuts.d.ts
|
|
54
49
|
/**
|
|
55
50
|
* Keyboard shortcuts: one declaration, three artifacts that cannot drift — the
|
|
56
51
|
* keydown binding, the tooltip hint chip (`formatCombo`), and the control's
|
|
@@ -86,8 +81,6 @@ declare const formatCombo: (combo: string) => string;
|
|
|
86
81
|
* elsewhere.
|
|
87
82
|
*/
|
|
88
83
|
declare const ariaCombo: (combo: string) => string;
|
|
89
|
-
//#endregion
|
|
90
|
-
//#region src/plugins/types.d.ts
|
|
91
84
|
type AgentWidgetTransformSuggestionsContext = {
|
|
92
85
|
/**
|
|
93
86
|
* Fresh copy of the suggestions entering this plugin, already normalized:
|
|
@@ -655,8 +648,6 @@ interface AgentWidgetPlugin {
|
|
|
655
648
|
*/
|
|
656
649
|
onUnregister?: () => void;
|
|
657
650
|
}
|
|
658
|
-
//#endregion
|
|
659
|
-
//#region src/types/theme.d.ts
|
|
660
651
|
/** Optional brand inputs, derived beneath explicit theme tokens. */
|
|
661
652
|
interface BrandConfig {
|
|
662
653
|
/** Opaque hex or rgb() color for primary actions and the accent ramp. */
|
|
@@ -1164,6 +1155,21 @@ interface MessageActionsTokens {
|
|
|
1164
1155
|
/** Button corner radius. Defaults to `palette.radius.md`. */
|
|
1165
1156
|
borderRadius?: TokenReference<'radius'>;
|
|
1166
1157
|
}
|
|
1158
|
+
/**
|
|
1159
|
+
* Long user message collapse (`features.userMessageCollapse`). Every key is
|
|
1160
|
+
* optional; unset, the fade and the toggle follow the user bubble's own text
|
|
1161
|
+
* color and type, so they already work on any fill in light and dark schemes.
|
|
1162
|
+
*/
|
|
1163
|
+
interface UserMessageCollapseTokens {
|
|
1164
|
+
/** Height of the bottom fade on a collapsed bubble. @default "48px" */
|
|
1165
|
+
fadeHeight?: string;
|
|
1166
|
+
/** "Show more" / "Show less" text color. Defaults to the user bubble text color. */
|
|
1167
|
+
toggleForeground?: TokenReference<'color'>;
|
|
1168
|
+
/** Toggle label type size. @default "0.8125rem" */
|
|
1169
|
+
toggleFontSize?: string;
|
|
1170
|
+
/** Toggle label weight. @default "600" */
|
|
1171
|
+
toggleFontWeight?: string;
|
|
1172
|
+
}
|
|
1167
1173
|
/**
|
|
1168
1174
|
* Bubble geometry and type, per role. Every key is unset by default and each
|
|
1169
1175
|
* one falls back to the value the message layout preset already produced, so
|
|
@@ -1213,6 +1219,27 @@ interface MessageTokens {
|
|
|
1213
1219
|
/** Assistant bubble box-shadow (token ref or raw CSS, e.g. `none`). */
|
|
1214
1220
|
shadow?: string;
|
|
1215
1221
|
};
|
|
1222
|
+
/**
|
|
1223
|
+
* Operator bubble: a human speaking on the agent's side (`role: "operator"`).
|
|
1224
|
+
* Renders on the assistant's side. Defaults tint the container with the
|
|
1225
|
+
* theme primary (`--persona-primary`), so `brand` themes follow without
|
|
1226
|
+
* extra config. Geometry keys fall back to the layout preset, not to the
|
|
1227
|
+
* assistant's geometry.
|
|
1228
|
+
*/
|
|
1229
|
+
operator?: MessageGeometryTokens & {
|
|
1230
|
+
/** @default "color-mix(in srgb, var(--persona-primary) 6%, var(--persona-container))" */
|
|
1231
|
+
background?: TokenReference<'color'>;
|
|
1232
|
+
/** @default semantic.colors.text */
|
|
1233
|
+
text?: TokenReference<'color'>;
|
|
1234
|
+
/** @default palette.radius.lg */
|
|
1235
|
+
borderRadius?: TokenReference<'radius'>;
|
|
1236
|
+
/** @default "color-mix(in srgb, var(--persona-primary) 20%, var(--persona-container))" */
|
|
1237
|
+
border?: TokenReference<'color'>;
|
|
1238
|
+
/** Border width; set to 0px to drop it. @default "1px" */
|
|
1239
|
+
borderWidth?: string;
|
|
1240
|
+
/** Operator bubble box-shadow (token ref or raw CSS, e.g. `none`). */
|
|
1241
|
+
shadow?: string;
|
|
1242
|
+
};
|
|
1216
1243
|
/** Border color between messages in the thread. */
|
|
1217
1244
|
border?: TokenReference<'color'>;
|
|
1218
1245
|
}
|
|
@@ -1931,6 +1958,17 @@ interface ScrollToBottomTokens extends ComponentTokenSet {
|
|
|
1931
1958
|
fontSize?: string;
|
|
1932
1959
|
fontWeight?: string;
|
|
1933
1960
|
};
|
|
1961
|
+
/**
|
|
1962
|
+
* The labelled "Approval needed" state shown while a pending approval is
|
|
1963
|
+
* below the fold. Omitted values follow the control's own colors, so it
|
|
1964
|
+
* matches the theme until you give it an accent.
|
|
1965
|
+
*/
|
|
1966
|
+
approval?: {
|
|
1967
|
+
background?: TokenReference<'color'>;
|
|
1968
|
+
foreground?: TokenReference<'color'>;
|
|
1969
|
+
border?: TokenReference<'color'>;
|
|
1970
|
+
fontWeight?: string;
|
|
1971
|
+
};
|
|
1934
1972
|
}
|
|
1935
1973
|
/** Visual tokens shared by one suggestion presentation variant. */
|
|
1936
1974
|
interface SuggestionVariantTokens extends ComponentTokenSet {
|
|
@@ -1977,6 +2015,8 @@ interface ComponentTokens {
|
|
|
1977
2015
|
message: MessageTokens;
|
|
1978
2016
|
/** Hover-revealed per-message action row (copy, vote, read aloud). */
|
|
1979
2017
|
messageActions?: MessageActionsTokens;
|
|
2018
|
+
/** Fade and "Show more" toggle on collapsed long user messages. */
|
|
2019
|
+
userMessageCollapse?: UserMessageCollapseTokens;
|
|
1980
2020
|
/** Welcome / intro card shown above the message list. */
|
|
1981
2021
|
introCard?: IntroCardTokens;
|
|
1982
2022
|
/** Markdown surfaces (chat + artifact pane). */
|
|
@@ -2085,8 +2125,6 @@ interface CreateThemeOptions {
|
|
|
2085
2125
|
v5Defaults?: boolean;
|
|
2086
2126
|
};
|
|
2087
2127
|
}
|
|
2088
|
-
//#endregion
|
|
2089
|
-
//#region src/generated/runtype-openapi-contract.d.ts
|
|
2090
2128
|
type RuntypeExecutionStreamEvent = ({
|
|
2091
2129
|
agentId?: string;
|
|
2092
2130
|
agentName?: string;
|
|
@@ -2855,8 +2893,6 @@ type RuntypeClientFeedbackResponse = {
|
|
|
2855
2893
|
success: true;
|
|
2856
2894
|
};
|
|
2857
2895
|
type RuntypeClientFeedbackType = RuntypeClientFeedbackRequest["type"];
|
|
2858
|
-
//#endregion
|
|
2859
|
-
//#region src/utils/target.d.ts
|
|
2860
2896
|
/**
|
|
2861
2897
|
* Target resolution for the normalized, backend-neutral `target` field.
|
|
2862
2898
|
*
|
|
@@ -2893,8 +2929,6 @@ type ResolvedTarget = {
|
|
|
2893
2929
|
kind: "payload";
|
|
2894
2930
|
payload: Record<string, unknown>;
|
|
2895
2931
|
};
|
|
2896
|
-
//#endregion
|
|
2897
|
-
//#region src/utils/visitor-store.d.ts
|
|
2898
2932
|
/**
|
|
2899
2933
|
* Durable visitor-credential store for per-visitor conversation history
|
|
2900
2934
|
* (client-token mode only). Holds the raw `cvt_…` secret under a localStorage
|
|
@@ -2930,10 +2964,10 @@ interface VisitorStore {
|
|
|
2930
2964
|
matches(clientToken: string, keyPrefix: string, persistDisabled: boolean): boolean;
|
|
2931
2965
|
destroy(): void;
|
|
2932
2966
|
}
|
|
2933
|
-
//#endregion
|
|
2934
|
-
//#region src/utils/history-messages.d.ts
|
|
2935
2967
|
/** One message as served by the client conversation history route. */
|
|
2936
2968
|
type HistoryWireMessage = {
|
|
2969
|
+
/** Optional display provenance from a custom history adapter. */
|
|
2970
|
+
author?: AgentWidgetMessageAuthor;
|
|
2937
2971
|
id: string;
|
|
2938
2972
|
role: string;
|
|
2939
2973
|
/** Model content: string (legacy render-safe fallback) or multi-modal parts. */
|
|
@@ -2944,8 +2978,6 @@ type HistoryWireMessage = {
|
|
|
2944
2978
|
displayAvailable: boolean;
|
|
2945
2979
|
timestamp?: string;
|
|
2946
2980
|
};
|
|
2947
|
-
//#endregion
|
|
2948
|
-
//#region src/internal/history-provider.d.ts
|
|
2949
2981
|
/** Fixed for the lifetime of one opened history view/action chain. */
|
|
2950
2982
|
interface HistoryOperationContext {
|
|
2951
2983
|
scope: HistoryScope;
|
|
@@ -3044,8 +3076,6 @@ declare class HistoryProviderError extends Error {
|
|
|
3044
3076
|
});
|
|
3045
3077
|
}
|
|
3046
3078
|
declare function isHistoryProviderError(value: unknown): value is HistoryProviderError;
|
|
3047
|
-
//#endregion
|
|
3048
|
-
//#region src/utils/icons.d.ts
|
|
3049
3079
|
/**
|
|
3050
3080
|
* Curated icon registry for `renderLucideIcon` (host-suppliable name strings).
|
|
3051
3081
|
*
|
|
@@ -3184,8 +3214,6 @@ declare const registerIcons: (icons: Record<string, IconNode>) => void;
|
|
|
3184
3214
|
* @returns SVGElement, or null if the name is not in the registry.
|
|
3185
3215
|
*/
|
|
3186
3216
|
declare const renderLucideIcon: (iconName: IconName | (string & {}), size?: number | string, color?: string, strokeWidth?: number) => SVGElement | null;
|
|
3187
|
-
//#endregion
|
|
3188
|
-
//#region src/types.d.ts
|
|
3189
3217
|
/**
|
|
3190
3218
|
* Text content part for multi-modal messages
|
|
3191
3219
|
*/
|
|
@@ -3705,7 +3733,7 @@ type AgentWidgetReplayedToolResult = {
|
|
|
3705
3733
|
* from its own stored transcript there.
|
|
3706
3734
|
*/
|
|
3707
3735
|
type AgentWidgetRequestPayloadMessage = {
|
|
3708
|
-
role:
|
|
3736
|
+
role: AgentWidgetModelMessageRole | "tool";
|
|
3709
3737
|
content: MessageContent;
|
|
3710
3738
|
createdAt: string;
|
|
3711
3739
|
/** Optional assistant phase for backend adapters that replay provider history. */
|
|
@@ -4188,6 +4216,19 @@ type AgentMessageMetadata = {
|
|
|
4188
4216
|
batch?: string;
|
|
4189
4217
|
};
|
|
4190
4218
|
};
|
|
4219
|
+
/** Ordinary model context only; the serializer owns tool-call/result pairing. */
|
|
4220
|
+
type AgentWidgetModelMessageProjection = Pick<AgentWidgetRequestPayloadMessage, "content" | "createdAt" | "phase"> & {
|
|
4221
|
+
role: AgentWidgetModelMessageRole;
|
|
4222
|
+
};
|
|
4223
|
+
/** Synchronous, per-message conversion before any dispatch transport serializes history. */
|
|
4224
|
+
type AgentWidgetModelMessageTransform = (context: {
|
|
4225
|
+
/** Full UI transcript entry, including identity and human provenance. */
|
|
4226
|
+
message: Readonly<AgentWidgetMessage>;
|
|
4227
|
+
/** Resolved model content: contentParts > llmContent > rawContent > content. */
|
|
4228
|
+
content: MessageContent;
|
|
4229
|
+
/** Normal model projection; null for operator messages. Return null to omit. */
|
|
4230
|
+
modelMessage: AgentWidgetModelMessageProjection | null;
|
|
4231
|
+
}) => AgentWidgetModelMessageProjection | null;
|
|
4191
4232
|
type AgentWidgetRequestMiddlewareContext = {
|
|
4192
4233
|
payload: AgentWidgetRequestPayload;
|
|
4193
4234
|
config: AgentWidgetConfig;
|
|
@@ -4427,7 +4468,7 @@ type AgentWidgetMessageActionsConfig = {
|
|
|
4427
4468
|
custom?: AgentWidgetCustomMessageAction[];
|
|
4428
4469
|
};
|
|
4429
4470
|
/** Which roles a custom message action appears on. */
|
|
4430
|
-
type AgentWidgetCustomMessageActionRole = "user" | "assistant";
|
|
4471
|
+
type AgentWidgetCustomMessageActionRole = "user" | "assistant" | "operator";
|
|
4431
4472
|
/** One host-contributed message action. */
|
|
4432
4473
|
type AgentWidgetCustomMessageAction = {
|
|
4433
4474
|
/** Unique within `messageActions.custom`. */
|
|
@@ -5257,10 +5298,13 @@ type AgentWidgetArtifactsFeature = {
|
|
|
5257
5298
|
*
|
|
5258
5299
|
* - `"anchor-top"` (default): on send, scroll the user's message near the top
|
|
5259
5300
|
* of the viewport and hold it there while the response streams in beneath it
|
|
5260
|
-
* (ChatGPT-style).
|
|
5261
|
-
*
|
|
5262
|
-
*
|
|
5263
|
-
*
|
|
5301
|
+
* (ChatGPT-style). The anchor holds for the whole reply, even when the
|
|
5302
|
+
* message is taller than the viewport or tool calls push the answer below
|
|
5303
|
+
* the fold, until the reader scrolls away, jumps to the latest content with
|
|
5304
|
+
* the scroll-to-bottom control, or sends again. When a turn has no user send
|
|
5305
|
+
* to anchor to (a proactive greeting, an injected assistant message, a
|
|
5306
|
+
* resubmit, or first-load streaming), it falls back to `"follow"` for that
|
|
5307
|
+
* turn so content never streams in off-screen.
|
|
5264
5308
|
* - `"follow"`: keep the newest content pinned to the bottom of the viewport,
|
|
5265
5309
|
* pausing when the user scrolls up and resuming when they return to the
|
|
5266
5310
|
* bottom. This was the default before 4.x.
|
|
@@ -5345,7 +5389,8 @@ type AgentWidgetScrollBehaviorFeature = {
|
|
|
5345
5389
|
};
|
|
5346
5390
|
/** Decorative glyph state. Hidden glyphs should pause host-owned animation. */
|
|
5347
5391
|
type AgentWidgetScrollToBottomIconState = {
|
|
5348
|
-
|
|
5392
|
+
/** `"approval-below"`: a pending approval is below the fold and the turn waits on it. */
|
|
5393
|
+
activity: "idle" | "generating-below" | "approval-below";
|
|
5349
5394
|
visible: boolean;
|
|
5350
5395
|
hovered: boolean;
|
|
5351
5396
|
focused: boolean;
|
|
@@ -5382,6 +5427,15 @@ type AgentWidgetScrollToBottomFeature = {
|
|
|
5382
5427
|
* @default ""
|
|
5383
5428
|
*/
|
|
5384
5429
|
label?: string;
|
|
5430
|
+
/**
|
|
5431
|
+
* Label shown while a pending approval sits below the fold. The control
|
|
5432
|
+
* widens to a labelled pill with the approval's shield glyph, and the turn
|
|
5433
|
+
* stays put until the reader jumps (anchor-top never scrolls them to it).
|
|
5434
|
+
* Styled by `theme.components.scrollToBottom.approval`. Set to an empty
|
|
5435
|
+
* string to keep the regular control.
|
|
5436
|
+
* @default "Approval needed"
|
|
5437
|
+
*/
|
|
5438
|
+
approvalLabel?: string;
|
|
5385
5439
|
/** Glyph while a live response is arriving below. V4 defaults to arrow; V5 to dots. */
|
|
5386
5440
|
streamingIndicator?: "dots" | "arrow";
|
|
5387
5441
|
/** Visibility transition. V4 defaults to none; V5 to fade. Honors reduced motion. */
|
|
@@ -5772,6 +5826,30 @@ type AgentWidgetStreamAnimationFeature = {
|
|
|
5772
5826
|
*/
|
|
5773
5827
|
plugins?: Record<string, StreamAnimationPlugin>;
|
|
5774
5828
|
};
|
|
5829
|
+
/**
|
|
5830
|
+
* Collapse long user messages behind a "Show more" / "Show less" toggle.
|
|
5831
|
+
* Only the built-in user bubble collapses; `layout.messages.renderUserMessage`
|
|
5832
|
+
* and plugin `renderMessage` output is left untouched.
|
|
5833
|
+
*/
|
|
5834
|
+
type AgentWidgetUserMessageCollapseFeature = {
|
|
5835
|
+
/**
|
|
5836
|
+
* Clip a user bubble whose rendered content (text, markdown, code,
|
|
5837
|
+
* attachments) is taller than `maxHeight`, with a bottom fade and a real
|
|
5838
|
+
* toggle button. The full message stays in the DOM, so find-in-page, copy,
|
|
5839
|
+
* selection and screen readers still reach it. Interim voice transcripts
|
|
5840
|
+
* stay expanded and collapse once final. A reader's toggle is remembered
|
|
5841
|
+
* per message for the life of the widget.
|
|
5842
|
+
* @default false (`true` under `future.v5Defaults`)
|
|
5843
|
+
*/
|
|
5844
|
+
enabled?: boolean;
|
|
5845
|
+
/**
|
|
5846
|
+
* Collapsed height in px. Content within about two lines (48px) of the
|
|
5847
|
+
* limit is left expanded, so the toggle never hides just a line or two.
|
|
5848
|
+
* The default shows about ten lines of bubble text.
|
|
5849
|
+
* @default 240
|
|
5850
|
+
*/
|
|
5851
|
+
maxHeight?: number;
|
|
5852
|
+
};
|
|
5775
5853
|
type AgentWidgetFeatureFlags = {
|
|
5776
5854
|
showReasoning?: boolean;
|
|
5777
5855
|
showToolCalls?: boolean;
|
|
@@ -5788,6 +5866,8 @@ type AgentWidgetFeatureFlags = {
|
|
|
5788
5866
|
scrollToBottom?: AgentWidgetScrollToBottomFeature;
|
|
5789
5867
|
/** Transcript scroll behavior during streamed responses. */
|
|
5790
5868
|
scrollBehavior?: AgentWidgetScrollBehaviorFeature;
|
|
5869
|
+
/** "Show more" collapse for long user messages. Off by default; on under `future.v5Defaults`. */
|
|
5870
|
+
userMessageCollapse?: AgentWidgetUserMessageCollapseFeature;
|
|
5791
5871
|
/** Collapsed transcript behavior for tool call rows. */
|
|
5792
5872
|
toolCallDisplay?: AgentWidgetToolCallDisplayFeature;
|
|
5793
5873
|
/** Collapsed transcript behavior for reasoning rows. */
|
|
@@ -9936,6 +10016,11 @@ type AgentWidgetAvatarConfig = {
|
|
|
9936
10016
|
userAvatar?: string;
|
|
9937
10017
|
/** URL or emoji for assistant avatar */
|
|
9938
10018
|
assistantAvatar?: string;
|
|
10019
|
+
/**
|
|
10020
|
+
* URL or emoji for operator (human takeover) avatar. Defaults to the letter
|
|
10021
|
+
* "O" on a neutral fill.
|
|
10022
|
+
*/
|
|
10023
|
+
operatorAvatar?: string;
|
|
9939
10024
|
};
|
|
9940
10025
|
/**
|
|
9941
10026
|
* Timestamp configuration for message bubbles
|
|
@@ -9988,7 +10073,10 @@ type AgentWidgetMessageLayoutConfig = {
|
|
|
9988
10073
|
groupConsecutive?: boolean;
|
|
9989
10074
|
/** Width behavior for user-authored message rows */
|
|
9990
10075
|
user?: AgentWidgetMessageRoleLayout;
|
|
9991
|
-
/**
|
|
10076
|
+
/**
|
|
10077
|
+
* Width behavior for assistant-authored message rows and assistant UI
|
|
10078
|
+
* variants. Operator rows sit on the same side and use it too.
|
|
10079
|
+
*/
|
|
9992
10080
|
assistant?: AgentWidgetMessageRoleLayout;
|
|
9993
10081
|
/**
|
|
9994
10082
|
* Custom renderer for user messages
|
|
@@ -11107,6 +11195,8 @@ type AgentWidgetConfig = {
|
|
|
11107
11195
|
*/
|
|
11108
11196
|
getHeaders?: AgentWidgetHeadersFunction;
|
|
11109
11197
|
copy?: {
|
|
11198
|
+
/** Visible and accessible label for human operator replies. @default "Human operator" */
|
|
11199
|
+
operatorLabel?: string;
|
|
11110
11200
|
/** @deprecated Use `welcome.title`. */
|
|
11111
11201
|
welcomeTitle?: string;
|
|
11112
11202
|
/** @deprecated Use `welcome.subtitle`. */
|
|
@@ -11117,6 +11207,10 @@ type AgentWidgetConfig = {
|
|
|
11117
11207
|
sendButtonLabel?: string;
|
|
11118
11208
|
/** Button label shown in text mode while a response is streaming. Default: "Stop". */
|
|
11119
11209
|
stopButtonLabel?: string;
|
|
11210
|
+
/** Toggle label on a collapsed long user message (`features.userMessageCollapse`). @default "Show more" */
|
|
11211
|
+
showMoreLabel?: string;
|
|
11212
|
+
/** Toggle label on an expanded long user message (`features.userMessageCollapse`). @default "Show less" */
|
|
11213
|
+
showLessLabel?: string;
|
|
11120
11214
|
/**
|
|
11121
11215
|
* When false, the welcome / intro card is not shown above the message list.
|
|
11122
11216
|
* @deprecated Use `welcome.variant: "none"`.
|
|
@@ -11299,6 +11393,16 @@ type AgentWidgetConfig = {
|
|
|
11299
11393
|
* See `docs/context-mentions-plan.md`.
|
|
11300
11394
|
*/
|
|
11301
11395
|
contextMentions?: AgentWidgetContextMentionConfig;
|
|
11396
|
+
/**
|
|
11397
|
+
* Synchronous model-context conversion for each nonempty conversation entry.
|
|
11398
|
+
* Runs on proxy, agent and client-token dispatch, after local-only notices and
|
|
11399
|
+
* voice captions are excluded. By default operator messages are omitted;
|
|
11400
|
+
* stateless adapters can explicitly map their historical human contributions
|
|
11401
|
+
* into supported model roles. Do not replay contributions already owned by
|
|
11402
|
+
* server history. This does not authorize steering, takeover or tool approval.
|
|
11403
|
+
* Invalid return values fail dispatch. See docs/MESSAGE-INJECTION.md.
|
|
11404
|
+
*/
|
|
11405
|
+
modelMessageTransform?: AgentWidgetModelMessageTransform;
|
|
11302
11406
|
requestMiddleware?: AgentWidgetRequestMiddleware;
|
|
11303
11407
|
actionParsers?: AgentWidgetActionParser[];
|
|
11304
11408
|
actionHandlers?: AgentWidgetActionHandler[];
|
|
@@ -11791,7 +11895,24 @@ type AgentWidgetConfig = {
|
|
|
11791
11895
|
*/
|
|
11792
11896
|
type AgentWidgetConfigPatch = ConfigPatch<AgentWidgetConfig>;
|
|
11793
11897
|
type ConfigPatch<T> = T extends ((...args: never[]) => unknown) ? T : T extends readonly unknown[] ? T : T extends object ? { [K in keyof T]?: ConfigPatch<T[K]>; } : T;
|
|
11794
|
-
|
|
11898
|
+
/**
|
|
11899
|
+
* Who authored a message.
|
|
11900
|
+
*
|
|
11901
|
+
* - `user`: the end user.
|
|
11902
|
+
* - `assistant`: the agent (model output).
|
|
11903
|
+
* - `system`: context for the model, rendered like an assistant row.
|
|
11904
|
+
* - `operator`: a human speaking on the agent's side of the conversation, such
|
|
11905
|
+
* as a support agent who has taken over the thread. It renders on the
|
|
11906
|
+
* assistant's side with its own bubble style (`theme.components.message.operator`).
|
|
11907
|
+
* Operator messages are omitted from model requests by default. A stateless
|
|
11908
|
+
* adapter can explicitly convert them with `modelMessageTransform`.
|
|
11909
|
+
*/
|
|
11910
|
+
type AgentWidgetMessageRole = "user" | "assistant" | "system" | "operator";
|
|
11911
|
+
/**
|
|
11912
|
+
* Roles that reach a model request. Human operator UI entries must be explicitly
|
|
11913
|
+
* converted to a supported model role by an adapter.
|
|
11914
|
+
*/
|
|
11915
|
+
type AgentWidgetModelMessageRole = Exclude<AgentWidgetMessageRole, "operator">;
|
|
11795
11916
|
type AgentWidgetReasoning = {
|
|
11796
11917
|
id: string;
|
|
11797
11918
|
status: "pending" | "streaming" | "complete";
|
|
@@ -11906,11 +12027,17 @@ type AgentWidgetTurnActivityConfig = {
|
|
|
11906
12027
|
config: AgentWidgetConfig;
|
|
11907
12028
|
}) => HTMLElement | string | null | undefined;
|
|
11908
12029
|
};
|
|
12030
|
+
/** Display provenance, supplied by the host; never an authorization credential. */
|
|
12031
|
+
type AgentWidgetMessageAuthor = {
|
|
12032
|
+
id?: string;
|
|
12033
|
+
displayName?: string;
|
|
12034
|
+
kind?: "human" | "ai" | "system";
|
|
12035
|
+
};
|
|
11909
12036
|
/**
|
|
11910
12037
|
* Represents a message in the chat conversation.
|
|
11911
12038
|
*
|
|
11912
12039
|
* @property id - Unique message identifier
|
|
11913
|
-
* @property role - Message role: "user", "assistant", or "
|
|
12040
|
+
* @property role - Message role: "user", "assistant", "system", or "operator"
|
|
11914
12041
|
* @property content - Message text content (for display)
|
|
11915
12042
|
* @property contentParts - Original multi-modal content parts (for API requests)
|
|
11916
12043
|
* @property createdAt - ISO timestamp when message was created
|
|
@@ -11924,6 +12051,8 @@ type AgentWidgetTurnActivityConfig = {
|
|
|
11924
12051
|
* Useful for implementing voice-specific behaviors like auto-reactivation.
|
|
11925
12052
|
*/
|
|
11926
12053
|
type AgentWidgetMessage = {
|
|
12054
|
+
/** Preserved by injection, history and persistence; not sent to models automatically. */
|
|
12055
|
+
author?: AgentWidgetMessageAuthor;
|
|
11927
12056
|
/** Opt-in whole-turn presentation metadata. Does not change model-visible content. */
|
|
11928
12057
|
turnActivity?: AgentWidgetTurnActivity;
|
|
11929
12058
|
id: string;
|
|
@@ -12073,10 +12202,13 @@ type AgentWidgetMessage = {
|
|
|
12073
12202
|
* }
|
|
12074
12203
|
*/
|
|
12075
12204
|
type InjectMessageOptions = {
|
|
12205
|
+
/** Host-supplied display provenance. Does not grant model or backend authority. */
|
|
12206
|
+
author?: AgentWidgetMessageAuthor;
|
|
12076
12207
|
/** Mark assistant content as dispatch failure detail for `errorDisplay`. */
|
|
12077
12208
|
dispatchError?: boolean;
|
|
12078
12209
|
/**
|
|
12079
|
-
* Message role: "assistant", "user", or "
|
|
12210
|
+
* Message role: "assistant", "user", "system", or "operator". Operator
|
|
12211
|
+
* messages are omitted from requests unless modelMessageTransform converts them.
|
|
12080
12212
|
*/
|
|
12081
12213
|
role: AgentWidgetMessageRole;
|
|
12082
12214
|
/**
|
|
@@ -12344,6 +12476,5 @@ type AgentWidgetInitOptions = {
|
|
|
12344
12476
|
windowKey?: string;
|
|
12345
12477
|
debugTools?: boolean;
|
|
12346
12478
|
};
|
|
12347
|
-
//#endregion
|
|
12348
|
-
export { AgentWidgetEvent as $, RuntypeTurnCompleteEvent as $a, VoiceClientToolsChannel as $i, ClientToolResultFrame as $n, HistoryConversationDetail as $r, AgentWidgetStarterSuggestionsConfig as $t, AgentWidgetConfigPatch as A, HistoryOperationContext as Aa, PersonaArtifactManualUpsert as Ai, AgentWidgetWelcomeConfig as An, TokenReference as Ao, ComposerPhase as Ar, AgentWidgetReadAloudEvent as At, AgentWidgetContextMentionRef as B, RuntypeClientChatRequest as Ba, SlotRenderContext as Bi, AttachmentPreviewRemoveConfig as Bn, formatCombo as Bo, DictationPhase as Br, AgentWidgetRunFinishedEvent as Bt, AgentWidgetAttachmentsConfig as C, WidgetPreferenceSlice as Ca, PersonaArtifactCustomAction as Ci, AgentWidgetTurnActivity as Cn, SemanticTypography as Co, ComposerModeGroup as Cr, AgentWidgetMessage as Ct, AgentWidgetComponentRenderer as D, HistoryDeleteAllOptions as Da, PersonaArtifactFileMeta as Di, AgentWidgetVoiceStatusEvent as Dn, ThemeValidationError as Do, ComposerModelPickerPresentation as Dr, AgentWidgetMessageRoleLayout as Dt, AgentWidgetComponentRenderHandle as E, renderLucideIcon as Ea, PersonaArtifactDisplayRules as Ei, AgentWidgetVoicePrewarmTrigger as En, TextStyleTokens as Eo, ComposerModelPickerConfig as Er, AgentWidgetMessageLayoutConfig as Et, AgentWidgetContextMentionConfig as F, HistoryProviderErrorCode as Fa, ReadAloudState as Fi, AgentWidgetWelcomeVariant as Fn, AgentWidgetRenderSuggestionContext as Fo, ComposerSubmissionOptions as Fr, AgentWidgetRenderHistoryStateContext as Ft, AgentWidgetContextProvider as G, RuntypeClientInitRequest as Ga, SpeechRequest as Gi, BackgroundConversationAdapter as Gn, resolveWelcomeConfig as Go, DictationStateEvent as Gr, AgentWidgetScrollMode as Gt, AgentWidgetContextMentionSearchContext as H, RuntypeClientFeedbackRequest as Ha, SlotRenderer as Hi, AttachmentPreviewRenderHandle as Hn, AgentWidgetPluginStorage as Ho, DictationRenderContext as Hr, AgentWidgetSSEEventParser as Ht, AgentWidgetContextMentionItem as I, PreparedHistoryActivation as Ia, ResolvedHistoryCopy as Ii, ArtifactConfigPayload as In, AgentWidgetRenderWelcomeContext as Io, ComposerSubmissionSnapshot as Ir, AgentWidgetRenderHistoryViewContext as It, AgentWidgetCustomFetch as J, RuntypeClientResumeStreamEvent as Ja, TextContentPart as Ji, ClientFeedbackType as Jn, EventStreamPayloadRenderContext as Jr, AgentWidgetScrollToBottomIconContext as Jt, AgentWidgetContextProviderContext as K, RuntypeClientInitResponse as Ka, StreamAnimationContext as Ki, ClientChatRequest as Kn, EventStreamBadgeColor as Kr, AgentWidgetScrollRestorePosition as Kt, AgentWidgetContextMentionItemRenderContext as L, isHistoryProviderError as La, ResolvedHistoryPresentation as Li, AskUserQuestionOption as Ln, AgentWidgetSuggestionSelectContext as Lo, ComposerSubmitKey as Lr, AgentWidgetRequestPayload as Lt, AgentWidgetContextMentionChipRenderContext as M, HistoryPageResult as Ma, PersonaArtifactRecord as Mi, AgentWidgetWelcomeIcon as Mn, AgentWidgetPlugin as Mo, ComposerResubmitOptions as Mr, AgentWidgetRenderHistoryConversationContext as Mt, AgentWidgetContextMentionCommandContext as N, HistoryProvider as Na, PersonaArtifactStatusLabelContext as Ni, AgentWidgetWelcomeIconBase as Nn, AgentWidgetRailSection as No, ComposerState as Nr, AgentWidgetRenderHistoryHeaderContext as Nt, AgentWidgetComposerConfig as O, HistoryListOptions as Oa, PersonaArtifactFilesDisplayRules as Oi, AgentWidgetWebMcpConfig as On, ThemeValidationResult as Oo, ComposerOptionsPayload as Or, AgentWidgetOpenConversationOptions as Ot, AgentWidgetContextMentionComposerCapability as P, HistoryProviderError as Pa, PreparedClientSession as Pi, AgentWidgetWelcomeIconPlacement as Pn, AgentWidgetRailSectionContext as Po, ComposerStreamingSubmitBehavior as Pr, AgentWidgetRenderHistoryOpenErrorContext as Pt, AgentWidgetDockConfig as Q, RuntypeStreamEventOf as Qa, VoiceClientTools as Qi, ClientToolDefinition as Qn, HeaderRenderContext as Qr, AgentWidgetSessionInitTrigger as Qt, AgentWidgetContextMentionMenuRenderContext as R, ResolvedTarget as Ra, ResumableHandle as Ri, AskUserQuestionPayload as Rn, AgentWidgetTransformSuggestionsContext as Ro, ContentPart as Rr, AgentWidgetResolvedSuggestion as Rt, AgentWidgetAttachmentPreviewConfig as S, WidgetPreferenceCapabilities as Sa, PersonaArtifactActionContext as Si, AgentWidgetTooltipConfig as Sn, SemanticTokens as So, ComposerModeChipVisibility as Sr, AgentWidgetMentionTriggerPosition as St, AgentWidgetComponentRenderContext as T, registerIcons as Ta, PersonaArtifactDisplayModeInput as Ti, AgentWidgetVoicePrewarmHook as Tn, SpacingScale as To, ComposerModel as Tr, AgentWidgetMessageFeedback as Tt, AgentWidgetContextMentionSource as U, RuntypeClientFeedbackResponse as Ua, SpeechCallbacks as Ui, AttachmentPreviewState as Un, ResolvedWelcomeConfig as Uo, DictationRenderHandle as Ur, AgentWidgetSSEEventResult as Ut, AgentWidgetContextMentionResolveContext as V, RuntypeClientChatStreamEvent as Va, SlotRenderResult as Vi, AttachmentPreviewRenderContext as Vn, parseCombo as Vo, DictationProviderConfig as Vr, AgentWidgetRunStartedEvent as Vt, AgentWidgetContextMentionTokenRenderContext as W, RuntypeClientFeedbackType as Wa, SpeechEngine as Wi, AttachmentUploadContext as Wn, isWelcomeVisible as Wo, DictationState as Wr, AgentWidgetScrollBehaviorFeature as Wt, AgentWidgetCustomMessageActionRole as X, RuntypeStepCompleteEvent as Xa, VoiceClientToolOutcome as Xi, ClientSession as Xn, EventStreamToolbarRenderContext as Xr, AgentWidgetScrollToBottomIconState as Xt, AgentWidgetCustomMessageAction as Y, RuntypeExecutionStreamEvent as Ya, ToolAnnotations as Yi, ClientInitResponse as Yn, EventStreamRowRenderContext as Yr, AgentWidgetScrollToBottomIconHandle as Yt, AgentWidgetDictationConfig as Z, RuntypeStopReasonKind as Za, VoiceClientToolStatus as Zi, ClientToolCallFrame as Zn, EventStreamViewRenderContext as Zr, AgentWidgetSessionInitHook as Zt, AgentWidgetArtifactsFeature as _, WebMcpConfirmInfo as _a, LoadingLabelAnimationContext as _i, AgentWidgetSuggestionSurfaceConfig as _n, PersonaThemePlugin as _o, ComposerLayout as _r, AgentWidgetMarkdownConfig as _t, AgentMessagePhase as a, VoiceDelegationResult as aa, HistoryPendingAction as ai, AgentWidgetStreamAnimationBuiltinType as an, BorderScale as ao, ComposerActionContributionContext as ar, AgentWidgetHeadersFunction as at, AgentWidgetAskUserQuestionStyles as b, WidgetHistoryInternals as ba, MessageRenderContext as bi, AgentWidgetTimestampConfig as bn, SemanticColors as bo, ComposerMenuRenderHandle as br, AgentWidgetMentionLlmEntry as bt, AgentWidgetActionContext as c, VoiceMetrics as ca, HistoryViewState as ci, AgentWidgetStreamAnimationType as cn, ColorShade as co, ComposerActionPresentation as cr, AgentWidgetHistoryListAction as ct, AgentWidgetActionHandlerResult as d, VoiceProvider as da, InjectAssistantMessageOptions as di, AgentWidgetStreamParserResult as dn, CreateThemeOptions as do, ComposerAttachmentState as dr, AgentWidgetLauncherConfig as dt, VoiceClientToolsSession as ea, HistoryConversationPage as ei, AgentWidgetStateSnapshot as en, ArtifactPaneTokens as eo, ClientToolsFrame as er, AgentWidgetEventContext as et, AgentWidgetActionParser as f, VoiceResult as fa, InjectComponentDirectiveOptions as fi, AgentWidgetSuggestion as fn, DeepPartial as fo, ComposerBeforeSendResult as fr, AgentWidgetLauncherTeaserConfig as ft, AgentWidgetApprovalDecisionOptions as g, WebMcpConfirmHandler as ga, LoadingIndicatorRenderContext as gi, AgentWidgetSuggestionSurface as gn, PersonaTheme as go, ComposerInputAttributes as gr, AgentWidgetLoadingLabelConfig as gt, AgentWidgetApprovalConfig as h, VoiceTranscriptMetadata as ha, InjectUserMessageOptions as hi, AgentWidgetSuggestionSource as hn, MessageGeometryTokens as ho, ComposerDisabledOption as hr, AgentWidgetLoadingIndicatorConfig as ht, AgentMessageMetadata as i, VoiceDelegationRequest as ia, HistoryIdentityStatus as ii, AgentWidgetStreamAnimationBuffer as in, AttachmentTokens as io, ComposerActionContext as ir, AgentWidgetHeaderLayoutConfig as it, AgentWidgetContentSegment as j, HistoryPageOptions as ja, PersonaArtifactPresentation as ji, AgentWidgetWelcomeDismiss as jn, TypographyScale as jo, ComposerQuote as jr, AgentWidgetReasoning as jt, AgentWidgetConfig as k, HistoryListResult as ka, PersonaArtifactKind as ki, AgentWidgetWelcomeAlign as kn, ToggleGroupTokens as ko, ComposerOverflowMenuConfig as kr, AgentWidgetParsedAction as kt, AgentWidgetActionEventPayload as l, VoicePlaybackEngine as la, IdleIndicatorRenderContext as li, AgentWidgetStreamCheckpoint as ln, ComponentTokens as lo, ComposerActionRenderContext as lr, AgentWidgetHistoryRenderActions as lt, AgentWidgetApproval as m, VoiceStatus as ma, InjectSystemMessageOptions as mi, AgentWidgetSuggestionChipsConfig as mn, LabelButtonTokens as mo, ComposerCustomAction as mr, AgentWidgetLinkClickContext as mt, AgentExecutionState as n, VoiceConfig as na, HistoryConversationSummary as ni, AgentWidgetStoredDraft as nn, ArtifactToolbarTokens as no, ComposerAction as nr, AgentWidgetFeatureFlags as nt, AgentRequestOptions as o, VoiceDelegationStatus as oa, HistoryReturnSurface as oi, AgentWidgetStreamAnimationFeature as on, BrandConfig as oo, ComposerActionOverflowConfig as or, AgentWidgetHistoryCopy as ot, AgentWidgetAgentRequestPayload as p, VoiceSessionBridge as pa, InjectMessageOptions as pi, AgentWidgetSuggestionBehavior as pn, IconButtonTokens as po, ComposerButtonAction as pr, AgentWidgetLayoutConfig as pt, AgentWidgetControllerEventMap as q, RuntypeClientResumeRequest as qa, StreamAnimationPlugin as qi, ClientFeedbackRequest as qn, EventStreamConfig as qr, AgentWidgetScrollToBottomFeature as qt, AgentLoopConfig as r, VoiceDelegationFollowUp as ra, HistoryDisplayProjection as ri, AgentWidgetStoredState as rn, AttachmentRemoveTokens as ro, ComposerActionBase as rr, AgentWidgetFollowUpSuggestionsConfig as rt, AgentToolsConfig as s, VoiceDirectTurn as sa, HistoryScope as si, AgentWidgetStreamAnimationPlaceholder as sn, ColorPalette as so, ComposerActionPlacement as sr, AgentWidgetHistoryFeature as st, AgentConfig as t, VoiceClientToolsSnapshot as ta, HistoryConversationPatch as ti, AgentWidgetStorageAdapter as tn, ArtifactTabTokens as to, ClientVisitorGrant as tr, AgentWidgetExpansionConfig as tt, AgentWidgetActionHandler as u, VoicePriorToolResult as ua, ImageContentPart as ui, AgentWidgetStreamParser as un, ComposerOverflowMenuTokens as uo, ComposerActionVisibility as ur, AgentWidgetInitOptions as ut, AgentWidgetArtifactsLayoutConfig as v, WebMcpToolResult as va, LoadingLabelAnimationHandle as vi, AgentWidgetSuggestionVariant as vn, RadiusScale as vo, ComposerMenuItem as vr, AgentWidgetMarkdownOptions as vt, AgentWidgetAvatarConfig as w, IconName as wa, PersonaArtifactDisplayMode as wi, AgentWidgetTurnActivityConfig as wn, ShadowScale as wo, ComposerModeGroupPresentation as wr, AgentWidgetMessageActionsConfig as wt, AgentWidgetAttachmentAdapter as x, WidgetLayoutSlot as xa, PcmStreamPlayer as xi, AgentWidgetToolCallLoadingAnimation as xn, SemanticSpacing as xo, ComposerMode as xr, AgentWidgetMentionTriggerChannel as xt, AgentWidgetAskUserQuestionFeature as y, WidgetArtifactLayoutPreference as ya, MessageContent as yi, AgentWidgetSuggestionsConfig as yn, ResolvedToken as yo, ComposerMenuRenderContext as yr, AgentWidgetMarkdownRendererOverrides as yt, AgentWidgetContextMentionPayload as z, TargetResolver as za, SSEEventRecord as zi, AskUserQuestionPrompt as zn, ariaCombo as zo, ConversationExecutionState as zr, AgentWidgetRevealToolCallOptions as zt };
|
|
12479
|
+
export { AgentWidgetEvent as $, RuntypeClientResumeStreamEvent as $a, TextContentPart as $i, ClientFeedbackType as $n, EventStreamPayloadRenderContext as $r, AgentWidgetScrollToBottomIconContext as $t, AgentWidgetConfigPatch as A, registerIcons as Aa, PersonaArtifactDisplayModeInput as Ai, AgentWidgetVoicePrewarmHook as An, ShadowScale as Ao, ComposerModel as Ar, AgentWidgetModelMessageProjection as At, AgentWidgetContextMentionRef as B, HistoryProviderErrorCode as Ba, ReadAloudState as Bi, AgentWidgetWelcomeVariant as Bn, AgentWidgetRailSectionContext as Bo, ComposerSubmissionOptions as Br, AgentWidgetRenderHistoryStateContext as Bt, AgentWidgetAttachmentsConfig as C, WebMcpToolResult as Ca, LoadingLabelAnimationHandle as Ci, AgentWidgetSuggestionVariant as Cn, PersonaThemePlugin as Co, ComposerMenuItem as Cr, AgentWidgetMessage as Ct, AgentWidgetComponentRenderer as D, WidgetPreferenceCapabilities as Da, PersonaArtifactActionContext as Di, AgentWidgetTooltipConfig as Dn, SemanticSpacing as Do, ComposerModeChipVisibility as Dr, AgentWidgetMessageLayoutConfig as Dt, AgentWidgetComponentRenderHandle as E, WidgetLayoutSlot as Ea, PcmStreamPlayer as Ei, AgentWidgetToolCallLoadingAnimation as En, SemanticColors as Eo, ComposerMode as Er, AgentWidgetMessageFeedback as Et, AgentWidgetContextMentionConfig as F, HistoryOperationContext as Fa, PersonaArtifactManualUpsert as Fi, AgentWidgetWelcomeConfig as Fn, ToggleGroupTokens as Fo, ComposerPhase as Fr, AgentWidgetReadAloudEvent as Ft, AgentWidgetContextProvider as G, RuntypeClientChatRequest as Ga, SlotRenderContext as Gi, AttachmentPreviewRemoveConfig as Gn, ariaCombo as Go, DictationPhase as Gr, AgentWidgetRunFinishedEvent as Gt, AgentWidgetContextMentionSearchContext as H, isHistoryProviderError as Ha, ResolvedHistoryPresentation as Hi, AskUserQuestionOption as Hn, AgentWidgetRenderWelcomeContext as Ho, ComposerSubmitKey as Hr, AgentWidgetRequestPayload as Ht, AgentWidgetContextMentionItem as I, HistoryPageOptions as Ia, PersonaArtifactPresentation as Ii, AgentWidgetWelcomeDismiss as In, TokenReference as Io, ComposerQuote as Ir, AgentWidgetReasoning as It, AgentWidgetCustomFetch as J, RuntypeClientFeedbackResponse as Ja, SpeechCallbacks as Ji, AttachmentPreviewState as Jn, AgentWidgetPluginStorage as Jo, DictationRenderHandle as Jr, AgentWidgetSSEEventResult as Jt, AgentWidgetContextProviderContext as K, RuntypeClientChatStreamEvent as Ka, SlotRenderResult as Ki, AttachmentPreviewRenderContext as Kn, formatCombo as Ko, DictationProviderConfig as Kr, AgentWidgetRunStartedEvent as Kt, AgentWidgetContextMentionItemRenderContext as L, HistoryPageResult as La, PersonaArtifactRecord as Li, AgentWidgetWelcomeIcon as Ln, TypographyScale as Lo, ComposerResubmitOptions as Lr, AgentWidgetRenderHistoryConversationContext as Lt, AgentWidgetContextMentionChipRenderContext as M, HistoryDeleteAllOptions as Ma, PersonaArtifactFileMeta as Mi, AgentWidgetVoiceStatusEvent as Mn, TextStyleTokens as Mo, ComposerModelPickerPresentation as Mr, AgentWidgetModelMessageTransform as Mt, AgentWidgetContextMentionCommandContext as N, HistoryListOptions as Na, PersonaArtifactFilesDisplayRules as Ni, AgentWidgetWebMcpConfig as Nn, ThemeValidationError as No, ComposerOptionsPayload as Nr, AgentWidgetOpenConversationOptions as Nt, AgentWidgetComposerConfig as O, WidgetPreferenceSlice as Oa, PersonaArtifactCustomAction as Oi, AgentWidgetTurnActivity as On, SemanticTokens as Oo, ComposerModeGroup as Or, AgentWidgetMessageRole as Ot, AgentWidgetContextMentionComposerCapability as P, HistoryListResult as Pa, PersonaArtifactKind as Pi, AgentWidgetWelcomeAlign as Pn, ThemeValidationResult as Po, ComposerOverflowMenuConfig as Pr, AgentWidgetParsedAction as Pt, AgentWidgetDockConfig as Q, RuntypeClientResumeRequest as Qa, StreamAnimationPlugin as Qi, ClientFeedbackRequest as Qn, EventStreamConfig as Qr, AgentWidgetScrollToBottomFeature as Qt, AgentWidgetContextMentionMenuRenderContext as R, HistoryProvider as Ra, PersonaArtifactStatusLabelContext as Ri, AgentWidgetWelcomeIconBase as Rn, AgentWidgetPlugin as Ro, ComposerState as Rr, AgentWidgetRenderHistoryHeaderContext as Rt, AgentWidgetAttachmentPreviewConfig as S, WebMcpConfirmInfo as Sa, LoadingLabelAnimationContext as Si, AgentWidgetSuggestionSurfaceConfig as Sn, PersonaTheme as So, ComposerLayout as Sr, AgentWidgetMentionTriggerPosition as St, AgentWidgetComponentRenderContext as T, WidgetHistoryInternals as Ta, MessageRenderContext as Ti, AgentWidgetTimestampConfig as Tn, ResolvedToken as To, ComposerMenuRenderHandle as Tr, AgentWidgetMessageAuthor as Tt, AgentWidgetContextMentionSource as U, ResolvedTarget as Ua, ResumableHandle as Ui, AskUserQuestionPayload as Un, AgentWidgetSuggestionSelectContext as Uo, ContentPart as Ur, AgentWidgetResolvedSuggestion as Ut, AgentWidgetContextMentionResolveContext as V, PreparedHistoryActivation as Va, ResolvedHistoryCopy as Vi, ArtifactConfigPayload as Vn, AgentWidgetRenderSuggestionContext as Vo, ComposerSubmissionSnapshot as Vr, AgentWidgetRenderHistoryViewContext as Vt, AgentWidgetContextMentionTokenRenderContext as W, TargetResolver as Wa, SSEEventRecord as Wi, AskUserQuestionPrompt as Wn, AgentWidgetTransformSuggestionsContext as Wo, ConversationExecutionState as Wr, AgentWidgetRevealToolCallOptions as Wt, AgentWidgetCustomMessageActionRole as X, RuntypeClientInitRequest as Xa, SpeechRequest as Xi, BackgroundConversationAdapter as Xn, isWelcomeVisible as Xo, DictationStateEvent as Xr, AgentWidgetScrollMode as Xt, AgentWidgetCustomMessageAction as Y, RuntypeClientFeedbackType as Ya, SpeechEngine as Yi, AttachmentUploadContext as Yn, ResolvedWelcomeConfig as Yo, DictationState as Yr, AgentWidgetScrollBehaviorFeature as Yt, AgentWidgetDictationConfig as Z, RuntypeClientInitResponse as Za, StreamAnimationContext as Zi, ClientChatRequest as Zn, resolveWelcomeConfig as Zo, EventStreamBadgeColor as Zr, AgentWidgetScrollRestorePosition as Zt, AgentWidgetArtifactsFeature as _, VoiceResult as _a, InjectComponentDirectiveOptions as _i, AgentWidgetSuggestion as _n, DeepPartial as _o, ComposerBeforeSendResult as _r, AgentWidgetMarkdownConfig as _t, AgentMessagePhase as a, VoiceClientToolsSession as aa, HistoryConversationPage as ai, AgentWidgetStateSnapshot as an, ArtifactPaneTokens as ao, ClientToolsFrame as ar, AgentWidgetHeadersFunction as at, AgentWidgetAskUserQuestionStyles as b, VoiceTranscriptMetadata as ba, InjectUserMessageOptions as bi, AgentWidgetSuggestionSource as bn, MessageGeometryTokens as bo, ComposerDisabledOption as br, AgentWidgetMentionLlmEntry as bt, AgentWidgetActionContext as c, VoiceDelegationFollowUp as ca, HistoryDisplayProjection as ci, AgentWidgetStoredState as cn, AttachmentRemoveTokens as co, ComposerActionBase as cr, AgentWidgetHistoryListAction as ct, AgentWidgetActionHandlerResult as d, VoiceDelegationStatus as da, HistoryReturnSurface as di, AgentWidgetStreamAnimationFeature as dn, BrandConfig as do, ComposerActionOverflowConfig as dr, AgentWidgetLauncherConfig as dt, ToolAnnotations as ea, EventStreamRowRenderContext as ei, AgentWidgetScrollToBottomIconHandle as en, RuntypeExecutionStreamEvent as eo, ClientInitResponse as er, AgentWidgetEventContext as et, AgentWidgetActionParser as f, VoiceDirectTurn as fa, HistoryScope as fi, AgentWidgetStreamAnimationPlaceholder as fn, ColorPalette as fo, ComposerActionPlacement as fr, AgentWidgetLauncherTeaserConfig as ft, AgentWidgetApprovalDecisionOptions as g, VoiceProvider as ga, InjectAssistantMessageOptions as gi, AgentWidgetStreamParserResult as gn, CreateThemeOptions as go, ComposerAttachmentState as gr, AgentWidgetLoadingLabelConfig as gt, AgentWidgetApprovalConfig as h, VoicePriorToolResult as ha, ImageContentPart as hi, AgentWidgetStreamParser as hn, ComposerOverflowMenuTokens as ho, ComposerActionVisibility as hr, AgentWidgetLoadingIndicatorConfig as ht, AgentMessageMetadata as i, VoiceClientToolsChannel as ia, HistoryConversationDetail as ii, AgentWidgetStarterSuggestionsConfig as in, RuntypeTurnCompleteEvent as io, ClientToolResultFrame as ir, AgentWidgetHeaderLayoutConfig as it, AgentWidgetContentSegment as j, renderLucideIcon as ja, PersonaArtifactDisplayRules as ji, AgentWidgetVoicePrewarmTrigger as jn, SpacingScale as jo, ComposerModelPickerConfig as jr, AgentWidgetModelMessageRole as jt, AgentWidgetConfig as k, IconName as ka, PersonaArtifactDisplayMode as ki, AgentWidgetTurnActivityConfig as kn, SemanticTypography as ko, ComposerModeGroupPresentation as kr, AgentWidgetMessageRoleLayout as kt, AgentWidgetActionEventPayload as l, VoiceDelegationRequest as la, HistoryIdentityStatus as li, AgentWidgetStreamAnimationBuffer as ln, AttachmentTokens as lo, ComposerActionContext as lr, AgentWidgetHistoryRenderActions as lt, AgentWidgetApproval as m, VoicePlaybackEngine as ma, IdleIndicatorRenderContext as mi, AgentWidgetStreamCheckpoint as mn, ComponentTokens as mo, ComposerActionRenderContext as mr, AgentWidgetLinkClickContext as mt, AgentExecutionState as n, VoiceClientToolStatus as na, EventStreamViewRenderContext as ni, AgentWidgetSessionInitHook as nn, RuntypeStopReasonKind as no, ClientToolCallFrame as nr, AgentWidgetFeatureFlags as nt, AgentRequestOptions as o, VoiceClientToolsSnapshot as oa, HistoryConversationPatch as oi, AgentWidgetStorageAdapter as on, ArtifactTabTokens as oo, ClientVisitorGrant as or, AgentWidgetHistoryCopy as ot, AgentWidgetAgentRequestPayload as p, VoiceMetrics as pa, HistoryViewState as pi, AgentWidgetStreamAnimationType as pn, ColorShade as po, ComposerActionPresentation as pr, AgentWidgetLayoutConfig as pt, AgentWidgetControllerEventMap as q, RuntypeClientFeedbackRequest as qa, SlotRenderer as qi, AttachmentPreviewRenderHandle as qn, parseCombo as qo, DictationRenderContext as qr, AgentWidgetSSEEventParser as qt, AgentLoopConfig as r, VoiceClientTools as ra, HeaderRenderContext as ri, AgentWidgetSessionInitTrigger as rn, RuntypeStreamEventOf as ro, ClientToolDefinition as rr, AgentWidgetFollowUpSuggestionsConfig as rt, AgentToolsConfig as s, VoiceConfig as sa, HistoryConversationSummary as si, AgentWidgetStoredDraft as sn, ArtifactToolbarTokens as so, ComposerAction as sr, AgentWidgetHistoryFeature as st, AgentConfig as t, VoiceClientToolOutcome as ta, EventStreamToolbarRenderContext as ti, AgentWidgetScrollToBottomIconState as tn, RuntypeStepCompleteEvent as to, ClientSession as tr, AgentWidgetExpansionConfig as tt, AgentWidgetActionHandler as u, VoiceDelegationResult as ua, HistoryPendingAction as ui, AgentWidgetStreamAnimationBuiltinType as un, BorderScale as uo, ComposerActionContributionContext as ur, AgentWidgetInitOptions as ut, AgentWidgetArtifactsLayoutConfig as v, VoiceSessionBridge as va, InjectMessageOptions as vi, AgentWidgetSuggestionBehavior as vn, IconButtonTokens as vo, ComposerButtonAction as vr, AgentWidgetMarkdownOptions as vt, AgentWidgetAvatarConfig as w, WidgetArtifactLayoutPreference as wa, MessageContent as wi, AgentWidgetSuggestionsConfig as wn, RadiusScale as wo, ComposerMenuRenderContext as wr, AgentWidgetMessageActionsConfig as wt, AgentWidgetAttachmentAdapter as x, WebMcpConfirmHandler as xa, LoadingIndicatorRenderContext as xi, AgentWidgetSuggestionSurface as xn, MessageTokens as xo, ComposerInputAttributes as xr, AgentWidgetMentionTriggerChannel as xt, AgentWidgetAskUserQuestionFeature as y, VoiceStatus as ya, InjectSystemMessageOptions as yi, AgentWidgetSuggestionChipsConfig as yn, LabelButtonTokens as yo, ComposerCustomAction as yr, AgentWidgetMarkdownRendererOverrides as yt, AgentWidgetContextMentionPayload as z, HistoryProviderError as za, PreparedClientSession as zi, AgentWidgetWelcomeIconPlacement as zn, AgentWidgetRailSection as zo, ComposerStreamingSubmitBehavior as zr, AgentWidgetRenderHistoryOpenErrorContext as zt };
|
|
12349
12480
|
export {}
|