@runtypelabs/persona 4.33.0 → 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-gu34lr-P.js → chunk-Brdx4NCz.js} +1 -1
- package/dist/{chunk-dLJWKfOb.js → chunk-C-rux8Q9.js} +1 -1
- 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-D6U0E82p.js → chunk-CV8EPIhT.js} +1 -1
- package/dist/{chunk-ql5N2I_t.js → chunk-CWzHNuVK.js} +1 -1
- package/dist/{chunk-DbGLjU2P.js → chunk-CYpt7PsO.js} +1 -1
- package/dist/{chunk-DOZmcve8.js → chunk-Csr59G5V.js} +1 -1
- package/dist/{chunk-DW7Vg_l2.js → chunk-CxNPSY-b.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-CXQJG7pb.js → chunk-YMkMvAsa.js} +2 -2
- package/dist/{chunk-C-EHtpbB.js → chunk-h5aOI_Pa.js} +1 -1
- 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-DnqGCXZz.d.ts → composer-input-i_FiUp6J.d.cts} +1 -7
- package/dist/{composer-input-DnqGCXZz.d.cts → composer-input-i_FiUp6J.d.ts} +1 -7
- package/dist/{composer-store-6Iwy6WLI.d.ts → composer-store-DhGNgG7Z.d.cts} +1 -3
- package/dist/{composer-store-6Iwy6WLI.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-B-rHF98n.d.ts → context-mention-manager-DL-xwGfL.d.cts} +2 -6
- package/dist/{context-mention-manager-B-rHF98n.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-BuOjqUAG.d.ts → defaults-Bga2Xrsp.d.cts} +1 -5
- package/dist/{defaults-BuOjqUAG.d.cts → defaults-Bga2Xrsp.d.ts} +1 -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.cts → dom-context-Bw-_9Evh.d.cts} +0 -2
- package/dist/{dom-context-DHTabIn7.d.ts → 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-SqEfkGda.d.ts → fallback-speech-engine-kLdyPcmk.d.cts} +1 -3
- package/dist/{fallback-speech-engine-SqEfkGda.d.cts → fallback-speech-engine-kLdyPcmk.d.ts} +1 -3
- package/dist/{feature-preferences-DqAmje-2.d.ts → feature-preferences-CmwZGKrf.d.cts} +1 -5
- package/dist/{feature-preferences-DqAmje-2.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-B3L7QNcO.d.cts → history-confirm-dialog-i46-lPN_.d.cts} +2 -14
- package/dist/{history-confirm-dialog-B3L7QNcO.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 +45 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +49 -49
- 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-JecjOfJS.d.ts → loading-label-runtime-loader-Ccr3ETd3.d.cts} +1 -3
- package/dist/{loading-label-runtime-loader-JecjOfJS.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-CBYtpDsT.d.ts → message-bubble-C6AVaH7f.d.cts} +20 -3
- package/dist/{message-bubble-CBYtpDsT.d.cts → message-bubble-C6AVaH7f.d.ts} +20 -3
- 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-_UJwwt2L.d.cts → preview-BMdRffo4.d.cts} +2 -6
- package/dist/{preview-_UJwwt2L.d.ts → preview-BMdRffo4.d.ts} +2 -6
- package/dist/{registry-B5ZV3K-h.d.ts → registry-B16l8s1b.d.cts} +1 -8
- package/dist/{registry-B5ZV3K-h.d.cts → registry-B16l8s1b.d.ts} +1 -8
- package/dist/{session-Bys8_XuB.d.cts → session-CtZHe7fc.d.cts} +8 -92
- package/dist/{session-Bys8_XuB.d.ts → session-CtZHe7fc.d.ts} +8 -92
- 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 +2 -4
- package/dist/theme-reference.d.ts +2 -4
- package/dist/theme-reference.js +1 -1
- package/dist/{tool-loading-animation-d5qAQcwv.d.ts → tool-loading-animation-D2cyFvmM.d.cts} +1 -7
- package/dist/{tool-loading-animation-d5qAQcwv.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-q6fHVnx-.d.cts → turn-activity-ui-Do1Nd-Ow.d.cts} +2 -12
- package/dist/{turn-activity-ui-q6fHVnx-.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-B_mj21jg.d.cts → types-BC7MRxO5.d.cts} +76 -29
- package/dist/{types-B_mj21jg.d.ts → types-BC7MRxO5.d.ts} +76 -29
- 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-ClEO3qdI.d.ts → webmcp-runtime-entry-B8g46vS0.d.cts} +1 -5
- package/dist/{webmcp-runtime-entry-ClEO3qdI.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/components/event-stream-view.test.ts +5 -0
- package/src/components/message-bubble.ts +26 -6
- 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.ts +6 -0
- package/src/styles/widget.css +56 -0
- package/src/theme-reference.ts +2 -2
- package/src/types/theme.ts +29 -0
- package/src/types.ts +49 -5
- package/src/ui.scroll-additive.test.ts +219 -117
- package/src/ui.scroll.test.ts +176 -13
- package/src/ui.ts +230 -107
- package/src/ui.turn-activity.test.ts +7 -7
- package/src/ui.user-message-collapse.test.ts +540 -0
- package/src/utils/auto-follow.test.ts +0 -38
- package/src/utils/auto-follow.ts +0 -35
- package/src/utils/theme.test.ts +23 -0
- package/src/utils/tokens.ts +16 -0
- package/dist/chunk-CVMIncEY.js +0 -1
- package/dist/chunk-DVgzoVCB.js +0 -1
- package/dist/chunk-d54BJdKd.js +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Ct as AgentWidgetMessage, It as AgentWidgetReasoning, On as AgentWidgetTurnActivity, k as AgentWidgetConfig } from "./types-
|
|
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 { Ct as AgentWidgetMessage, It as AgentWidgetReasoning, On as AgentWidgetTurnActivity, k as AgentWidgetConfig } from "./types-
|
|
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
|
|
@@ -1952,6 +1958,17 @@ interface ScrollToBottomTokens extends ComponentTokenSet {
|
|
|
1952
1958
|
fontSize?: string;
|
|
1953
1959
|
fontWeight?: string;
|
|
1954
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
|
+
};
|
|
1955
1972
|
}
|
|
1956
1973
|
/** Visual tokens shared by one suggestion presentation variant. */
|
|
1957
1974
|
interface SuggestionVariantTokens extends ComponentTokenSet {
|
|
@@ -1998,6 +2015,8 @@ interface ComponentTokens {
|
|
|
1998
2015
|
message: MessageTokens;
|
|
1999
2016
|
/** Hover-revealed per-message action row (copy, vote, read aloud). */
|
|
2000
2017
|
messageActions?: MessageActionsTokens;
|
|
2018
|
+
/** Fade and "Show more" toggle on collapsed long user messages. */
|
|
2019
|
+
userMessageCollapse?: UserMessageCollapseTokens;
|
|
2001
2020
|
/** Welcome / intro card shown above the message list. */
|
|
2002
2021
|
introCard?: IntroCardTokens;
|
|
2003
2022
|
/** Markdown surfaces (chat + artifact pane). */
|
|
@@ -2106,8 +2125,6 @@ interface CreateThemeOptions {
|
|
|
2106
2125
|
v5Defaults?: boolean;
|
|
2107
2126
|
};
|
|
2108
2127
|
}
|
|
2109
|
-
//#endregion
|
|
2110
|
-
//#region src/generated/runtype-openapi-contract.d.ts
|
|
2111
2128
|
type RuntypeExecutionStreamEvent = ({
|
|
2112
2129
|
agentId?: string;
|
|
2113
2130
|
agentName?: string;
|
|
@@ -2876,8 +2893,6 @@ type RuntypeClientFeedbackResponse = {
|
|
|
2876
2893
|
success: true;
|
|
2877
2894
|
};
|
|
2878
2895
|
type RuntypeClientFeedbackType = RuntypeClientFeedbackRequest["type"];
|
|
2879
|
-
//#endregion
|
|
2880
|
-
//#region src/utils/target.d.ts
|
|
2881
2896
|
/**
|
|
2882
2897
|
* Target resolution for the normalized, backend-neutral `target` field.
|
|
2883
2898
|
*
|
|
@@ -2914,8 +2929,6 @@ type ResolvedTarget = {
|
|
|
2914
2929
|
kind: "payload";
|
|
2915
2930
|
payload: Record<string, unknown>;
|
|
2916
2931
|
};
|
|
2917
|
-
//#endregion
|
|
2918
|
-
//#region src/utils/visitor-store.d.ts
|
|
2919
2932
|
/**
|
|
2920
2933
|
* Durable visitor-credential store for per-visitor conversation history
|
|
2921
2934
|
* (client-token mode only). Holds the raw `cvt_…` secret under a localStorage
|
|
@@ -2951,8 +2964,6 @@ interface VisitorStore {
|
|
|
2951
2964
|
matches(clientToken: string, keyPrefix: string, persistDisabled: boolean): boolean;
|
|
2952
2965
|
destroy(): void;
|
|
2953
2966
|
}
|
|
2954
|
-
//#endregion
|
|
2955
|
-
//#region src/utils/history-messages.d.ts
|
|
2956
2967
|
/** One message as served by the client conversation history route. */
|
|
2957
2968
|
type HistoryWireMessage = {
|
|
2958
2969
|
/** Optional display provenance from a custom history adapter. */
|
|
@@ -2967,8 +2978,6 @@ type HistoryWireMessage = {
|
|
|
2967
2978
|
displayAvailable: boolean;
|
|
2968
2979
|
timestamp?: string;
|
|
2969
2980
|
};
|
|
2970
|
-
//#endregion
|
|
2971
|
-
//#region src/internal/history-provider.d.ts
|
|
2972
2981
|
/** Fixed for the lifetime of one opened history view/action chain. */
|
|
2973
2982
|
interface HistoryOperationContext {
|
|
2974
2983
|
scope: HistoryScope;
|
|
@@ -3067,8 +3076,6 @@ declare class HistoryProviderError extends Error {
|
|
|
3067
3076
|
});
|
|
3068
3077
|
}
|
|
3069
3078
|
declare function isHistoryProviderError(value: unknown): value is HistoryProviderError;
|
|
3070
|
-
//#endregion
|
|
3071
|
-
//#region src/utils/icons.d.ts
|
|
3072
3079
|
/**
|
|
3073
3080
|
* Curated icon registry for `renderLucideIcon` (host-suppliable name strings).
|
|
3074
3081
|
*
|
|
@@ -3207,8 +3214,6 @@ declare const registerIcons: (icons: Record<string, IconNode>) => void;
|
|
|
3207
3214
|
* @returns SVGElement, or null if the name is not in the registry.
|
|
3208
3215
|
*/
|
|
3209
3216
|
declare const renderLucideIcon: (iconName: IconName | (string & {}), size?: number | string, color?: string, strokeWidth?: number) => SVGElement | null;
|
|
3210
|
-
//#endregion
|
|
3211
|
-
//#region src/types.d.ts
|
|
3212
3217
|
/**
|
|
3213
3218
|
* Text content part for multi-modal messages
|
|
3214
3219
|
*/
|
|
@@ -5293,10 +5298,13 @@ type AgentWidgetArtifactsFeature = {
|
|
|
5293
5298
|
*
|
|
5294
5299
|
* - `"anchor-top"` (default): on send, scroll the user's message near the top
|
|
5295
5300
|
* of the viewport and hold it there while the response streams in beneath it
|
|
5296
|
-
* (ChatGPT-style).
|
|
5297
|
-
*
|
|
5298
|
-
*
|
|
5299
|
-
*
|
|
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.
|
|
5300
5308
|
* - `"follow"`: keep the newest content pinned to the bottom of the viewport,
|
|
5301
5309
|
* pausing when the user scrolls up and resuming when they return to the
|
|
5302
5310
|
* bottom. This was the default before 4.x.
|
|
@@ -5381,7 +5389,8 @@ type AgentWidgetScrollBehaviorFeature = {
|
|
|
5381
5389
|
};
|
|
5382
5390
|
/** Decorative glyph state. Hidden glyphs should pause host-owned animation. */
|
|
5383
5391
|
type AgentWidgetScrollToBottomIconState = {
|
|
5384
|
-
|
|
5392
|
+
/** `"approval-below"`: a pending approval is below the fold and the turn waits on it. */
|
|
5393
|
+
activity: "idle" | "generating-below" | "approval-below";
|
|
5385
5394
|
visible: boolean;
|
|
5386
5395
|
hovered: boolean;
|
|
5387
5396
|
focused: boolean;
|
|
@@ -5418,6 +5427,15 @@ type AgentWidgetScrollToBottomFeature = {
|
|
|
5418
5427
|
* @default ""
|
|
5419
5428
|
*/
|
|
5420
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;
|
|
5421
5439
|
/** Glyph while a live response is arriving below. V4 defaults to arrow; V5 to dots. */
|
|
5422
5440
|
streamingIndicator?: "dots" | "arrow";
|
|
5423
5441
|
/** Visibility transition. V4 defaults to none; V5 to fade. Honors reduced motion. */
|
|
@@ -5808,6 +5826,30 @@ type AgentWidgetStreamAnimationFeature = {
|
|
|
5808
5826
|
*/
|
|
5809
5827
|
plugins?: Record<string, StreamAnimationPlugin>;
|
|
5810
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
|
+
};
|
|
5811
5853
|
type AgentWidgetFeatureFlags = {
|
|
5812
5854
|
showReasoning?: boolean;
|
|
5813
5855
|
showToolCalls?: boolean;
|
|
@@ -5824,6 +5866,8 @@ type AgentWidgetFeatureFlags = {
|
|
|
5824
5866
|
scrollToBottom?: AgentWidgetScrollToBottomFeature;
|
|
5825
5867
|
/** Transcript scroll behavior during streamed responses. */
|
|
5826
5868
|
scrollBehavior?: AgentWidgetScrollBehaviorFeature;
|
|
5869
|
+
/** "Show more" collapse for long user messages. Off by default; on under `future.v5Defaults`. */
|
|
5870
|
+
userMessageCollapse?: AgentWidgetUserMessageCollapseFeature;
|
|
5827
5871
|
/** Collapsed transcript behavior for tool call rows. */
|
|
5828
5872
|
toolCallDisplay?: AgentWidgetToolCallDisplayFeature;
|
|
5829
5873
|
/** Collapsed transcript behavior for reasoning rows. */
|
|
@@ -11163,6 +11207,10 @@ type AgentWidgetConfig = {
|
|
|
11163
11207
|
sendButtonLabel?: string;
|
|
11164
11208
|
/** Button label shown in text mode while a response is streaming. Default: "Stop". */
|
|
11165
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;
|
|
11166
11214
|
/**
|
|
11167
11215
|
* When false, the welcome / intro card is not shown above the message list.
|
|
11168
11216
|
* @deprecated Use `welcome.variant: "none"`.
|
|
@@ -12428,6 +12476,5 @@ type AgentWidgetInitOptions = {
|
|
|
12428
12476
|
windowKey?: string;
|
|
12429
12477
|
debugTools?: boolean;
|
|
12430
12478
|
};
|
|
12431
|
-
//#endregion
|
|
12432
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 };
|
|
12433
12480
|
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
|
|
@@ -1952,6 +1958,17 @@ interface ScrollToBottomTokens extends ComponentTokenSet {
|
|
|
1952
1958
|
fontSize?: string;
|
|
1953
1959
|
fontWeight?: string;
|
|
1954
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
|
+
};
|
|
1955
1972
|
}
|
|
1956
1973
|
/** Visual tokens shared by one suggestion presentation variant. */
|
|
1957
1974
|
interface SuggestionVariantTokens extends ComponentTokenSet {
|
|
@@ -1998,6 +2015,8 @@ interface ComponentTokens {
|
|
|
1998
2015
|
message: MessageTokens;
|
|
1999
2016
|
/** Hover-revealed per-message action row (copy, vote, read aloud). */
|
|
2000
2017
|
messageActions?: MessageActionsTokens;
|
|
2018
|
+
/** Fade and "Show more" toggle on collapsed long user messages. */
|
|
2019
|
+
userMessageCollapse?: UserMessageCollapseTokens;
|
|
2001
2020
|
/** Welcome / intro card shown above the message list. */
|
|
2002
2021
|
introCard?: IntroCardTokens;
|
|
2003
2022
|
/** Markdown surfaces (chat + artifact pane). */
|
|
@@ -2106,8 +2125,6 @@ interface CreateThemeOptions {
|
|
|
2106
2125
|
v5Defaults?: boolean;
|
|
2107
2126
|
};
|
|
2108
2127
|
}
|
|
2109
|
-
//#endregion
|
|
2110
|
-
//#region src/generated/runtype-openapi-contract.d.ts
|
|
2111
2128
|
type RuntypeExecutionStreamEvent = ({
|
|
2112
2129
|
agentId?: string;
|
|
2113
2130
|
agentName?: string;
|
|
@@ -2876,8 +2893,6 @@ type RuntypeClientFeedbackResponse = {
|
|
|
2876
2893
|
success: true;
|
|
2877
2894
|
};
|
|
2878
2895
|
type RuntypeClientFeedbackType = RuntypeClientFeedbackRequest["type"];
|
|
2879
|
-
//#endregion
|
|
2880
|
-
//#region src/utils/target.d.ts
|
|
2881
2896
|
/**
|
|
2882
2897
|
* Target resolution for the normalized, backend-neutral `target` field.
|
|
2883
2898
|
*
|
|
@@ -2914,8 +2929,6 @@ type ResolvedTarget = {
|
|
|
2914
2929
|
kind: "payload";
|
|
2915
2930
|
payload: Record<string, unknown>;
|
|
2916
2931
|
};
|
|
2917
|
-
//#endregion
|
|
2918
|
-
//#region src/utils/visitor-store.d.ts
|
|
2919
2932
|
/**
|
|
2920
2933
|
* Durable visitor-credential store for per-visitor conversation history
|
|
2921
2934
|
* (client-token mode only). Holds the raw `cvt_…` secret under a localStorage
|
|
@@ -2951,8 +2964,6 @@ interface VisitorStore {
|
|
|
2951
2964
|
matches(clientToken: string, keyPrefix: string, persistDisabled: boolean): boolean;
|
|
2952
2965
|
destroy(): void;
|
|
2953
2966
|
}
|
|
2954
|
-
//#endregion
|
|
2955
|
-
//#region src/utils/history-messages.d.ts
|
|
2956
2967
|
/** One message as served by the client conversation history route. */
|
|
2957
2968
|
type HistoryWireMessage = {
|
|
2958
2969
|
/** Optional display provenance from a custom history adapter. */
|
|
@@ -2967,8 +2978,6 @@ type HistoryWireMessage = {
|
|
|
2967
2978
|
displayAvailable: boolean;
|
|
2968
2979
|
timestamp?: string;
|
|
2969
2980
|
};
|
|
2970
|
-
//#endregion
|
|
2971
|
-
//#region src/internal/history-provider.d.ts
|
|
2972
2981
|
/** Fixed for the lifetime of one opened history view/action chain. */
|
|
2973
2982
|
interface HistoryOperationContext {
|
|
2974
2983
|
scope: HistoryScope;
|
|
@@ -3067,8 +3076,6 @@ declare class HistoryProviderError extends Error {
|
|
|
3067
3076
|
});
|
|
3068
3077
|
}
|
|
3069
3078
|
declare function isHistoryProviderError(value: unknown): value is HistoryProviderError;
|
|
3070
|
-
//#endregion
|
|
3071
|
-
//#region src/utils/icons.d.ts
|
|
3072
3079
|
/**
|
|
3073
3080
|
* Curated icon registry for `renderLucideIcon` (host-suppliable name strings).
|
|
3074
3081
|
*
|
|
@@ -3207,8 +3214,6 @@ declare const registerIcons: (icons: Record<string, IconNode>) => void;
|
|
|
3207
3214
|
* @returns SVGElement, or null if the name is not in the registry.
|
|
3208
3215
|
*/
|
|
3209
3216
|
declare const renderLucideIcon: (iconName: IconName | (string & {}), size?: number | string, color?: string, strokeWidth?: number) => SVGElement | null;
|
|
3210
|
-
//#endregion
|
|
3211
|
-
//#region src/types.d.ts
|
|
3212
3217
|
/**
|
|
3213
3218
|
* Text content part for multi-modal messages
|
|
3214
3219
|
*/
|
|
@@ -5293,10 +5298,13 @@ type AgentWidgetArtifactsFeature = {
|
|
|
5293
5298
|
*
|
|
5294
5299
|
* - `"anchor-top"` (default): on send, scroll the user's message near the top
|
|
5295
5300
|
* of the viewport and hold it there while the response streams in beneath it
|
|
5296
|
-
* (ChatGPT-style).
|
|
5297
|
-
*
|
|
5298
|
-
*
|
|
5299
|
-
*
|
|
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.
|
|
5300
5308
|
* - `"follow"`: keep the newest content pinned to the bottom of the viewport,
|
|
5301
5309
|
* pausing when the user scrolls up and resuming when they return to the
|
|
5302
5310
|
* bottom. This was the default before 4.x.
|
|
@@ -5381,7 +5389,8 @@ type AgentWidgetScrollBehaviorFeature = {
|
|
|
5381
5389
|
};
|
|
5382
5390
|
/** Decorative glyph state. Hidden glyphs should pause host-owned animation. */
|
|
5383
5391
|
type AgentWidgetScrollToBottomIconState = {
|
|
5384
|
-
|
|
5392
|
+
/** `"approval-below"`: a pending approval is below the fold and the turn waits on it. */
|
|
5393
|
+
activity: "idle" | "generating-below" | "approval-below";
|
|
5385
5394
|
visible: boolean;
|
|
5386
5395
|
hovered: boolean;
|
|
5387
5396
|
focused: boolean;
|
|
@@ -5418,6 +5427,15 @@ type AgentWidgetScrollToBottomFeature = {
|
|
|
5418
5427
|
* @default ""
|
|
5419
5428
|
*/
|
|
5420
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;
|
|
5421
5439
|
/** Glyph while a live response is arriving below. V4 defaults to arrow; V5 to dots. */
|
|
5422
5440
|
streamingIndicator?: "dots" | "arrow";
|
|
5423
5441
|
/** Visibility transition. V4 defaults to none; V5 to fade. Honors reduced motion. */
|
|
@@ -5808,6 +5826,30 @@ type AgentWidgetStreamAnimationFeature = {
|
|
|
5808
5826
|
*/
|
|
5809
5827
|
plugins?: Record<string, StreamAnimationPlugin>;
|
|
5810
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
|
+
};
|
|
5811
5853
|
type AgentWidgetFeatureFlags = {
|
|
5812
5854
|
showReasoning?: boolean;
|
|
5813
5855
|
showToolCalls?: boolean;
|
|
@@ -5824,6 +5866,8 @@ type AgentWidgetFeatureFlags = {
|
|
|
5824
5866
|
scrollToBottom?: AgentWidgetScrollToBottomFeature;
|
|
5825
5867
|
/** Transcript scroll behavior during streamed responses. */
|
|
5826
5868
|
scrollBehavior?: AgentWidgetScrollBehaviorFeature;
|
|
5869
|
+
/** "Show more" collapse for long user messages. Off by default; on under `future.v5Defaults`. */
|
|
5870
|
+
userMessageCollapse?: AgentWidgetUserMessageCollapseFeature;
|
|
5827
5871
|
/** Collapsed transcript behavior for tool call rows. */
|
|
5828
5872
|
toolCallDisplay?: AgentWidgetToolCallDisplayFeature;
|
|
5829
5873
|
/** Collapsed transcript behavior for reasoning rows. */
|
|
@@ -11163,6 +11207,10 @@ type AgentWidgetConfig = {
|
|
|
11163
11207
|
sendButtonLabel?: string;
|
|
11164
11208
|
/** Button label shown in text mode while a response is streaming. Default: "Stop". */
|
|
11165
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;
|
|
11166
11214
|
/**
|
|
11167
11215
|
* When false, the welcome / intro card is not shown above the message list.
|
|
11168
11216
|
* @deprecated Use `welcome.variant: "none"`.
|
|
@@ -12428,6 +12476,5 @@ type AgentWidgetInitOptions = {
|
|
|
12428
12476
|
windowKey?: string;
|
|
12429
12477
|
debugTools?: boolean;
|
|
12430
12478
|
};
|
|
12431
|
-
//#endregion
|
|
12432
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 };
|
|
12433
12480
|
export {}
|